:root {
  --bg: #0f1418;
  --surface: #1b242c;
  --surface-soft: #202c35;
  --text: #eef7f4;
  --muted: #a8c0b8;
  --line: #35524d;
  --brand: #6de7c7;
  --brand-2: #48bed0;
  --ok: #9be8c6;
  --radius: 18px;
  --shadow: 0 22px 46px rgba(4, 10, 12, 0.42);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-grid {
  background:
    linear-gradient(158deg, #0d1317 0%, #121b20 50%, #0f171d 100%);
  z-index: -2;
}

.bg-glow {
  background:
    radial-gradient(circle at 12% -8%, rgba(109, 231, 199, 0.24) 0%, rgba(109, 231, 199, 0.1) 22%, transparent 56%),
    radial-gradient(circle at 92% 4%, rgba(72, 190, 208, 0.2) 0%, rgba(72, 190, 208, 0.09) 18%, transparent 54%),
    radial-gradient(circle at 36% 100%, rgba(26, 37, 46, 0.68) 0%, transparent 50%);
  z-index: -1;
}

.site-header,
main,
.site-footer {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.82rem 0.95rem;
  margin-top: 0.45rem;
  backdrop-filter: blur(12px);
  background: rgba(18, 27, 31, 0.74);
  border: 1px solid rgba(128, 203, 181, 0.3);
  border-radius: 14px;
}

.brand img {
  height: 34px;
  width: auto;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0.48rem 0.84rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
}

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

.nav-links a.is-active {
  color: var(--text);
  border-bottom-color: var(--brand-2);
}

.header-cta {
  margin-left: 0.3rem;
}

.header-contact {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--brand);
  text-decoration: none;
  border: 1px solid rgba(109, 231, 199, 0.36);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: rgba(22, 34, 40, 0.72);
  white-space: nowrap;
}

.header-contact:hover {
  border-color: rgba(109, 231, 199, 0.58);
  color: #d9fff3;
}

.section {
  padding: 4.9rem 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.35rem, 7vw, 4.9rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
}

.eyebrow {
  margin: 0;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero-copy {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-title {
  max-width: 22ch;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 170ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0b2e25;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(23, 33, 40, 0.78);
}

.hero-points {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.6rem;
  max-width: 72ch;
}

.hero-points span {
  display: block;
  padding: 0.66rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
}

.hero-proof {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-stat,
.hero-quote {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  background: var(--surface);
}

.hero-stat h3 {
  font-size: 1.04rem;
  margin-bottom: 0.3rem;
}

.hero-stat p,
.hero-quote p {
  margin: 0;
  color: var(--muted);
}

.hero-quote span {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--brand-2);
  font-size: 0.84rem;
  font-family: "DM Sans", sans-serif;
}

.trusted-strip {
  padding-top: 0.5rem;
}

.trusted-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.trusted-logo {
  --logo-h: 44px;
  --logo-max: 250px;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(30, 41, 47, 0.84), rgba(23, 33, 39, 0.94));
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.trusted-logo:hover {
  border-color: rgba(109, 231, 199, 0.56);
  background: linear-gradient(180deg, rgba(33, 47, 54, 0.92), rgba(24, 38, 42, 0.98));
  transform: translateY(-1px);
}

.trusted-logo img {
  height: var(--logo-h);
  width: auto;
  max-width: min(86%, var(--logo-max));
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(4, 11, 34, 0.35));
}

.trusted-logo--till {
  --logo-h: 96px;
  --logo-max: 210px;
}

.trusted-logo--finhouse {
  --logo-h: 74px;
  --logo-max: 230px;
}

.trusted-logo--push {
  --logo-h: 70px;
  --logo-max: 245px;
}

.trusted-logo--goodstack {
  --logo-h: 66px;
  --logo-max: 325px;
}

.trusted-logo--rightcharge {
  --logo-h: 68px;
  --logo-max: 345px;
}

.trusted-logo--gmt {
  --logo-h: 70px;
  --logo-max: 250px;
}

.trusted-logo--vamp {
  --logo-h: 78px;
  --logo-max: 105px;
}

.trusted-logo--amber {
  --logo-h: 84px;
  --logo-max: 420px;
}

.trusted-logo--amber img {
  filter: none;
}

.trusted-logo--suri {
  --logo-h: 54px;
  --logo-max: 250px;
}

.trusted-logo--lindy {
  --logo-h: 61px;
  --logo-max: 252px;
}

.trusted-logo--shay {
  --logo-h: 74px;
  --logo-max: 360px;
}

.trusted-logo--emica {
  --logo-h: 94px;
  --logo-max: 355px;
}

.trusted-logo--emica img {
  filter: brightness(1.05) contrast(1.02) saturate(1.12) drop-shadow(0 6px 20px rgba(4, 11, 34, 0.35));
}

.trusted-logo--wype {
  --logo-h: 60px;
  --logo-max: 280px;
}

.trusted-logo--watergenics {
  --logo-h: 64px;
  --logo-max: 285px;
}

.trusted-logo--origen {
  --logo-h: 58px;
  --logo-max: 300px;
}

.trusted-logo--wype img,
.trusted-logo--origen img {
  filter: brightness(0) saturate(100%) invert(96%) sepia(9%) saturate(180%) hue-rotate(94deg) brightness(104%) contrast(95%) drop-shadow(0 6px 20px rgba(4, 11, 34, 0.35));
}

.trusted-logo span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-head {
  margin-bottom: 1.35rem;
  display: grid;
  gap: 0.44rem;
}

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

.section-head h2.section-title--wide {
  max-width: none;
}

.section-title--one-line {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.55rem, 2.9vw, 2.35rem);
}

.section-head h2.section-title--services-snapshot {
  max-width: 34ch;
}

.section-head h2.section-title--case-proof {
  max-width: 31ch;
}

.section-head h2.section-title--services-deliver {
  max-width: 33ch;
}

.section-head h2.section-title--services-engage {
  max-width: 31ch;
}

.section-head h2.section-title--case-results {
  max-width: none;
  font-size: clamp(1.7rem, 4.05vw, 2.65rem);
}

.visual-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.2rem;
}

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

.visual-pill {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(19, 30, 36, 0.86);
  padding: 0.62rem 0.66rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
}

.visual-pill-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.visual-pill-link:hover {
  border-color: rgba(109, 231, 199, 0.55);
  background: rgba(22, 34, 40, 0.92);
  transform: translateY(-1px);
}

.visual-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(109, 231, 199, 0.2), rgba(72, 190, 208, 0.15));
  border: 1px solid rgba(109, 231, 199, 0.32);
}

.visual-pill-icon svg {
  width: 16px;
  height: 16px;
  fill: #c8f6ea;
}

.visual-pill strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.2;
  color: #deeeea;
}

.visual-pill span {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
  opacity: 0.92;
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.process-rail::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 20px;
  height: 2px;
  background: linear-gradient(90deg, rgba(109, 231, 199, 0.3), rgba(72, 190, 208, 0.35));
}

.process-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.1rem 0.15rem;
}

.process-node-badge {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(109, 231, 199, 0.45);
  background: linear-gradient(160deg, rgba(109, 231, 199, 0.2), rgba(72, 190, 208, 0.16));
  display: grid;
  place-items: center;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: #d6f8ef;
}

.process-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.page-title--case {
  max-width: none;
  font-size: clamp(1.95rem, 4.4vw, 3.35rem);
  text-wrap: balance;
}

.page-title--case-line {
  display: block;
  white-space: nowrap;
}

.page-title--services {
  max-width: 20ch;
}

.page-title--how-it-works {
  max-width: 22ch;
}

.page-title--faq {
  max-width: 23ch;
}

.page-title--advisory {
  max-width: none;
}

.page-advisory .hero.section {
  padding-top: 4.2rem;
  padding-bottom: 4.4rem;
}

.page-advisory .page-title--advisory {
  max-width: none;
  margin-top: 0.66rem;
  font-size: clamp(2.3rem, 5.6vw, 4.35rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-advisory .hero-copy {
  max-width: 60ch;
  margin-top: 1.14rem;
  font-size: clamp(1.04rem, 1.4vw, 1.19rem);
  line-height: 1.6;
}

.page-advisory .section-head {
  gap: 0.56rem;
  margin-bottom: 1.55rem;
}

.page-advisory .section-head .eyebrow {
  letter-spacing: 0.1em;
}

.page-advisory .section-head h2.section-title--wide {
  max-width: 34ch;
  font-size: clamp(1.72rem, 3.55vw, 2.82rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.page-advisory .section--advisory-focus {
  padding-top: 1.85rem;
}

.page-advisory .card {
  padding: 1.14rem 1.08rem 1.18rem;
}

.page-advisory .card .tag {
  font-size: 0.84rem;
  letter-spacing: 0.015em;
}

.page-advisory .card h3 {
  margin-top: 0.26rem;
  margin-bottom: 0.26rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.page-advisory .card p {
  line-height: 1.56;
}

.page-intent .hero.section {
  padding-top: 4.2rem;
  padding-bottom: 4.35rem;
}

.page-intent .intent-hero-title {
  max-width: 27ch;
  margin-top: 0.62rem;
  font-size: clamp(2.15rem, 4.9vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}

.page-intent .hero-copy {
  max-width: 68ch;
  margin-top: 1.1rem;
  font-size: clamp(1.03rem, 1.35vw, 1.17rem);
  line-height: 1.6;
}

.page-how-it-works .hero.section {
  padding-top: 4.2rem;
  padding-bottom: 4.35rem;
}

.page-how-it-works .page-title--how-it-works {
  max-width: 20ch;
  margin-top: 0.62rem;
  line-height: 1.07;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.page-how-it-works .hero-copy {
  max-width: 60ch;
  margin-top: 1.1rem;
  font-size: clamp(1.03rem, 1.35vw, 1.17rem);
  line-height: 1.6;
}

.page-how-it-works .section-head {
  gap: 0.56rem;
  margin-bottom: 1.52rem;
}

.page-how-it-works .section-head h2 {
  line-height: 1.13;
  letter-spacing: -0.013em;
  text-wrap: pretty;
}

.page-how-it-works .section-head h2.section-title--wide {
  max-width: 33ch;
}

.page-how-it-works .card p {
  line-height: 1.56;
}

.page-faq .hero.section {
  padding-top: 4.2rem;
  padding-bottom: 4.35rem;
}

.page-faq .page-title--faq {
  max-width: 22ch;
  margin-top: 0.62rem;
  line-height: 1.07;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.page-faq .hero-copy {
  max-width: 60ch;
  margin-top: 1.1rem;
  font-size: clamp(1.03rem, 1.35vw, 1.17rem);
  line-height: 1.6;
}

.page-faq .section-head {
  gap: 0.56rem;
  margin-bottom: 1.52rem;
}

.page-faq .section-head h2 {
  line-height: 1.13;
  letter-spacing: -0.013em;
  text-wrap: pretty;
}

.page-faq .section-head h2.section-title--wide {
  max-width: 33ch;
}

.page-faq summary {
  line-height: 1.45;
}

.page-faq details p {
  margin-top: 0.58rem;
}

.page-services .hero.section,
.page-case-studies .hero.section {
  padding-top: 4.2rem;
  padding-bottom: 4.35rem;
}

.page-services .page-title--services {
  max-width: 22ch;
  margin-top: 0.62rem;
  line-height: 1.07;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.page-case-studies .page-title--case {
  margin-top: 0.62rem;
  line-height: 1.08;
  letter-spacing: -0.017em;
}

.page-services .hero-copy,
.page-case-studies .hero-copy {
  max-width: 60ch;
  margin-top: 1.1rem;
  font-size: clamp(1.03rem, 1.35vw, 1.17rem);
  line-height: 1.6;
}

.page-services .section-head,
.page-case-studies .section-head {
  gap: 0.56rem;
  margin-bottom: 1.52rem;
}

.page-services .section-head h2,
.page-case-studies .section-head h2 {
  line-height: 1.13;
  letter-spacing: -0.013em;
  text-wrap: pretty;
}

.page-services .section-head h2.section-title--services-deliver {
  max-width: 34ch;
}

.page-services .section-head h2.section-title--services-engage {
  max-width: 33ch;
}

.page-services .section-head h2.section-title--wide {
  max-width: 31ch;
}

.page-case-studies .section-head h2.section-title--case-results {
  font-size: clamp(1.72rem, 3.7vw, 2.72rem);
  line-height: 1.14;
}

.intro {
  display: grid;
  gap: 0.95rem;
}

.intro-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.intro-copy h2 {
  max-width: 17ch;
  text-wrap: pretty;
}

.intro-copy > p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.intro-note {
  margin-top: 0.1rem;
  border: 1px solid rgba(109, 231, 199, 0.3);
  border-radius: 12px;
  padding: 0.76rem 0.86rem;
  background: rgba(22, 34, 40, 0.7);
}

.intro-note h3 {
  margin: 0 0 0.28rem;
  font-size: 1.14rem;
}

.intro-note p {
  margin: 0;
  color: var(--muted);
}

.intro-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.intro-proof-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background: rgba(21, 32, 39, 0.84);
}

.intro-proof-card h3 {
  margin: 0 0 0.18rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

.intro-proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.intro-panel {
  padding: 0.92rem;
  display: grid;
  gap: 0.58rem;
  align-content: start;
}

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

.fit-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.fit-list li {
  margin-bottom: 0.35rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(109, 231, 199, 0.12), rgba(27, 36, 44, 0.96));
  padding: 1.15rem;
}

.founder-photo {
  width: 100%;
  max-width: none;
  height: 390px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 0;
  object-fit: cover;
  object-position: center 16%;
}

.intro-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: "DM Sans", sans-serif;
}

.intro-caption a {
  color: #bcf5e5;
  text-decoration: none;
}

.intro-caption a:hover {
  text-decoration: underline;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

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

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

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

.pillar {
  display: grid;
  gap: 0.72rem;
}

.pillar-head {
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.pillar-head h3 {
  font-size: 1.2rem;
}

.pillar-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.pillar-services {
  display: grid;
  gap: 0.56rem;
}

.pillar-service {
  border: 1px solid rgba(109, 231, 199, 0.2);
  border-radius: 12px;
  background: rgba(18, 28, 34, 0.76);
  padding: 0.66rem 0.72rem;
}

.pillar-service h4 {
  margin: 0 0 0.28rem;
  font-size: 1rem;
  line-height: 1.2;
}

.pillar-service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.4;
}

.section--advisory-focus {
  padding-top: 1.6rem;
  padding-bottom: 3.1rem;
}

.advisory-focus-card {
  display: grid;
  gap: 0.48rem;
  align-content: start;
  min-height: 260px;
}

.advisory-focus-card .visual-pill-icon {
  margin-bottom: 0.18rem;
}

.advisory-focus-card h3 {
  font-size: 1.14rem;
}

.advisory-focus-card p {
  margin: 0;
}

.card,
.testimonials article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(30, 40, 48, 0.92), rgba(24, 34, 40, 0.96));
  padding: 1.06rem;
}

.tag {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--brand);
  font-size: 0.88rem;
}

.card p,
.lead {
  color: var(--muted);
}

.case-link {
  text-decoration: none;
  color: inherit;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

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

.case-mini-brand {
  margin-bottom: 0.38rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(109, 231, 199, 0.28);
  background: rgba(17, 27, 33, 0.82);
  border-radius: 999px;
  padding: 0.3rem 0.56rem;
}

.case-mini-logo {
  height: 17px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  display: block;
}

.case-mini-logo--amber {
  height: 15px;
  max-width: 84px;
}

.case-mini-logo--goodstack {
  height: 16px;
  max-width: 86px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.author {
  color: var(--ok);
  font-size: 0.94rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact {
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(109, 231, 199, 0.18), rgba(72, 190, 208, 0.12)),
    var(--surface-soft);
}

.contact-grid {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.calendly-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.calendly-modal[hidden] {
  display: none;
}

.calendly-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  background: rgba(6, 10, 12, 0.72);
}

.calendly-modal__dialog {
  position: relative;
  width: min(980px, 96vw);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #141d23;
  box-shadow: var(--shadow);
}

.calendly-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 33, 40, 0.92);
}

.calendly-modal__head h3 {
  font-size: 1rem;
  margin: 0;
}

.calendly-modal__close {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.calendly-embed {
  width: 100%;
  min-height: 70vh;
  border: 0;
  background: transparent;
}

.calendly-gate {
  padding: 1rem;
}

.calendly-copy {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.qualifier-form {
  display: grid;
  gap: 0.85rem;
}

.qualifier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.qualifier-field {
  display: grid;
  gap: 0.33rem;
}

.qualifier-field label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.76rem;
  color: var(--muted);
}

.qualifier-field input,
.qualifier-field select,
.qualifier-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.66rem 0.72rem;
  background: rgba(18, 28, 33, 0.78);
  color: var(--text);
  font: inherit;
}

.qualifier-field textarea {
  resize: vertical;
}

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

.calendly-booking-actions {
  padding: 0.9rem;
  border-top: 1px solid var(--line);
  background: rgba(23, 33, 40, 0.9);
}

.contact-note {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-note a {
  color: #bcf5e5;
}

.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo {
  grid-column: 1;
  grid-row: 1;
  height: 34px;
  width: auto;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.footer-contact-line strong {
  color: #d6f8ef;
}

.footer-links {
  font-family: "DM Sans", sans-serif;
}

.site-footer a {
  color: #bcf5e5;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-social {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 29, 35, 0.72);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: #bcf5e5;
}

.footer-social-link:hover {
  text-decoration: none;
  border-color: rgba(109, 231, 199, 0.56);
  background: rgba(24, 38, 42, 0.94);
  transform: translateY(-1px);
}

.case-index {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.case-index-link {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.56rem 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  color: var(--muted);
  background: rgba(18, 29, 35, 0.72);
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.case-index-link--logo {
  min-width: 150px;
  justify-content: center;
  padding: 0.62rem 0.82rem;
}

.case-index-link--text {
  min-width: 150px;
  justify-content: center;
}

.case-index-logo {
  height: 22px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  object-position: center center;
  display: block;
  opacity: 0.98;
  filter: drop-shadow(0 2px 8px rgba(6, 14, 26, 0.45));
}

.case-index-logo--goodstack {
  max-width: 132px;
}

.case-index-logo--amber {
  height: 24px;
  max-width: 130px;
}

.case-index-logo--rightcharge {
  max-width: 132px;
}

.case-index-logo--push {
  height: 24px;
  max-width: 86px;
}

.case-index-logo--vamp {
  height: 26px;
  max-width: 26px;
}

.case-index-logo--till {
  height: 24px;
  max-width: 44px;
}

.case-index-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(72, 190, 208, 0.2);
}

.case-index-link:hover {
  border-color: rgba(109, 231, 199, 0.52);
  color: var(--text);
  transform: translateY(-1px);
}

.page-case-studies section[id].section {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
  scroll-margin-top: 6.8rem;
}

.page-case-studies .case-detail {
  position: relative;
  padding: 1.3rem 1.58rem 1.26rem;
  border-radius: 22px;
  border-color: rgba(73, 118, 108, 0.58);
  background:
    radial-gradient(circle at 90% 8%, rgba(36, 76, 95, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(25, 36, 44, 0.95), rgba(18, 28, 34, 0.98));
  box-shadow: 0 16px 34px rgba(4, 10, 14, 0.26);
}

.case-company {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  row-gap: 0.72rem;
}

.case-company > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  padding: 0.34rem 0.5rem;
  border: 1px solid rgba(88, 138, 127, 0.4);
  border-radius: 12px;
  background: rgba(16, 25, 31, 0.82);
}

.case-company > div {
  min-width: 0;
  max-width: none;
}

.case-company .tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b8d4cc;
}

.case-company-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(4, 11, 34, 0.35));
}

.case-company-logo--push {
  height: 46px;
  max-width: 156px;
}

.case-company-logo--vamp {
  height: 48px;
  max-width: 68px;
}

.case-company-logo--till {
  height: 52px;
  max-width: 144px;
}

.case-company-logo--amber {
  height: 42px;
  max-width: 192px;
}

.case-company-logo--goodstack {
  height: 44px;
  max-width: 184px;
}

.case-company-no-logo {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.44rem 0.62rem;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.075em;
  color: #d7ece5;
  background: rgba(18, 29, 35, 0.82);
  font-size: 0.82rem;
  width: fit-content;
}

.case-detail h2 {
  font-size: clamp(1.34rem, 2.1vw, 1.86rem);
  margin: 0.2rem 0 0;
  max-width: 52ch;
  line-height: 1.3;
  letter-spacing: 0;
  word-spacing: 0.015em;
  text-wrap: pretty;
}

.case-detail > p {
  color: var(--muted);
  max-width: 74ch;
  line-height: 1.6;
}

.case-detail h3 {
  margin-top: 1.18rem;
  padding-top: 0.88rem;
  font-size: 1rem;
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  color: #d9efe8;
  border-top: 1px solid rgba(78, 122, 114, 0.42);
}

.case-detail h3 + p {
  margin-top: 0.5rem;
  max-width: 74ch;
  color: var(--muted);
  line-height: 1.6;
}

.case-detail ul {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  max-width: 78ch;
  display: grid;
  gap: 0.42rem;
}

.case-detail li {
  margin: 0;
  position: relative;
  padding: 0.54rem 0.72rem 0.54rem 1.56rem;
  border: 1px solid rgba(80, 125, 117, 0.35);
  border-radius: 11px;
  background: rgba(18, 29, 35, 0.66);
  line-height: 1.46;
}

.case-detail li::before {
  content: "";
  position: absolute;
  left: 0.66rem;
  top: 0.92rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
}

.case-metrics {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.case-metrics span {
  display: block;
  padding: 0.46rem 0.6rem;
  border: 1px solid rgba(94, 149, 137, 0.4);
  border-radius: 12px;
  color: #d4eae2;
  background: rgba(15, 24, 29, 0.8);
  font-size: 0.82rem;
  line-height: 1.35;
}

.case-meta {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.case-meta span {
  width: 100%;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.case-detail h3:last-of-type + p {
  margin-top: 0.58rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(109, 231, 199, 0.3);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(109, 231, 199, 0.12), rgba(72, 190, 208, 0.08));
  color: #e0f5ee;
}

.case-quote {
  margin: 0.9rem 0 0;
  max-width: 62ch;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(72, 190, 208, 0.35);
  border-left: 4px solid var(--brand-2);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(72, 190, 208, 0.15), rgba(109, 231, 199, 0.08));
  color: #e9fbf6;
  font-size: clamp(1.02rem, 2.1vw, 1.28rem);
  line-height: 1.35;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(11px);
  animation: reveal 600ms ease forwards;
}

.reveal:nth-child(2) { animation-delay: 80ms; }
.reveal:nth-child(3) { animation-delay: 130ms; }
.reveal:nth-child(4) { animation-delay: 180ms; }
.reveal:nth-child(5) { animation-delay: 230ms; }
.reveal:nth-child(6) { animation-delay: 280ms; }
.reveal:nth-child(7) { animation-delay: 330ms; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .header-contact {
    display: none;
  }

  .cards--advisory-focus {
    grid-template-columns: 1fr 1fr;
  }

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

  .visual-pill-grid {
    grid-template-columns: 1fr 1fr;
  }

  .visual-pill-grid--three {
    grid-template-columns: 1fr;
  }

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

  .process-rail::before {
    display: none;
  }

  .cards,
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }

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

  .intro-top {
    grid-template-columns: 1fr;
  }

  .intro-proof {
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .hero-title span {
    white-space: normal;
  }

  .page-title--case-line {
    white-space: normal;
  }

  .section-title--one-line {
    white-space: normal;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
  }

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

  .case-company {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .case-company > a,
  .case-company-no-logo {
    width: fit-content;
    min-height: 48px;
  }

  .case-meta {
    grid-template-columns: 1fr;
  }

  .case-detail h2 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .page-faq .hero.section,
  .page-how-it-works .hero.section,
  .page-services .hero.section,
  .page-intent .hero.section,
  .page-case-studies .hero.section {
    padding-top: 3.2rem;
    padding-bottom: 3.3rem;
  }

  .page-faq .hero-copy,
  .page-how-it-works .hero-copy,
  .page-services .hero-copy,
  .page-intent .hero-copy,
  .page-case-studies .hero-copy {
    margin-top: 0.95rem;
    font-size: 1.01rem;
    line-height: 1.58;
  }

  .page-faq .section-head,
  .page-how-it-works .section-head,
  .page-services .section-head,
  .page-intent .section-head,
  .page-case-studies .section-head {
    margin-bottom: 1.2rem;
    gap: 0.5rem;
  }

  .page-intent .intent-hero-title {
    max-width: none;
    line-height: 1.08;
  }

  .page-faq .section-head h2.section-title--wide,
  .page-how-it-works .section-head h2.section-title--wide,
  .page-services .section-head h2.section-title--services-deliver,
  .page-services .section-head h2.section-title--services-engage,
  .page-services .section-head h2.section-title--wide {
    max-width: none;
  }

  .page-advisory .hero.section {
    padding-top: 3.2rem;
    padding-bottom: 3.35rem;
  }

  .page-advisory .page-title--advisory {
    max-width: none;
    line-height: 1.08;
  }

  .page-advisory .hero-copy {
    margin-top: 0.95rem;
    font-size: 1.01rem;
    line-height: 1.58;
  }

  .page-advisory .section-head {
    margin-bottom: 1.2rem;
    gap: 0.5rem;
  }

  .page-advisory .section--advisory-focus {
    padding-top: 1.2rem;
  }

  .cards--advisory-focus {
    grid-template-columns: 1fr;
  }

  .section--advisory-focus {
    padding-top: 1.1rem;
    padding-bottom: 2.2rem;
  }

  .pillar-service h4 {
    font-size: 0.98rem;
  }

  .visual-pill-grid {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    flex-wrap: wrap;
  }

  .menu-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    width: 100%;
    margin-left: 0;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.68rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
  }

  .nav-links.open {
    display: flex;
  }

  .section {
    padding: 3.8rem 0;
  }

  .cards,
  .testimonials {
    grid-template-columns: 1fr;
  }

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

  .intro-copy h2 {
    max-width: none;
  }

  .intro-proof {
    grid-template-columns: 1fr;
  }

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

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

  .case-index-link {
    padding: 0.48rem 0.75rem;
    gap: 0.5rem;
    font-size: 0.87rem;
  }

  .case-index-link--logo,
  .case-index-link--text {
    min-width: 148px;
  }

  .case-index-logo {
    height: 20px;
    max-width: 116px;
  }

  .case-index-logo--amber {
    height: 22px;
    max-width: 118px;
  }

  .case-index-logo--till {
    height: 22px;
    max-width: 40px;
  }

  .case-index-logo--vamp {
    height: 22px;
    max-width: 22px;
  }

  .page-case-studies section[id].section {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }

  .page-case-studies .case-detail {
    padding: 1.05rem 1.02rem 1.02rem;
    border-radius: 18px;
  }

  .case-company > a {
    min-height: 48px;
    padding: 0.3rem 0.44rem;
  }

  .case-company-no-logo {
    min-height: 48px;
    padding: 0.3rem 0.44rem;
  }

  .case-detail h3 {
    margin-top: 1rem;
    padding-top: 0.75rem;
    font-size: 0.94rem;
  }

  .case-detail li {
    padding: 0.48rem 0.6rem 0.48rem 1.38rem;
  }

  .case-detail li::before {
    left: 0.56rem;
    top: 0.84rem;
    width: 6px;
    height: 6px;
  }

  .case-meta span {
    font-size: 0.75rem;
    padding: 0.4rem 0.52rem;
  }

  .case-quote {
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
  }

  .trusted-logo {
    min-height: 98px;
    padding: 0.85rem 0.95rem;
  }

  .trusted-logo img {
    max-width: min(88%, 220px);
  }

  .contact {
    padding: 1.32rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-social {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .founder-photo {
    height: 360px;
  }
}
