/*
Theme Name: Glovenx
Author: SEWELAMX
Description: Custom corporate website for Glovenx Integrated Business Solutions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: glovenx
*/

:root {
  --neutral-900: #1a1a1a;
  --neutral-700: #3a3a3a;
  --neutral-600: #5a5a5a;
  --neutral-400: #8a8a8a;
  --neutral-100: #f5f5f3;
  --green-900: #1b4332;
  --green-700: #2d6a4f;
  --green-400: #52b788;
  --green-100: #f0f7f4;
  --blue-900: #0d2b55;
  --blue-700: #1a4a8a;
  --blue-400: #4a90d9;
  --blue-100: #f0f4fa;
  --ink: #111111;
  --white: #ffffff;
  --line: rgba(26, 26, 26, 0.12);
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
  --radius: 8px;
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--neutral-100);
  color: var(--neutral-900);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

/* Premium Page Curtain Transition System */
.gvx-curtain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #09090b; /* Matte Luxury Obsidian Black */
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(0, 0, 0);
  transition: transform 900ms cubic-bezier(0.85, 0, 0.15, 1),
              background-color 900ms cubic-bezier(0.85, 0, 0.15, 1);
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.gvx-curtain[data-curtain-theme="exports"] {
  background: #1b4332; /* Forest Green */
}

.gvx-curtain[data-curtain-theme="financial"] {
  background: #0d2b55; /* Royal Blue */
}

.gvx-curtain-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #52b788, #4a90d9, #1b4332, #0d2b55, #6366f1);
  box-shadow: 0 2px 20px rgba(99, 102, 241, 0.9);
  opacity: 0.95;
}

.gvx-curtain-logo {
  opacity: 1;
  transform: scale3d(0.95, 0.95, 1);
  filter: blur(8px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 600ms cubic-bezier(0.16, 1, 0.3, 1);
  width: clamp(140px, 16vw, 240px);
  will-change: transform, opacity, filter;
}

.gvx-curtain-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) !important; /* Ensure logo is white on matte curtain */
}

body.is-ready .gvx-curtain {
  transform: translate3d(0, -100%, 0);
}

body.is-ready .gvx-curtain-logo {
  opacity: 0;
  transform: scale3d(1.05, 1.05, 1);
  filter: blur(15px);
}

body.is-leaving .gvx-curtain {
  transform: translate3d(0, 0, 0);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

body.is-leaving .gvx-curtain-logo {
  opacity: 1;
  transform: scale3d(1, 1, 1);
  filter: blur(0);
  transition-delay: 150ms;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  backdrop-filter: blur(0);
  align-items: center;
  color: var(--white);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(20px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 260ms ease, box-shadow 260ms ease, padding 260ms ease, backdrop-filter 260ms ease;
  z-index: 100;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  padding-bottom: 16px;
  padding-top: 16px;
}

.theme-neutral .site-header.is-scrolled,
.theme-neutral .site-header.menu-active {
  background: rgba(245, 245, 243, 0.96);
  color: var(--neutral-900);
}

.theme-exports .site-header.is-scrolled,
.theme-exports .site-header.menu-active {
  background: rgba(27, 67, 50, 0.96);
}

.theme-financial .site-header.is-scrolled,
.theme-financial .site-header.menu-active {
  background: rgba(13, 43, 85, 0.96);
}

.brand {
  align-items: center;
  display: flex;
  min-width: 220px;
}

.brand-mark {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: filter 180ms ease, transform 180ms ease;
  width: clamp(160px, 16vw, 240px);
}

.brand-mark img {
  height: 100%;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

.theme-exports .brand-mark img,
.theme-financial .brand-mark img {
  filter: brightness(0) invert(1);
}

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

.logo-dark {
  display: none;
}

.theme-neutral .site-header.is-scrolled .logo-light,
.theme-neutral .site-header.menu-active .logo-light {
  display: none;
}

.theme-neutral .site-header.is-scrolled .logo-dark,
.theme-neutral .site-header.menu-active .logo-dark {
  display: block;
}

.theme-neutral .site-header.is-scrolled .nav-toggle,
.theme-neutral .site-header.menu-active .nav-toggle {
  background: rgba(26, 26, 26, 0.05);
  border-color: rgba(26, 26, 26, 0.15);
  color: var(--neutral-900);
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: var(--white);
  display: none;
  height: 44px;
  place-items: center;
  width: 44px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 18px;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.site-header.menu-active .nav-toggle span {
  transform: rotate(45deg);
}

.site-header.menu-active .nav-toggle span::before {
  opacity: 0;
}

.site-header.menu-active .nav-toggle span::after {
  transform: translateY(-2px) rotate(90deg);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.theme-neutral .site-header.is-scrolled .site-nav a,
.theme-neutral .site-header.menu-active .site-nav a {
  color: rgba(26, 26, 26, 0.72);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.theme-neutral .site-header.is-scrolled .site-nav a:hover,
.theme-neutral .site-header.is-scrolled .site-nav a.is-active,
.theme-neutral .site-header.menu-active .site-nav a:hover,
.theme-neutral .site-header.menu-active .site-nav a.is-active {
  color: var(--neutral-900);
}

.page-shell {
  background: var(--white);
  opacity: 0;
  transform: scale3d(1.025, 1.025, 1) translate3d(0, 30px, 0);
  filter: blur(12px);
  transition: opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 1100ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

body.is-ready .page-shell {
  opacity: 1;
  transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  filter: blur(0);
}

body.is-leaving .page-shell {
  opacity: 0;
  transform: scale3d(0.965, 0.965, 1) translate3d(0, -24px, 0);
  filter: blur(10px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.section,
.hero {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.hero {
  align-items: center;
  display: grid;
  min-height: 78vh;
  overflow: hidden;
  padding-top: 140px;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000 76%, transparent);
  opacity: 0.7;
  pointer-events: none;
  position: absolute;
}

.home-hero {
  min-height: 100vh;
}

.hero-dark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%) 0 0 / 28px 28px,
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 32%),
    var(--ink);
  color: var(--white);
}

.hero-green {
  background:
    linear-gradient(120deg, rgba(82, 183, 136, 0.16), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0 0 / 30px 30px,
    var(--green-900);
  color: var(--white);
}

.hero-blue {
  background:
    radial-gradient(circle at 82% 22%, rgba(74, 144, 217, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0 0 / 30px 30px,
    var(--blue-900);
  color: var(--white);
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.narrow {
  max-width: 860px;
}

.hero-content {
  max-width: 920px;
  position: relative;
  z-index: 1;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  color: var(--neutral-600);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero .eyebrow,
.on-dark .section-label {
  color: rgba(255, 255, 255, 0.68);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 6.4rem);
  margin-bottom: 28px;
  max-width: 1050px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  margin-bottom: 14px;
}

.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  max-width: 820px;
}

.section-copy,
.muted {
  color: var(--neutral-600);
}

.cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  position: relative;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
}

.button-dark {
  background: var(--neutral-900);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--neutral-900);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-green {
  background: var(--green-900);
  color: var(--white);
}

.button-blue {
  background: var(--blue-900);
  color: var(--white);
}

.button-green-light {
  background: var(--white);
  color: var(--green-900);
}

.button-blue-light {
  background: var(--white);
  color: var(--blue-900);
}

.scroll-cue {
  bottom: 36px;
  color: rgba(255, 255, 255, 0.7);
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.scroll-cue::before {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  display: block;
  height: 18px;
  transform: rotate(45deg);
  width: 18px;
}

.split {
  align-items: start;
  display: grid;
  gap: clamp(30px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split-feature > div:last-child,
.split-feature > p:last-child {
  display: grid;
  gap: 28px;
}

.section-neutral {
  background: var(--neutral-100);
}

.section-green {
  background: var(--green-100);
}

.section-blue {
  background: var(--blue-100);
}

.section-white {
  background: var(--white);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.section-compact {
  max-width: 1120px;
}

.section-compact > [data-reveal]:first-child {
  max-width: 760px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 34px);
  position: relative;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
  will-change: transform;
}

.card::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 38%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 240ms ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card:hover::after {
  opacity: 1;
}

.service-card {
  min-height: 100%;
}

.service-list {
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 34px;
}

.service-list .service-card {
  align-items: center;
  border-left: 5px solid var(--neutral-900);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 56px minmax(180px, 0.9fr) minmax(220px, 1fr);
  min-height: 0;
  padding: 20px 24px;
}

.service-list .service-card h3,
.service-list .service-card p {
  margin: 0;
}

.service-list .service-card h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.service-list .service-card .icon {
  margin: 0;
}

.service-list-green .service-card {
  border-left-color: var(--green-900);
}

.service-list-blue .service-card {
  border-left-color: var(--blue-900);
}

.accent-green {
  border-top: 5px solid var(--green-900);
}

.accent-blue {
  border-top: 5px solid var(--blue-900);
}

.accent-neutral {
  border-top: 5px solid var(--neutral-900);
}

.icon {
  align-items: center;
  background: var(--neutral-100);
  border-radius: 8px;
  color: var(--neutral-900);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 20px;
  width: 48px;
}

.icon svg {
  height: 24px;
  width: 24px;
}

.icon-green {
  background: var(--green-100);
  color: var(--green-900);
}

.icon-blue {
  background: var(--blue-100);
  color: var(--blue-900);
}

.list-clean {
  color: var(--neutral-600);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.list-clean li {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.client-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 34px 0 24px;
}

.logo-placeholder {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--neutral-400);
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 82px;
}

.image-placeholder {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.18);
  min-height: 280px;
  overflow: hidden;
  position: relative;
  transform: translate3d(0, 0, 0);
}

.hero-visual {
  align-self: stretch;
  min-height: clamp(330px, 42vw, 560px);
}

.inline-visual {
  aspect-ratio: 16 / 9;
  box-shadow: none;
  min-height: 230px;
}

.placeholder-neutral {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(160deg, #2c2c2c, #111111);
}

.placeholder-green {
  background:
    linear-gradient(135deg, rgba(82, 183, 136, 0.25), transparent 40%),
    linear-gradient(160deg, #2d6a4f, #10271d);
}

.placeholder-blue {
  background:
    linear-gradient(135deg, rgba(74, 144, 217, 0.27), transparent 40%),
    linear-gradient(160deg, #1a4a8a, #071d39);
}

.placeholder-grid {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  inset: 0;
  opacity: 0.7;
  position: absolute;
}

.placeholder-frame {
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  bottom: 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  left: 24px;
  max-width: calc(100% - 48px);
  padding: 18px;
  position: absolute;
}

.placeholder-frame span {
  font-family: var(--font);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 750;
  line-height: 1.1;
}

.placeholder-frame small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-tile,
.region-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-900);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.category-tile:hover,
.region-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.tile-image {
  align-items: flex-end;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: -4px 0 22px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  text-transform: uppercase;
}

.tile-image::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
  inset: 0;
  opacity: 0.6;
  position: absolute;
}

.tile-image span {
  position: relative;
}

.theme-financial .region-card,
.blue-border {
  border-left-color: var(--blue-900);
}

.map-panel {
  background:
    radial-gradient(circle at 22% 40%, currentColor 0 6px, transparent 7px),
    radial-gradient(circle at 48% 31%, currentColor 0 6px, transparent 7px),
    radial-gradient(circle at 64% 58%, currentColor 0 6px, transparent 7px),
    radial-gradient(circle at 80% 36%, currentColor 0 6px, transparent 7px),
    linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.65) 35% 38%, transparent 39%),
    rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-700);
  min-height: 340px;
  padding: 28px;
  position: relative;
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.map-panel:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.theme-financial .map-panel {
  color: var(--blue-700);
}

.map-labels {
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  left: 24px;
  position: absolute;
  right: 24px;
}

.pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--neutral-900);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 12px;
}

.form-section {
  color: var(--white);
}

.form-section.green {
  background: var(--green-900);
}

.form-section.blue {
  background: var(--blue-900);
}

.form-section.neutral {
  background: var(--neutral-100);
  color: var(--neutral-900);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label {
  display: grid;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--neutral-900);
  min-height: 48px;
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
  outline: 0;
  transform: translateY(-1px);
}

.form-section.neutral .contact-form input,
.form-section.neutral .contact-form select,
.form-section.neutral .contact-form textarea {
  border-color: var(--line);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: inherit;
  display: none;
  font-weight: 800;
  padding: 14px 16px;
}

.form-note.is-visible {
  display: block;
}

.form-section.neutral .form-note {
  background: var(--white);
  border-color: var(--line);
}

.full {
  grid-column: 1 / -1;
}

.values-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.value-chip {
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  min-height: 160px;
  padding: 22px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.value-chip:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.value-chip .icon {
  height: 42px;
  margin-bottom: 18px;
  width: 42px;
}

.value-chip h3 {
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.2;
  margin: 0;
}

.ecosystem-panel {
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.04), transparent 40%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 34px;
  padding: clamp(22px, 3vw, 34px);
}

.ecosystem-parent {
  align-items: center;
  background: var(--neutral-900);
  border-radius: 8px;
  color: var(--white);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 20px 24px;
}

.ecosystem-parent span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ecosystem-parent strong {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

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

.ecosystem-card {
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 48px 1fr;
  min-height: 190px;
  padding: 24px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.ecosystem-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.ecosystem-card .icon {
  margin: 0;
}

.ecosystem-card h3 {
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
  margin-bottom: 10px;
}

.ecosystem-card p {
  color: var(--neutral-600);
  margin: 0;
}

.ecosystem-green {
  border-top: 5px solid var(--green-900);
}

.ecosystem-blue {
  border-top: 5px solid var(--blue-900);
}

.ecosystem-neutral {
  border-top: 5px solid var(--neutral-900);
}

.cta-band {
  background: var(--neutral-900);
  color: var(--white);
}

.location-box {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(26, 26, 26, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--neutral-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--neutral-600);
  display: grid;
  min-height: 320px;
  place-items: center;
}

.pin {
  align-items: center;
  background: var(--neutral-900);
  border-radius: 50% 50% 50% 0;
  color: var(--white);
  display: flex;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  transform: rotate(-45deg);
  width: 52px;
}

.pin span {
  transform: rotate(45deg);
}

.site-footer {
  background: #111111;
  color: var(--white);
  padding: 70px clamp(20px, 5vw, 72px) 28px;
}

.footer-grid {
  display: grid;
  gap: 38px;
  grid-template-columns: 1.1fr 0.9fr 1fr;
}

.footer-logo {
  align-items: center;
  background: transparent;
  border-radius: 0;
  display: flex;
  height: 72px;
  justify-content: center;
  margin-bottom: 18px;
  padding: 0;
  width: min(280px, 100%);
}

.footer-logo img {
  height: 100%;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-muted {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
}

.footer-bottom a {
  font-weight: 900;
  text-decoration: underline;
}

[data-reveal] {
  opacity: 0;
  transform: scale3d(0.98, 0.98, 1) translate3d(0, 24px, 0);
  filter: blur(6px);
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 1000ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 1000ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  filter: blur(0);
}

@media (max-width: 980px) {
  .grid-five,
  .grid-four,
  .grid-three,
  .client-strip,
  .values-strip,
  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-list .service-card {
    grid-template-columns: 52px 1fr;
  }

  .service-list .service-card p {
    grid-column: 2;
  }

  .split,
  .hero-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    background: rgba(17, 17, 17, 0.98);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 84px 22px 28px;
    position: fixed;
    right: 0;
    top: 0;
  }

  .theme-neutral .site-header.menu-active .site-nav {
    background: rgba(245, 245, 243, 0.98);
  }

  .site-header.menu-active .site-nav {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.05rem;
    padding: 16px 0;
    width: 100%;
  }

  .theme-neutral .site-header.menu-active .site-nav a {
    border-bottom-color: rgba(26, 26, 26, 0.12);
  }

  .brand,
  .nav-toggle {
    position: relative;
    z-index: 2;
  }

  .nav-toggle {
    display: grid;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    height: 38px;
    width: min(180px, 60vw);
  }

  .grid-two,
  .grid-three,
  .grid-four,
  .grid-five,
  .client-strip,
  .form-grid,
  .values-strip,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .service-list .service-card,
  .ecosystem-card {
    grid-template-columns: 1fr;
  }

  .service-list .service-card p {
    grid-column: auto;
  }

  .ecosystem-parent {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero {
    min-height: 74vh;
  }

  .home-hero {
    min-height: 92vh;
  }

  .image-placeholder,
  .hero-visual,
  .inline-visual {
    min-height: auto;
    max-width: 100%;
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  .page-shell {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Premium Smooth Scroll & Luxury Micro-Interactions (Lenis, Stripe, Linear)
   ========================================================================== */

/* Lenis Custom Integration Layout */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Premium Obsidian Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border: 2px solid #09090b;
  border-radius: 4px;
  transition: background 200ms ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Elegant Satin Sweep Reflex on Primary Buttons */
.button {
  overflow: hidden;
}
.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
}
.button:hover::before {
  left: 150%;
  transition: left 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Card Glowing Mouse Track Indicator */
.card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(255, 255, 255, 0.05),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  z-index: 1;
}
.card:hover::before {
  opacity: 1;
}

/* Custom Sliding Underline Hover Navigation link */
.site-nav a {
  position: relative;
  display: inline-block;
  transition: color 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

