/* ==========================================================================
   GotooLab — design system
   ========================================================================== */

:root {
  --ink: #F8FAFC;
  --ink-soft: #EEF4F8;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --surface-3: #EEF4F8;
  --ivory: #0B1F2D;
  --muted: #5B6B78;
  --muted-2: #7C8B97;
  --line: rgba(11, 31, 45, 0.12);
  --line-soft: rgba(11, 31, 45, 0.07);
  --lime: #008DB9;
  --lime-deep: #00759A;
  --lime-soft: rgba(0, 141, 185, 0.10);
  --amber: #F86F39;
  --coral: #F86F39;
  --teal: #008DB9;
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1280px;
  --pad: clamp(20px, 4.2vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font-display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 150px);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 96px);
}

.section--line {
  border-top: 1px solid var(--line-soft);
}

.section--soft {
  background: var(--ink-soft);
  border-block: 1px solid var(--line-soft);
}

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

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  max-width: 54ch;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
}

.display em,
h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--lime);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--center {
  justify-content: center;
}

.dot,
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(0, 141, 185, 0.12), 0 0 16px rgba(0, 141, 185, 0.6);
  flex: none;
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(40px, 5.5vw, 72px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  letter-spacing: -0.025em;
  line-height: 0.95;
  max-width: 15ch;
}

.section-head .lead {
  padding-bottom: 8px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ivory);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.text-link svg {
  transition: transform 0.35s var(--ease);
}

.text-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* Curtain / page load */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--ink);
  animation: curtainOut 1.05s var(--ease) 0.55s forwards;
  pointer-events: none;
}

.curtain__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: curtainFade 0.5s ease 0.1s both;
}

.curtain__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.curtain__word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.curtain__line {
  position: absolute;
  left: 0;
  bottom: -44vh;
  height: 1px;
  width: 100vw;
  background: var(--lime);
  transform-origin: left;
  animation: curtainLine 1.2s var(--ease) 0.2s both;
  opacity: 0.4;
}

@keyframes curtainOut {
  0% { transform: translateY(0); }
  100% { transform: translateY(-101%); }
}

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

@keyframes curtainLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Scroll reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal--scale {
  transform: scale(0.97);
}

.js .reveal--scale.is-visible {
  transform: none;
}

/* Header & navigation */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 110;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.74);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.header__inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex: none;
}

.brand__mark {
  color: var(--lime);
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(90deg);
}

.brand__word {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__word em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.18em;
  color: var(--lime);
  margin-left: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--muted);
  background: none;
  border: 0;
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"],
.nav__link[aria-expanded="true"] {
  color: var(--ivory);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link--button svg {
  transition: transform 0.35s var(--ease);
}

.nav__link--button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav__drop {
  position: relative;
}

.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  right: -28px;
  width: 400px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.nav__drop.is-open .nav__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav__menu a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: 12px;
  transition: background 0.3s var(--ease);
}

.nav__menu a:hover {
  background: var(--surface-2);
}

.nav__menu-num {
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 0.12em;
  padding-top: 3px;
}

.nav__menu strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ivory);
}

.nav__menu small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.header__cta {
  flex: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  position: relative;
  flex: none;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.4px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), top 0.4s var(--ease);
}

.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 24px; }

.menu-open .menu-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 106px var(--pad) 40px;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  max-width: 720px;
  margin-inline: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
}

.mobile-menu__nav a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu__nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu__nav a:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu__nav a:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu__nav a:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu__nav a:nth-child(6) { transition-delay: 0.26s; }
.mobile-menu__nav a:nth-child(7) { transition-delay: 0.3s; }

.mobile-menu__nav a:hover {
  color: var(--lime);
}

.mobile-menu__nav em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 24px;
}

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.mobile-menu__contact a:first-child {
  color: var(--ivory);
}

body.menu-open {
  overflow: hidden;
}

/* Buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn svg {
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(0, 141, 185, 0.14);
}

.btn--primary:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 141, 185, 0.22);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ivory);
  background: rgba(11, 31, 45, 0.02);
}

.btn--ghost:hover {
  border-color: rgba(0, 141, 185, 0.5);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn--small {
  padding: 11px 18px;
  font-size: 12px;
}

.btn--large {
  padding: 17px 30px;
  font-size: 13.5px;
}

.btn--block {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  padding-top: clamp(132px, 17vh, 196px);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: -10% -10% 0;
  background-image:
    linear-gradient(rgba(11, 31, 45, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 45, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 40%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 62% 40%, #000 10%, transparent 72%);
  opacity: 0.65;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.hero__orb--one {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(0, 141, 185, 0.28), transparent 66%);
}

.hero__orb--two {
  width: 38vw;
  height: 38vw;
  max-width: 480px;
  max-height: 480px;
  bottom: -18%;
  left: -8%;
  background: radial-gradient(circle, rgba(0, 141, 185, 0.13), transparent 68%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(36px, 5.5vw, 80px);
}

.hero__copy {
  max-width: 660px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7.1vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.032em;
  margin-bottom: 26px;
}

.hero h1 .line {
  display: block;
}

.hero__sub {
  max-width: 48ch;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta b {
  color: var(--ivory);
  font-weight: 600;
}

html.js .hero [data-hero] {
  opacity: 0;
  animation: riseIn 1s var(--ease) forwards;
  animation-delay: var(--d, 0.7s);
}

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

/* Hero visual */

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

.hv-glow {
  position: absolute;
  width: 78%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 141, 185, 0.18), transparent 68%);
  filter: blur(46px);
}

.hv-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.98) 66%);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.35s ease-out;
}

.hv-browser {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.hv-browser i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(11, 31, 45, 0.16);
}

.hv-browser i:first-child { background: rgba(248, 111, 57, 0.7); }
.hv-browser i:nth-child(2) { background: rgba(248, 111, 57, 0.7); }
.hv-browser i:nth-child(3) { background: rgba(0, 141, 185, 0.7); }

.hv-url {
  margin-left: 8px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.hv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.hv-head h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hv-head p {
  font-size: 10px;
  color: var(--muted-2);
  margin-top: 2px;
}

.hv-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(0, 141, 185, 0.24);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}

.hv-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.hv-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.hv-kpi {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(11, 31, 45, 0.025);
}

.hv-kpi span {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}

.hv-kpi strong {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hv-kpi strong em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.hv-kpi small {
  display: inline-block;
  margin-top: 6px;
  font-size: 9px;
  color: var(--lime);
}

.hv-chartwrap {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(11, 31, 45, 0.02);
}

.hv-chart-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 9px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hv-chart-top b {
  color: var(--lime);
  font-weight: 600;
}

.hv-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 74px;
}

.hv-chart i {
  flex: 1;
  height: var(--h, 30%);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(0, 141, 185, 0.95), rgba(0, 141, 185, 0.12));
  transform-origin: bottom;
  animation: barGrow 1.2s var(--ease) both;
  animation-delay: calc(0.9s + var(--i, 0) * 0.045s);
}

.hv-chart i:nth-child(4n) {
  background: linear-gradient(180deg, rgba(11, 31, 45, 0.32), rgba(11, 31, 45, 0.06));
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.hv-rows {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.hv-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(11, 31, 45, 0.02);
  font-size: 10px;
  color: var(--muted);
}

.hv-row i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(0, 141, 185, 0.6);
  flex: none;
}

.hv-row b {
  margin-left: auto;
  color: var(--ivory);
  font-weight: 600;
  font-size: 10px;
}

.hv-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  font-size: 10.5px;
  color: var(--ivory);
  animation: floaty 7s ease-in-out infinite;
  z-index: 3;
}

.hv-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(0, 141, 185, 0.8);
  flex: none;
}

.hv-chip small {
  display: block;
  font-size: 8.5px;
  color: var(--muted-2);
  line-height: 1.3;
}

.hv-chip b {
  font-weight: 600;
  font-size: 10.5px;
}

.hv-chip--a {
  top: 5%;
  left: -3%;
  animation-delay: -2s;
}

.hv-chip--b {
  bottom: 10%;
  right: -4%;
  animation-delay: -4s;
}

.hv-chip--c {
  top: 42%;
  right: -7%;
  animation-delay: -1s;
}

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

/* Logo marquee */

.logos {
  position: relative;
  padding-block: 30px 34px;
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
}

.logos__label {
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 22px;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 54px;
  padding-right: 54px;
  flex: none;
}

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

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.62;
  transition: opacity 0.3s;
}

.marquee__track span:hover {
  opacity: 1;
}

.marquee__track span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.5;
}

.marquee__track .logo-serif {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}

.marquee__track .logo-light {
  font-weight: 400;
  letter-spacing: 0.04em;
}

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

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(11, 31, 45, 0.035), rgba(11, 31, 45, 0.008) 55%, transparent);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 141, 185, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 141, 185, 0.32);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 34px;
}

.service-card__num {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 31, 45, 0.03);
  color: var(--lime);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-6deg);
}

.service-card h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  max-width: 16ch;
}

.service-card p {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: 24px;
}

.service-card__bottom {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}

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

.tags span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ivory);
  flex: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card:hover .card-arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: rotate(-45deg);
}

/* Portal section */

.portal-section {
  position: relative;
  padding-block: clamp(72px, 9vw, 130px);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 141, 185, 0.06), transparent 70%),
    var(--ink-soft);
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
}

.portal-section__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.portal-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.portal-features {
  display: grid;
  gap: 10px;
  padding-bottom: 6px;
}

.portal-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.portal-features svg {
  color: var(--lime);
  flex: none;
}

.portal-features b {
  color: var(--ivory);
  font-weight: 500;
}

.portal-wrap {
  position: relative;
}

.portal-wrap::before {
  content: "";
  position: absolute;
  inset: -8% -4% -14%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 141, 185, 0.1), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}

.portal-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}

.portal-note a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.portal-note a:hover {
  color: var(--lime);
}

.portal {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ivory);
}

.portal__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
  background: #FFFFFF;
}

.portal__lights {
  display: flex;
  gap: 6px;
}

.portal__lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(11, 31, 45, 0.14);
}

.portal__lights i:first-child { background: rgba(248, 111, 57, 0.75); }
.portal__lights i:nth-child(2) { background: rgba(248, 111, 57, 0.75); }
.portal__lights i:nth-child(3) { background: rgba(0, 141, 185, 0.75); }

.portal__url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  background: rgba(11, 31, 45, 0.025);
}

.portal__badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.portal__badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.portal__body {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  min-height: 610px;
}

.portal__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 12px 14px;
  border-right: 1px solid var(--line-soft);
  background: #090b0c;
}

.portal__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.portal__logo em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime);
  font-weight: 400;
  font-size: 1.1em;
}

.portal__logo-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  flex: none;
}

.portal__nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.portal__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 500;
  text-align: left;
  transition: background 0.25s, color 0.25s;
}

.portal__tab svg {
  flex: none;
  opacity: 0.8;
}

.portal__tab:hover {
  background: rgba(11, 31, 45, 0.04);
  color: var(--ivory);
}

.portal__tab.is-active {
  background: var(--lime-soft);
  color: var(--lime);
}

.portal__tab.is-active svg {
  opacity: 1;
}

.portal__side-foot {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.portal__plan {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(11, 31, 45, 0.02);
}

.portal__plan span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.portal__plan strong {
  display: block;
  margin: 3px 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ivory);
}

.portal__plan > i,
.p-investor__payout i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(11, 31, 45, 0.08);
  overflow: hidden;
}

.portal__plan > i b,
.p-investor__payout i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
}

.portal__user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px;
}

.portal__user strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
}

.portal__user small {
  display: block;
  font-size: 9px;
  color: var(--muted-2);
}

.portal__avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3c4a2c, #202717);
  border: 1px solid rgba(0, 141, 185, 0.3);
  color: var(--lime);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
}

.portal__avatar--sm {
  width: 24px;
  height: 24px;
  font-size: 8.5px;
}

.portal__avatar--alt {
  background: linear-gradient(145deg, #243b39, #141f1e);
  border-color: rgba(0, 141, 185, 0.3);
  color: var(--teal);
}

.portal__avatar--alt2 {
  background: linear-gradient(145deg, #3b3324, #1f1a14);
  border-color: rgba(248, 111, 57, 0.3);
  color: var(--amber);
}

.portal__main {
  padding: 20px 22px 24px;
  min-width: 0;
}

.portal__topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.portal__topbar h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.portal__topbar p {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted-2);
}

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

.portal__date,
.portal__search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 29px;
  padding: 0 11px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(11, 31, 45, 0.02);
  font-size: 9.5px;
  color: var(--muted-2);
}

.portal__panels {
  position: relative;
}

.portal__panel {
  animation: panelIn 0.45s var(--ease) both;
}

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

/* Portal panels */

.p-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.p-kpis--three {
  grid-template-columns: repeat(3, 1fr);
}

.p-kpi {
  padding: 12px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(11, 31, 45, 0.025);
}

.p-kpi > span {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.p-kpi strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.p-kpi strong em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}

.p-kpi small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  color: var(--muted-2);
}

.p-kpi small.up { color: var(--lime); }
.p-kpi small.down { color: var(--teal); }

.p-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 10px;
  margin-bottom: 10px;
}

.p-grid--expenses {
  grid-template-columns: 1fr 1fr;
}

.p-card {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(11, 31, 45, 0.022);
  min-width: 0;
}

.p-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.p-card__head h4 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.p-card__head p {
  margin-top: 1px;
  font-size: 9px;
  color: var(--muted-2);
}

.p-legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  color: var(--muted-2);
  white-space: nowrap;
}

.p-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-left: 4px;
}

.p-legend i.a { background: var(--lime); }
.p-legend i.b { background: rgba(11, 31, 45, 0.35); }

.p-chart {
  width: 100%;
  height: 168px;
  display: block;
}

.p-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 8px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.p-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 8.5px;
  color: var(--muted);
  white-space: nowrap;
}

.p-pill--live,
.p-pill--ok {
  border-color: rgba(0, 141, 185, 0.24);
  background: rgba(0, 141, 185, 0.07);
  color: var(--lime);
}

.p-pill--live i,
.p-pill--ok i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.p-pill--warn {
  border-color: rgba(248, 111, 57, 0.24);
  background: rgba(248, 111, 57, 0.07);
  color: var(--amber);
}

.p-pill--danger {
  border-color: rgba(248, 111, 57, 0.26);
  background: rgba(248, 111, 57, 0.08);
  color: var(--coral);
}

.p-activity {
  display: grid;
  gap: 2px;
}

.p-activity li {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}

.p-activity li:last-child {
  border-bottom: 0;
}

.p-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 4px;
  flex: none;
}

.p-dot--ok { background: var(--teal); box-shadow: 0 0 8px rgba(0, 141, 185, 0.5); }
.p-dot--lime { background: var(--lime); box-shadow: 0 0 8px rgba(0, 141, 185, 0.5); }
.p-dot--warn { background: var(--amber); box-shadow: 0 0 8px rgba(248, 111, 57, 0.5); }

.p-activity strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.4;
}

.p-activity small {
  display: block;
  font-size: 8.5px;
  color: var(--muted-2);
}

.p-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.p-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.p-table th {
  padding: 7px 8px;
  text-align: left;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.p-table td {
  padding: 9px 8px;
  font-size: 9.5px;
  color: var(--muted);
  border-bottom: 1px solid rgba(11, 31, 45, 0.045);
  white-space: nowrap;
}

.p-table tr:last-child td {
  border-bottom: 0;
}

.p-table strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ivory);
}

.p-table td small {
  display: block;
  font-size: 8px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}

.p-link {
  font-size: 8.5px;
  color: var(--lime);
  cursor: default;
}

.p-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  font-size: 8.5px;
  color: var(--muted-2);
}

.p-note svg {
  color: var(--lime);
  flex: none;
}

.p-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.p-chip {
  padding: 5px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 8.5px;
  color: var(--muted-2);
}

.p-chip.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 600;
}

.p-search {
  padding: 6px 12px 6px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  font-size: 9px;
  color: var(--muted-2);
  white-space: nowrap;
}

.p-bar {
  display: inline-block;
  vertical-align: middle;
  width: 42px;
  height: 3px;
  margin-right: 6px;
  border-radius: 99px;
  background: rgba(11, 31, 45, 0.1);
  overflow: hidden;
}

.p-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}

.p-booking-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 9.5px;
  color: var(--muted-2);
}

.p-booking-stats strong {
  color: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  margin-right: 2px;
}

.p-booking-stats .p-pill {
  margin-left: auto;
}

.p-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.p-board__col {
  min-width: 180px;
  padding: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(11, 31, 45, 0.018);
}

.p-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.p-board__head b {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(11, 31, 45, 0.06);
  font-size: 8px;
  font-weight: 600;
  color: var(--muted);
}

.p-booking {
  padding: 9px;
  margin-bottom: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(11, 31, 45, 0.03);
}

.p-booking:last-child { margin-bottom: 0; }

.p-booking--live {
  border-left: 2px solid var(--lime);
}

.p-booking--warn {
  border-left: 2px solid var(--amber);
}

.p-booking--done {
  opacity: 0.62;
}

.p-booking__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.p-booking__top strong {
  font-size: 10px;
  font-weight: 600;
  color: var(--ivory);
}

.p-booking__top span {
  font-size: 9.5px;
  color: var(--lime);
}

.p-booking > small {
  display: block;
  font-size: 8.5px;
  color: var(--muted-2);
  margin-bottom: 7px;
}

.p-booking__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  color: var(--muted-2);
}

.p-investor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.p-investor {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(11, 31, 45, 0.025);
}

.p-investor__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.p-investor__top > div {
  min-width: 0;
}

.p-investor__top strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-investor__top small {
  display: block;
  font-size: 8px;
  color: var(--muted-2);
}

.p-investor__top .p-pill {
  margin-left: auto;
  font-size: 7.5px;
  padding: 2px 6px;
}

.p-investor__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.p-investor__stats small {
  display: block;
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 2px;
}

.p-investor__stats b {
  font-size: 11px;
  font-weight: 600;
}

.p-investor__payout span {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--muted-2);
  margin-bottom: 5px;
}

.p-investor__payout span b {
  color: var(--lime);
  font-weight: 600;
}

.p-cats {
  display: grid;
  gap: 9px;
  padding-top: 2px;
}

.p-cat {
  display: grid;
  grid-template-columns: 74px 1fr 32px;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: var(--muted);
}

.p-cat i {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: rgba(11, 31, 45, 0.07);
  overflow: hidden;
}

.p-cat i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 141, 185, 0.55), var(--lime));
}

.p-cat em {
  font-style: normal;
  text-align: right;
  color: var(--ivory);
  font-size: 9px;
}

.p-approvals {
  display: grid;
}

.p-approvals li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.p-approvals li:last-child { border-bottom: 0; }

.p-approvals strong {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--ivory);
}

.p-approvals small {
  display: block;
  font-size: 8px;
  color: var(--muted-2);
}

.p-approvals > li > b {
  font-size: 10px;
  font-weight: 600;
  color: var(--ivory);
}

.p-approve {
  padding: 4px 9px;
  border: 1px solid rgba(0, 141, 185, 0.3);
  border-radius: 99px;
  background: transparent;
  color: var(--lime);
  font-size: 8px;
  font-weight: 600;
  transition: background 0.25s, color 0.25s;
}

.p-approve:hover {
  background: var(--lime);
  color: var(--ink);
}

.p-approve[aria-pressed="true"] {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

/* Process */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.process__step {
  position: relative;
  padding: 34px 26px 34px 0;
  border-right: 1px solid var(--line-soft);
}

.process__step:last-child {
  border-right: 0;
  padding-right: 0;
}

.process__step:not(:first-child) {
  padding-left: 26px;
}

.process__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.9rem;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 26px;
}

.process__step h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.process__step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.process__step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.process__step:not(:first-child)::before {
  left: 26px;
}

/* Why */

.why {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.why__left {
  position: sticky;
  top: 130px;
}

.why__left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.why__left p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 36ch;
  margin-bottom: 26px;
}

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

.why__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding 0.4s var(--ease);
}

.why__item:hover {
  padding-left: 8px;
}

.why__item span {
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 0.1em;
  padding-top: 5px;
}

.why__item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.why__item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 55ch;
}

.toolkit {
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 20px;
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
}

.toolkit .marquee__track {
  animation-duration: 52s;
}

.toolkit .marquee__track span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}

.toolkit .marquee__track span::after {
  width: 3px;
  height: 3px;
}

/* Work cards */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 141, 185, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.work-card__visual {
  position: relative;
  height: 210px;
  padding: 22px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 141, 185, 0.16), transparent 58%),
    linear-gradient(160deg, #F8FAFC, #FFFFFF);
}

.work-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 45, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 45, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 72%);
}

.work-card__ghost {
  position: absolute;
  right: 16px;
  bottom: 2px;
  font-family: var(--font-display);
  font-size: 5.6rem;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(11, 31, 45, 0.1);
  z-index: 1;
}

.work-card__label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.work-card__label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.work-card__mini {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 22px;
  width: 58%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.work-card__mini span {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(11, 31, 45, 0.14);
  margin-bottom: 5px;
}

.work-card__mini span:nth-child(1) { width: 64%; background: rgba(0, 141, 185, 0.65); }
.work-card__mini span:nth-child(2) { width: 86%; }
.work-card__mini span:nth-child(3) { width: 42%; }

.work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.work-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.work-card__body p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}

.work-card__body .tags {
  margin-top: auto;
}

.work-card--wide {
  grid-column: span 2;
}

.work-card--wide .work-card__visual {
  height: 260px;
}

.work-card--wide .work-card__ghost {
  font-size: 8rem;
}

/* Metrics */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 120% at 50% 100%, rgba(0, 141, 185, 0.05), transparent 70%);
}

.metrics__item {
  padding: clamp(30px, 4vw, 52px) clamp(16px, 2.4vw, 30px);
  border-right: 1px solid var(--line-soft);
}

.metrics__item:last-child {
  border-right: 0;
}

.metrics__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.metrics__num sup {
  font-size: 0.45em;
  color: var(--lime);
  margin-left: 2px;
  top: -0.5em;
}

.metrics__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.faq__left {
  position: sticky;
  top: 130px;
}

.faq__left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.faq__left p {
  font-size: 14px;
  color: var(--muted);
  max-width: 32ch;
  margin-bottom: 22px;
}

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

.faq__item {
  border-bottom: 1px solid var(--line-soft);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s;
}

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

.faq__item summary:hover {
  color: var(--lime);
}

.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 62ch;
  animation: faqIn 0.45s var(--ease) both;
}

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

/* CTA */

.cta-section {
  padding-block: clamp(60px, 8vw, 110px);
}

.cta {
  position: relative;
  text-align: center;
  padding: clamp(50px, 8vw, 100px) clamp(20px, 4vw, 60px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 110%, rgba(0, 141, 185, 0.12), transparent 70%),
    var(--surface);
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 141, 185, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cta::before {
  width: 720px;
  height: 720px;
  left: 50%;
  bottom: -84%;
  transform: translateX(-50%);
}

.cta::after {
  width: 980px;
  height: 980px;
  left: 50%;
  bottom: -120%;
  transform: translateX(-50%);
  border-color: rgba(0, 141, 185, 0.06);
}

.cta__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 141, 185, 0.14), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cta__sub {
  position: relative;
  max-width: 52ch;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.cta__meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}

.cta__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Footer */

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: clamp(60px, 8vw, 100px);
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(0, 141, 185, 0.018));
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  padding-bottom: clamp(40px, 6vw, 70px);
}

.footer__pitch h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  transition: color 0.3s, border-color 0.3s;
}

.footer__mail:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 8px;
}

.footer__cols h3 {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.footer__cols a,
.footer__address {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 9px;
  line-height: 1.5;
  transition: color 0.25s;
}

.footer__cols a:hover {
  color: var(--lime);
}

.footer__address {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.footer__mark {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 15vw, 13.5rem);
  line-height: 0.72;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 31, 45, 0.13);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  user-select: none;
  padding-bottom: 10px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: 22px 34px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.footer__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(0, 141, 185, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

.footer__clock {
  font-variant-numeric: tabular-nums;
}

.footer__clock b {
  color: var(--muted);
  font-weight: 500;
}

.footer__legal {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.footer__legal a {
  transition: color 0.25s;
}

.footer__legal a:hover {
  color: var(--lime);
}

.footer__social {
  display: flex;
  gap: 6px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}

.footer__social a:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}

/* Inner page hero */

.page-hero {
  position: relative;
  padding-top: clamp(130px, 16vh, 184px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__bg .hero__orb--one {
  top: -30%;
  right: -10%;
  opacity: 0.4;
}

.page-hero__bg .hero__orb--two {
  bottom: -40%;
  left: 30%;
  opacity: 0.28;
}

.page-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
}

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.crumbs a {
  transition: color 0.25s;
}

.crumbs a:hover {
  color: var(--lime);
}

.crumbs span {
  opacity: 0.5;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  max-width: 17ch;
  margin-bottom: 24px;
}

.page-hero .lead {
  max-width: 58ch;
  margin-bottom: 30px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-hero__meta {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 31, 45, 0.022);
}

.page-hero__meta dt {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}

.page-hero__meta dd {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--ivory);
  line-height: 1.45;
}

.page-hero__meta dd:last-child {
  margin-bottom: 0;
}

/* Content components */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cap-card {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(11, 31, 45, 0.03), transparent 60%);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}

.cap-card:hover {
  border-color: rgba(0, 141, 185, 0.28);
  transform: translateY(-4px);
  background: linear-gradient(155deg, rgba(0, 141, 185, 0.05), transparent 60%);
}

.cap-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--lime);
  margin-bottom: 22px;
}

.cap-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.cap-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.cap-card__tags {
  margin-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.split--wide {
  grid-template-columns: 1.15fr 0.85fr;
}

.panel {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel--soft {
  background: rgba(11, 31, 45, 0.022);
  border-color: var(--line-soft);
}

.split h2,
.stack-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.3vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.split h2 + p,
.stack-head h2 + p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 50ch;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 28px;
}

.check-list li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.check-list svg {
  color: var(--lime);
  flex: none;
  margin-top: 3px;
}

.stack-head {
  margin-bottom: clamp(32px, 4vw, 52px);
  max-width: 760px;
}

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

.stack-list span {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s;
}

.stack-list span:hover {
  color: var(--lime);
  border-color: rgba(0, 141, 185, 0.4);
}

.roles-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.roles-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
}

.roles-table td {
  padding: 15px 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  line-height: 1.55;
}

.roles-table td:first-child {
  color: var(--ivory);
  font-weight: 600;
  white-space: nowrap;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.module {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(11, 31, 45, 0.02);
  transition: border-color 0.35s, background 0.35s;
}

.module:hover {
  border-color: rgba(0, 141, 185, 0.24);
  background: rgba(0, 141, 185, 0.03);
}

.module__num {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--lime);
  margin-bottom: 18px;
}

.module h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.module p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.phase {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.phase__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.phase h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.phase ul {
  display: grid;
  gap: 8px;
}

.phase li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.phase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.note-box {
  padding: 20px 22px;
  border-left: 2px solid var(--lime);
  background: rgba(0, 141, 185, 0.04);
  border-radius: 0 12px 12px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.note-box b {
  color: var(--ivory);
  font-weight: 600;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.logo-wall span {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
  transition: color 0.3s, background 0.3s;
}

.logo-wall span:hover {
  color: var(--ivory);
  background: rgba(11, 31, 45, 0.02);
}

.logo-wall .serif {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* Forms */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label,
.field legend {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.field label span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted-2);
  opacity: 0.7;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(11, 31, 45, 0.025);
  color: var(--ivory);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
  opacity: 0.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 141, 185, 0.55);
  background: rgba(0, 141, 185, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 141, 185, 0.08);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23a6a59e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(248, 111, 57, 0.65);
}

.field--chips {
  margin: 0;
  padding: 0;
  border: 0;
}

.field--chips legend {
  margin-bottom: 10px;
}

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

.chips label {
  cursor: pointer;
}

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

.chips span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.chips input:checked + span {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 600;
}

.chips input:focus-visible + span {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.contact-form__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.contact-form__note {
  font-size: 11px;
  color: var(--muted-2);
  max-width: 30ch;
  line-height: 1.5;
}

.form-status {
  font-size: 12.5px;
  color: var(--lime);
  min-height: 0;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: var(--coral);
}

.contact-aside {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.info-list {
  display: grid;
  gap: 15px;
}

.info-list span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}

.info-list a,
.info-list p {
  font-size: 13.5px;
  color: var(--ivory);
  line-height: 1.5;
  transition: color 0.25s;
}

.info-list a:hover {
  color: var(--lime);
}

.contact-card__note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.6;
}

.contact-card--lime {
  background:
    radial-gradient(ellipse 80% 90% at 50% 120%, rgba(0, 141, 185, 0.18), transparent 70%),
    var(--surface);
}

.next-steps {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.next-steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.next-steps li:last-child {
  border-bottom: 0;
}

.next-steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
}

/* Legal and 404 */

.legal-wrap {
  padding-block: clamp(60px, 8vw, 100px);
}

.legal {
  max-width: 780px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 42px 0 14px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.legal li {
  position: relative;
  padding-left: 18px;
}

.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.legal a {
  color: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.legal a:hover {
  color: var(--lime);
}

.legal__meta {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px var(--pad) 80px;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(7rem, 24vw, 18rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 141, 185, 0.35);
  margin-bottom: 18px;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.error-page p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 28px;
  font-size: 14.5px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.error-page__links a {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.error-page__links a:hover {
  color: var(--lime);
}

/* ==========================================================================
   V2 — Editorial premium layer
   Superseded by the brand light layer below
   ========================================================================== */

:root {
  --accent: var(--lime);
  --accent-rgb: 226, 208, 164;
  --glow: rgba(0, 141, 185, 0.16);
  --glass: rgba(22, 22, 19, 0.66);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.42);
  --shadow-lift: 0 40px 120px rgba(0, 0, 0, 0.55);
}

html {
  scroll-padding-top: 108px;
}

body {
  background:
    radial-gradient(ellipse 70% 50% at 78% -8%, rgba(0, 141, 185, 0.07), transparent 62%),
    radial-gradient(ellipse 60% 44% at 4% 30%, rgba(0, 141, 185, 0.045), transparent 66%),
    var(--ink);
  font-feature-settings: "ss01" 1, "cv11" 1;
}

body::after {
  opacity: 0.032;
  mix-blend-mode: soft-light;
}

::selection {
  background: var(--lime);
  color: #F8FAFC;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F8FAFC;
}

::-webkit-scrollbar-thumb {
  background: #2b2a25;
  border: 3px solid #F8FAFC;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #494538;
}

/* Typography ------------------------------------------------------------- */

h1, h2, h3, h4,
.display,
.hero h1,
.section-head h2,
.portal-section__head h2,
.page-hero h1,
.why__left h2,
.faq__left h2,
.cta h2,
.footer__pitch h2,
.split h2,
.stack-head h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96, "SOFT" 40, "WONK" 0;
  font-weight: 400;
}

h1 em, h2 em, h3 em,
.display em,
.hero h1 em,
.section-head h2 em,
.portal-section__head h2 em,
.page-hero h1 em,
.why__left h2 em,
.faq__left h2 em,
.cta h2 em,
.footer__pitch h2 em {
  font-style: italic;
  color: var(--lime);
  background: linear-gradient(102deg, #f3e8cf 4%, var(--lime) 46%, #c0a875 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: #4B5B68;
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(11, 31, 45, 0.025);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4B5B68;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.eyebrow .dot,
.eyebrow .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7);
}

.eyebrow--center {
  justify-content: center;
}

.text-link {
  position: relative;
  font-weight: 500;
  color: var(--ivory);
  padding-bottom: 3px;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.999);
  transform-origin: right;
  opacity: 0.35;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}

.text-link:hover::after {
  transform: scaleX(0);
  opacity: 0.9;
}

.text-link svg {
  transition: transform 0.4s var(--ease);
}

.text-link:hover svg {
  transform: translateX(5px);
}

/* Scroll progress -------------------------------------------------------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, var(--lime) 18%, #f6eeda 82%, transparent);
  opacity: 0.85;
  will-change: transform;
}

/* Page-load curtain ------------------------------------------------------ */

.curtain {
  background: transparent;
  display: grid;
  place-items: center;
  animation: none;
}

.curtain__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.35%;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 141, 185, 0.055), transparent 70%),
    #F8FAFC;
  will-change: transform;
}

.has-visited .curtain {
  display: none;
}

.curtain__panel--top {
  top: 0;
  animation: curtainTop 1s var(--ease) 0.78s forwards;
}

.curtain__panel--bottom {
  bottom: 0;
  animation: curtainBottom 1s var(--ease) 0.78s forwards;
}

.curtain__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: curtainInnerOut 0.45s var(--ease) 0.6s forwards;
}

.curtain__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  background: radial-gradient(circle at 34% 26%, rgba(var(--accent-rgb), 0.24), rgba(var(--accent-rgb), 0.02));
  color: var(--lime);
  animation: curtainMark 1.4s var(--ease) both;
}

.curtain__word {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4B5B68;
  animation: curtainWord 1.2s var(--ease) 0.08s both;
}

.curtain__word em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lime);
}

.curtain__line {
  position: static;
  width: 128px;
  height: 1px;
  background: rgba(11, 31, 45, 0.12);
  border-radius: 99px;
  overflow: hidden;
  animation: none;
  opacity: 1;
}

.curtain__line i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  transform: scaleX(0);
  animation: curtainLine 1.15s var(--ease) 0.14s forwards;
}

@keyframes curtainTop {
  to { transform: translateY(-101%); }
}

@keyframes curtainBottom {
  to { transform: translateY(101%); }
}

@keyframes curtainInnerOut {
  to { opacity: 0; transform: translateY(-14px); filter: blur(6px); }
}

@keyframes curtainMark {
  from { opacity: 0; transform: scale(0.7) rotate(-25deg); }
  to { opacity: 1; transform: none; }
}

@keyframes curtainWord {
  from { opacity: 0; letter-spacing: 0.4em; }
  to { opacity: 1; letter-spacing: 0.22em; }
}

@keyframes curtainLine {
  to { transform: scaleX(1); }
}

/* Scroll reveal ---------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(7px);
  transition:
    opacity 1.05s var(--ease),
    transform 1.05s var(--ease),
    filter 1.05s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.js .reveal--scale {
  transform: scale(0.965) translateY(20px);
}

.js .reveal--scale.is-visible {
  transform: none;
}

/* Floating header -------------------------------------------------------- */

.site-header {
  padding-top: 14px;
  border-bottom: 0;
  transition: transform 0.6s var(--ease), padding-top 0.5s var(--ease);
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-130%);
}

.site-header.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding-top: 9px;
}

.site-header .header__inner {
  height: 66px;
  width: calc(100% - clamp(4px, 1.2vw, 14px));
  margin-inline: auto;
  padding-inline: clamp(15px, 2vw, 22px);
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background 0.55s var(--ease),
    border-color 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    -webkit-backdrop-filter 0.55s var(--ease);
}

.site-header.is-scrolled .header__inner {
  background: rgba(16, 16, 14, 0.72);
  border-color: rgba(11, 31, 45, 0.1);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.brand__word {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.brand__mark {
  color: var(--lime);
  filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.35));
}

.nav__link {
  font-size: 12.5px;
  letter-spacing: 0.005em;
  color: #b4aea0;
}

.nav__link::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0.9;
}

.header__cta {
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.12);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  overflow: hidden;
  isolation: isolate;
  letter-spacing: 0.015em;
}

.btn--primary {
  background: linear-gradient(112deg, #f6ecd6 0%, var(--lime) 44%, #cdb47e 100%);
  color: #FFFFFF;
  box-shadow:
    0 12px 36px rgba(var(--accent-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(11, 31, 45, 0.22);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.5) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease);
}

.btn--primary:hover {
  background: linear-gradient(112deg, #fff6e4 0%, #ecdcb8 46%, #d6bd88 100%);
  transform: translateY(-2px);
  box-shadow:
    0 22px 54px rgba(var(--accent-rgb), 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn--ghost {
  border-color: rgba(11, 31, 45, 0.16);
  background: rgba(11, 31, 45, 0.022);
  color: var(--ivory);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.08);
  color: #f6edd9;
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 32px;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  padding-top: clamp(150px, 19vh, 220px);
  padding-bottom: clamp(26px, 4vw, 46px);
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 40% at 74% 34%, rgba(0, 141, 185, 0.1), transparent 68%),
    radial-gradient(ellipse 40% 36% at 12% 78%, rgba(0, 141, 185, 0.06), transparent 70%);
  pointer-events: none;
}

.hero__grid-lines {
  background-size: 96px 96px;
  opacity: 0.5;
}

.hero__orb--one {
  background: radial-gradient(circle, rgba(0, 141, 185, 0.2), transparent 64%);
  filter: blur(110px);
  opacity: 0.6;
  top: -4%;
  right: 2%;
}

.hero__orb--two {
  background: radial-gradient(circle, rgba(0, 141, 185, 0.14), transparent 66%);
  opacity: 0.4;
}

.hero__inner {
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(40px, 4.4vw, 76px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.036em;
  margin-bottom: 30px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 31, 45, 0.03);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4B5B68;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero__badge .dot {
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.8);
}

.hero__badge-sep {
  width: 1px;
  height: 11px;
  background: var(--line);
}

.hero__sub {
  max-width: 49ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.75;
  color: #4B5B68;
  margin-bottom: 36px;
}

.hero__actions {
  margin-bottom: 38px;
}

.hero__meta {
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7C8B97;
}

.hero__meta b {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.7em;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-right: 2px;
}

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(28px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7C8B97;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero__scroll i {
  position: relative;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(11, 31, 45, 0.22);
  border-radius: 99px;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 2px;
  height: 5px;
  border-radius: 99px;
  background: var(--lime);
  transform: translateX(-50%);
  animation: scrollCue 2.2s var(--ease) infinite;
}

@keyframes scrollCue {
  0% { transform: translate(-50%, 0); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translate(-50%, 11px); opacity: 0; }
  100% { opacity: 0; }
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero h1 .line > span {
  display: block;
}

html.js .hero h1 .line > span {
  transform: translateY(112%);
  opacity: 0;
  animation: lineUp 1.15s var(--ease) forwards;
}

html.js .hero h1 .line:nth-child(1) > span { animation-delay: 0.52s; }
html.js .hero h1 .line:nth-child(2) > span { animation-delay: 0.63s; }
html.js .hero h1 .line:nth-child(3) > span { animation-delay: 0.74s; }

@keyframes lineUp {
  to { transform: none; opacity: 1; }
}

/* Hero product panel ----------------------------------------------------- */

.hero-visual {
  min-height: 560px;
}

.hv-glow {
  width: 86%;
  height: 76%;
  background: radial-gradient(circle, rgba(0, 141, 185, 0.2), transparent 66%);
  filter: blur(58px);
}

.hv-card {
  max-width: 500px;
  padding: 20px;
  border-color: rgba(11, 31, 45, 0.13);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(12, 12, 10, 0.98) 66%);
  border-radius: 26px;
  box-shadow:
    0 60px 140px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(11, 31, 45, 0.22), transparent 34%, transparent 66%, rgba(0, 141, 185, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hv-browser i:first-child { background: rgba(248, 111, 57, 0.72); }
.hv-browser i:nth-child(2) { background: rgba(248, 111, 57, 0.72); }
.hv-browser i:nth-child(3) { background: rgba(0, 141, 185, 0.72); }

.hv-url {
  color: #7C8B97;
}

.hv-live {
  color: var(--lime);
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.06);
}

.hv-kpi,
.hv-chartwrap,
.hv-row {
  background: rgba(11, 31, 45, 0.028);
  border-color: rgba(11, 31, 45, 0.075);
}

.hv-kpi strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hv-chart i {
  background: linear-gradient(180deg, rgba(0, 141, 185, 0.98), rgba(0, 141, 185, 0.1));
}

.hv-chart i:nth-child(4n) {
  background: linear-gradient(180deg, rgba(0, 141, 185, 0.55), rgba(0, 141, 185, 0.05));
}

.hv-chip {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(11, 31, 45, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Trust band + statement ------------------------------------------------ */

.logos {
  padding-block: 34px 38px;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 45, 0.012));
}

.logos__label {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #7C8B97;
}

.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__track span {
  color: #4B5B68;
}

.logo-serif {
  color: #0B1F2D;
}

.marquee__track span::after {
  background: var(--lime);
  opacity: 0.55;
}

.statement {
  position: relative;
  padding-block: clamp(70px, 10vw, 140px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.statement::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 141, 185, 0.07), transparent 64%);
  filter: blur(70px);
  pointer-events: none;
}

.statement__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.statement__text {
  max-width: 22ch;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 110;
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: #4B5B68;
}

.statement__text em {
  font-style: italic;
  color: var(--lime);
  background: linear-gradient(102deg, #f3e8cf, var(--lime) 52%, #c0a875);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.statement__foot {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(26px, 4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7C8B97;
}

.statement__foot .text-link {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #4B5B68;
}

/* Sections --------------------------------------------------------------- */

.section {
  padding-block: clamp(76px, 9vw, 132px);
}

.section-head h2,
.portal-section__head h2 {
  font-size: clamp(2.5rem, 4.7vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
}

.section-head .lead {
  font-size: 14.5px;
  max-width: 44ch;
}

.section--line {
  border-top-color: var(--line-soft);
}

/* Service cards ---------------------------------------------------------- */

.services-grid {
  gap: 16px;
}

.service-card {
  position: relative;
  padding: 30px;
  border-color: rgba(11, 31, 45, 0.1);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.032), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.99));
  border-radius: 22px;
  overflow: hidden;
  transition:
    transform 0.6s var(--ease),
    border-color 0.6s var(--ease),
    box-shadow 0.6s var(--ease),
    background 0.6s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 141, 185, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--accent-rgb), 0.32);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__num {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #7C8B97;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-color: rgba(11, 31, 45, 0.14);
  background: rgba(11, 31, 45, 0.03);
  color: var(--lime);
}

.service-card:hover .service-card__icon {
  background: rgba(var(--accent-rgb), 0.09);
  border-color: rgba(var(--accent-rgb), 0.32);
  transform: translateY(-2px) rotate(-4deg);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.service-card p {
  color: #5B6B78;
  font-size: 13px;
}

.tags span,
.pill {
  border-color: rgba(11, 31, 45, 0.1);
  background: rgba(11, 31, 45, 0.032);
  color: #5B6B78;
}

.card-arrow {
  border-color: rgba(11, 31, 45, 0.14);
  color: var(--lime);
}

.service-card:hover .card-arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: #F8FAFC;
  transform: rotate(0deg) scale(1.04);
}

/* Portal block ----------------------------------------------------------- */

.portal-section {
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0, 141, 185, 0.045), transparent 66%),
    var(--ink-soft);
  border-block: 1px solid var(--line-soft);
}

.portal-wrap::before {
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 141, 185, 0.16), transparent 66%);
}

.portal {
  border-color: rgba(11, 31, 45, 0.14);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.portal__chrome {
  background: rgba(255, 255, 255, 0.98);
}

.portal__badge {
  border-color: rgba(var(--accent-rgb), 0.26);
  background: rgba(var(--accent-rgb), 0.07);
}

.portal__side {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
}

.portal__url {
  color: #7C8B97;
}

.portal-note {
  color: #7C8B97;
}

/* Work cards ------------------------------------------------------------- */

.work-card {
  border-color: rgba(11, 31, 45, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.99));
  border-radius: 22px;
  overflow: hidden;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.32);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.work-card__visual {
  background:
    radial-gradient(ellipse at 82% 16%, rgba(0, 141, 185, 0.18), transparent 58%),
    linear-gradient(158deg, #E8F1F7, #FFFFFF);
}

.work-card__label {
  color: var(--lime);
  border-color: rgba(11, 31, 45, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

.work-card__mini span:nth-child(1) { background: rgba(0, 141, 185, 0.72); }

.work-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: -0.022em;
}

.work-card__body p {
  color: #5B6B78;
}

/* Metrics ---------------------------------------------------------------- */

.metrics {
  background:
    radial-gradient(ellipse 60% 110% at 50% 100%, rgba(0, 141, 185, 0.06), transparent 70%),
    rgba(11, 31, 45, 0.008);
}

.metrics__num {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.metrics__num sup {
  color: var(--lime);
}

.metrics__label {
  color: #7C8B97;
}

/* Process ---------------------------------------------------------------- */

.process {
  border-top-color: var(--line);
}

.process__num {
  font-family: var(--font-display);
  color: var(--lime);
  opacity: 0.85;
}

.process__step h3 {
  font-size: 17px;
  font-weight: 500;
}

.process__step p {
  color: #5B6B78;
}

.process__step::before {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.08);
}

/* Why -------------------------------------------------------------------- */

.why__left h2,
.faq__left h2 {
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  letter-spacing: -0.028em;
}

.why__item h3 {
  font-weight: 500;
  font-size: 16.5px;
}

.why__item p {
  color: #5B6B78;
}

.why__item:hover {
  padding-left: 12px;
}

.why__item span {
  color: var(--lime);
}

/* Toolkit ---------------------------------------------------------------- */

.toolkit {
  border-block-color: var(--line-soft);
}

.toolkit .marquee__track span {
  color: #5B6B78;
}

/* Panels, modules, phases, capabilities ---------------------------------- */

.panel,
.module,
.cap-card,
.phase,
.contact-card,
.contact-form {
  border-color: rgba(11, 31, 45, 0.1);
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.028), transparent 52%),
    rgba(20, 20, 17, 0.85);
}

.panel--soft {
  background: rgba(11, 31, 45, 0.022);
}

.module:hover,
.cap-card:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(255, 255, 255, 0.95);
}

.module__num,
.phase__label,
.cap-card__icon {
  color: var(--lime);
}

.module h3,
.cap-card h3,
.phase h3 {
  font-weight: 500;
}

.check-list svg {
  color: var(--lime);
}

.note-box {
  border-color: rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--accent-rgb), 0.055);
  color: #4B5B68;
}

/* Page hero -------------------------------------------------------------- */

.page-hero {
  padding-top: clamp(150px, 18vh, 210px);
  border-bottom-color: var(--line-soft);
}

.page-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 44% 46% at 82% 18%, rgba(0, 141, 185, 0.1), transparent 68%),
    radial-gradient(ellipse 40% 40% at 8% 80%, rgba(0, 141, 185, 0.06), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(3rem, 6.6vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: -0.036em;
}

.crumbs {
  color: #7C8B97;
}

.crumbs a:hover {
  color: var(--lime);
}

.page-hero__meta {
  border-top-color: var(--line-soft);
}

.page-hero__meta dt {
  color: #7C8B97;
}

.page-hero__meta dd {
  color: #4B5B68;
}

/* FAQ -------------------------------------------------------------------- */

.faq__item summary {
  font-weight: 500;
  font-size: 16px;
}

.faq__item summary:hover {
  color: var(--lime);
}

.faq__answer {
  color: #5B6B78;
}

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

.cta {
  border-color: rgba(11, 31, 45, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 65% 85% at 50% 118%, rgba(0, 141, 185, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cta::before,
.cta::after {
  border-color: rgba(0, 141, 185, 0.11);
}

.cta__glow {
  background: radial-gradient(circle, rgba(0, 141, 185, 0.18), transparent 66%);
}

.cta h2 {
  font-size: clamp(3rem, 6.6vw, 6rem);
  letter-spacing: -0.036em;
}

.cta__sub {
  color: #4B5B68;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background:
    radial-gradient(ellipse 50% 40% at 50% 120%, rgba(0, 141, 185, 0.05), transparent 70%),
    linear-gradient(180deg, transparent, rgba(11, 31, 45, 0.012));
}

.footer__pitch h2 {
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  letter-spacing: -0.03em;
}

.footer__mail {
  color: #5B6B78;
}

.footer__mail:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.footer__cols h3 {
  color: #7C8B97;
}

.footer__cols a {
  color: #5B6B78;
}

.footer__cols a:hover {
  color: var(--lime);
}

.footer__mark {
  -webkit-text-stroke-color: rgba(11, 31, 45, 0.11);
}

.footer__social a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: #F8FAFC;
}

/* Forms ------------------------------------------------------------------ */

.field input,
.field select,
.field textarea {
  border-color: rgba(11, 31, 45, 0.12);
  background: rgba(11, 31, 45, 0.022);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.09);
  outline: none;
}

.chips span {
  border-color: rgba(11, 31, 45, 0.12);
  background: rgba(11, 31, 45, 0.022);
}

.chips input:checked + span {
  background: var(--lime);
  border-color: var(--lime);
  color: #F8FAFC;
}

.contact-card--lime {
  background: linear-gradient(150deg, #e9dcc0, #cdb47e);
  color: #FFFFFF;
}

/* Motion helpers --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .curtain__panel {
    display: none;
  }

  .curtain {
    display: none;
  }
}


/* Responsive */

@media (max-width: 1120px) {
  .hv-chip--c { display: none; }
  .why__left h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
}

@media (max-width: 980px) {
  .nav,
  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header__inner {
    height: 74px;
  }

  .brand {
    margin-right: auto;
  }

  .hero {
    padding-top: 132px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hv-card {
    max-width: 520px;
  }

  .hv-chip--a {
    left: 8%;
  }

  .hv-chip--b {
    right: 8%;
  }

  .section-head,
  .portal-section__head,
  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-head h2 {
    max-width: 20ch;
  }

  .section-head .lead {
    padding-bottom: 0;
  }

  .portal-features {
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }

  .portal-section__head h2 {
    max-width: 18ch;
  }

  .portal__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .portal__side {
    flex-direction: column;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 14px 14px 10px;
    gap: 12px;
  }

  .portal__nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .portal__nav::-webkit-scrollbar {
    display: none;
  }

  .portal__tab {
    width: auto;
    white-space: nowrap;
    padding: 8px 12px;
  }

  .portal__side-foot {
    display: none;
  }

  .portal__main {
    padding: 18px;
  }

  .p-grid {
    grid-template-columns: 1fr;
  }

  .p-investor-cards {
    grid-template-columns: 1fr;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .why__left,
  .faq__left {
    position: static;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    position: static;
  }

  .split,
  .split--wide {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__cols {
    max-width: 640px;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .process__step:nth-child(2) {
    border-right: 0;
  }

  .process__step:nth-child(3),
  .process__step:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-card--wide {
    grid-column: span 2;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metrics__item:nth-child(2) {
    border-right: 0;
  }

  .metrics__item:nth-child(3),
  .metrics__item:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .module-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phase-grid {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
  }

  .page-hero__meta dd {
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: clamp(64px, 12vw, 92px);
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 11.6vw, 4.2rem);
    margin-bottom: 20px;
  }

  .hero__sub {
    font-size: 15px;
    margin-bottom: 26px;
  }

  .hero__actions {
    margin-bottom: 30px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: 150px;
  }

  .hero__meta {
    gap: 8px 18px;
    font-size: 10.5px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hv-chip {
    display: none;
  }

  .hv-card {
    padding: 14px;
  }

  .hv-kpi strong {
    font-size: 19px;
  }

  .hv-chart {
    height: 66px;
  }

  .marquee__group {
    gap: 34px;
    padding-right: 34px;
  }

  .marquee__track span {
    font-size: 11px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card__top {
    margin-bottom: 26px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process__step,
  .process__step:not(:first-child) {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .process__step:last-child {
    border-bottom: 0;
  }

  .process__step:not(:first-child)::before {
    left: 0;
  }

  .process__num {
    margin-bottom: 16px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card--wide {
    grid-column: span 1;
  }

  .work-card--wide .work-card__visual {
    height: 220px;
  }

  .metrics__item {
    padding: 26px 18px;
  }

  .metrics__num {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .footer__bottom {
    gap: 10px 16px;
  }

  .footer__legal {
    margin-left: 0;
  }

  .footer__social {
    order: 5;
  }

  .cta {
    border-radius: 24px;
    padding: 46px 20px;
  }

  .cta__actions .btn {
    flex: 1 1 100%;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    padding-top: 118px;
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 10.8vw, 3.8rem);
  }

  .page-hero__meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-hero__meta dd {
    margin-bottom: 0;
  }

  .p-kpis,
  .p-kpis--three {
    grid-template-columns: 1fr 1fr;
  }

  .p-grid,
  .p-grid--expenses {
    grid-template-columns: 1fr;
  }

  .p-investor-cards {
    grid-template-columns: 1fr;
  }

  .p-board {
    grid-template-columns: repeat(4, minmax(210px, 1fr));
  }

  .portal__top-actions .portal__search {
    display: none;
  }

  .portal__url {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .portal__main {
    padding: 15px 13px 18px;
  }

  .portal__topbar h3 {
    font-size: 16px;
  }

  .p-chart {
    height: 140px;
  }

  .roles-table {
    min-width: 620px;
  }

  .roles-scroll {
    overflow-x: auto;
  }

  .legal h2 {
    margin-top: 34px;
  }
}

@media (max-width: 520px) {
  .hero__actions .btn {
    min-width: 0;
    flex: 1 1 100%;
  }

  .hero__meta span:last-child {
    display: none;
  }

  .portal__date {
    display: none;
  }

  .portal__badge {
    display: none;
  }

  .p-kpis,
  .p-kpis--three {
    grid-template-columns: 1fr;
  }

  .p-kpis--three {
    grid-template-columns: 1fr 1fr;
  }

  .p-kpis--three .p-kpi:last-child {
    display: none;
  }

  .p-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .p-approvals li {
    grid-template-columns: 1fr auto;
  }

  .p-approvals .p-approve {
    display: none;
  }

  .p-cat {
    grid-template-columns: 62px 1fr 30px;
  }

  .hv-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .hv-rows .hv-row:last-child {
    display: none;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__mark {
    font-size: 21vw;
  }

  .contact-card {
    padding: 22px;
  }
}

@media (hover: none) {
  .service-card:hover,
  .work-card:hover,
  .cap-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .curtain {
    display: none;
  }

  .js .reveal,
  html.js .hero [data-hero] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hv-chart i {
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}

@media print {
  .site-header,
  .mobile-menu,
  .curtain,
  .site-footer,
  .cta-section {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }
}

/* Header status + V2 responsive ----------------------------------------- */

.header__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 2px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7C8B97;
  white-space: nowrap;
}

.header__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}

@media (max-width: 1120px) {
  .header__status { display: none; }
}

@media (max-width: 980px) {
  .site-header .header__inner {
    height: 62px;
    padding-inline: 16px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 126px;
  }

  .hero__badge {
    font-size: 8.5px;
    letter-spacing: 0.11em;
    padding: 7px 11px;
    margin-bottom: 24px;
  }

  .hero__badge-sep,
  .hero__badge span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 11.4vw, 4.1rem);
    line-height: 0.92;
    margin-bottom: 24px;
  }

  .hero__foot {
    margin-top: 34px;
    font-size: 8.5px;
    letter-spacing: 0.14em;
  }

  .hero__foot > span:last-child {
    display: none;
  }

  .hero__meta {
    gap: 10px 18px;
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .hero__meta b {
    font-size: 1.45em;
  }

  .statement {
    padding-block: 64px;
  }

  .statement__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .statement__text {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.8rem);
  }

  .statement__foot {
    grid-column: 1;
    gap: 10px 18px;
  }

  .statement__foot .text-link {
    margin-left: 0;
    flex: 1 1 100%;
  }

  .section-head h2,
  .portal-section__head h2,
  .why__left h2,
  .faq__left h2 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .cta h2 {
    font-size: clamp(2.5rem, 10vw, 3.6rem);
  }

  .footer__pitch h2 {
    font-size: clamp(2.3rem, 9vw, 3.4rem);
  }
}

@media (hover: none) {
  .btn,
  .service-card,
  .work-card {
    transform: none !important;
  }
}

@media (min-width: 721px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-card--wide {
    grid-column: span 2;
  }

  .work-card--wide .work-card__visual {
    height: 300px;
  }
}

@media (max-width: 720px) {
  .marquee__group {
    gap: 30px;
    padding-right: 30px;
  }
}

/* Faster entrance on repeat visits (no curtain) ------------------------- */

html.has-visited.js .hero [data-hero] {
  animation-duration: 0.8s;
  animation-delay: calc(var(--d, 0.6s) * 0.5);
}

html.has-visited.js .hero h1 .line > span {
  animation-duration: 0.85s;
}

html.has-visited.js .hero h1 .line:nth-child(1) > span { animation-delay: 0.08s; }
html.has-visited.js .hero h1 .line:nth-child(2) > span { animation-delay: 0.15s; }
html.has-visited.js .hero h1 .line:nth-child(3) > span { animation-delay: 0.22s; }

/* ==========================================================================
   V3 — Brand light layer
   Space Grotesk + Inter + JetBrains Mono · teal #008DB9 · orange #F86F39 · navy #0B1F2D
   ========================================================================== */

:root {
  --accent: #008DB9;
  --accent-rgb: 0, 141, 185;
  --orange: #F86F39;
  --orange-rgb: 248, 111, 57;
  --navy: #0B1F2D;
  --brand-gray: #5B6B78;
  --glow: rgba(0, 141, 185, 0.14);
  --glass: rgba(255, 255, 255, 0.86);
  --shadow-soft: 0 20px 60px rgba(11, 31, 45, 0.08);
  --shadow-lift: 0 34px 90px rgba(11, 31, 45, 0.13);
  --font-display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --font-sub: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1180px;
}

body {
  background:
    radial-gradient(ellipse 62% 42% at 88% -4%, rgba(0, 141, 185, 0.08), transparent 62%),
    radial-gradient(ellipse 44% 34% at 0% 26%, rgba(248, 111, 57, 0.035), transparent 64%),
    #F8FAFC;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  font-feature-settings: "ss01" 1;
}

body::after {
  opacity: 0.018;
  mix-blend-mode: multiply;
}

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

::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb {
  background: #B9C8D2;
  border: 3px solid #F8FAFC;
}
::-webkit-scrollbar-thumb:hover { background: #93A8B7; }

:focus-visible { outline-color: var(--accent); }

/* Typography ------------------------------------------------------------- */

h1, h2, h3, h4,
.display,
.hero h1,
.section-head h2,
.portal-section__head h2,
.page-hero h1,
.why__left h2,
.faq__left h2,
.cta h2,
.footer__pitch h2,
.split h2,
.stack-head h2,
.work-card h3,
.service-card h3,
.process__step h3 {
  font-family: var(--font-display);
  font-variation-settings: normal;
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 em, h2 em, h3 em,
.display em,
.hero h1 em,
.section-head h2 em,
.portal-section__head h2 em,
.page-hero h1 em,
.why__left h2 em,
.faq__left h2 em,
.cta h2 em,
.footer__pitch h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.hero h1 em,
.cta h2 em,
.page-hero h1 em {
  position: relative;
  display: inline-block;
}

.hero h1 em::after,
.cta h2 em::after,
.page-hero h1 em::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: -0.02em;
  bottom: -0.1em;
  height: 0.075em;
  min-height: 3px;
  border-radius: 999px;
  background: var(--orange);
  transform: skewX(-16deg) rotate(-1deg);
  transform-origin: left center;
}

.lead,
.hero__sub,
.section-head .lead,
.portal-section__head .lead,
.page-hero .lead,
.cta__sub,
.statement__text,
.split p,
.stack-head p {
  font-family: var(--font-sub);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--brand-gray);
  line-height: 1.7;
}

.lead,
.hero__sub,
.section-head .lead,
.portal-section__head .lead,
.page-hero .lead,
.cta__sub {
  font-size: clamp(1.02rem, 1.15vw, 1.16rem);
}

.eyebrow {
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  flex: none;
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(248, 111, 57, 0.1);
}

.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.text-link {
  color: var(--navy);
  font-weight: 700;
}

.text-link::after {
  opacity: 0.2;
  background: var(--accent);
}

.text-link:hover { color: var(--accent); }
.text-link:hover::after { opacity: 1; }

/* Brand lockup ----------------------------------------------------------- */

.brand {
  gap: 11px;
  margin-right: auto;
}

.brand__mark {
  color: var(--accent);
  filter: none;
  width: 34px;
  height: 34px;
}

.brand:hover .brand__mark {
  transform: none;
  filter: drop-shadow(0 6px 14px rgba(0, 141, 185, 0.18));
}

.brand__word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand__word em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 1em;
  color: var(--accent);
  margin-left: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__tagline {
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
  color: #8A9AA6;
  white-space: nowrap;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  padding-top: 0;
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(11, 31, 45, 0.06);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.site-header.is-scrolled {
  padding-top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(11, 31, 45, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 8px 30px rgba(11, 31, 45, 0.045);
}

.site-header .header__inner {
  height: 82px;
  width: 100%;
  padding-inline: var(--pad);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-header.is-scrolled .header__inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav { gap: clamp(16px, 2vw, 30px); }

.nav__link {
  padding: 9px 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #4E5F6C;
}

.nav__link:hover,
.nav__link[aria-current="page"],
.nav__link[aria-expanded="true"] {
  color: var(--accent);
}

.nav__link::after {
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.nav__menu {
  border-color: rgba(11, 31, 45, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 24px 60px rgba(11, 31, 45, 0.14);
}

.nav__menu a:hover { background: #F1F6F9; }
.nav__menu-num { color: var(--orange); font-weight: 800; }
.nav__menu strong { color: var(--navy); }
.nav__menu small { color: #6B7C89; }

.header__status { color: #5B6B78; }
.header__status i { background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 141, 185, 0.1); }

.header__cta {
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(0, 141, 185, 0.18);
}

.menu-toggle span { background: var(--navy); }

.mobile-menu {
  background: rgba(255, 255, 255, 0.99);
  color: var(--navy);
}

.mobile-menu__nav a {
  border-bottom: 1px solid rgba(11, 31, 45, 0.08);
  color: var(--navy);
}

.mobile-menu__nav a:hover { color: var(--accent); }
.mobile-menu__nav a em { color: var(--accent); }
.mobile-menu__contact a:first-child { color: var(--navy); }

/* Buttons ---------------------------------------------------------------- */

.btn {
  border-radius: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 141, 185, 0.22);
}

.btn--primary:hover {
  background: #00759A;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 141, 185, 0.28);
}

.btn--primary::after {
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 48%, transparent 72%);
}

.btn--ghost {
  border-color: rgba(11, 31, 45, 0.16);
  background: #fff;
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(11, 31, 45, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(0, 141, 185, 0.4);
  background: #F1F8FB;
  color: var(--accent);
}

.btn--large { padding: 17px 28px; }

/* Hero ------------------------------------------------------------------- */

.hero {
  padding-top: clamp(142px, 17vh, 190px);
  padding-bottom: clamp(34px, 4.4vw, 58px);
}

.hero__bg::before {
  background:
    radial-gradient(ellipse 48% 44% at 76% 32%, rgba(0, 141, 185, 0.1), transparent 68%),
    radial-gradient(ellipse 36% 32% at 10% 74%, rgba(248, 111, 57, 0.045), transparent 70%);
}

.hero__grid-lines {
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(11, 31, 45, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 45, 0.055) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 42%, #000, transparent 74%);
  mask-image: radial-gradient(ellipse 72% 78% at 50% 42%, #000, transparent 74%);
}

.hero__orb--one {
  background: radial-gradient(circle, rgba(0, 141, 185, 0.2), transparent 64%);
  opacity: 0.55;
}

.hero__orb--two {
  background: radial-gradient(circle, rgba(248, 111, 57, 0.12), transparent 66%);
  opacity: 0.42;
}

.hero__inner {
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 5vw, 84px);
}

.hero h1 {
  font-size: clamp(3.3rem, 6.2vw, 6rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}

.hero__badge {
  gap: 9px;
  margin-bottom: 26px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 141, 185, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.17em;
  box-shadow: 0 6px 18px rgba(11, 31, 45, 0.035);
}

.hero__badge .dot { background: var(--orange); box-shadow: 0 0 0 4px rgba(248, 111, 57, 0.1); }
.hero__badge-sep { background: rgba(11, 31, 45, 0.14); }

.hero__sub {
  max-width: 48ch;
  margin-bottom: 32px;
}

.hero__actions { margin-bottom: 34px; }

.hero__meta {
  padding-top: 22px;
  border-top-color: rgba(11, 31, 45, 0.1);
  color: #7B8B97;
}

.hero__meta b {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
}

.hero__foot {
  border-top-color: rgba(11, 31, 45, 0.1);
  color: #7B8B97;
}

.hero__scroll i { border-color: rgba(11, 31, 45, 0.24); }
.hero__scroll i::after { background: var(--accent); }

/* Hero dashboard visual -------------------------------------------------- */

.hv-glow {
  background: radial-gradient(circle, rgba(0, 141, 185, 0.16), transparent 64%);
}

.hv-card {
  border: 1px solid rgba(11, 31, 45, 0.1);
  background: #fff;
  box-shadow:
    0 34px 80px rgba(11, 31, 45, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.hv-browser {
  border-bottom: 1px solid rgba(11, 31, 45, 0.07);
  background: #F1F6F9;
}

.hv-browser i { background: rgba(11, 31, 45, 0.18); }
.hv-browser i:first-child,
.hv-browser i:nth-child(2) { background: rgba(248, 111, 57, 0.7); }
.hv-browser i:nth-child(3) { background: rgba(0, 141, 185, 0.7); }

.hv-url { color: #7B8B97; }
.hv-head h3 { color: var(--navy); }
.hv-head p { color: #7B8B97; }

.hv-live {
  border: 1px solid rgba(0, 141, 185, 0.16);
  background: rgba(0, 141, 185, 0.07);
  color: var(--accent);
}

.hv-live i { background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 141, 185, 0.1); }

.hv-kpis { border-color: rgba(11, 31, 45, 0.07); }
.hv-kpi { background: #F8FAFC; }
.hv-kpi span, .hv-kpi small { color: #7B8B97; }
.hv-kpi strong { color: var(--navy); }
.hv-kpi strong em { color: var(--accent); }
.hv-kpi small { color: #6B7C89; }

.hv-chartwrap { border-color: rgba(11, 31, 45, 0.07); }
.hv-chart-top { color: #7B8B97; }
.hv-chart-top b { color: var(--accent); }

.hv-chart i {
  background: linear-gradient(180deg, var(--accent), rgba(0, 141, 185, 0.14));
}

.hv-chart i:nth-child(3n) {
  background: linear-gradient(180deg, var(--orange), rgba(248, 111, 57, 0.12));
}

.hv-rows { border-color: rgba(11, 31, 45, 0.07); }
.hv-row { color: #5B6B78; border-color: rgba(11, 31, 45, 0.06); }
.hv-row b { color: var(--navy); }
.hv-row i { background: var(--accent); }

.hv-chip {
  border: 1px solid rgba(11, 31, 45, 0.09);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(11, 31, 45, 0.12);
}

.hv-chip > i { background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 141, 185, 0.1); }
.hv-chip:nth-of-type(2) > i { background: var(--orange); box-shadow: 0 0 0 4px rgba(248, 111, 57, 0.1); }
.hv-chip b { color: var(--navy); }
.hv-chip small { color: #7B8B97; }

/* Trust / logos ---------------------------------------------------------- */

.logos {
  border-block-color: rgba(11, 31, 45, 0.07);
  background: #fff;
}

.logos__label { color: #7B8B97; }

.marquee__track span { color: #5D6E7B; }
.marquee__track span::after { background: var(--orange); }
.marquee__track .logo-serif { color: var(--navy); }
.marquee__track .logo-light { color: #7B8B97; }

.toolkit .marquee__track span { color: #6B7C89; }

/* Statement -------------------------------------------------------------- */

.statement {
  border-bottom: 1px solid rgba(11, 31, 45, 0.07);
}

.statement__text {
  font-size: clamp(1.55rem, 3.1vw, 2.7rem);
  line-height: 1.32;
  color: var(--navy);
}

.statement__text em {
  color: var(--accent);
  font-style: normal;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.statement__foot { color: #7B8B97; border-color: rgba(11, 31, 45, 0.07); }
.statement__foot .text-link { color: var(--navy); }

/* Section heads ---------------------------------------------------------- */

.section-head h2,
.portal-section__head h2,
.why__left h2,
.faq__left h2,
.page-hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 4.1rem);
  line-height: 1.08;
}

.section-head .lead { color: #5B6B78; }

/* Services --------------------------------------------------------------- */

.services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 320px;
  padding: clamp(23px, 2.4vw, 30px);
  border: 1px solid rgba(11, 31, 45, 0.09);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 31, 45, 0.035);
}

.service-card::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 141, 185, 0.055), transparent 46%);
}

.service-card:hover {
  border-color: rgba(0, 141, 185, 0.28);
  box-shadow: 0 24px 60px rgba(11, 31, 45, 0.1);
  transform: translateY(-5px);
}

.service-card__top { margin-bottom: 28px; }

.service-card__num {
  padding-top: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A9AA6;
}

.service-card__icon {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 141, 185, 0.08);
  color: var(--accent);
}

.service-card:hover .service-card__icon {
  background: var(--accent);
  color: #fff;
  transform: none;
}

.service-card h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.8rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
  max-width: 20ch;
}

.service-card p {
  color: #5B6B78;
  font-size: 13.5px;
  line-height: 1.68;
}

.tags span,
.pill {
  border-color: rgba(11, 31, 45, 0.09);
  background: #F8FAFC;
  color: #5B6B78;
  font-weight: 600;
}

.card-arrow {
  width: 40px;
  height: 40px;
  border-color: rgba(11, 31, 45, 0.1);
  color: var(--accent);
  background: #F8FAFC;
}

.service-card:hover .card-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(0deg);
}

/* Portal section --------------------------------------------------------- */

.portal-section {
  background:
    radial-gradient(ellipse 60% 52% at 50% 0%, rgba(0, 141, 185, 0.08), transparent 70%),
    #F1F6F9;
  border-block-color: rgba(11, 31, 45, 0.07);
  color: #5B6B78;
}

.portal-section h2,
.portal-section__head h2 { color: var(--navy); }

.portal-features li { color: #5B6B78; }
.portal-features li b { color: var(--navy); }
.portal-features li svg { color: var(--accent); }

.portal-wrap { filter: none; }

.portal {
  border-color: rgba(11, 31, 45, 0.1);
  box-shadow: 0 36px 90px rgba(11, 31, 45, 0.16);
}

.portal__chrome {
  background: #F1F6F9;
  border-bottom: 1px solid rgba(11, 31, 45, 0.08);
}

.portal__lights i { background: rgba(11, 31, 45, 0.18); }
.portal__lights i:first-child,
.portal__lights i:nth-child(2) { background: rgba(248, 111, 57, 0.75); }
.portal__lights i:nth-child(3) { background: rgba(0, 141, 185, 0.75); }

.portal__url { color: #7B8B97; }
.portal__badge { border-color: rgba(0, 141, 185, 0.16); background: rgba(0, 141, 185, 0.07); color: var(--accent); }
.portal__badge i { background: var(--accent); }

.portal__side { background: #fff; border-right: 1px solid rgba(11, 31, 45, 0.07); }
.portal__side-foot { border-top: 1px solid rgba(11, 31, 45, 0.07); }

.portal__logo { color: var(--navy); }
.portal__logo em { color: var(--accent); }
.portal__logo-mark { background: var(--accent); color: #fff; border-radius: 8px; }

.portal__tab { color: #6B7C89; }
.portal__tab:hover { background: #F1F6F9; color: var(--navy); }
.portal__tab.is-active { background: rgba(0, 141, 185, 0.08); color: var(--accent); }
.portal__tab.is-active::before { background: var(--accent); }

.portal__plan span { color: #7B8B97; }
.portal__plan strong { color: var(--navy); }
.portal__plan i { background: rgba(11, 31, 45, 0.08); }
.portal__plan i b { background: var(--accent); }

.portal__user strong { color: var(--navy); }
.portal__user small { color: #7B8B97; }
.portal__avatar { background: var(--accent); color: #fff; }
.portal__avatar--alt { background: var(--orange); }
.portal__avatar--alt2 { background: var(--navy); }

.portal__main { background: #F8FAFC; }
.portal__topbar { background: #fff; border-bottom: 1px solid rgba(11, 31, 45, 0.07); }
.portal__topbar h3 { color: var(--navy); }
.portal__topbar p { color: #7B8B97; }
.portal__date, .portal__search { border-color: rgba(11, 31, 45, 0.09); background: #F8FAFC; color: #6B7C89; }

.p-kpi { background: #fff; border-color: rgba(11, 31, 45, 0.08); }
.p-kpi span, .p-kpi small { color: #7B8B97; }
.p-kpi strong { color: var(--navy); }
.p-kpi strong em { color: var(--accent); }
.p-kpi small.up { color: #0A8F6C; }
.p-kpi small.down { color: #D05633; }

.p-card { background: #fff; border-color: rgba(11, 31, 45, 0.08); }
.p-card__head h4 { color: var(--navy); }
.p-card__head p { color: #7B8B97; }

.p-legend { color: #7B8B97; }
.p-legend i.a { background: var(--accent); }
.p-legend i.b { background: rgba(11, 31, 45, 0.32); }

.p-activity li { border-color: rgba(11, 31, 45, 0.06); }
.p-activity strong { color: var(--navy); }
.p-activity small { color: #7B8B97; }

.p-table th { color: #7B8B97; border-color: rgba(11, 31, 45, 0.09); }
.p-table td { color: #5B6B78; border-color: rgba(11, 31, 45, 0.06); }
.p-table td strong { color: var(--navy); }
.p-table td small { color: #7B8B97; }

.p-pill { border-color: rgba(11, 31, 45, 0.09); background: #F1F6F9; color: #5B6B78; }
.p-pill--ok { background: rgba(0, 141, 185, 0.08); border-color: rgba(0, 141, 185, 0.16); color: var(--accent); }
.p-pill--warn { background: rgba(248, 111, 57, 0.09); border-color: rgba(248, 111, 57, 0.18); color: #C4552C; }
.p-pill--danger { background: rgba(190, 45, 45, 0.08); border-color: rgba(190, 45, 45, 0.16); color: #B33A3A; }

.p-bar { background: rgba(11, 31, 45, 0.08); }
.p-bar i { background: var(--accent); }

.p-chip { border-color: rgba(11, 31, 45, 0.09); color: #5B6B78; }
.p-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.p-booking, .p-investor { border-color: rgba(11, 31, 45, 0.08); background: #F8FAFC; }
.p-booking strong, .p-investor strong { color: var(--navy); }
.p-booking small, .p-investor small { color: #7B8B97; }
.p-booking--live { border-color: rgba(0, 141, 185, 0.2); background: rgba(0, 141, 185, 0.04); }
.p-booking--warn { border-color: rgba(248, 111, 57, 0.2); background: rgba(248, 111, 57, 0.04); }

.p-investor__stats span { border-color: rgba(11, 31, 45, 0.07); }
.p-investor__stats b { color: var(--navy); }
.p-investor__payout i { background: rgba(11, 31, 45, 0.08); }
.p-investor__payout i b { background: var(--accent); }

.p-note { color: #7B8B97; }
.p-approve { border-color: rgba(0, 141, 185, 0.24); color: var(--accent); }
.p-approve:hover, .p-approve[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.p-approvals > li > b { color: var(--navy); }

/* Process / why ---------------------------------------------------------- */

.process { border-top-color: rgba(11, 31, 45, 0.1); }
.process__step { border-right-color: rgba(11, 31, 45, 0.07); }
.process__num { color: var(--accent); font-weight: 600; }
.process__step h3 { color: var(--navy); font-weight: 600; }
.process__step p { color: #5B6B78; }
.process__step::before { background: var(--orange); }

.why__left p, .faq__left p { color: #5B6B78; font-family: var(--font-sub); font-size: 15px; }

.why__list, .faq__list { border-top-color: rgba(11, 31, 45, 0.1); }
.why__item, .faq__item { border-bottom-color: rgba(11, 31, 45, 0.07); }
.why__item span { color: var(--orange); font-weight: 800; }
.why__item h3 { color: var(--navy); }
.why__item p { color: #5B6B78; }
.why__item:hover { background: rgba(0, 141, 185, 0.025); }

.toolkit { border-block-color: rgba(11, 31, 45, 0.07); }

/* Work ------------------------------------------------------------------- */

.work-grid { gap: 14px; }

.work-card {
  border-color: rgba(11, 31, 45, 0.09);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 31, 45, 0.035);
}

.work-card:hover {
  border-color: rgba(0, 141, 185, 0.28);
  box-shadow: 0 24px 60px rgba(11, 31, 45, 0.11);
  transform: translateY(-5px);
}

.work-card__visual {
  border-bottom-color: rgba(11, 31, 45, 0.07);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 141, 185, 0.14), transparent 58%),
    linear-gradient(160deg, #F1F7FA, #FFFFFF);
}

.work-card__visual::after {
  background-image:
    linear-gradient(rgba(11, 31, 45, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 45, 0.055) 1px, transparent 1px);
}

.work-card__ghost { color: rgba(11, 31, 45, 0.06); }
.work-card__label { background: rgba(255, 255, 255, 0.9); color: #5B6B78; border-color: rgba(11, 31, 45, 0.08); }
.work-card__label i { background: var(--orange); }
.work-card__mini { background: rgba(255, 255, 255, 0.9); border-color: rgba(11, 31, 45, 0.08); }
.work-card__mini span { background: rgba(11, 31, 45, 0.08); }
.work-card__body h3 { color: var(--navy); }
.work-card__body p { color: #5B6B78; }

/* Metrics ---------------------------------------------------------------- */

.metrics {
  border-block-color: rgba(11, 31, 45, 0.08);
  background:
    radial-gradient(ellipse 70% 120% at 50% 100%, rgba(0, 141, 185, 0.05), transparent 70%),
    #fff;
}

.metrics__item { border-right-color: rgba(11, 31, 45, 0.07); }
.metrics__num { color: var(--navy); font-weight: 600; }
.metrics__num sup { color: var(--orange); }
.metrics__label { color: #7B8B97; }

/* FAQ -------------------------------------------------------------------- */

.faq__item summary { color: var(--navy); font-weight: 700; }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { color: #5B6B78; }

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

.cta-section { padding-block: clamp(56px, 7vw, 96px); }

.cta {
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 90% at 85% 110%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(132deg, #008DB9 0%, #00759A 58%, #0B1F2D 100%);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 93, 122, 0.24);
}

.cta::before,
.cta::after { border-color: rgba(255, 255, 255, 0.12); }
.cta::after { border-color: rgba(255, 255, 255, 0.07); }
.cta__glow { background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%); }
.cta .eyebrow { color: rgba(255, 255, 255, 0.82); }
.cta .eyebrow .dot { background: var(--orange); }
.cta h2 { color: #fff; }
.cta h2 em { color: #FFD5C4; }
.cta h2 em::after { background: var(--orange); }
.cta__sub { color: rgba(255, 255, 255, 0.76); }
.cta__meta { border-top-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.66); }
.cta__meta i { background: var(--orange); }
.cta .btn--primary { background: #fff; color: var(--accent); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14); }
.cta .btn--primary:hover { background: #F1F8FB; color: var(--accent); }
.cta .btn--ghost { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: #fff; }
.cta .btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.14); color: #fff; }
.cta .btn--primary::after { background: linear-gradient(110deg, transparent 20%, rgba(0, 141, 185, 0.12) 48%, transparent 72%); }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  border-top-color: rgba(11, 31, 45, 0.08);
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0, 141, 185, 0.055), transparent 70%),
    #fff;
}

.footer__pitch h2 { color: var(--navy); }
.footer__mail { color: #5B6B78; border-bottom-color: rgba(11, 31, 45, 0.12); }
.footer__mail:hover { color: var(--accent); border-color: var(--accent); }
.footer__cols h3 { color: #7B8B97; }
.footer__cols a, .footer__address { color: #5B6B78; }
.footer__cols a:hover { color: var(--accent); }
.footer__mark { -webkit-text-stroke-color: rgba(11, 31, 45, 0.11); }
.footer__bottom { border-top-color: rgba(11, 31, 45, 0.07); color: #7B8B97; }
.footer__status { color: #5B6B78; }
.footer__status i { background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 141, 185, 0.1); }
.footer__clock b { color: #5B6B78; }
.footer__legal a:hover { color: var(--accent); }
.footer__social a { border-color: rgba(11, 31, 45, 0.1); color: #5B6B78; background: #F8FAFC; }
.footer__social a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

/* Inner pages ------------------------------------------------------------ */

.page-hero { border-bottom-color: rgba(11, 31, 45, 0.07); }
.page-hero__bg::before {
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(0, 141, 185, 0.1), transparent 66%),
    radial-gradient(ellipse 36% 44% at 4% 80%, rgba(248, 111, 57, 0.045), transparent 68%);
}
.page-hero__bg .hero__grid-lines { opacity: 0.32; }
.page-hero .lead { color: #5B6B78; }
.page-hero__meta { border-color: rgba(11, 31, 45, 0.08); }
.page-hero__meta dt { color: #7B8B97; }
.page-hero__meta dd { color: var(--navy); }

.cap-card, .panel, .module, .phase, .contact-card, .contact-form, .note-box {
  border-color: rgba(11, 31, 45, 0.09);
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 31, 45, 0.035);
}

.cap-card:hover, .module:hover { border-color: rgba(0, 141, 185, 0.24); box-shadow: 0 18px 44px rgba(11, 31, 45, 0.08); }
.cap-card h3, .panel h3, .module h3, .phase h3 { color: var(--navy); }
.cap-card p, .panel p, .module p, .phase p, .note-box p { color: #5B6B78; }

.contact-card--lime {
  background: linear-gradient(145deg, #008DB9, #0B1F2D);
  color: #fff;
}
.contact-card--lime h3, .contact-card--lime strong { color: #fff; }
.contact-card--lime p, .contact-card--lime a { color: rgba(255,255,255,.76); }

.field input, .field select, .field textarea {
  border-color: rgba(11, 31, 45, 0.12);
  background: #F8FAFC;
  color: var(--navy);
}
.field label, .field span { color: #5B6B78; }
.field input::placeholder, .field textarea::placeholder { color: #9AA8B2; }
.chips span { border-color: rgba(11, 31, 45, 0.1); background: #F8FAFC; color: #5B6B78; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }

.logo-wall span { color: #5B6B78; }
.stack-list li, .check-list li, .roles-table th, .roles-table td { border-color: rgba(11, 31, 45, 0.08); color: #5B6B78; }
.stack-list strong, .roles-table th { color: var(--navy); }

/* Load curtain ----------------------------------------------------------- */

.curtain__panel {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 141, 185, 0.16), transparent 70%),
    #0B1F2D;
}

.curtain__mark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.curtain__word { color: rgba(255, 255, 255, 0.7); }
.curtain__word em { color: #fff; }
.curtain__line { background: rgba(255, 255, 255, 0.16); }
.curtain__line i { background: linear-gradient(90deg, transparent, var(--orange), transparent); }

.scroll-progress span { background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--orange) 80%, transparent); }

/* Responsive brand layer ------------------------------------------------- */

@media (max-width: 1120px) {
  .brand__tagline { display: none; }
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header .header__inner { height: 74px; }
  .hero h1 { font-size: clamp(2.9rem, 7vw, 4.4rem); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
}

@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
  .portal__body { grid-template-columns: 1fr; min-height: 0; }
  .portal__side {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 9px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 31, 45, 0.07);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .portal__logo, .portal__side-foot { display: none; }
  .portal__nav { flex-direction: row; gap: 3px; }
  .portal__tab {
    width: auto;
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 10.5px;
  }
  .portal__tab svg { width: 13px; height: 13px; }
  .portal__main { padding: 14px 12px 18px; }
  .hero__badge-since { display: none; }
  .hero__badge-sep { display: none; }
  .site-header .header__inner { height: 68px; padding-inline: 18px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__word { font-size: 18px; }
  .hero { padding-top: 118px; }
  .hero h1 { font-size: clamp(2.55rem, 10.5vw, 3.7rem); }
  .hero h1 em::after, .cta h2 em::after, .page-hero h1 em::after { min-height: 2px; }
  .hero__badge { font-size: 8.5px; letter-spacing: 0.13em; }
  .section-head h2, .portal-section__head h2, .why__left h2, .faq__left h2, .page-hero h1 { font-size: clamp(2rem, 8vw, 2.9rem); }
  .cta { border-radius: 18px; }
  .service-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 em::after, .cta h2 em::after, .page-hero h1 em::after { transform: none; }
}

/* Section actions + heading accents ------------------------------------- */

.section-head h2 em,
.why__left h2 em,
.faq__left h2 em,
.service-card h3 em {
  position: relative;
  display: inline-block;
}

.section-head h2 em::after,
.why__left h2 em::after,
.faq__left h2 em::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: -0.02em;
  bottom: -0.07em;
  height: 0.06em;
  min-height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: skewX(-16deg) rotate(-1deg);
  transform-origin: left center;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(26px, 3.6vw, 40px);
}

@media (prefers-reduced-motion: reduce) {
  .section-head h2 em::after,
  .why__left h2 em::after,
  .faq__left h2 em::after { transform: none; }
}

/* Contact card on brand panel */
.contact-card--lime .eyebrow { color: rgba(255, 255, 255, 0.82); }
.contact-card--lime .eyebrow .dot { background: var(--orange); }
.contact-card--lime p { color: rgba(255, 255, 255, 0.78); }
.contact-card--lime h3 { color: #fff; }

/* Visually hidden chip inputs (prevents 100% width overflow) */
.chips input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  opacity: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
}

/* Final responsive refinements */
.error-page { position: relative; overflow: hidden; }

@media (max-width: 520px) {
  .p-kpis,
  .p-kpis--three { grid-template-columns: 1fr 1fr; }
}

/* V4 — studio positioning, logo strip, project media, testimonials --------- */

.hero--solo .hero__inner {
  display: block;
}

.hero--solo .hero__copy {
  max-width: 1060px;
}

.hero--solo h1 {
  font-size: clamp(3.3rem, 7.6vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.042em;
  margin-bottom: 30px;
}

.hero--solo .hero__sub {
  max-width: 64ch;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
}

.hero--solo .hero__meta {
  gap: 12px 30px;
}

.hero--solo .hero__foot {
  margin-top: clamp(36px, 6vw, 72px);
}

.hero--solo .hero__grid-lines {
  -webkit-mask-image: radial-gradient(ellipse 74% 70% at 50% 34%, #000 8%, transparent 76%);
  mask-image: radial-gradient(ellipse 74% 70% at 50% 34%, #000 8%, transparent 76%);
}

.hero--solo .hero__orb--one {
  right: 4%;
  top: -20%;
}

.hero--solo .hero__orb--two {
  left: 6%;
  bottom: -28%;
}

.marquee--logos .marquee__group {
  gap: 64px;
  padding-right: 64px;
}

.marquee--logos img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 172px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) contrast(1.06);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
}

.marquee--logos img:hover {
  opacity: 1;
  filter: none;
}

.software-feature {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
}

.software-feature__copy .check-list {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
}

.software-feature__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 30px;
}

.nowrap {
  white-space: nowrap;
}

.software-feature__media {
  overflow: hidden;
  border: 1px solid rgba(11, 31, 45, 0.09);
  border-radius: 18px;
  background: #F8FAFC;
  box-shadow: 0 24px 60px rgba(11, 31, 45, 0.1);
}

.software-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

.work-card:hover .work-card__image {
  transform: scale(1.025);
}

.work-card__visual::after {
  z-index: 1;
  opacity: 0.42;
}

.work-card__label {
  z-index: 2;
  background: rgba(255, 255, 255, 0.78);
}

.work-card--wide .work-card__visual {
  height: 340px;
}

.work-card--featured .work-card__body h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}

.logo-wall--images {
  border-top: 1px solid rgba(11, 31, 45, 0.08);
  border-left: 1px solid rgba(11, 31, 45, 0.08);
}

.logo-wall--images img {
  display: block;
  width: 100%;
  min-height: 108px;
  max-height: 108px;
  padding: 22px;
  object-fit: contain;
  border-right: 1px solid rgba(11, 31, 45, 0.08);
  border-bottom: 1px solid rgba(11, 31, 45, 0.08);
  background: #fff;
  opacity: 0.68;
  filter: grayscale(1);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), background 0.35s var(--ease);
}

.logo-wall--images img:hover {
  opacity: 1;
  filter: none;
  background: #F8FAFC;
}

.testimonials {
  display: grid;
  grid-template-columns: 1.28fr 0.86fr 0.86fr;
  gap: 14px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(11, 31, 45, 0.09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 31, 45, 0.04);
}

.testimonial__mark {
  display: block;
  height: 32px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 0.9;
  color: var(--orange);
}

.testimonial blockquote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.35vw, 1.32rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.testimonial figcaption {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 31, 45, 0.08);
}

.testimonial figcaption strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.testimonial figcaption span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7C8B97;
}

.testimonial--feature {
  border-color: transparent;
  background:
    radial-gradient(ellipse 80% 90% at 100% 0%, rgba(0, 141, 185, 0.38), transparent 62%),
    linear-gradient(145deg, #0B1F2D, #102E40);
  box-shadow: 0 24px 64px rgba(11, 31, 45, 0.18);
}

.testimonial--feature .testimonial__mark {
  color: #FFB18F;
}

.testimonial--feature blockquote {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.32;
  color: #fff;
}

.testimonial--feature figcaption {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.testimonial--feature figcaption strong {
  color: #fff;
}

.testimonial--feature figcaption span {
  color: rgba(255, 255, 255, 0.6);
}

.field--hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form [data-submit]:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-form [aria-busy="true"] {
  cursor: progress;
}

.form-status.is-success {
  color: var(--accent);
}

@media (max-width: 1120px) {
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial--feature {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .hero--solo h1 {
    font-size: clamp(3rem, 8.4vw, 4.8rem);
  }

  .software-feature {
    grid-template-columns: 1fr;
  }

  .nowrap {
  white-space: nowrap;
}

.software-feature__media {
    order: -1;
  }

  .logo-wall--images {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-wall--images img {
    min-height: 100px;
    max-height: 100px;
  }
}

@media (max-width: 720px) {
  .hero--solo {
    padding-top: 112px;
    padding-bottom: 26px;
  }

  .hero--solo h1 {
    font-size: clamp(2.25rem, 9.3vw, 3.15rem);
    line-height: 0.94;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
  }

  .hero--solo .hero__sub {
    font-size: 0.96rem;
    line-height: 1.68;
    margin-bottom: 28px;
  }

  .hero--solo .hero__actions {
    margin-bottom: 28px;
  }

  .hero--solo .hero__meta {
    gap: 10px 18px;
    font-size: 9px;
    line-height: 1.45;
  }

  .hero--solo .hero__meta b {
    font-size: 1.45em;
  }

  .hero--solo .hero__foot {
    margin-top: 32px;
  }

  .marquee--logos .marquee__group {
    gap: 38px;
    padding-right: 38px;
  }

  .marquee--logos img {
    height: 30px;
    max-width: 132px;
  }

  .software-feature__actions {
    gap: 14px;
  }

  .software-feature__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .testimonial {
    min-height: 0;
  }

  .testimonial--feature blockquote {
    font-size: 1.3rem;
  }

  .work-card--wide .work-card__visual {
    height: 230px;
  }

  .logo-wall--images {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-wall--images img {
    min-height: 88px;
    max-height: 88px;
    padding: 16px;
  }
}

@media (max-width: 380px) {
  .hero--solo h1 {
    font-size: 2.08rem;
  }

  .logo-wall--images {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-card__image,
  .marquee--logos img,
  .logo-wall--images img {
    transition: none;
  }
}

.contact-page__inquiry {
  background:
    radial-gradient(ellipse 54% 64% at 92% 6%, rgba(0, 141, 185, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(238, 244, 248, 0.6), rgba(248, 250, 252, 0.25));
}

.contact-page .contact-panel {
  padding: clamp(22px, 2.8vw, 36px);
  border: 1px solid rgba(11, 31, 45, 0.08);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(232, 241, 246, 0.92));
  box-shadow: 0 24px 60px rgba(11, 31, 45, 0.07);
}

.contact-page .contact-panel__intro {
  margin-bottom: clamp(22px, 2.4vw, 30px);
}

.contact-page .contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 13ch;
}

.contact-page .contact-panel .contact-form {
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-page .field input,
.contact-page .field select,
.contact-page .field textarea {
  background-color: #fff;
  border-color: rgba(11, 31, 45, 0.13);
  box-shadow: 0 1px 2px rgba(11, 31, 45, 0.025);
}

.contact-page .field input:focus,
.contact-page .field select:focus,
.contact-page .field textarea:focus {
  background-color: #fff;
  border-color: rgba(0, 141, 185, 0.58);
  box-shadow: 0 0 0 3px rgba(0, 141, 185, 0.09);
}

.contact-page .chips span {
  background-color: #fff;
}

.contact-page .chips input:checked + span {
  background-color: var(--lime);
  border-color: var(--lime);
}

.contact-page .contact-aside {
  top: 108px;
}

@media (max-width: 980px) {
  .contact-page .contact-panel {
    padding: clamp(22px, 4vw, 30px);
  }
}

@media (max-width: 720px) {
  .contact-page .contact-panel {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .contact-page .contact-panel h2 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    max-width: none;
  }
}

/* ==========================================================================
   Gutenberg / block theme integration
   ========================================================================== */

:root {
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wp--preset--font-family--display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --wp--preset--font-family--body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wp--preset--font-family--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Technical labels use the mono companion face */
.eyebrow,
.hero__badge,
.service-card__num,
.page-hero__meta dt,
.metrics__label,
.tags span,
.card-arrow,
.cta__meta,
.footer__cols h3,
.footer__status,
.footer__clock,
.footer__bottom,
.portal__tab,
.portal__eyebrow,
.work-card__label,
.post-meta,
.entry-meta {
  font-family: var(--font-mono);
}

:where(.wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-column) {
  margin-block-start: 0;
  margin-block-end: 0;
}

.wp-block-image {
  margin: 0;
}

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

.entry-content > * {
  margin-block-start: 0;
}

.is-layout-flow > * + * {
  margin-block-start: 0;
}

.site-main,
.entry-content {
  margin: 0;
}

/* Buttons */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.wp-block-button {
  margin: 0;
}

.wp-block-button.btn {
  padding: 0;
}

.header__cta-wrap {
  margin-left: auto;
}

.wp-block-button.btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: inherit;
  box-shadow: none;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  white-space: inherit;
}

.wp-block-button.btn--small .wp-block-button__link {
  padding: 11px 18px;
}

.wp-block-button.btn--large .wp-block-button__link {
  padding: 18px 32px;
}

.wp-block-button.has-arrow .wp-block-button__link::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s var(--ease);
}

.wp-block-button.has-arrow .wp-block-button__link:hover::after {
  transform: translateX(3px);
}

.wp-block-button.btn .wp-block-button__link:hover {
  color: inherit;
}

/* Header: brand and navigation */
.brand__mark-link {
  display: inline-flex;
  color: var(--ivory);
}

.site-header .brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-header .wp-block-site-title,
.site-header .wp-block-site-tagline {
  margin: 0;
  font-size: inherit;
}

.site-header .wp-block-site-title a {
  text-decoration: none;
}

.site-header .wp-block-navigation {
  display: flex;
  align-items: center;
}

.site-header .wp-block-navigation__container {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .wp-block-navigation-item {
  position: relative;
}

.site-header .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header .wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  color: var(--lime);
  background: var(--lime-soft);
}

.site-header .wp-block-navigation-submenu__toggle {
  margin-left: 4px;
}

.site-header .wp-block-navigation__submenu-container {
  min-width: 300px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(11, 31, 45, 0.14);
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
}

.site-header .wp-block-navigation-item__description {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted-2);
}

.site-header .wp-block-navigation__responsive-container-open,
.site-header .wp-block-navigation__responsive-container-close {
  color: var(--ivory);
}

/* Footer lists and social links */
.footer__cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__cols li {
  margin: 0;
}

.footer__cols .wp-block-list {
  padding: 0;
}

.footer__social.wp-block-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.footer__social .wp-block-social-link {
  margin: 0;
}

.footer__social .wp-block-social-link-anchor {
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #F8FAFC;
  color: var(--muted);
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.footer__social .wp-block-social-link-anchor:hover {
  color: #fff;
  background: var(--lime);
  border-color: var(--lime);
}

.footer__copyright {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
}

.footer__copyright p {
  margin: 0;
  font-size: inherit;
  letter-spacing: inherit;
}

.footer__copyright .wp-block-shortcode {
  display: inline;
}

.footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.footer__legal a {
  text-decoration: none;
}

.footer__mark {
  margin: 0;
}

/* Journal cards */
.journal-card {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}

.journal-card h2,
.journal-card h2 a {
  text-decoration: none;
}

.journal-date,
.entry-meta {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-media {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Testimonials: neutralise core quote defaults */
.testimonial .wp-block-quote {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.testimonial .wp-block-quote p {
  margin: 0;
  font: inherit;
  color: inherit;
}

/* Editor canvas */
.editor-styles-wrapper {
  background: #F8FAFC;
  color: var(--ivory);
}

.editor-styles-wrapper .wp-block {
  max-width: none;
}

.editor-styles-wrapper .block-editor-block-list__layout {
  font-family: var(--font-body);
}

/* Keep decorative groups from collapsing */
.wp-block-group.hero__bg,
.wp-block-group.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Responsive navigation: match the site's 980px breakpoint */
.site-header .wp-block-navigation__responsive-container-open {
  display: none;
}

@media (min-width: 981px) {
  .site-header .wp-block-navigation__responsive-container {
    display: contents;
  }

  .site-header .wp-block-navigation__responsive-container-open {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .site-header .wp-block-navigation__responsive-container-open {
    display: flex;
  }
}

/* Mobile refinements */
@media (max-width: 900px) {
  .site-header .wp-block-navigation {
    order: 3;
  }

  .header__cta-wrap {
    margin-left: auto;
  }

  .site-header .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--ink);
    color: var(--ivory);
  }

  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    color: var(--ivory);
    font-size: 18px;
    padding: 14px 0;
  }
}

/* Client logo sizing ------------------------------------------------------ */

.logos .marquee--logos .marquee__group {
  gap: clamp(30px, 4.5vw, 54px);
  padding-right: clamp(30px, 4.5vw, 54px);
}

.logos .marquee--logos .wp-block-image,
.logos .marquee--logos figure {
  flex: none;
  width: auto;
  margin: 0;
}

.logos .marquee--logos .wp-block-image a {
  display: flex;
  align-items: center;
}

.logos .marquee--logos .wp-block-image img,
.logos .marquee--logos img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 140px;
  max-height: 34px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) contrast(1.04);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
}

.logos .marquee--logos .wp-block-image img:hover,
.logos .marquee--logos img:hover {
  opacity: 1;
  filter: none;
}

.logo-wall.logo-wall--images {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #fff;
  border-top: 1px solid rgba(11, 31, 45, 0.08);
  border-left: 1px solid rgba(11, 31, 45, 0.08);
}

.logo-wall.logo-wall--images .wp-block-image,
.logo-wall.logo-wall--images figure {
  display: block;
  min-width: 0;
  margin: 0;
}

.logo-wall.logo-wall--images a {
  display: block;
}

.logo-wall.logo-wall--images img {
  display: block;
  width: 100%;
  height: 88px;
  min-height: 0;
  max-height: none;
  padding: 18px;
  object-fit: contain;
  border-right: 1px solid rgba(11, 31, 45, 0.08);
  border-bottom: 1px solid rgba(11, 31, 45, 0.08);
  background: #fff;
  opacity: 0.68;
  filter: grayscale(1);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), background 0.35s var(--ease);
}

.logo-wall.logo-wall--images img:hover {
  opacity: 1;
  filter: none;
  background: #F8FAFC;
}

@media (max-width: 980px) {
  .logo-wall.logo-wall--images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-wall.logo-wall--images img {
    height: 80px;
    padding: 16px;
  }
}

@media (max-width: 720px) {
  .logos .marquee--logos .marquee__group {
    gap: 28px;
    padding-right: 28px;
  }

  .logos .marquee--logos .wp-block-image img,
  .logos .marquee--logos img {
    height: 28px;
    max-width: 112px;
    max-height: 28px;
  }

  .logo-wall.logo-wall--images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-wall.logo-wall--images img {
    height: 72px;
    padding: 14px;
  }
}

@media (max-width: 380px) {
  .logo-wall.logo-wall--images {
    grid-template-columns: 1fr;
  }
}
