/* scroll-margin so anchor links land below the fixed nav */
section[id], footer[id] { scroll-margin-top: 60px; }

/* ═══════════════════════════════════════════════════════════════
   HERO — pure type, cream, full-viewport
═══════════════════════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(20px, 4vw, 56px);
  background: var(--cream);
  color: var(--ink);
  position: relative;
}

.hero-go { width: 100%; }

.hero-eyebrow { margin-bottom: clamp(20px, 2.6vh, 34px); }

.hero-headline {
  font-size: clamp(40px, 8vw, 150px);
  display: block;
}

/* second line holds the inline-grid rotator */
.hero-line2 {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
}

.hero-sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(28px, 4.5vh, 56px);
  flex-wrap: wrap;
}

.hero-lead {
  font-size: clamp(15px, 1.25vw, 21px);
  line-height: 1.55;
  max-width: 46ch;
  color: var(--sub);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.scroll-cue-wrap {
  position: fixed;
  right: clamp(20px, 4vw, 56px);
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sub);
  opacity: 1;
  transition: opacity .4s;
}

.scroll-cue-wrap.hidden { opacity: 0; pointer-events: none; }

.scroll-cue-text {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   MANIFESTO — scroll-pinned word reveal
═══════════════════════════════════════════════════════════════ */
.manifesto-section {
  height: 280vh;
  position: relative;
}

.manifesto-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 12vh, 140px) clamp(20px, 6vw, 110px);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}

.manifesto-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(28px, 5vh, 60px);
}

.manifesto-num {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--sub);
}

/* Statement text — word-by-word opacity driven by JS */
.stmt {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.16;
  font-size: clamp(26px, 3.9vw, 62px);
  max-width: 19ch;
  margin: 0;
  text-wrap: balance;
}

.stmt .w {
  transition: opacity .5s cubic-bezier(.16,1,.3,1), color .5s ease;
  opacity: 0.2;
}

.stmt .em { color: var(--accent); }

.manifesto-footer {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(34px, 6vh, 72px);
  flex-wrap: wrap;
}

.manifesto-pill {
  background: transparent !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

.manifesto-pill:hover {
  background: var(--accent) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.manifesto-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.manifesto-rule {
  width: 42px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   APP SHOWCASE — editorial layout, cream background
═══════════════════════════════════════════════════════════════ */
.app-section {
  background: var(--cream);
  padding: clamp(60px, 10vh, 120px) clamp(20px, 4vw, 56px);
  position: relative;
}

.app-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 70% 18%, rgba(14,158,153,0.08), transparent 70%);
  pointer-events: none;
}

.app-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}

/* Phone frames */
.app-phones {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 540px;
}

.phone-wrap { position: relative; }

.phone-main-wrap { z-index: 2; }

.phone-float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.phone-secondary-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.phone-frame {
  border-radius: 38px;
  overflow: hidden;
  background: var(--dark-teal);
  border: 2px solid rgba(42,204,195,0.2);
}

.phone-frame--main {
  width: 240px;
  height: 500px;
  box-shadow: 0 50px 80px rgba(7,32,31,0.25), 0 24px 40px rgba(7,32,31,0.12);
  filter: drop-shadow(0 50px 70px rgba(0,0,0,0.45));
}

.phone-frame--secondary {
  width: 160px;
  height: 320px;
  box-shadow: 0 36px 60px rgba(7,32,31,0.2);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.4));
  opacity: 0.96;
}

.phone-screen {
  width: 100%;
  height: 100%;
  padding: 22px 14px 14px;
  background: var(--dark-teal);
  color: var(--ink-inv);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* Minimal phone UI mockup */
.pm-notch {
  width: 72px;
  height: 5px;
  background: rgba(233,243,242,0.18);
  border-radius: 3px;
  margin: 0 auto 10px;
  flex-shrink: 0;
}

.pm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.pm-greeting {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-inv);
  letter-spacing: -0.01em;
}

.pm-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-dark);
  flex-shrink: 0;
}

.pm-membership-card {
  background: linear-gradient(135deg, var(--accent-dark), #1a9992);
  border-radius: 14px;
  padding: 14px;
  color: #07201F;
  flex-shrink: 0;
}

.pm-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 4px;
}

.pm-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.pm-card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 8px;
}

.pm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #07201F;
}

.pm-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  flex-shrink: 0;
}

.pm-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pm-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(42,204,195,0.1);
  border: 1px solid rgba(42,204,195,0.18);
}

.pm-action-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(233,243,242,0.6);
}

.pm-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233,243,242,0.4);
  margin-top: 4px;
  flex-shrink: 0;
}

.pm-event {
  background: rgba(233,243,242,0.06);
  border: 1px solid rgba(233,243,242,0.1);
  border-radius: 10px;
  padding: 10px;
  flex-shrink: 0;
}

.pm-event-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-inv);
}

.pm-event-meta {
  font-size: 10px;
  color: rgba(233,243,242,0.5);
  margin-top: 3px;
}

/* Secondary phone (wallet) */
.pm-wallet {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.pm-wallet-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.pm-wallet-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--ink-inv);
  line-height: 1;
}

.pm-wallet-sub {
  font-size: 10px;
  color: rgba(233,243,242,0.45);
}

.pm-wallet-bar {
  margin-top: 10px;
  height: 3px;
  background: rgba(42,204,195,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.pm-wallet-fill {
  height: 100%;
  width: 58%;
  background: var(--accent-dark);
  border-radius: 2px;
}

/* App content panel */
.app-content-panel { }

.app-headline {
  font-size: clamp(34px, 5.2vw, 76px);
  margin: 18px 0 0;
}

.app-desc {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  margin: 20px 0 28px;
  max-width: 42ch;
  color: var(--sub);
}

.app-features { display: flex; flex-direction: column; gap: 2px; }

.app-feature {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.app-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.af-title { font-weight: 700; font-size: 16px; }
.af-sub { color: var(--sub); font-size: 13.5px; margin-top: 2px; }

.app-ctas {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   EXPLORE / SPACES — scroll-pinned index mode
═══════════════════════════════════════════════════════════════ */
.explore-section {
  background: var(--cream);
  color: var(--ink);
}

.explore-header {
  padding: clamp(96px, 15vh, 190px) clamp(20px, 6vw, 80px) clamp(40px, 6vh, 80px);
}

.explore-headline {
  font-size: clamp(56px, 12vw, 200px);
  text-transform: none;
}

.explore-headline em { color: var(--accent); }

.explore-sub {
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.5;
  max-width: 40ch;
  margin-top: min(5vh, 46px);
  color: var(--sub);
}

/* Scroll-pinned index */
.explore-index {
  height: calc(6 * 100vh);
  position: relative;
}

.explore-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) 1.08fr;
}

/* Rail (left panel) */
.explore-rail {
  padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.rail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.rail-counter {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--sub);
}

.rail-active-no { color: var(--accent); }

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.rail-item {
  display: flex;
  align-items: baseline;
  gap: min(2vw, 22px);
  padding: clamp(3px, 0.5vh, 8px) 0;
  cursor: pointer;
}

.rail-no {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  width: 24px;
  flex-shrink: 0;
  color: var(--sub);
  opacity: 0.45;
  transition: opacity .5s var(--ease-out), color .5s;
}

.rail-verb {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(28px, 4.6vw, 68px);
  line-height: 0.92;
  color: var(--sub);
  opacity: 0.55;
  transition: color .5s var(--ease-out), opacity .5s, transform .6s var(--ease-out);
}

.rail-fr {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(12px, 1vw, 15px);
  color: var(--sub);
  opacity: 0;
  transition: opacity .5s;
  align-self: center;
}

.rail-item.active .rail-no { opacity: 1; color: var(--accent); }
.rail-item.active .rail-verb { color: var(--ink); opacity: 1; transform: translateX(min(1.4vw, 16px)); }
.rail-item.active .rail-fr { opacity: 0.9; }

.rail-bottom { flex-shrink: 0; }

.rail-desc-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 18px;
}

.rail-desc {
  margin: 0;
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.5;
  max-width: 30ch;
  color: var(--sub);
}

.rail-desc strong { color: var(--ink); font-weight: 700; }

.rail-book { flex-shrink: 0; }

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  transition: background .35s;
}

/* Image stage (right panel) */
.explore-stage {
  position: relative;
  overflow: hidden;
  background: var(--stage);
}

.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 6s linear;
  filter: saturate(1.02) contrast(1.02);
}

.stage-img.active { opacity: 1; transform: scale(1); }

.stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0.06) 64%, rgba(0,0,0,0.4) 100%);
}

.stage-ghost {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  bottom: clamp(14px, 3vh, 40px);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(56px, 9vw, 150px);
  color: #fff;
  opacity: 0.5;
  mix-blend-mode: screen;
  line-height: 0.92;
  transition: opacity .4s;
  animation: ghostIn .9s cubic-bezier(.16,1,.3,1) both;
}

@keyframes ghostIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 0.5; transform: none; } }

.stage-meta {
  position: absolute;
  top: clamp(24px, 3.4vw, 42px);
  right: clamp(24px, 3.4vw, 42px);
  text-align: right;
  color: #fff;
}

.stage-meta-space {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 600;
}

.stage-meta-tag {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — cream, large headline
═══════════════════════════════════════════════════════════════ */
.foot {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 52px) 40px;
}

.foot-inner { max-width: 1180px; margin: 0 auto; }

.foot-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: clamp(48px, 7vw, 84px);
  border-bottom: 1px solid rgba(23,19,16,0.14);
}

.foot-headline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(40px, 6.2vw, 104px);
  margin-top: 18px;
  max-width: 14ch;
}

.foot-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.foot-pill-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-size: 15px;
  padding: 14px 24px;
}

.foot-pill-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }

.foot-pill-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(23,19,16,0.18);
  font-size: 15px;
  padding: 14px 24px;
}

.foot-pill-ghost:hover { border-color: var(--ink); box-shadow: none; filter: none; transform: none; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: clamp(40px, 5vw, 64px) 0;
}

.foot-logo { height: 34px; width: auto; display: block; }

.foot-tagline {
  color: rgba(23,19,16,0.6);
  font-size: 15px;
  line-height: 1.6;
  max-width: 34ch;
  margin: 18px 0 22px;
}

.foot-social { display: flex; gap: 10px; }

.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(23,19,16,0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}

.social:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.foot-col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23,19,16,0.5);
  margin: 0 0 14px;
  font-weight: 700;
}

.foot-col a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  padding: 5px 0;
  opacity: 0.85;
}

.foot-col a:hover { color: var(--accent); opacity: 1; }
.foot-col span { display: block; font-size: 15px; padding: 5px 0; opacity: 0.5; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(23,19,16,0.14);
  color: rgba(23,19,16,0.5);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   STATS / SOCIAL PROOF — impact in numbers
═══════════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--cream);
  padding: clamp(56px, 9vh, 110px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.stats-inner { max-width: 1200px; margin: 0 auto; }

.stats-header { margin-bottom: clamp(36px, 6vh, 64px); }

.stats-headline {
  font-size: clamp(32px, 5vw, 68px);
  margin-top: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1px, 0.1vw, 1px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stat {
  background: var(--cream);
  padding: clamp(26px, 4vw, 44px) clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: -0.03em;
  line-height: 0.92;
  font-size: clamp(40px, 5.5vw, 80px);
  color: var(--ink);
}

.stat-plus { color: var(--accent); }

.stat-label {
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
  color: var(--sub);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES — Work / Create / Grow
═══════════════════════════════════════════════════════════════ */
.services-section {
  background: var(--cream);
  padding: clamp(64px, 11vh, 130px) clamp(20px, 4vw, 56px);
}

.services-header { max-width: 1200px; margin: 0 auto clamp(40px, 6vh, 72px); }

.services-headline {
  font-size: clamp(40px, 7vw, 110px);
  margin-top: 18px;
}

.services-headline em { color: var(--accent); }

.services-sub {
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.55;
  max-width: 48ch;
  margin-top: clamp(18px, 3vh, 30px);
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.service-col {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}

.service-col:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px rgba(7,32,31,0.35);
}

.service-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
}

.service-no {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.service-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1;
  color: var(--ink);
}

.service-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sub);
  margin: 0 0 22px;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.service-list li:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════
   PARTNERS — ecosystem wall
═══════════════════════════════════════════════════════════════ */
.partners-section {
  background: var(--cream);
  padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.partners-header { max-width: 1200px; margin: 0 auto clamp(36px, 6vh, 60px); }

.partners-headline {
  font-size: clamp(34px, 5.5vw, 76px);
  margin-top: 16px;
}

.partners-sub {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.55;
  max-width: 50ch;
  margin-top: clamp(16px, 3vh, 26px);
}

.partners-wall {
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.partner-cell {
  background: var(--cream);
  /* per-cell hairlines so an incomplete last row never shows a gap */
  box-shadow: inset -1px -1px 0 0 var(--line);
  min-height: clamp(104px, 11vw, 148px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.4vw, 34px);
}

.partner-cell img {
  max-width: 100%;
  max-height: clamp(42px, 5.4vw, 62px);
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.82;
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}

.partner-cell:hover img {
  opacity: 1;
  transform: scale(1.07);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS — scaffold (hidden until real quotes supplied)
═══════════════════════════════════════════════════════════════ */
.tst-section {
  background: var(--cream);
  padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.tst-header { max-width: 1200px; margin: 0 auto clamp(36px, 6vh, 60px); }

.tst-headline {
  font-size: clamp(34px, 5.5vw, 76px);
  margin-top: 16px;
}

/* Testimonials — equal-height grid. (Avoid CSS multicol here: transformed/
   revealed cards inside a `columns` container vanish on repaint in Chromium.) */
.tst-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.tst-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--cream);
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}

.tst-card:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px rgba(7,32,31,0.35);
}

.tst-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.32;
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--ink);
}

.tst-meta { display: flex; flex-direction: column; gap: 3px; margin-top: auto; }

.tst-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.tst-role { font-size: 13.5px; color: var(--sub); }

.tst-seg {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-sub { flex-direction: column; align-items: flex-start; }

  .app-inner { grid-template-columns: 1fr; }
  .app-phones { order: -1; min-height: 420px; }
  .phone-frame--main { width: 200px; height: 420px; }
  .phone-frame--secondary { width: 140px; height: 280px; }

  .explore-sticky { grid-template-columns: 1fr; }
  .explore-stage { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .partners-wall { grid-template-columns: repeat(4, 1fr); }
  .tst-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .pill { justify-content: center; }

  .explore-header { padding-bottom: 32px; }

  .stats-grid { grid-template-columns: 1fr; }
  .partners-wall { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: 1fr; }

  .foot-hero-row { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-social a { width: 38px; height: 38px; }
}
