/* =========================================================
   Halil – Homepage (Desktop-first)
   Cleaned version – unused CSS removed
   ========================================================= */

:root {
  --brand-primary: #00F1AA;
  --brand-secondary: #46C494;
  --brand-teal: #329A99;
  --brand-mint: #94E6C9;
  --ink: #0f0f0f;
  --muted: rgba(15,15,15,0.64);
  --bg: #f5f5f3;
  --card: rgba(255,255,255,0.72);
  --radius: 22px;
  --shadow: 0 12px 30px rgba(0,0,0,0.08);
  --container: 1200px;
}

/* Universal h1 weight */
h1 {
  font-weight: 900;
  font-variation-settings: "wght" 900;
}

/* Universal homepage heading standard (mirrors case-study h2 rules) */
body:not(.case-study-page) h2 {
  font-weight: 600 !important;
  font-variation-settings: "wght" 600 !important;
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
}

/* =========================================================
   RESET
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: InterVariable, Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  --nav-height: 68px;
  background: rgba(245,245,243,0.9);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { max-height: 25px; display: block; }
.brand-wordmark { height: 26px; display: block; }

/* Desktop logo - hide on mobile */
.brand-mark-mobile {
  display: none;
}

@media (max-width: 767px) {
  .brand-mark-desktop {
    display: none;
  }
  
  .brand-mark-mobile {
    display: block;
    max-height: 25px;
  }
}

.nav-links {
  display: inline-flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: rgba(15,15,15,0.86);
  font-size: 0.95rem;
}

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

.nav .cta {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #012014;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0,241,170,0.22);
}

/* =========================================================
   MOBILE NAV 
   ========================================================= */

/* Mobile Navigation Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  height: calc(var(--real-vh, 1vh) * 100);
  background: #f5f5f3;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  padding: 96px 24px 24px;
  transition: right 0.3s ease;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer.open {
  right: 0;
  pointer-events: all;
}

.nav-drawer a {
  display: block;
  padding: 16px 20px;
  text-decoration: none;
  color: rgba(15, 15, 15, 0.86);
  font-size: 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease;
  cursor: pointer;
  touch-action: manipulation; /* Add this */
  -webkit-tap-highlight-color: rgba(0,0,0,0.1); /* Add visual feedback */
}


.nav-drawer a:hover {
  background: #f5f5f3;
}

/* Overlay when drawer is open */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 55;
}

.nav-overlay.active {
  opacity: 0;
  pointer-events: all;
  z-index: auto;
}

/* Burger button */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 70;
  position: relative;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

/* Burger animation when open */
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Show burger on mobile */
@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  
  .nav-burger {
    display: flex;
  }

  .nav-drawer {
    background: #f5f5f3;
  }

}

/* =========================================================
   HIDE SCROLLBAR - Shelf Track
   Add this to your styles.css
   ========================================================= */

/* Hide scrollbar but keep scroll functionality */
.shelf-track {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Chrome, Safari, Opera */
.shelf-track::-webkit-scrollbar {
  display: none;
}
   
/* =========================================================
   PARALLAX HERO
   ========================================================= */

#parallax-hero {
  position: relative;
  height: 150vh;
  background-color: #000;
  color: #fff;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;                              /* base fallback */
  height: calc(var(--real-vh, 1vh) * 100);   /* JS-set real height (fixes Samsung Internet) */
  height: 100dvh;                             /* modern browsers override */
  width: 100%;
  overflow: hidden;
}

#hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
  padding: 0 1rem;
}

/* ─── HERO LOCKUP — single scaled unit ─── */
#hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
  pointer-events: none;
}

/* H mark row — mirrors For row */
#hero-headline .hl-h-row {
  display: flex;
  align-items: center;
  width: 60%;
  margin-bottom: 0.9rem;
}

/* H mark — inline within its rail row */
#hero-headline .hl-h-mark {
  display: block;
  height: 1.1rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  flex-shrink: 0;
  margin: 0 20px;
}

/* Main headline — 100% */
#hero-headline .hl-main {
  display: block;
  font-size: 5.1rem;
  line-height: 1.06;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.75rem; /* 1.5 units */
}

/* FOR + rails row — 24% */
#hero-headline .hl-for-row {
  display: flex;
  align-items: center;
  width: 82%;
  margin-bottom: 0.6rem; /* 1.2 units */
}
#hero-headline .hl-rail {
  flex: 1;
  height: 1px;
}
#hero-headline .hl-rail:first-child {
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.26));
}
#hero-headline .hl-rail:last-child {
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.26));
}
#hero-headline .hl-for {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 22px;
  flex-shrink: 0;
}

/* Sub-headline — 48% */
#hero-headline .hl-sub {
  display: block;
  font-size: 2.45rem; /* 48% of 5.1rem */
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem; /* 1.5 units */
}

/* Tension lines — 40%, teal only */
#hero-headline .accent {
  display: block;
  font-size: 2.04rem; /* 40% of 5.1rem */
  font-weight: 600;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.3;
  background: linear-gradient(180deg, #00F1AA 0%, #329A99 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Base styles (mobile-first) */
#hero-subtext {
  margin-top: 0;
  max-width: 45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
}


#hero-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10;
}

#hero-image img {
  width: 100%;
  height: 40rem;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  #hero-image {
    align-items: flex-start;
  }

  #hero-image img {
    object-position: center top;
    height: calc(100% + 6rem);
    min-height: 40rem;
  }
}

.scroll-cue {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  color: #46C494;
  animation: scrollFade 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scrollFade {
  0% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 0.7;
    transform: translateY(6px);
  }
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
}

/* =========================================================
   SECONDARY HERO (with floating images)
   ========================================================= */

.hero {
  min-height: 100vh;
  padding: 150px 80px 70px;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero h1 span {
  display: block;
  font-size: 3.1rem;
  line-height: 1.12;
  font-weight: 520;
}

.hero h1 .accent {
  font-weight: 600;
}

.hero-sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 520px;
}

.hero-mobile-stack {
  position: relative;
  height: 520px;
}

.floating-img {
  position: absolute;
  width: 280px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.floating-img.back {
  top: 40px;
  left: 20%;
  transform: rotate(-4deg);
}

.floating-img.front {
  top: 120px;
  left: 40%;
  transform: rotate(3deg);
}

/* =========================================================
   BRAND BAR (Logo marquee)
   ========================================================= */

.brandbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 80px 48px;
  position: relative;
}

.brandbar::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.12));
  transform: translateX(-50%);
}

.brandbar-label {
    display: block;
    text-align: center;
    padding-top: 20px;
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(245, 245, 243, 0.72);
}

.marquee {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  max-width: 840px;
  margin: 0 auto;
}

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

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 16px 22px;
}

.marquee img {
  height: 24px;
  width: auto;
  opacity: 1;
  filter: none;
  transition: opacity 180ms ease, filter 180ms ease;
}

.marquee img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

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

/* Allow hero-text children to be full width */
#hero-text {
  padding: 0 !important;
}

/* Add padding back to headline only */
#hero-headline {
  padding: 0 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#hero-subtext {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── OPERATING SCOPE MODULE SYSTEM ─── */
.ops-scope {
  padding: 6px 1rem 16px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  pointer-events: none;
}


.ops-scope-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.ops-scope-module {
  padding: 4px 10px;
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(0, 241, 170, 0.3);
}

/* Lockup mobile responsive */
@media (max-width: 768px) {
  #hero-headline { margin-top: 12px; }
  #hero-headline .hl-main { font-size: 3.2rem; }
  #hero-headline .hl-sub  { font-size: 1.54rem; }
  #hero-headline .hl-for  { font-size: 0.78rem; }
  #hero-headline .accent  { font-size: 1.28rem; }
  #hero-headline .hl-h-mark { height: 0.7rem; }
  #hero-headline .hl-h-row  { width: 72%; }
  #hero-headline .hl-for-row { width: 78%; }
  #hero-subtext { margin-top: 16px; }
}
@media (max-width: 480px) {
  #hero-headline .hl-main { font-size: 2.4rem; letter-spacing: 0.02em; }
  #hero-headline .hl-sub  { font-size: 1.15rem; }
  #hero-headline .hl-for  { font-size: 0.6rem; padding: 0 14px; }
  #hero-headline .accent  { font-size: 0.96rem; }
  #hero-headline .hl-h-row  { width: 84%; }
  #hero-headline .hl-for-row { width: 88%; }
}

/* Small phones — S8+, iPhone SE, 360–400px wide */
@media (max-width: 400px) {
  #hero-headline { margin-top: 6px; }
  #hero-headline .hl-main { font-size: 1.85rem; letter-spacing: 0.01em; }
  #hero-headline .hl-sub  { font-size: 0.92rem; }
  #hero-headline .hl-for  { font-size: 0.55rem; padding: 0 10px; }
  #hero-headline .accent  { font-size: 0.78rem; line-height: 1.2; }
  #hero-headline .hl-h-mark { height: 0.58rem; }
  #hero-headline .hl-h-row  { width: 76%; margin-bottom: 0.5rem; }
  #hero-headline .hl-for-row { width: 90%; margin-bottom: 0.4rem; }
  #hero-headline .hl-main   { margin-bottom: 0.4rem; }
  #hero-headline .hl-sub    { margin-bottom: 0.4rem; }
  #hero-subtext { margin-top: 10px; }
  .ops-scope { padding: 8px 1rem; }
  .ops-scope-grid { gap: 4px; }
  .ops-scope-module { font-size: 0.55rem; padding: 3px 8px; }
  #hero-text .brandbar { padding: 0 16px 8px !important; }
  .brandbar-label { padding-top: 22px; margin-bottom: 6px; }
}

/* Brandbar can now be full width naturally */
#hero-text .brandbar {
  width: 100%;
  padding: 0 20px 16px;
  pointer-events: auto;
}

#hero-text .marquee {
  max-width: 550px;
}

@media (min-width: 768px) {
  #hero-text .brandbar {
    padding: 0 40px 20px;
  }

  #hero-text .marquee {
    max-width: 840px;
    margin: 0 auto;
  }

  .shelf-header h2 {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  #hero-text .marquee-group {
    gap: 16px !important;
    padding: 10px 16px !important;
  }
  
  #hero-text .marquee img {
    height: 18px !important;
  }
}

/* =========================================================
   SYSTEMS SHELF (Horizontal scroll cards)
   ========================================================= */


.systems-shelf {
  position: relative;
  z-index: 20;
}

.shelf-break { display: inline; }

.shelf-header {
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 0 24px;
  text-align: center;
}

.shelf-header h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  padding-top: 10px;
}

.shelf-header p {
  margin: 0 auto;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(15,15,15,0.62);
}

.shelf-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 24px 60px;
  scroll-snap-type: x proximity;
  position: relative;
}

.shelf-item {
  flex: none;
  width: 420px;
  height: 520px;
  border-radius: 24px;
  background: #ddd;
  position: relative;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.shelf-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  pointer-events: none;
}

.shelf-item > div {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  padding: 24px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-height: 215px;
}

.shelf-item.dark {
  background-color: #000;
  color: #fff;
}

.shelf-item.light {
  background-color: #f5f5f7;
  color: #000;
}

.shelf-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.shelf-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shelf-content p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shelf-content span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
  margin-top: auto;
}

/* =========================================================
    SYSTEMS SHELF (Cliackable)
   ========================================================= */

a.shelf-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.shelf-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

a.shelf-item:focus {
  outline: none;
}

/* Ensure text colors are preserved */
a.shelf-item.dark {
  color: #fff;
}

a.shelf-item.light {
  color: #000;
}

a.shelf-item.light .shelf-content {
  color: #fff; /* Content box is dark, so text stays white */
}


/* =========================================================
   SECTIONS (Generic)
   ========================================================= */

.section {
  padding: 70px 80px;
  max-width: var(--container);
  margin: 0 auto;
}

.section h2 { 
  font-size: 1.4rem; 
  margin-bottom: 8px; 
}

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

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  border-top: 1px solid rgba(15, 15, 15, 0.08);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px; /* matches nav-inner horizontal padding */
}

/* Row 1: brand + utilities */
.footer-row--main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 7px;
}

/* Row 2: legal */
.footer-row--legal {
  padding: 0 0 48px;
}

/* Brand logo */
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.footer-brand-img {
  height: 15px;
  width: auto;
  display: block;
}

/* Utility group — LinkedIn + links */
.footer-utils {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 14px; /* aligns visual right edge with nav CTA button text */
}

/* LinkedIn icon link */
.footer-linkedin {
  display: flex;
  align-items: center;
  color: var(--ink);
  opacity: 0.45;
  transition: opacity 0.2s ease;
  line-height: 1;
}

.footer-linkedin:hover {
  opacity: 0.85;
}

.footer-linkedin-icon {
  width: 15px;
  height: 15px;
  display: block;
}

/* Utility text links */
.footer-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1;
}

.footer-link:hover {
  color: var(--ink);
}

/* Legal line */
.footer-legal {
  font-size: 0.75rem;
  color: rgba(15, 15, 15, 0.36);
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   FOOTER — TABLET (max 1199px)
   Brand + utils stay on one row; just tighten padding
   ========================================================= */

@media (max-width: 1199px) {
  .footer-row--main {
    padding: 36px 0 7px;
  }
}

/* =========================================================
   FOOTER — MOBILE (max 767px)
   Column layout, everything center-aligned
   ========================================================= */

@media (max-width: 767px) {
  .footer-row--main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 36px 0 28px;
  }

  .footer-brand {
    display: none;
  }

  .footer-utils {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-link {
    font-size: 0.8rem;
  }

  .footer-row--legal {
    padding: 0 0 40px;
    text-align: center;
  }

  .footer-legal {
    font-size: 0.6875rem;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* =========================================================
   RESPONSIVE: TABLET
   ========================================================= */

@media (max-width: 1199px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 140px 60px 60px;
    gap: 56px;
  }
  .hero h1 span { font-size: 2.6rem; }
  .hero-visual { min-height: 460px; }
  .brandbar { padding: 0 60px 60px; }
  .section { padding: 60px; }
}

/* =========================================================
   RESPONSIVE: MOBILE
   ========================================================= */

@media (max-width: 767px) {
  /* Nav */
  .nav-inner { padding: 14px 16px; }
  .nav-links { display: none; }
  .brand-wordmark { display: none; }
  
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.10);
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    cursor: pointer;
  }
  
  .nav-burger span {
    width: 18px;
    height: 2px;
    background: rgba(0,0,0,0.78);
    display: block;
    border-radius: 999px;
  }
  
  .nav-drawer {
    display: grid;
    gap: 10px;
    padding: 14px 16px 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: rgba(245,245,243,0.94);
  }

  .nav-drawer a {
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.6);
  }

  .nav-drawer.open { display: flex; padding-top: 5rem; font-weight: 700; }
  .nav-drawer[aria-hidden="true"] { display: none; }

  /* Parallax hero */
  #hero-headline {
    font-size: 2.7rem;
    margin-top: 12px;
  }

  #hero-headline span {
    font-size: 2.7rem;
  }

  #hero-subtext {
    font-size: 0.74rem;
  }

  .scroll-cue { display: flex; }

  .scroll-cue svg {
    height: 40px;
    position: relative;
    bottom: -10vh;
  }
  
  /* Secondary hero */
  .hero {
    padding: 118px 16px 44px;
    gap: 26px;
  }
  .hero h1 span { font-size: 2.05rem; }
  .hero-sub { font-size: 0.97rem; }
  .hero-visual { min-height: 360px; }
  
  /* Brand bar */
  .brandbar { padding: 0 16px 44px; }
  .marquee-group { gap: 22px; padding: 14px 16px; }
  .marquee img { height: 20px; }
  
  .shelf-break::before { content: '\A'; white-space: pre; }

  /* Shelf */
  .shelf-track {
    padding-right: 60px;
  }
  .shelf-item {
    width: 85%;
    height: 420px;
  }
  
  .shelf-content {
    padding: 12px 16px;
    max-width: 100%;
  }
  
  .shelf-item > div {
    position: absolute !important;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    border-radius: 0 0 24px 24px;
    max-width: 100%;
    min-height: 160px;
  }

  .shelf-content h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
  }

  .shelf-content p {
    font-size: 0.75rem;
    line-height: 1.2;
    margin-bottom: 6px;
    -webkit-line-clamp: 3;
  }

  .shelf-content span {
    font-size: 0.6rem;
  }
  
  /* Sections */
  .section { padding: 44px 16px; }
}

/* =========================================================
   TABLET: Parallax hero text
   ========================================================= */

/* Tablet and up */
@media (min-width: 768px) {
  #hero-subtext {
    font-size: 0.62rem;
  }
}

/* =========================================================
   Operating Model – Visual Parallax
   COMPLETE REPLACEMENT - Copy this entire section
   ========================================================= */

.op-scroll {
  /* Brand palette */
  --op-brand-mint: #00F1AA;
  --op-brand-green: #40cd98;
  --op-brand-green-muted: #5BB895;
  --op-brand-teal: #6BA69E;
  --op-brand-slate: #4A7A80;
  --op-brand-black: #000000;
  --op-brand-white: #ffffff;
  --op-brand-offwhite: #f5f5f3;

  /* Typography */
  --op-text-dark: #000000;
  --op-text-muted: rgba(15, 15, 15, 0.62);
  --op-text-light: #ffffff;
  --op-text-light-muted: rgba(255, 255, 255, 0.65);
}

/* =========================================================
   MINIMAL RESET
   ========================================================= */

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

.op-scroll {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  position: relative;
}

.op-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* =========================================================
   PANELS - Base styles
   ========================================================= */

.op-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.op-panel-inner {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.op-panel:first-child {
  transform: translateY(0);
}

.op-panel:not(:first-child) {
  transform: translateY(100%);
}

/* =========================================================
   PANEL THEMES
   ========================================================= */

/* Panel 1: Off-white */
.panel-strategy {
  background: var(--op-brand-offwhite);
  --accent: var(--op-brand-green-muted);
  --heading-color: var(--op-text-dark);
  --body-color: var(--op-text-muted);
  --tag-text: var(--op-text-dark);
  color: var(--op-brand-green-muted);
}

/* Panel 2: Green */
.panel-design {
  background: var(--op-brand-green);
  --accent: var(--op-brand-black);
  --heading-color: var(--op-text-dark);
  --body-color: rgba(0, 0, 0, 0.65);
  --tag-text: var(--op-text-dark);
  color: rgba(0, 0, 0, 0.4);
}

/* Panel 3: Off-white */
.panel-execution {
  background: var(--op-brand-offwhite);
  --accent: var(--op-brand-teal);
  --heading-color: var(--op-text-dark);
  --body-color: var(--op-text-muted);
  --tag-text: var(--op-text-dark);
  color: var(--op-brand-teal);
}

/* Panel 4: Black */
.panel-measure {
  background: var(--op-brand-black);
  --accent: var(--op-brand-mint);
  --heading-color: var(--op-text-light);
  --body-color: var(--op-text-light-muted);
  --tag-text: rgba(255, 255, 255, 0.85);
  color: var(--op-brand-mint);
}

/* =========================================================
   CANVAS (Visual Elements Container)
   ========================================================= */

.op-canvas {
  position: relative;
  height: 70vh;
  max-height: 600px;
}

.op-canvas.canvas-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   FLOATING IMAGE CARDS
   ========================================================= */

.float-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  will-change: transform;
}

.panel-design .float-card {
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.panel-measure .float-card {
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card positions - Panels 1-3 */
.card-1 {
  width: 55%;
  height: 65%;
  top: 5%;
  left: 5%;
  z-index: 2;
}

.card-2 {
  width: 45%;
  height: 55%;
  bottom: 8%;
  right: 5%;
  z-index: 3;
}

.card-3 {
  width: 50%;
  height: 60%;
  top: 10%;
  right: 5%;
  z-index: 2;
}

.card-4 {
  width: 40%;
  height: 50%;
  bottom: 5%;
  left: 10%;
  z-index: 3;
}

.card-5 {
  width: 52%;
  height: 62%;
  top: 8%;
  left: 8%;
  z-index: 2;
}

.card-6 {
  width: 42%;
  height: 52%;
  bottom: 10%;
  right: 8%;
  z-index: 3;
}

/* Card 7 - Panel 4 specific */
.card-7 {
  width: 28%;
  height: 93%;
  bottom: 0%;
  right: 13%;
  left: auto;
  top: auto;
  z-index: 2;
}

/* =========================================================
   DECORATIVE SHAPES
   ========================================================= */

.shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.shape-ring {
  width: 300px;
  height: 300px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.25;
  top: -50px;
  right: -50px;
}

.shape-ring::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.5;
}

.shape-dots {
  width: 150px;
  height: 150px;
  bottom: 10%;
  left: 15%;
  opacity: 0.3;
  background-image: radial-gradient(currentColor 2px, transparent 2px);
  background-size: 16px 16px;
}

.shape-line-h {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  top: 30%;
  right: 20%;
  opacity: 0.4;
}

.shape-grid {
  width: 250px;
  height: 250px;
  top: 5%;
  left: 5%;
  opacity: 0.3;
}

.shape-blueprint {
  width: 180px;
  height: 180px;
  bottom: 15%;
  right: 15%;
  opacity: 0.4;
}

.shape-blueprint svg {
  width: 100%;
  height: 100%;
}

.shape-connectors {
  width: 300px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  z-index: 1;
}

.shape-burst {
  width: 280px;
  height: 280px;
  top: 5%;
  right: 10%;
  opacity: 0.35;
}

.shape-arrows {
  width: 50px;
  height: 50px;
  opacity: 0.5;
}

.shape-arrows:first-of-type {
  top: 20%;
  right: 25%;
}

.shape-arrows.arrows-2 {
  top: 35%;
  right: 15%;
  opacity: 0.25;
  transform: scale(0.7);
}

.shape-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
  bottom: 20%;
  left: 5%;
  opacity: 0.5;
}

.shape-progress .bar {
  height: 6px;
  background: currentColor;
  border-radius: 3px;
}

.shape-progress .bar:nth-child(1) { width: 120px; opacity: 0.8; }
.shape-progress .bar:nth-child(2) { width: 90px; opacity: 0.5; }
.shape-progress .bar:nth-child(3) { width: 140px; opacity: 0.6; }

.shape-chart {
  width: 350px;
  height: 230px;
  top: 10%;
  left: 10%;
  opacity: 0.4;
}

.shape-gauge {
  width: 120px;
  height: 120px;
  top: -35%;
  right: 15%;
  opacity: 0.7;
}

.shape-gauge svg {
  width: 100%;
  height: 100%;
}

.shape-pulse {
  width: 150px;
  height: 150px;
  bottom: 25%;
  left: 25%;
}

.shape-pulse span {
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-radius: 50%;
  animation: op-pulse 3s ease-out infinite;
}

.shape-pulse span:nth-child(2) { animation-delay: 1s; }
.shape-pulse span:nth-child(3) { animation-delay: 2s; }

@keyframes op-pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* =========================================================
   ICON CLUSTERS
   ========================================================= */

.icon-cluster {
  position: absolute;
  z-index: 5;
}

.icon {
  display: block;
}

.icon-compass {
  width: 100px;
  height: 100px;
  top: 15%;
  right: 20%;
  opacity: 0.6;
}

.panel-strategy .icon-cluster {
  top: 10%;
  right: 25%;
}

/* =========================================================
   CONTENT
   ========================================================= */

.op-content {
  max-width: 480px;
  z-index: 10;
}

.op-content.content-centered {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.op-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 16px;
}

.op-content h2 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.op-content p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--body-color);
  margin-bottom: 28px;
}

/* =========================================================
   IMPACT POINTS
   ========================================================= */

.op-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.op-tags span {
  position: relative;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tag-text);
  letter-spacing: 0.01em;
}

.op-tags span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -12px;
  font-weight: 700;
  color: inherit;
  opacity: 0.4;
}

.content-centered .op-tags {
  justify-content: center;
}

/* =========================================================
   PANEL 4: Centered Layout (FIXED)
   ========================================================= */

.panel-measure .op-panel-inner {
  grid-template-columns: 1fr;
  text-align: center;
  position: relative;
}

.panel-measure .op-canvas {
  position: absolute;
  inset: 0;
  height: 100%;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-measure .op-content {
  position: relative;
  z-index: 20;
  max-width: 600px;
  margin: 0 auto;
}

.panel-measure::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 241, 170, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* =========================================================
   TOOL LOGOS
   ========================================================= */

.op-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.op-tools img {
  height: 20px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.op-tools img:hover {
  opacity: 1;
}

.panel-design .op-tools {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.panel-measure .op-tools {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.panel-measure .op-tools img {
  filter: brightness(1.8);
}

.content-centered .op-tools {
  justify-content: center;
}

/* =========================================================
   NEXT SECTION
   ========================================================= */

.next-content {
  min-height: 28vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f3;
  padding-bottom: 120px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.next-inner {
  text-align: center;
  max-width: 600px;
  padding-left: 24px;
  padding-right: 24px;
}

.next-inner h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
}

.next-inner p {
  font-size: 0.9rem;
  color: rgba(15, 15, 15, 0.62);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: #00F1AA;
  color: #000000;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 241, 170, 0.25);
}

/* =========================================================
   RESPONSIVE: TABLET (max-width: 1024px)
   ========================================================= */

@media (max-width: 1024px) {
  .op-panel {
    padding: 80px 40px;
  }
  
  .op-panel-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Canvas becomes a contained element above content */
  .op-canvas {
    position: relative;
    height: 320px;
    max-height: 320px;
    order: -1;
  }

  /* Float cards repositioned for stacked layout */
  .float-card {
    border-radius: 16px;
  }
  
  .card-1, .card-3, .card-5 {
    width: 55% !important;
    height: 75% !important;
    top: 10% !important;
    left: 10% !important;
    right: auto !important;
    bottom: auto !important;
  }

  .card-2, .card-4, .card-6 {
    width: 50% !important;
    height: 70% !important;
    bottom: 5% !important;
    right: 10% !important;
    top: auto !important;
    left: auto !important;
  }

  /* Panel 4 canvas on tablet */
  .panel-measure .op-canvas {
    position: relative;
    height: 280px;
    max-height: 280px;
    order: -1;
  }
  
  .panel-measure .op-panel-inner {
    grid-template-columns: 1fr;
  }
  
  .card-7 {
    width: 70% !important;
    height: 85% !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
  }

  .shape-ring { width: 200px; height: 200px; }
  .shape-burst { width: 180px; height: 180px; }
}

/* =========================================================
   RESPONSIVE: MOBILE (max-width: 640px)
   ========================================================= */

@media (max-width: 640px) {
  .op-panel {
    padding: 60px 24px;
  }
  
  .op-panel-inner {
    gap: 30px;
  }

  .op-canvas {
    height: 260px;
    max-height: 260px;
  }

  /* Overlapping card layout */
  .card-1, .card-3, .card-5 {
    width: 58% !important;
    height: 78% !important;
    top: 8% !important;
    left: 12% !important;
  }

  .card-2, .card-4, .card-6 {
    width: 52% !important;
    height: 72% !important;
    bottom: 8% !important;
    right: 12% !important;
  }

  /* Panel 4 mobile */
  .panel-measure .op-canvas {
    height: 220px;
    max-height: 220px;
  }

  .card-7 {
    width: 80% !important;
    height: 90% !important;
  }

  /* Hide complex decorative shapes */
  .shape-ring,
  .shape-grid,
  .shape-blueprint,
  .shape-connectors,
  .shape-chart,
  .icon-cluster,
  .shape-pulse {
    display: none;
  }

  .shape-dots {
    width: 60px;
    height: 60px;
    opacity: 0.2;
  }

  .shape-burst {
    width: 100px;
    height: 100px;
    opacity: 0.2;
  }

  .shape-gauge {
    width: 70px;
    height: 70px;
    top: 5%;
    right: 5%;
  }

  /* Typography */
  .op-content h2 {
    font-size: 1.8rem;
  }

  .op-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .op-tags {
    gap: 4px 14px;
  }

  .op-tags span {
    font-size: 0.85rem;
  }

  .op-tools {
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .op-tools img {
    height: 14px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .op-panel,
  .float-card,
  .shape {
    transform: none !important;
    transition: none !important;
  }

  .shape-pulse span {
    animation: none;
  }

  .cta-button:hover {
    transform: none;
  }
}

/* =========================================================
   TOOL LOGOS - Contained row beneath tags
   Add to your styles.css in the Operating Model section
   ========================================================= */

.op-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.op-tools img {
  height: 20px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.op-tools img:hover {
  opacity: 1;
}

/* Adjust border color for different panel backgrounds */
.panel-design .op-tools {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.panel-measure .op-tools {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.panel-measure .op-tools img {
  filter: brightness(1.8);
}


/* For centered content (panel 4) */
.content-centered .op-tools {
  justify-content: center;
}

/* RESPONSIVE: Mobile */
@media (max-width: 640px) {
  .op-tools {
    gap: 12px;
    margin-top: 20px;
  }

  .op-tools img {
    height: 16px;
  }
}


/* =========================================================
   Page Transitions
   ========================================================= */

   body {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  body.page-loaded {
    opacity: 1;
  }

  body.page-transitioning {
    opacity: 0;
  }


/* ========================================
   SCROLL CUE FIX
   Add this to your styles.css
   ======================================== */

.cg-scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  color: #46C494;
  animation: scrollFade 2.2s ease-in-out infinite;
  width: 100%;
}

.cg-scroll svg {
  height: 48px;
  width: 8px;
}

/* Mobile */
@media (max-width: 767px) {
  .cg-scroll {
    padding: 24px 0;
  }
  
  .cg-scroll svg {
    height: 36px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cg-scroll {
    animation: none;
    opacity: 0.5;
  }
}


/* ========================================
   SHELF HEADER - "Case Studies" LABEL FIX
   ======================================== */

.cg-headline-line {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #329A99;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

/* ========================================
   SHELF TRACK CENTERING FIX
   Replace your .systems-shelf and .shelf-track styles
   ======================================== */

.systems-shelf {
  position: relative;
  z-index: 20;
  width: 100%;
  margin: 0 auto;
}

.shelf-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 24px 60px;
  scroll-snap-type: x proximity;
  position: relative;

  /* Keep cards starting from left */
  justify-content: flex-start;
  
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.shelf-track::-webkit-scrollbar {
  display: none;
}

.cx-card:hover {
  transform: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   CROSS-FUNCTIONAL SECTION - VISUAL VERSION
   Complete replacement for cx- styles
   ======================================== */

.cx-section {
  background: #f5f5f3;
  padding: 80px 20px 60px;
}

.cx-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.cx-header {
  text-align: center;
  margin-bottom: 50px;
}

.cx-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #329A99;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.cx-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.15;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.cx-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 auto 2px;
  max-width: 560px;
  line-height: 1.45;
  color: rgba(15, 15, 15, 0.7);
}

.cx-note {
  font-size: 0.9rem;
  color: rgba(15,15,15,0.5);
  line-height: 1.5;
  font-style: italic;
  max-width: 700px;
  margin: 48px auto 0;
}


/* ========================================
   BENTO GRID
   ======================================== */

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

@media (min-width: 640px) {
  .cx-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .cx-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}


/* ========================================
   CARD BASE
   ======================================== */

.cx-card {
  position: relative;
  border-radius: 20px;
  min-height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cx-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}


/* ========================================
   CARD THEMES
   ======================================== */

/* Dark card */
.cx-dark {
  background: #1a1a1a;
  color: #ffffff;
}

.cx-dark .cx-content h3 {
  color: #ffffff;
}

.cx-dark .cx-content p {
  color: rgba(255, 255, 255, 0.75);
}

.cx-dark .cx-tag {
  color: rgba(255, 255, 255, 0.5);
}

/* Light card */
.cx-light {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #0f0f0f;
}

.cx-light .cx-content h3 {
  color: #0f0f0f;
}

.cx-light .cx-content p {
  color: rgba(15, 15, 15, 0.7);
}

.cx-light .cx-tag {
  color: rgba(15, 15, 15, 0.5);
}

/* ========================================
   LEADERSHIP CARD - GRADIENT WAVE UPDATE
   ======================================== */

/* Gradient card (Leadership) - Teal wave */
.cx-gradient {
  background: linear-gradient(113deg, #00f1aa 45%, #00D4B8 100%);
  color: #012014;
}

.cx-gradient .cx-content h3 {
  color: #012014;
}

.cx-gradient .cx-content p {
  color: rgba(1, 32, 20, 0.8);
}

.cx-gradient .cx-tag {
  color: rgba(1, 32, 20, 0.6);
}

/* Adjust hub-spoke visuals for light background */
.cx-gradient .cx-hub {
  background: #012014;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.cx-gradient .cx-hub span {
  color: #00F1AA;
}

.cx-gradient .cx-spoke {
  background: rgba(1, 32, 20, 0.15);
  border: 1px solid rgba(1, 32, 20, 0.25);
}

.cx-gradient .cx-spoke span {
  color: #012014;
  opacity: 1;
}

/* Connector lines */
.cx-gradient .cx-hub-spoke::before,
.cx-gradient .cx-hub-spoke::after {
  background: rgba(1, 32, 20, 0.2);
}


/* ========================================
   WIDE CARD
   ======================================== */

.cx-wide {
  grid-column: 1 / -1;
  min-height: 320px;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.cx-wide .cx-visual {
  flex: 0 0 auto;
  width: 280px;
  height: auto;
  margin-bottom: 0;
}

.cx-wide .cx-content {
  flex: 1;
  margin-top: 0;
}

@media (max-width: 767px) {
  .cx-wide {
    flex-direction: column;
    gap: 24px;
  }
  
  .cx-wide .cx-visual {
    width: 100%;
  }
}


/* ========================================
   VISUAL AREA (Top of card)
   ======================================== */

.cx-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  min-height: 160px;
}

.cx-visual-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-top: 12px;
  text-align: center;
}


/* ========================================
   CONTENT AREA (Bottom of card)
   ======================================== */

.cx-content {
  margin-top: auto;
}

.cx-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.cx-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.cx-tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ========================================
   VISUAL 1: Variants Grid (Marketing)
   ======================================== */

.cx-variants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 120px;
}

.cx-variant {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cx-variant.active {
  background: #00F1AA;
  border-color: #00F1AA;
  box-shadow: 0 0 20px rgba(0, 241, 170, 0.4);
}

.cx-variant:nth-child(3) {
  background: rgba(0, 241, 170, 0.3);
  border-color: rgba(0, 241, 170, 0.5);
}

.cx-variant:nth-child(5) {
  background: rgba(0, 241, 170, 0.2);
  border-color: rgba(0, 241, 170, 0.3);
}


/* ========================================
   VISUAL 2: Hierarchy (Product & Platform)
   ======================================== */

.cx-hierarchy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cx-hierarchy-level {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.cx-hierarchy-connector {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, #00F1AA, rgba(0, 241, 170, 0.3));
  position: relative;
}

.cx-hierarchy-connector::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 823px;
  height: 2px;
  background: rgba(0, 241, 170, 0.3);
}

.cx-block {
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(15, 15, 15, 0.8);
}

.cx-block.primary {
  background: #00F1AA;
  border-color: #00F1AA;
  color: #012014;
}

.level-2 .cx-block {
  font-size: 0.65rem;
  padding: 8px 12px;
}


/* ========================================
   VISUAL 3: Pipeline (Technology)
   ======================================== */

.cx-pipeline {
  display: flex;
  align-items: center;
  gap: 0;
}

.cx-pipe-node {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cx-pipe-node span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.cx-pipe-node.active {
  background: #00F1AA;
  border-color: #00F1AA;
  box-shadow: 0 0 20px rgba(0, 241, 170, 0.4);
}

.cx-pipe-node.active span {
  color: #012014;
  opacity: 1;
}

.cx-pipe-line {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(0, 241, 170, 0.5));
  position: relative;
}

.cx-pipe-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left: 6px solid rgba(0, 241, 170, 0.5);
}



/* ========================================
   VISUAL 4: Timeline (Operations)
   ======================================== */

.cx-timeline {
  width: 100%;
  max-width: 200px;
}

.cx-timeline-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.cx-timeline-header span {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(15, 15, 15, 0.4);
  text-transform: uppercase;
}

.cx-timeline-row {
  height: 20px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.cx-timeline-bar {
  height: 100%;
  background: linear-gradient(90deg, #00F1AA, #329A99);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.cx-card:hover .cx-timeline-bar {
  opacity: 0.9;
}


/* ========================================
   VISUAL 5: Hub & Spoke (Leadership)
   ======================================== */

.cx-hub-spoke {
  position: relative;
  width: 200px;
  height: 200px;
}

.cx-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: #00F1AA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 30px rgba(0, 241, 170, 0.4);
}

.cx-hub span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #012014;
  text-transform: uppercase;
}

.cx-spoke {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(var(--angle)) translateY(-70px) rotate(calc(-1 * var(--angle)));
}

.cx-spoke span {
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.8;
}

/* Connector lines from hub to spokes */
.cx-hub-spoke::before,
.cx-hub-spoke::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(0, 241, 170, 0.3);
}

.cx-hub-spoke::before {
  width: 1px;
  height: 140px;
  transform: translate(-50%, -50%);
}

.cx-hub-spoke::after {
  width: 140px;
  height: 1px;
  transform: translate(-50%, -50%);
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (min-width: 640px) {
  .cx-section {
    padding: 100px 28px 70px;
  }
  
  .cx-wide {
    grid-column: span 2;
  }
  
  .cx-card {
    min-height: 265px;
  }
}

@media (min-width: 1024px) {
  .cx-section {
    padding: 120px 40px 60px;
  }
  
  .cx-wide {
    grid-column: 1 / -1;
  }
  
  .cx-card {
    min-height: 265px;
    padding: 32px;
  }
  
  .cx-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 639px) {
  .cx-card {
    min-height: 340px;
    padding: 24px;
  }
  
  .cx-visual {
    min-height: 140px;
  }
  
  .cx-content h3 {
    font-size: 1.1rem;
  }
  
  .cx-content p {
    font-size: 0.85rem;
  }
  
  /* Adjust visuals for mobile */
  .cx-variants-grid {
    width: 100px;
    gap: 6px;
  }
  
  .cx-pipe-node {
    width: 50px;
    height: 50px;
  }
  
  .cx-pipe-line {
    width: 16px;
  }
  
  .cx-hub-spoke {
    width: 160px;
    height: 160px;
  }
  
  .cx-hub {
    width: 55px;
    height: 55px;
  }
  
  .cx-spoke {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    transform: rotate(var(--angle)) translateY(-55px) rotate(calc(-1 * var(--angle)));
  }
}


/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .cx-card,
  .cx-variant,
  .cx-timeline-bar {
    transition: none;
  }
}

/* ========================================
   NAV DROPDOWN - Case Studies
   ======================================== */

/* Desktop Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 0;
  color: rgba(15, 15, 15, 0.86);
  font-size: 0.95rem;
  vertical-align: baseline;
}

.nav-dropdown-trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

/* Dropdown Panel - Desktop */
.nav-dropdown-panel {
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, calc(100vw - 32px));
  max-width: 900px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

/* Show on hover AND click */
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown.is-scroll-closed .nav-dropdown-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

/* Two Column Layout */
.nav-dropdown-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nav-dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Column Header */
.nav-dropdown-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(15, 15, 15, 0.4);
  padding: 8px 12px 12px;
  margin-bottom: 0;
  min-height: 3.1em;
}

/* Dropdown Items */
.nav-dropdown-item {
  display: block;
  padding: 14px 12px;
  border-radius: 24px;
  text-decoration: none;
  color: #0f0f0f;
  transition: background 0.15s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-dropdown-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-dropdown-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #0f0f0f;
}

.nav-dropdown-item p {
  font-size: 0.75rem;
  margin: 0;
  color: rgba(15, 15, 15, 0.55);
  line-height: 1.4;
}

/* Vertical divider between columns */
.nav-dropdown-column:first-child {
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  padding-right: 12px;
}

.nav-dropdown-column:last-child {
  padding-left: 12px;
}


/* ========================================
   MOBILE DROPDOWN
   ======================================== */

/* Mobile accordion in drawer */
.nav-drawer .nav-mobile-dropdown {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  overflow: hidden;
}

.nav-drawer .nav-mobile-dropdown.open {
  overflow: visible;
}

.nav-drawer .nav-mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 12px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(15, 15, 15, 0.86);
  cursor: pointer;
  text-align: left;
}

.nav-drawer .nav-mobile-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-drawer .nav-mobile-dropdown.open .nav-mobile-trigger svg {
  transform: rotate(180deg);
}

/* Mobile dropdown content */
.nav-mobile-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-mobile-dropdown.open .nav-mobile-content {
  max-height: 1200px;
  overflow: visible;
}

/* Mobile section header */
.nav-mobile-section {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(15, 15, 15, 0.4);
  padding: 16px 20px 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-mobile-content a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: rgba(15, 15, 15, 0.86);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-mobile-content a:first-child {
  border-top: none;
}

.nav-mobile-section + a {
  border-top: none;
}

.nav-mobile-content a:hover {
  background: rgba(0, 0, 0, 0.02);
}

.nav-mobile-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 2px 0;
  color: #0f0f0f;
}

.nav-mobile-content p {
  font-size: 0.7rem;
  margin: 0;
  color: rgba(15, 15, 15, 0.5);
  line-height: 1.4;
}


/* ========================================
   HIDE DEFAULT DROPDOWN ON MOBILE
   ======================================== */

@media (max-width: 767px) {
  .nav-dropdown {
    display: none;
  }
}

@media (min-width: 768px) {
  .nav-mobile-dropdown {
    display: none;
  }
}

/* ========================================
   NAV DROPDOWN - FEATURED COLUMN (Third column)
   ======================================== */

/* Three Column Layout (with featured) */
.nav-dropdown-columns.has-featured {
  grid-template-columns: 1fr 1fr 0.65fr;
}

@media (max-width: 1024px) {
  .nav-dropdown-columns.has-featured {
    grid-template-columns: 1fr 1fr;
  }

  .nav-dropdown-featured {
    grid-column: 1 / -1;
  }
}


/* When featured column exists, second column also gets right border */
.has-featured .nav-dropdown-column:nth-child(2) {
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  padding-right: 12px;
}

/* Featured Column (Third column) */
.nav-dropdown-featured {
  background: rgba(0, 241, 170, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 4px;
}

.nav-dropdown-featured img {
  max-width: 140px;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.nav-dropdown-featured-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #0f0f0f;
}

.nav-dropdown-featured-content p {
  font-size: 0.7rem;
  margin: 0;
  color: rgba(15, 15, 15, 0.6);
  line-height: 1.4;
}

.nav-dropdown-featured-cta {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: #00c48c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.nav-dropdown-featured-cta:hover {
  color: #00a074;
}

.nav-dropdown-featured-cta svg {
  width: 12px;
  height: 12px;
}

/* Mobile Featured Card */
.nav-mobile-featured {
  background: rgba(0, 241, 170, 0.06);
  padding: 16px;
  margin: 8px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
}

.nav-mobile-featured img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-mobile-featured-content {
  flex: 1;
}

.nav-mobile-featured-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #0f0f0f;
}

.nav-mobile-featured-content p {
  font-size: 0.7rem;
  margin: 0 0 8px 0;
  color: rgba(15, 15, 15, 0.6);
  line-height: 1.4;
}

.nav-mobile-featured-cta {
  font-size: 0.7rem;
  font-weight: 600;
  color: #00c48c;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-mobile-featured-cta svg {
  width: 10px;
  height: 10px;
}
