/* ==============================
   Base / tokens
   ============================== */

:root{
  --content-max: 1200px;
  --page-pad: 1%;
  --header-h: 48px;

  /* One authoritative height for CTA + hamburger */
  --header-btn-h: 30px;
  --header-btn-pad-x: 10px;
}

/* Page defaults + fallback tokens */
body{
  margin: 0 auto;
  font-family: Helvetica, Arial, sans-serif;

  /* Fallback defaults if attributes missing */
  --theme-bg: rgba(12,12,12,1);
  --theme-header: rgba(0,0,0,1);
  --theme-footer: rgba(0,0,0,1);
  --theme-text: rgba(192,192,192,1);
  --theme-accent: rgba(255,255,255,1);
  --theme-border: rgba(36,36,36,1);
  --theme-footer-text: rgba(100,100,100,1);

  background-color: var(--theme-bg);
  color: var(--theme-text);
}

/* ==============================
   Theme tokens per mode + scheme (RGBA)
   ============================== */

/* ---- DARK ---- */
body[data-mode="dark"][data-scheme="black"]{
  --theme-bg: rgba(12,12,12,1);
  --theme-header: rgba(0,0,0,1);
  --theme-footer: rgba(0,0,0,1);
  --theme-text: rgba(192,192,192,1);
  --theme-accent: rgba(255,255,255,1);
  --theme-border: rgba(255,255,255,0.09);
  --theme-footer-text: rgba(100,100,100,1);
}

body[data-mode="dark"][data-scheme="white"]{
  --theme-bg: rgba(252,252,252,1);
  --theme-header: rgba(246,246,246,1);
  --theme-footer: rgba(246,246,246,1);
  --theme-text: rgba(84,84,84,1);
  --theme-accent: rgba(0,0,0,1);
  --theme-border: rgba(0,0,0,0.12);
  --theme-footer-text: rgba(0,0,0,0.8);
}

body[data-mode="dark"][data-scheme="blue"]{
  --theme-bg: rgba(8,12,26,1);
  --theme-header: rgba(2,6,18,1);
  --theme-footer: rgba(2,6,18,1);
  --theme-text: rgba(216,226,255,1);
  --theme-accent: rgba(0,64,224,1);
  --theme-border: rgba(0,64,224,0.24);
  --theme-footer-text: rgba(0,64,224,0.8);
}

body[data-mode="dark"][data-scheme="green"]{
  --theme-bg: rgba(4,16,8,1);
  --theme-header: rgba(3,12,6,1);
  --theme-footer: rgba(3,12,6,1);
  --theme-text: rgba(210,240,220,1);
  --theme-accent: rgba(0,192,0,1);
  --theme-border: rgba(0,192,0,0.12);
  --theme-footer-text: rgba(0,192,0,0.6);
}

body[data-mode="dark"][data-scheme="magenta"]{
  --theme-bg: rgba(20,6,20,1);
  --theme-header: rgba(16,4,16,1);
  --theme-footer: rgba(16,4,16,1);
  --theme-text: rgba(240,215,240,1);
  --theme-accent: rgba(192,0,192,1);
  --theme-border: rgba(192,0,192,0.12);
  --theme-footer-text: rgba(192,0,192,0.6);
}

body[data-mode="dark"][data-scheme="yellow"]{
  --theme-bg: rgba(22,18,6,1);
  --theme-header: rgba(18,14,4,1);
  --theme-footer: rgba(18,14,4,1);
  --theme-text: rgba(245,235,200,1);
  --theme-accent: rgba(255,192,0,1);
  --theme-border: rgba(255,192,0,0.12);
  --theme-footer-text: rgba(255,192,0,0.6);
}

/* ---- LIGHT ---- */
body[data-mode="light"][data-scheme="black"]{
  --theme-bg: rgba(252,252,252,1);
  --theme-header: rgba(246,246,246,1);
  --theme-footer: rgba(246,246,246,1);
  --theme-text: rgba(84,84,84,1);
  --theme-accent: rgba(0,0,0,1);
  --theme-border: rgba(0,0,0,0.12);
  --theme-footer-text: rgba(0,0,0,0.8);
}

body[data-mode="light"][data-scheme="white"]{
  --theme-bg: rgba(12,12,12,1);
  --theme-header: rgba(0,0,0,1);
  --theme-footer: rgba(0,0,0,1);
  --theme-text: rgba(192,192,192,1);
  --theme-accent: rgba(255,255,255,1);
  --theme-border: rgba(255,255,255,0.09);
  --theme-footer-text: rgba(100,100,100,1);
}

body[data-mode="light"][data-scheme="blue"]{
  --theme-bg: rgba(240,246,255,1);
  --theme-header: rgba(230,238,252,1);
  --theme-footer: rgba(230,238,252,1);
  --theme-text: rgba(24,36,80,1);
  --theme-accent: rgba(0,64,224,1);
  --theme-border: rgba(0,64,224,0.25);
  --theme-footer-text: rgba(0,64,224,0.8);
}

body[data-mode="light"][data-scheme="green"]{
  --theme-bg: rgba(248,252,249,1);
  --theme-header: rgba(235,245,235,1);
  --theme-footer: rgba(235,245,235,1);
  --theme-text: rgba(24,70,40,1);
  --theme-accent: rgba(0,160,0,1);
  --theme-border: rgba(0,160,0,0.25);
  --theme-footer-text: rgba(0,160,0,0.8);
}

body[data-mode="light"][data-scheme="magenta"]{
  --theme-bg: rgba(252,248,252,1);
  --theme-header: rgba(242,232,242,1);
  --theme-footer: rgba(242,232,242,1);
  --theme-text: rgba(70,24,70,1);
  --theme-accent: rgba(160,0,160,1);
  --theme-border: rgba(160,0,160,0.25);
  --theme-footer-text: rgba(160,0,160,0.8);
}

body[data-mode="light"][data-scheme="yellow"]{
  --theme-bg: rgba(255,252,242,1);
  --theme-header: rgba(253,249,235,1);
  --theme-footer: rgba(253,249,235,1);
  --theme-text: rgba(90,70,20,1);
  --theme-accent: rgba(220,170,0,1);
  --theme-border: rgba(220,170,0,0.3);
  --theme-footer-text: rgba(220,170,0,0.8);
}

/* ==============================
   Sections bring their own color
   ============================== */

/* DARK */
body[data-mode="dark"] .company-block{
  --theme-accent: rgba(255,255,255,1);
  --theme-border: rgba(255,255,255,0.04);
  --theme-bg-section: rgba(255,255,255,0.02);
}
body[data-mode="dark"] .founders-block{
  --theme-accent: rgba(0,64,224,1);
  --theme-border: rgba(0,64,224,0.12);
  --theme-bg-section: rgba(0,64,224,0.03);
}
body[data-mode="dark"] .investors-block{
  --theme-accent: rgba(0,192,0,1);
  --theme-border: rgba(0,192,0,0.06);
  --theme-bg-section: rgba(0,192,0,0.03);
}
body[data-mode="dark"] .ecosystem-block,
body[data-mode="dark"] .vps-block{
  --theme-accent: rgba(192,0,192,1);
  --theme-border: rgba(192,0,192,0.09);
  --theme-bg-section: rgba(192,0,192,0.03);
}
body[data-mode="dark"] .academy-block{
  --theme-accent: rgba(255,192,0,1);
  --theme-border: rgba(255,192,0,0.06);
  --theme-bg-section: rgba(255,192,0,0.03);
}

/* LIGHT */
body[data-mode="light"] .company-block{
  --theme-accent: rgba(0,0,0,1);
  --theme-border: rgba(232,232,232,1);
  --theme-bg-section: rgba(0,0,0,0.01);
}
body[data-mode="light"] .founders-block{
  --theme-accent: rgba(0,64,224,1);
  --theme-border: rgba(0,64,224,0.10);
  --theme-bg-section: rgba(0,64,224,0.02);
}
body[data-mode="light"] .investors-block{
  --theme-accent: rgba(0,192,0,1);
  --theme-border: rgba(0,192,0,0.10);
  --theme-bg-section: rgba(0,192,0,0.02);
}
body[data-mode="light"] .ecosystem-block,
body[data-mode="light"] .vps-block{
  --theme-accent: rgba(192,0,192,1);
  --theme-border: rgba(192,0,192,0.10);
  --theme-bg-section: rgba(192,0,192,0.02);
}
body[data-mode="light"] .academy-block{
  --theme-accent: rgba(255,192,0,1);
  --theme-border: rgba(255,192,0,0.30);
  --theme-bg-section: rgba(255,192,0,0.02);
}

/* Section surfaces */
.company-block,
.founders-block,
.investors-block,
.ecosystem-block,
.vps-block,
.academy-block{
  background-color: var(--theme-bg-section);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  margin: 0 0 24px 0;
  padding: 0;
}

/* ==============================
   Typography
   ============================== */

h1{
  font-size: 1.4em;
  margin-top: 0;
  color: var(--theme-text);
  font-weight: normal;
  text-transform: uppercase;
}

h2{
  color: var(--theme-text);
  font-size: 1em;
  margin-top: 2.4rem;
  font-weight: normal;
  text-transform: uppercase;
}

.company-block h2,
.founders-block h2,
.investors-block h2,
.ecosystem-block h2,
.vps-block h2,
.academy-block h2{
  margin: 12px 0 0 0;
}

h3{
  color: var(--theme-text);
  font-size: 1em;
  margin-top: 2rem;
  font-weight: bold;
}

p{
  color: var(--theme-text);
  opacity: 1;
  text-align: justify;
}

ul,
ol{
  color: var(--theme-text);
  opacity: 1;
  padding-left: 1rem;
}

li{
  margin-bottom: 1rem;
}

/* Links */
a:link,
a:visited{
  color: var(--theme-text);
  text-decoration: none;
  opacity: 1;
}
a:hover{ color: var(--theme-accent); }
a:active{ color: inherit; }
a:link{ font-weight: 300; }

/* ==============================
   Top bar / Header
   ============================== */

.shift-logo-row{
  position: sticky;
  top: 0;
  z-index: 10000;
  height: var(--header-h);
  width: 100%;
  background-color: var(--theme-header);
}

.logo-grid{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  gap: 0;
  height: var(--header-h);
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.logo-grid .logo-col:last-child{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo-col{
  flex: 1 10 100px;
  min-width: 180px;
  height: auto;
  display: block;
}

.shift-logo-container{ margin: 0; }

.logo{
  max-width: 140px;
    height: auto;
  display: block;
  align-items: center;
}

/* ==============================
   CTA + Menu button row
   ============================== */

.cta-cell{
  height: var(--header-h);
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

/* CTA button */
a.cta-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: var(--header-btn-h);
  line-height: var(--header-btn-h);
  padding: 0 var(--header-btn-pad-x);

  border-radius: 3px;
  border: 1px solid var(--theme-accent);
  background-color: var(--theme-header);
  color: var(--theme-accent);
}

a.cta-button:hover{
  background-color: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-bg) !important;
}

/* ==============================
   Hero
   ============================== */

.header-hero{
  position: relative;
  width: 100%;
}

.header-hero img{
  width: 100%;
  height: 40vh;
  max-height: 40vh;
  object-fit: fill;
  display: block;
}

.header-hero-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--theme-accent);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  text-align: center;
  font-weight: 100;
}

/* ==============================
   Content
   ============================== */

.shift-content{
  margin: 0 auto;
  max-width: var(--content-max);
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  padding-top: 1%;
  padding-bottom: 24px;
  min-height: 240px;
}

.intro-text{
  font-size: 1em;
  font-weight: normal;
}

.section-inner{
  padding: 12px 24px;
}

/* Section title hover */
section h2{
  color: var(--theme-text);
  transition: color 0.2s ease;
}
section a:hover h2{ color: var(--theme-accent); }

/* Service tiles (two-col blocks) */
.two-col{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
}

.two-col > div{
  flex: 1 1 45%;
  min-width: 240px;
}

.block{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9em;
  margin-top: 24px;
  color: var(--theme-text);
}

.block i{
  color: currentColor;
  flex: 0 0 24px;
  width: 24px;
  text-align: center;
  font-size: 1.4em;
  margin-top: 4px;
  line-height: 1;
}

.two-col a:hover .block,
.two-col a:focus .block{
  color: var(--theme-accent);
}

.two-col a:hover .block *,
.two-col a:focus .block *{
  color: inherit;
}

/* ==============================
   Footer
   ============================== */

.footer-container{
  background-color: var(--theme-footer);
  border-top: 1px solid var(--theme-border);
  padding-top: 0;
  color: var(--theme-footer-text);
  opacity: 0.9;
}

.footer-grid{
  margin: 0 auto;
  max-width: var(--content-max);
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.footer-col{ min-width: 0; }

.footer-col h2{
  margin-top: 36px !important;
  margin-bottom: 6px;
  color: var(--theme-footer-text);
  cursor: pointer;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-col h2:hover{
  color: var(--theme-text);
  opacity: 1;
}

.footer-col ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li{ margin-bottom: 6px; }

.footer-col ul li a{
  color: var(--theme-footer-text);
  opacity: 1;
  font-weight: normal;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover{
  color: var(--theme-text);
  opacity: 1;
}

.footer-credit{
  margin: 0 auto;
  max-width: var(--content-max);
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  color: var(--theme-footer-text);
  opacity: 0.76;
  font-size: 13px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.footer-credit a{
  display: inline-block;
  color: var(--theme-footer-text);
  font-weight: normal;
  text-decoration: none;
  font-size: 14px;
  opacity: 1;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-credit a:hover{
  color: var(--theme-text);
  opacity: 1;
  cursor: pointer;
}

/* Back to top */
.back-to-top{
  position: fixed;
  bottom: 1%;
  right: 1%;
  z-index: 1000;
}

.back-to-top img{
  width: 48px;
  height: auto;
}

/* ==============================
   Toggle buttons (CTA style)
   ============================== */

.mode-toggle,
.scheme-toggle{
  font-weight: normal;
  padding: 6px 8px;
  border-radius: 3px;
  border: 1px solid var(--theme-accent);
  cursor: pointer;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-accent);
  font-size: 14px;
  background-color: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.mode-toggle::before{
  font-size: 14px;
  line-height: 1;
  color: currentColor;
}

body[data-mode="dark"] .mode-toggle::before{ content: "☾"; }
body[data-mode="light"] .mode-toggle::before{ content: "☀︎"; }

.mode-toggle:hover,
.scheme-toggle:hover{
  background-color: var(--theme-accent);
  color: var(--theme-bg);
}

/* =========================
   Responsive Menu (shift^)
   ========================= */

/* Toggle button (hamburger/X) — SAME HEIGHT as CTA */
.menu-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: var(--header-btn-h);
  width: var(--header-btn-h);
  line-height: var(--header-btn-h);

  padding: 0;
  margin-left: 0;
  margin-right: 12px;

  border-radius: 3px;
  cursor: pointer;
  background: var(--theme-header);
  border: 1px solid var(--theme-accent);
}

.menu-toggle:hover{
  background: var(--theme-accent);
}

.menu-toggle:active{
  transform: translateY(0) scale(0.98);
}

/* Hamburger lines */
.menu-toggle-icon{
  position: relative;
  width: 18px;
  height: 14px;
  display: inline-block;
  transform: translateY(-0.5px);
}

.menu-toggle-icon span{
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--theme-accent);
  opacity: 0.92;
  transition: transform 220ms ease, top 220ms ease, opacity 160ms ease;
}

/* Invert line color on hover */
.menu-toggle:hover .menu-toggle-icon span{
  background: var(--theme-header);
}

.menu-toggle-icon span:nth-child(1){ top: 0; }
.menu-toggle-icon span:nth-child(2){ top: 6px; }
.menu-toggle-icon span:nth-child(3){ top: 12px; }

body.menu-open .menu-toggle-icon span:nth-child(1){
  top: 6px;
  transform: rotate(45deg);
}
body.menu-open .menu-toggle-icon span:nth-child(2){
  opacity: 0;
}
body.menu-open .menu-toggle-icon span:nth-child(3){
  top: 6px;
  transform: rotate(-45deg);
}

/* Hide via [hidden] (used by JS) */
.menu-panel[hidden],
.menu-overlay[hidden]{
  display: none !important;
}

/* Overlay (blur the page, keep header visible) */
.menu-overlay{
  position: fixed;
  inset: 0;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(1px);

  z-index: 99998;
}

/* Panel container (NOT blurred) */
.menu-panel{
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));

  z-index: 99999;
  pointer-events: none;
}

body.menu-open .menu-panel{
  pointer-events: auto;
}

/* Inner menu surface */
.menu-inner{
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;

  background-color: var(--theme-header);
  border: 0;
  border-radius: 0;
  box-shadow: none;

  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;

  transform: translateY(0);
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 1200ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 240ms ease-out;
  will-change: clip-path, opacity;
}

/* Lock background scroll while menu open */
body.menu-open{
  overflow: hidden;
}

/* Layout inside menu */
.menu-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 12px;
  padding: 6px 6px 6px;
}

/* Section headings */
.menu-h2{
  display: inline-block;
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--theme-text);
  text-decoration: none;

  padding: 6px 0 12px;
  margin: 0 0 12px 0;
}

/* Lists */
.menu-col ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-col li{
  margin: 0 0 12px 0;
}

/* Links */
.menu-col a{
  display: inline-block;
  text-decoration: none;

  padding: 0;
  line-height: 1.25;
  font-size: 0.85rem;
  border-radius: 6px;

  color: var(--theme-text);
  opacity: 1;

  transition: color 160ms ease, transform 160ms ease;
}

@supports (color: color-mix(in srgb, black 50%, white)){
  .menu-col a{
    color: color-mix(in srgb, var(--theme-text) 88%, var(--theme-footer-text));
  }
}

.menu-col a:hover{
  color: var(--theme-accent);
  transform: translateX(1px);
}

/* Footer row inside menu */
.menu-bottom{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;

  padding: 6px 6px 6px;
  border-top: 1px solid var(--theme-border);
}

@supports (border-color: color-mix(in srgb, black 50%, white)){
  .menu-bottom{
    border-top: 1px solid color-mix(in srgb, var(--theme-border) 70%, transparent);
  }
}

.menu-social{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.menu-social a{
  text-decoration: none;
  font-size: 0.75rem;
  color: var(--theme-text);
  opacity: 0.88;
  transition: color 160ms ease;
}

@supports (color: color-mix(in srgb, black 50%, white)){
  .menu-social a{
    opacity: 1;
    color: color-mix(in srgb, var(--theme-text) 88%, var(--theme-footer-text));
  }
}

.menu-social a:hover{
  color: var(--theme-accent);
}

.menu-meta{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 0.85rem;
  color: var(--theme-footer-text);
}

@supports (color: color-mix(in srgb, black 50%, white)){
  .menu-meta{
    color: color-mix(in srgb, var(--theme-text) 70%, var(--theme-footer-text));
  }
}

/* =========================
   Menu responsive
   ========================= */

@media (max-width: 980px){
  .menu-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .menu-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px){
  .menu-grid{ grid-template-columns: 1fr; }
}

/* Menu reveal states */
/* OPEN state */
body.menu-open .menu-inner{
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* CLOSE state: fast start → slow settle */
body.menu-closing .menu-inner{
  transform: translateY(0);
  clip-path: inset(0 0 100% 0);
  opacity: 0;

  transition:
    /* keep the slide-up visible */
    clip-path 120ms cubic-bezier(0.0, 0.0, 0.15, 1),

    /* fade out FAST */
    opacity   12ms ease-out;
}

/* ==============================
   Ecosystem + Pitch2Pitch feature
   ============================== */
.pitch2pitch-strip{
  position: relative;
  overflow: hidden;
  margin: 18px 0 24px;
  background: linear-gradient(90deg, rgba(192,0,192,0.095), rgba(192,0,192,0.038) 58%, rgba(192,0,192,0.01) 100%);
  border: 1px solid rgba(192,0,192,0.19);
  border-radius: 6px;
}
.pitch2pitch-strip-link{
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(110px, .65fr) minmax(0, 3fr) auto;
  align-items: center;
  gap: 22px;
  padding: 9px 18px 9px 20px;
  transition: background-color .2s ease, color .2s ease;
}
.pitch2pitch-strip-kicker{
  font-size: .72rem;
  letter-spacing: .12em;
  color: rgba(192,0,192,1);
}
.pitch2pitch-strip-copy{
  display: flex;
  align-items: baseline;
  gap: 18px;
  min-width: 0;
  font-size: .88rem;
}
.pitch2pitch-strip-copy strong{ font-weight: 500; }
.pitch2pitch-strip-copy span{ color: var(--theme-footer-text); font-size: .84rem; }
.pitch2pitch-strip-cta{
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pitch2pitch-strip-link:hover,
.pitch2pitch-strip-link:focus{
  color: rgba(192,0,192,1);
  background: rgba(192,0,192,0.035);
}
.pitch2pitch-page-cta{ margin: 28px 0 8px; }
.pitch2pitch-page-cta .cta-button i{ margin-left: 7px; font-size: .72em; }

@media (max-width: 1100px){
  .footer-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px){
  .footer-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pitch2pitch-strip-link{ grid-template-columns: 1fr auto; gap: 8px 16px; }
  .pitch2pitch-strip-kicker{ grid-column: 1 / -1; }
  .pitch2pitch-strip-copy{ display: block; }
  .pitch2pitch-strip-copy span{ display: none; }
}
@media (max-width: 430px){ .footer-grid{ grid-template-columns: 1fr; } }

body[data-mode="light"] .pitch2pitch-strip{
  background: linear-gradient(90deg, rgba(192,0,192,0.085), rgba(192,0,192,0.03) 58%, rgba(192,0,192,0.008) 100%);
  border-color: rgba(192,0,192,0.19);
}

.pitch2pitch-strip::before{
  content: none;
}

/* Ecosystem inherits the former Venture Partners purple framed surface. */
body[data-mode="dark"] .ecosystem-block{
  --theme-accent: rgba(192,0,192,1);
  --theme-border: rgba(192,0,192,0.16);
  --theme-bg-section: rgba(192,0,192,0.045);
  background: linear-gradient(180deg, rgba(192,0,192,0.045), rgba(192,0,192,0.018));
  border-color: rgba(192,0,192,0.16);
}
body[data-mode="light"] .ecosystem-block{
  --theme-accent: rgba(192,0,192,1);
  --theme-border: rgba(192,0,192,0.16);
  --theme-bg-section: rgba(192,0,192,0.03);
  background: linear-gradient(180deg, rgba(192,0,192,0.035), rgba(192,0,192,0.012));
  border-color: rgba(192,0,192,0.16);
}
.ecosystem-block{
  border-width: 1px;
  border-style: solid;
  box-shadow: inset 0 0 0 1px rgba(192,0,192,0.015);
}

/* Footer social row */
.footer-social{
  margin: 0 auto;
  max-width: var(--content-max);
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  padding-top: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-social a{
  color: var(--theme-footer-text);
  font-weight: normal;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-social a:hover{
  color: var(--theme-text);
  opacity: 1;
}

@media (max-width: 1100px){
  .footer-social{ padding-top: 44px; }
}
.pitch2pitch-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 44px;
}

.pitch2pitch-facts span {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1;
  opacity: 0.8;
}

@media (max-width: 700px) {
  .pitch2pitch-facts {
    gap: 8px;
    margin: 28px 0 36px;
  }

  .pitch2pitch-facts span {
    font-size: 13px;
    padding: 7px 11px;
  }
}

/* ==============================
   Platform / M&A mandates — 2026-09
   ============================== */
.platform-hero-image,
.deal-hero-image{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}
.platform-hero-image{ height:40vh; max-height:40vh; }
.deal-hero-image{ height:40vh; max-height:40vh; }
.platform-hero-image img,
.deal-hero-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.deal-hero-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(0,0,0,.16) 55%,rgba(0,0,0,.04));
  pointer-events:none;
}
.platform-hero-copy,
.deal-hero-copy{
  position:absolute;
  z-index:2;
  left:max(var(--page-pad), calc((100vw - var(--content-max))/2 + var(--page-pad)));
  right:var(--page-pad);
  bottom:clamp(28px,5vw,68px);
  max-width:760px;
  color:#fff;
}
.platform-hero-copy .eyebrow,
.deal-hero-copy .eyebrow{
  display:block;
  margin-bottom:10px;
  font-size:.74rem;
  line-height:1.2;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.82;
}
.platform-hero-copy h1,
.deal-hero-copy h1{
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(2.2rem,4vw,4rem);
  line-height:.98;
  font-weight:400;
}
.platform-hero-copy p,
.deal-hero-copy p{
  margin:0;
  color:#fff;
  font-size:clamp(1rem,1.5vw,1.3rem);
  max-width:720px;
}
.platform-intro{
  max-width:none;
  width:100%;
  margin-bottom:34px;
}
.platform-intro p{ max-width:none; }
.platform-kicker,
.deal-kicker{
  margin:0 0 8px;
  font-size:.75rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--theme-footer-text);
}
.platform-heading-row{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin:30px 0 20px;
  border-bottom:1px solid var(--theme-border);
  padding-bottom:12px;
}
.platform-heading-row h2{ margin:0; }
.platform-count{ font-size:.82rem; color:var(--theme-footer-text); white-space:nowrap; }
.deal-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-bottom:48px;
}
.deal-card{
  border:1px solid var(--theme-border);
  background:var(--theme-bg);
  display:flex;
  flex-direction:column;
  min-height:100%;
  transition:transform .22s ease,border-color .22s ease;
}
.deal-card:hover{ transform:translateY(-3px); border-color:var(--theme-text); }
.deal-card-image{ aspect-ratio:16/8.2; overflow:hidden; background:#ddd; }
.deal-card-image img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
.deal-card:hover .deal-card-image img{ transform:scale(1.025); }
.deal-card-body{ padding:20px; display:flex; flex:1; flex-direction:column; }
.deal-card-meta{ font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:13px; }
.deal-card h3{ font-size:1.5rem; line-height:1.05; margin:0 0 5px; }
.deal-card-subtitle{ font-size:.95rem; margin-bottom:14px; color:var(--theme-footer-text); }
.deal-card p{ font-size:.9rem; margin:0 0 22px; }
.deal-card-link{ margin-top:auto; font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; }
.platform-inbound{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:48px 0 10px;
}
.platform-inbound-card{ border:1px solid var(--theme-border); padding:26px; }
.platform-inbound-card h3{ margin-top:0; }
.platform-disclaimer,
.deal-disclaimer{
  margin-top:46px;
  padding-top:14px;
  border-top:1px solid var(--theme-border);
  color:var(--theme-footer-text);
  font-size:.72rem;
  line-height:1.55;
}
.platform-disclaimer strong,
.deal-disclaimer strong{ color:var(--theme-text); font-weight:500; }

.platform-section-index{ margin:0 0 18px; }

.platform-hero-dark{ display:none; }
body[data-mode="dark"][data-scheme="white"] .platform-hero-light{ display:block; }
body[data-mode="dark"][data-scheme="white"] .platform-hero-dark{ display:none; }
body[data-mode="light"][data-scheme="white"] .platform-hero-light{ display:none; }
body[data-mode="light"][data-scheme="white"] .platform-hero-dark{ display:block; }

.deal-shell{
  display:grid;
  grid-template-columns:minmax(0,2.1fr) minmax(280px,.9fr);
  gap:clamp(38px,6vw,86px);
  align-items:start;
}
.deal-main h1{ margin-top:0; }
.deal-lead{ font-size:1.12rem; max-width:780px; }
.deal-section{ margin-top:42px; }
.deal-section h2{ margin-bottom:14px; }
.deal-section ul{ margin-top:10px; }
.deal-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 24px;
  border-top:1px solid var(--theme-border);
  margin-top:18px;
}
.deal-fact{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:14px;
  padding:11px 0;
  border-bottom:1px solid var(--theme-border);
  font-size:.87rem;
}
.deal-fact span:first-child{ color:var(--theme-footer-text); }
.deal-sidebar{
  position:sticky;
  top:28px;
  border:1px solid var(--theme-border);
  padding:25px;
}
.deal-sidebar h2{ margin:0 0 10px; font-size:1.6rem; }
.deal-sidebar p{ font-size:.9rem; }
.deal-sidebar .cta-button{ display:inline-flex; margin:9px 0 24px; }
.deal-sidebar-meta{ border-top:1px solid var(--theme-border); padding-top:14px; }
.deal-sidebar-row{ display:flex; justify-content:space-between; gap:18px; padding:7px 0; font-size:.78rem; }
.deal-sidebar-row span:first-child{ color:var(--theme-footer-text); }
.status-active{ font-weight:500; }
.deal-back{ margin:0 0 22px; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; }

@media (max-width: 900px){
  .deal-grid{ grid-template-columns:1fr; }
  .deal-card{ display:grid; grid-template-columns:minmax(220px,.8fr) 1.2fr; }
  .deal-card-image{ aspect-ratio:auto; min-height:240px; }
  .deal-shell{ grid-template-columns:1fr; }
  .deal-sidebar{ position:static; }
  .platform-inbound{ grid-template-columns:1fr; }
}
@media (max-width: 620px){
  .deal-card{ display:flex; }
  .deal-card-image{ aspect-ratio:16/9; min-height:0; }
  .deal-facts{ grid-template-columns:1fr; }
  .platform-heading-row{ align-items:start; flex-direction:column; gap:8px; }
}

/* Platform card surface */
.deal-card{
  background-color:var(--theme-footer);
}
.deal-card:hover{
  box-shadow:0 14px 34px rgba(0,0,0,.08);
}
body[data-mode="light"] .deal-card:hover{
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}

/* ==============================
   Homepage / Platform feature
   ============================== */
.platform-block{
  border:1px solid var(--platform-border);
  border-radius:6px;
  margin:0 0 24px;
  padding:0;
  overflow:hidden;
  background:var(--platform-surface);
  color:var(--platform-text);
}
body[data-mode="dark"] .platform-block{
  --platform-surface:rgba(255,255,255,.02);
  --platform-card:rgba(255,255,255,.035);
  --platform-card-hover:rgba(255,255,255,.06);
  --platform-text:rgba(192,192,192,1);
  --platform-muted:rgba(130,130,130,1);
  --platform-border:rgba(255,255,255,.09);
  --theme-text:rgba(192,192,192,1);
  --theme-accent:rgba(255,255,255,1);
}
body[data-mode="light"] .platform-block{
  --platform-surface:rgba(0,0,0,.01);
  --platform-card:rgba(255,255,255,1);
  --platform-card-hover:rgba(246,246,246,1);
  --platform-text:rgba(84,84,84,1);
  --platform-muted:rgba(104,104,104,1);
  --platform-border:rgba(0,0,0,.12);
  --theme-text:rgba(84,84,84,1);
  --theme-accent:rgba(0,0,0,1);
}
.platform-block h2{
  margin:12px 0 10px;
  color:var(--platform-text);
}
.homepage-deal-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(.7rem,1.3vw,1.1rem);
}
.homepage-deal-card{
  display:block;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--platform-border);
  border-radius:6px;
  background:var(--platform-card);
  color:var(--platform-text);
  text-decoration:none;
  transition:transform .2s ease,background-color .2s ease,border-color .2s ease;
}
.homepage-deal-card:hover,
.homepage-deal-card:focus-visible{
  z-index:1;
  transform:translateY(-2px);
  border-color:var(--platform-text);
  background:var(--platform-card-hover);
}
.homepage-deal-image{
  aspect-ratio:2.35/1;
  overflow:hidden;
  background:var(--platform-card-hover);
}
.homepage-deal-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.homepage-deal-card:hover .homepage-deal-image img{
  transform:scale(1.025);
}
.homepage-deal-body{
  padding:.8rem .9rem;
}
.homepage-deal-meta{
  margin-bottom:.4rem;
  color:var(--platform-muted);
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.homepage-deal-card h3{
  margin:0 0 .25rem;
  color:var(--platform-text);
  font-size:1.08rem;
  line-height:1.1;
}
.homepage-deal-subtitle{
  color:var(--platform-muted);
  font-size:.76rem;
  line-height:1.25;
}
@media (max-width:760px){
  .homepage-deal-grid{ grid-template-columns:1fr; }
}
