/* === Variables === */
:root {
  --red:    #c03e36;
  --blue:   #367cc0;
  --blue-deep: #245a8e;
  --gray:   #b4b4b4;
  --dark:   #2f3f4e;
  --darker: #243240;
  --orange: #ca593c;
  --bg:     #ffffff;
  --bg-alt: #f5f7fa;
  --bg-tint:#fafbfd;
  --text:   #2f3f4e;
  --muted:  #5a6a7a;
  --soft:   #7d8a98;
  --border: #e3e7ec;
  --border-strong: #cfd6df;
  --max:    1180px;
  --r:      8px;
  --r-lg:   14px;
  --shadow-sm: 0 1px 2px rgba(24, 35, 48, .04);
  --shadow-md: 0 6px 18px rgba(24, 35, 48, .06);
  --shadow-lg: 0 16px 40px rgba(24, 35, 48, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === Base === */
html {
  scroll-behavior: smooth;
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
body {
  font-family: inherit;
  font-weight: 400;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--blue-deep); text-decoration: none; }
img { display: block; max-width: 100%; }
ul { padding: 0; margin: 0; list-style: none; }
strong { font-weight: 700; color: var(--dark); }
::selection { background: rgba(54, 124, 192, .18); color: var(--dark); }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* === Layout === */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.75rem; }
section { padding: 6rem 0; }
section[id] { scroll-margin-top: 96px; }
.section-alt { background: var(--bg-alt); }

/* Section heading rhythm */
section > .container > h2 {
  position: relative;
  padding-top: 1.1rem;
}
section > .container > h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* === Typography === */
h1 { font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
h2 {
  font-weight: 900;
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-bottom: 1.25rem;
  color: var(--dark);
}
h3 { font-weight: 700; font-size: 1.05rem; line-height: 1.35; margin-bottom: .4rem; color: var(--dark); letter-spacing: -.005em; }
p { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }

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

/* === Header === */
.site-header {
  background: rgba(36, 50, 64, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}

.site-header-hidden {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.75rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 32px; transition: opacity .15s var(--ease); }
.brand:hover img { opacity: .85; }
.nav-links {
  display: flex;
  gap: 1.65rem;
  list-style: none;
  align-items: center;
}
.nav-links > li > a:not(.nav-cta):not(.nav-social-link) {
  position: relative;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .005em;
  padding: .25rem 0;
  transition: color .15s var(--ease);
}
.nav-links > li > a:not(.nav-cta):not(.nav-social-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease);
}
.nav-links > li > a:not(.nav-cta):not(.nav-social-link):hover {
  color: #fff;
}
.nav-links > li > a:not(.nav-cta):not(.nav-social-link):hover::after {
  transform: scaleX(1);
}
.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.nav-social-link:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
}
.nav-cta {
  padding: .48rem 1.05rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 700 !important;
  letter-spacing: .005em;
  border: 1px solid transparent;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease) !important;
}
.nav-cta-secondary {
  background: transparent !important;
  border-color: rgba(255,255,255,.32);
  color: #fff !important;
}
.nav-cta-secondary:hover {
  background: rgba(255,255,255,.07) !important;
  border-color: rgba(255,255,255,.55);
}

.nav-cta-blue {
  background: var(--blue) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(54,124,192,.32);
}
.nav-cta-blue:hover {
  background: var(--blue-deep) !important;
  box-shadow: 0 6px 18px rgba(54,124,192,.4);
}


/* Mobile menu button */
.menu-btn {
  display: none;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 6px;
  padding: .45rem .9rem;
  cursor: pointer;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.menu-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

/* === Hero Carousel === */
.hero-carousel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: var(--darker);
}

/* Slides */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity .75s ease;
  z-index: 0;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: all;
}

.carousel-slide.entering {
  animation: slideDissolveIn .75s ease both;
}
.carousel-slide.exiting {
  animation: slideDissolveOut .75s ease both;
}

@keyframes slideDissolveIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDissolveOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Slide backgrounds — refined, restrained ambient lighting */
.slide-intro {
  background:
    radial-gradient(70% 55% at 80% 20%, rgba(202, 89, 60, .28) 0%, rgba(202, 89, 60, 0) 60%),
    radial-gradient(60% 60% at 10% 95%, rgba(202, 89, 60, .15) 0%, rgba(202, 89, 60, 0) 55%),
    linear-gradient(155deg, #1a2735 0%, #1f3043 45%, #243a52 100%);
  isolation: isolate;
}

.slide-intro .hero-shape,
.slide-intro .hero-shape::before,
.slide-intro .hero-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slide-intro .hero-shape {
  z-index: 0;
  opacity: .9;
  background:
    radial-gradient(36% 52% at 84% 18%, rgba(54,124,192,.26) 0%, rgba(54,124,192,0) 74%),
    radial-gradient(42% 56% at 12% 82%, rgba(192,62,54,.22) 0%, rgba(192,62,54,0) 72%);
  animation: heroBlobShift 20s ease-in-out infinite alternate;
}

.slide-intro .hero-shape::before {
  inset: -12% -8%;
  z-index: 0;
  opacity: .42;
  mix-blend-mode: screen;
  background:
    conic-gradient(from 105deg at 50% 50%, rgba(54,124,192,.18), rgba(202,89,60,.16), rgba(54,124,192,.18));
  filter: blur(26px);
  animation: heroSwirlRotate 34s linear infinite;
}

.slide-intro .hero-shape::after {
  inset: -20%;
  z-index: 0;
  opacity: .32;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.16) 0 2px, transparent 2px 100%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.14) 0 2px, transparent 2px 100%);
  background-size: 160px 160px, 240px 240px;
  animation: heroParticleDrift 26s linear infinite;
}

.slide-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
  opacity: .5;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 25%, transparent 75%);
}

.slide-intro::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(45% 50% at 75% 25%, rgba(202,89,60,.18) 0%, rgba(202,89,60,0) 70%);
  animation: heroAuraDrift 18s ease-in-out infinite alternate;
}

@keyframes heroAuraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: .9; }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.08); opacity: 1; }
}

@keyframes heroBlobShift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2.5%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.03); }
}

@keyframes heroSwirlRotate {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.08); }
}

@keyframes heroParticleDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-80px, -40px, 0); }
}

.hero-shine {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .6;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 30%);
}

.hero-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.08) 50%, rgba(255,255,255,0) 65%);
  mix-blend-mode: screen;
  opacity: .5;
  transform: translateX(-80%);
  animation: heroShine 14s ease-in-out infinite;
}

@keyframes heroShine {
  0%, 100% { transform: translateX(-80%); opacity: 0; }
  50% { transform: translateX(0%); opacity: .7; }
  90% { transform: translateX(80%); opacity: 0; }
}

.hero-corner-logo {
  position: absolute;
  top: clamp(1.5rem, 3.5vw, 2.5rem);
  left: clamp(1.5rem, 3.5vw, 2.75rem);
  width: clamp(110px, 14vw, 170px);
  height: auto;
  opacity: .92;
  z-index: 3;
  pointer-events: none;
}

/* Abstract SVG art layer */
.slide-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .95;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35));
  pointer-events: none;
}

/* Gentle float on art for active slide */
.carousel-slide.active .slide-art {
  animation: artFloat 11s ease-in-out infinite;
}
@keyframes artFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%       { transform: translate3d(-10px, -22px, 0) scale(1.06) rotate(-1.2deg); }
}

.carousel-slide.active .brain-art .brain-outline {
  animation: brainPulse 6s ease-in-out infinite alternate;
  transform-origin: 63% 48%;
}

.carousel-slide.active .brain-art .brain-folds {
  animation: foldDrift 9s ease-in-out infinite;
}

@keyframes brainPulse {
  from { opacity: .5; transform: scale(.985) rotate(-.4deg); }
  to { opacity: .88; transform: scale(1.02) rotate(.4deg); }
}

@keyframes foldDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .55; }
  50% { transform: translate3d(-6px, 4px, 0); opacity: .78; }
}

@keyframes heroAuraShift {
  0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(4%, 3%, 0) rotate(8deg) scale(1.06); }
  100% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); }
}

@keyframes heroGridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-70px, -40px, 0); }
}

/* Slide content */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 3.5rem 0;
}

/* Text animation on activate */
@keyframes textIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.carousel-slide.active .slide-eyebrow { animation: textIn .7s .1s var(--ease) both; }
.carousel-slide.active .slide-title   { animation: textIn .8s .2s var(--ease) both; }
.carousel-slide.active .slide-body    { animation: textIn .8s .35s var(--ease) both; }
.carousel-slide.active .slide-actions { animation: textIn .8s .5s var(--ease) both; }

.slide-eyebrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}
.slide-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--blue);
}

.slide-eyebrow .motto-emphasis {
  display: inline-block;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: .22em;
  color: rgba(255,255,255,.92);
  padding: 0;
  border: none;
  background: none;
  text-shadow: none;
}

.slide-title {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -.025em;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.slide-body {
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}
.slide-body strong { color: #fff; font-weight: 700; }


.slide-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Quiet scroll cue */
.slide-intro .slide-content::after {
  content: "";
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0));
  animation: scrollCue 2.4s ease-in-out infinite;
  opacity: 0;
}
.carousel-slide.active .slide-intro .slide-content::after,
.carousel-slide.active .slide-content::after { animation: scrollCue 2.4s ease-in-out 1.2s infinite; opacity: 1; }
@keyframes scrollCue {
  0% { transform: translateY(-8px); opacity: 0; }
  40% { opacity: .6; }
  100% { transform: translateY(8px); opacity: 0; }
}

.offering-tooltip-item {
  position: relative;
  cursor: default;
}

.offering-tooltip-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + .65rem);
  transform: translateX(-50%) translateY(6px);
  width: min(300px, 78vw);
  padding: .8rem 1rem;
  border-radius: 8px;
  background: var(--darker);
  color: rgba(255,255,255,.92);
  font-size: .85rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 12px 32px rgba(24, 35, 47, .22);
  opacity: 0;
  pointer-events: none;
  z-index: 25;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.offering-tooltip-item::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + .3rem);
  transform: translateX(-50%) translateY(6px) rotate(45deg);
  width: .55rem;
  height: .55rem;
  background: var(--darker);
  opacity: 0;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 24;
}

.offering-tooltip-item:hover::after,
.offering-tooltip-item:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.offering-tooltip-item:hover::before,
.offering-tooltip-item:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--red);
  color: #fff;
  padding: .9rem 1.85rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .005em;
  box-shadow: 0 4px 14px rgba(192, 62, 54, .25);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.button:hover {
  background: #a83530;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(192, 62, 54, .32);
}
.button:active { transform: translateY(0); }

.button-blue { background: var(--blue); box-shadow: 0 4px 14px rgba(54, 124, 192, .28); }
.button-blue:hover { background: var(--blue-deep); box-shadow: 0 8px 22px rgba(54, 124, 192, .38); }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

/* === Problem === */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.problem-item {
  position: relative;
  border: 1px solid var(--border);
  padding: 2rem 1.5rem 1.5rem;
  background: #fff;
  border-radius: var(--r-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.problem-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 32px;
  height: 3px;
  background: var(--red);
  border-radius: 0 0 2px 2px;
}
.problem-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.problem-item h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: .55rem; line-height: 1.35; }
.problem-item p { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.6; }
.problem-item p strong { color: var(--dark); }

/* === How we work === */
.how-we-work-shell {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
.how-we-work-intro-card {
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.how-we-work-intro-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.how-we-work-intro-card strong { color: var(--dark); }
.how-we-work-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: .5rem;
}
.flow-step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.flow-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 2px 2px;
  opacity: .9;
}
.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.flow-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .3rem .65rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: .85rem;
  text-transform: uppercase;
  align-self: flex-start;
}
.flow-step h3 {
  margin-bottom: .35rem;
  font-size: 1.03rem;
}
.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}
.flow-think::before { background: var(--blue); }
.flow-build::before { background: var(--orange); }
.flow-run::before   { background: var(--red); }
.flow-think .flow-kicker { background: rgba(54,124,192,.1); color: var(--blue); }
.flow-build .flow-kicker { background: rgba(202,89,60,.1); color: #b15032; }
.flow-run   .flow-kicker { background: rgba(192,62,54,.1); color: var(--red); }
.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: var(--border-strong);
  line-height: 1;
  position: relative;
  width: 28px;
}
.flow-connector::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--border-strong);
}
.flow-connector::after {
  content: "";
  position: absolute;
  right: 4px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
  transform: rotate(45deg);
}


/* === Phases === */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.phase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.phase-card:hover,
.phase-card:focus-within {
  border-color: #cfd6df;
  box-shadow: 0 4px 12px rgba(24, 35, 48, .06);
}

.phase-card-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: .75rem;
  padding: .18rem .65rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.phase-card h3 { margin-bottom: .65rem; }
.phase-card > p { color: var(--muted); }

.phase-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  margin-bottom: 1.1rem;
}
.phase-card-tags li {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  border-radius: 100px;
  padding: .28rem .75rem;
  font-size: .82rem;
  line-height: 1.35;
}

.phase-card-link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--blue);
  font-weight: 700;
}
.phase-card-link:hover,
.phase-card-link:focus-visible {
  text-decoration: none;
  color: #2f6aa3;
}

/* === Offerings — Tab UI === */
.section-lead { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 2.25rem; max-width: 60ch; }

.tab-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: 2rem;
  padding: .35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.tab-btn {
  padding: .85rem 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: .96rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .65rem;
  text-align: left;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tab-btn:hover {
  color: var(--dark);
  background: var(--bg-alt);
}

.tab-index {
  font-size: .72rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.tab-label {
  font-size: .94rem;
  line-height: 1.15;
  letter-spacing: -.005em;
}
.tab-btn[data-tab="transformation"].active { background: var(--blue);   border-color: var(--blue);   color: #fff; box-shadow: 0 4px 12px rgba(54,124,192,.28); }
.tab-btn[data-tab="hr"].active             { background: var(--red);    border-color: var(--red);    color: #fff; box-shadow: 0 4px 12px rgba(192,62,54,.28); }
.tab-btn[data-tab="deal"].active           { background: var(--dark);   border-color: var(--dark);   color: #fff; box-shadow: 0 4px 12px rgba(47,63,78,.28); }
.tab-btn[data-tab="sales"].active          { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 4px 12px rgba(202,89,60,.28); }
.tab-btn.active .tab-index { color: rgba(255,255,255,.7); }

/* Tab panels */
.tab-panels { position: relative; }

.tab-panel { display: none; position: relative; }

.accordion-btn {
  display: none;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .95rem 1.1rem;
  text-align: left;
  font-weight: 700;
  font-family: inherit;
  font-size: .98rem;
  background: #fff;
  color: var(--dark);
  margin-bottom: .6rem;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.accordion-btn:hover { border-color: var(--border-strong); background: var(--bg-tint); }

.accordion-btn .tab-index {
  margin-right: .65rem;
  color: var(--soft);
}

.domain-anchor {
  display: block;
  position: relative;
  top: -92px;
  visibility: hidden;
}

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

.tab-panel.active {
  display: block;
  animation: panelIn .35s cubic-bezier(.2, .8, .4, 1) forwards;
}

.panel-intro {
  padding: 1.85rem 2rem;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.panel-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(0,0,0,.06) 100%);
  pointer-events: none;
}
.panel-intro > * { position: relative; z-index: 1; }
.panel-intro h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.015em;
  margin-bottom: .35rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.domain-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.panel-intro p {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  margin: 0;
  font-weight: 400;
}
.panel-intro strong { color: #fff; font-weight: 700; }

.offering-transformation { background: var(--blue); }
.offering-hr             { background: var(--red); }
.offering-deal           { background: var(--dark); }
.offering-sales          { background: var(--orange); }

.panel-stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: #fff;
}

.panel-stage {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.panel-stage:last-child { border-right: none; }
.panel-stage > p { color: var(--muted); font-size: .94rem; line-height: 1.6; }

.panel-stage-head {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 4px;
  padding: .3rem .65rem;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
}
.panel-stage-head.stage-think { background: var(--blue); }
.panel-stage-head.stage-build { background: var(--orange); }
.panel-stage-head.stage-run   { background: var(--red); }

.panel-stage ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
  margin-top: 1rem;
}
.panel-stage ul li {
  font-size: .9rem;
  color: var(--text);
  padding: .65rem .85rem;
  position: relative;
  line-height: 1.4;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-tint);
  cursor: default;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.panel-stage ul li:hover {
  border-color: var(--border-strong);
  background: #fff;
  transform: translateX(2px);
}

.panel-stage.stage-think ul li:hover { color: var(--blue); border-color: rgba(54,124,192,.4); }
.panel-stage.stage-build ul li:hover { color: #b15032; border-color: rgba(202,89,60,.4); }
.panel-stage.stage-run ul li:hover { color: var(--red); border-color: rgba(192,62,54,.4); }

/* === Team === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2.5rem;
}
.team-member {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: grid;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.team-member:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.team-member-primary,
.team-member-secondary {
  grid-template-columns: 140px 1fr;
  align-content: start;
}
.team-member img {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border);
  object-fit: cover;
  object-position: top center;
}
.team-member-primary img,
.team-member-secondary img {
  width: 140px;
  height: 140px;
}
.team-bio h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); margin-bottom: .15rem; letter-spacing: -.01em; }
.team-name {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.team-linkedin-link {
  color: var(--soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .2s var(--ease);
}
.team-linkedin-link:hover,
.team-linkedin-link:focus-visible {
  color: var(--blue);
}
.team-title {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .76rem;
  margin-bottom: .9rem;
}
.team-bio p { font-size: .97rem; color: var(--muted); line-height: 1.72; }

/* === SME Showcase === */
.sme-showcase {
  position: relative;
  margin-top: 2.5rem;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(54,124,192,.22) 0%, rgba(54,124,192,0) 60%),
    linear-gradient(155deg, #243240 0%, #2f3f4e 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 2.75rem 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: center;
  overflow: hidden;
}
.sme-stat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-right: 3rem;
  border-right: 1px solid rgba(255,255,255,.1);
  min-width: 180px;
}
.sme-number {
  font-size: 6rem;
  font-weight: 900;
  line-height: .95;
  color: #fff;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #fff 0%, var(--blue) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sme-number-label {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  margin-top: .85rem;
  line-height: 1.5;
  max-width: 160px;
  letter-spacing: .02em;
}
.sme-info-col h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -.01em;
  margin-bottom: .85rem;
}
.sme-info-col p {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 56ch;
}
.sme-info-col strong { color: #fff; }
.sme-cta { margin-top: .3rem; }
.sme-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.sme-sectors span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  padding: .3rem .85rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* === Footer === */
.site-footer {
  background: var(--darker);
  color: rgba(255,255,255,.55);
  padding: 2.5rem 0;
  font-size: .87rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 1.5rem;
  flex-wrap: wrap;
}
.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.footer-social-link:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.28);
  text-decoration: none;
}
.site-footer-copy { margin: 0; }
.site-footer-links {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}
.site-footer a { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a:focus-visible { color: #fff; }

/* === Legal pages === */
.legal main { padding: 3rem 0 5rem; }
.legal-layout {
  max-width: 880px;
}
.legal-layout h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
  position: relative;
  padding-top: 1rem;
}
.legal-layout h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.legal-layout h2,
.legal-layout h5 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-layout h5 {
  font-size: 1.05rem;
  letter-spacing: -.005em;
  color: var(--dark);
}
.legal-layout p,
.legal-layout li {
  color: var(--text);
}
.legal-layout ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}
.legal-grid p,
.legal-highlight {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .85rem 1rem;
  margin-bottom: 0;
}
.legal-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--border);
}
.table-wrap th {
  background: var(--bg-alt);
  font-weight: 700;
}
.table-wrap tr:last-child td { border-bottom: none; }

/* === Responsive === */
@media (max-width: 900px) {
  .hero-corner-logo {
    width: clamp(96px, 26vw, 140px);
    top: 1.1rem;
    left: 1.1rem;
  }
}

@media (max-width: 760px) {
  .container { padding: 0 1.25rem; }
  .slide-art { opacity: .18; }
  section { padding: 4rem 0; }
  .problem-grid,
  .how-we-work-flow { grid-template-columns: 1fr; }
  .flow-connector {
    width: auto;
    height: 24px;
    transform: rotate(90deg);
  }
  .how-we-work-shell { gap: 1rem; }
  .how-we-work-intro-card { padding: 1.25rem 1.4rem; }
  .flow-step { padding: 1.4rem 1.25rem 1.25rem; }
  .phases-grid { grid-template-columns: 1fr; gap: .9rem; }
  .phase-card { padding: 1.2rem; }
  .phase-card-tags li { font-size: .84rem; }
  .team-grid { grid-template-columns: 1fr; }
  .team-member,
  .team-member-primary,
  .team-member-secondary { grid-template-columns: 1fr; padding: 1.5rem; }
  .team-member img,
  .team-member-primary img,
  .team-member-secondary img {
    width: 132px;
    height: 132px;
    justify-self: center;
  }
  .panel-stages-grid { grid-template-columns: 1fr; }
  .panel-stage { border-right: none; border-bottom: 1px solid var(--border); padding: 1.4rem; }
  .panel-stage:last-child { border-bottom: none; }
  .tab-nav { display: none; }
  .tab-panel { display: block; margin-bottom: .85rem; }
  .tab-panel:last-child { margin-bottom: 0; }
  .accordion-btn { display: block; }
  .tab-panel .panel-intro,
  .tab-panel .panel-stages-grid { display: none; }
  .tab-panel.active .panel-intro,
  .tab-panel.active .panel-stages-grid { display: block; }
  .sme-showcase { grid-template-columns: 1fr; padding: 1.85rem; gap: 1.5rem; }
  .sme-stat-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding-right: 0; padding-bottom: 1.5rem; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: auto; width: 100%; }
  .sme-number { font-size: 4rem; }
  .sme-number-label { max-width: none; margin-top: .25rem; }
  .menu-btn { display: block; }
  .nav-links { display: none; }
  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .legal-grid,
  .legal-grid-2 { grid-template-columns: 1fr; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 1rem;
    top: calc(100% + .5rem);
    background: var(--darker);
    padding: 1rem 1.25rem;
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,.08);
    min-width: 220px;
    box-shadow: 0 16px 36px rgba(0,0,0,.4);
    gap: .75rem;
    align-items: stretch;
  }
  .nav-socials {
    justify-content: center;
    width: 100%;
    padding: .25rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-cta { text-align: center; }
  .accordion-btn {
    padding: 1rem 1.15rem;
    border-radius: var(--r);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .footer-social-link:hover,
  .nav-social-link:hover,
  .button:hover,
  .tab-btn:hover,
  .problem-item:hover,
  .flow-step:hover,
  .team-member:hover {
    transform: none;
  }
}

.site-header.site-header-solid {
  position: sticky;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  background: var(--darker);
  border-bottom-color: rgba(255,255,255,.06);
}

.join-main {
  background: var(--bg-alt);
  min-height: calc(100vh - 84px);
  padding: 3rem 0 4rem;
}

.join-section {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(54,124,192,.08) 0%, rgba(54,124,192,0) 55%),
    #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 3rem;
  align-items: start;
}

.join-form {
  display: grid;
  gap: 0.95rem;
}

.join-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.join-kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
  font-weight: 700;
  font-size: .76rem;
  margin-bottom: .85rem;
}
.join-benefits {
  margin-top: 1.5rem;
  display: grid;
  gap: .55rem;
}
.join-benefits li {
  color: var(--muted);
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.6;
}
.join-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
  border-bottom-left-radius: 1px;
}

.join-form-modern {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.join-form-modern h2 {
  margin-bottom: .35rem;
  font-size: 1.4rem;
}
.join-form-lead {
  color: var(--muted);
  margin-bottom: .85rem;
}

.join-form label {
  font-weight: 700;
  color: var(--dark);
  font-size: .92rem;
  letter-spacing: .005em;
}

.join-form input {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.join-form input:hover { border-color: var(--border-strong); }
.join-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(54,124,192,.18);
}
.join-file-hint {
  font-size: .84rem;
  color: var(--muted);
  margin-top: -.35rem;
}

.join-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .6rem;
  margin-top: .35rem;
  font-weight: 400;
}
.join-form .join-consent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: .15rem;
  padding: 0;
}
.join-consent span {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.join-consent a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 900px) {
  .join-section {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 2rem;
  }
}

/* === Newsletter === */
.newsletter {
  background: var(--darker);
  padding: 3.5rem 0;
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
}
.newsletter__title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
  line-height: 1.25;
}
.newsletter__body {
  color: rgba(255,255,255,.65);
  font-size: .97rem;
  line-height: 1.6;
  margin: 0;
}
.newsletter__form {
  position: relative;
}
.newsletter__row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.newsletter__row input[type="email"] {
  flex: 1 1 260px;
  max-width: 360px;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r);
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  font-size: .97rem;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.newsletter__row input[type="email"]::placeholder { color: rgba(255,255,255,.4); }
.newsletter__row input[type="email"]:hover { border-color: rgba(255,255,255,.4); }
.newsletter__row input[type="email"]:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(54,124,192,.35);
}

@media (max-width: 700px) {
  .newsletter__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .newsletter__row input[type="email"] { max-width: 100%; }
}

/* === Scroll reveal === */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
