/* CUBE Collective — Corporate Website Stylesheet (YC Winter 2027) */

:root {
  --corp-accent: #0078FF;
  --corp-accent-glow: rgba(0, 120, 255, 0.2);
  --corp-cyan: #00B8C2;
  --corp-cyan-glow: rgba(0, 184, 194, 0.18);
  /* WCAG 2.2 AA Contrast audit: #00D094 on #0B0F14 is 9.56:1 (AAA).
     Usage is strictly bounded to decorative indicators (.hero-proof-line::before,
     .live-pill::before) and large headline gradient stops. */
  --corp-green: #00D094;
  --corp-green-text: #2EE6A8;
  --corp-card-bg: rgba(14, 26, 44, 0.72);
  --corp-card-border: rgba(255, 255, 255, 0.10);
  --corp-card-hover: rgba(20, 36, 60, 0.88);
}

/* Base & Accessibility */
.corp-main {
  position: relative;
  overflow-x: clip;
}

/* Proof Line Badge in Hero */
.hero-proof-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(73, 211, 207, 0.08);
  border: 1px solid rgba(73, 211, 207, 0.25);
  color: #bcebd2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 18px;
  max-width: 100%;
}
.hero-proof-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--corp-green);
  box-shadow: 0 0 0 5px rgba(121, 214, 165, 0.15);
  flex-shrink: 0;
}

/* Capability Cards in Section 2 (The First Wedge) */
/* Five cards, never four + one: 5 across on wide screens, 3 + 2 in the middle, 2 + 2 + 1 (the last one full width) on
   tablets, one column on phones. The 6-column track lets the two cards of the second row share the width evenly. */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.capabilities-grid > .capability-card { grid-column: span 2; }
.capabilities-grid > .capability-card:nth-child(n + 4) { grid-column: span 3; }
@media (min-width: 1700px) {
  .capabilities-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .capabilities-grid > .capability-card,
  .capabilities-grid > .capability-card:nth-child(n + 4) { grid-column: auto; }
}
@media (max-width: 819px) {
  .capabilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capabilities-grid > .capability-card,
  .capabilities-grid > .capability-card:nth-child(n + 4) { grid-column: auto; }
  .capabilities-grid > .capability-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.capability-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--corp-card-bg);
  border: 1px solid var(--corp-card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.capability-card:hover {
  transform: translateY(-3px);
  border-color: rgba(73, 211, 207, 0.4);
}
.capability-num {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--corp-cyan);
  display: block;
  margin-bottom: 12px;
}
.capability-card h3 {
  font-size: 18px;
  letter-spacing: -0.03em;
  margin: 0 0 8px 0;
  color: #fff;
  line-height: 1.25;
}
.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Section 3: Product Screenshot Stage */
.product-stage {
  margin-top: 48px;
  border-radius: 24px;
  border: 1px solid var(--corp-card-border);
  background: linear-gradient(180deg, rgba(16, 34, 58, 0.9) 0%, rgba(9, 23, 41, 0.95) 100%);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
/* Section 3: Product Mosaic Bento */
.product-mosaic-bento {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: stretch; /* tiles of one row share a height (the two bottom tiles differed by 20 px) */
}
.mosaic-tile {
  background: var(--corp-card-bg);
  border: 1px solid var(--corp-card-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.mosaic-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(73, 211, 207, 0.35);
}
.mosaic-tile-primary {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  /* Was position: sticky: the tile slid down over the row-3 tiles and left a hole under it. It now stretches to the
     height of the two stacked tiles on its right, so the block is one clean rectangle at every scroll position. */
  align-self: stretch;
}
.mosaic-tile-primary .mosaic-window-frame {
  margin-top: 18px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1025px) {
  .mosaic-tile-primary .mosaic-window-body {
    flex: 1 1 auto;
    min-height: 460px;
  }
  .mosaic-tile-primary .mosaic-window-body .mosaic-img {
    position: absolute;
    inset: 0;
    height: 100%;
  }
}
.mosaic-tile-secondary:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
}
.mosaic-tile-secondary:nth-child(3) {
  grid-column: 8 / 13;
  grid-row: 2 / 3;
}
.mosaic-tile-secondary:nth-child(4) {
  grid-column: 1 / 7;
  grid-row: 3 / 4;
}
.mosaic-tile-secondary:nth-child(5) {
  grid-column: 7 / 13;
  grid-row: 3 / 4;
}
.mosaic-tile-top {
  padding: 20px 22px 14px 22px;
}
.mosaic-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.mosaic-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mosaic-badge-current {
  background: rgba(121, 214, 165, 0.15);
  color: #79d6a5;
  border: 1px solid rgba(121, 214, 165, 0.35);
}
.mosaic-badge-synthetic {
  background: rgba(73, 211, 207, 0.1);
  color: var(--corp-cyan);
  border: 1px solid rgba(73, 211, 207, 0.25);
}
.mosaic-badge-sandbox {
  background: rgba(0, 184, 194, 0.12);
  color: var(--corp-cyan);
  border: 1px solid rgba(0, 184, 194, 0.3);
}
.mosaic-badge-prerelease {
  background: rgba(0, 120, 255, 0.14);
  color: #70b4ff;
  border: 1px solid rgba(0, 120, 255, 0.32);
}
.mosaic-tile-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}
.mosaic-tile-copy {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.mosaic-tile-subcopy {
  font-size: 12px;
  color: #a7b8cb;
  margin: 6px 0 0 0;
  font-style: italic;
  line-height: 1.4;
}
.mosaic-window-frame {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #060e18;
}
.mosaic-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(7, 17, 31, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mosaic-window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.mosaic-window-title {
  font-size: 11px;
  font-weight: 600;
  color: #b6c7da;
  margin-left: 6px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mosaic-window-body {
  position: relative;
  overflow: hidden;
}
.mosaic-tile-primary .mosaic-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.mosaic-tile-secondary .mosaic-img,
.mosaic-tile-future .mosaic-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.product-mosaic-action {
  text-align: center;
  margin-top: 36px;
}

/* Section 4: Progress Cards */
/* Four cards: 4 across when there is room, otherwise 2 x 2 (never 3 + 1). */
.progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 1600px) {
  .progress-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.progress-card {
  padding: 28px;
  border-radius: 22px;
  background: var(--corp-card-bg);
  border: 1px solid var(--corp-card-border);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.progress-card:hover {
  transform: translateY(-3px);
  border-color: rgba(73, 211, 207, 0.4);
}
.progress-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.progress-card-title {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
  font-weight: 800;
}
.progress-badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.progress-badge-pilot {
  background: rgba(121, 214, 165, 0.15);
  color: #79d6a5;
  border: 1px solid rgba(121, 214, 165, 0.35);
}
.progress-badge-active {
  background: rgba(105, 169, 255, 0.15);
  color: #69a9ff;
  border: 1px solid rgba(105, 169, 255, 0.35);
}
.progress-badge-estate {
  background: rgba(0, 184, 194, 0.12);
  color: var(--corp-cyan);
  border: 1px solid rgba(0, 184, 194, 0.3);
}
.progress-badge-stage {
  background: rgba(0, 120, 255, 0.14);
  color: #70b4ff;
  border: 1px solid rgba(0, 120, 255, 0.32);
}
.progress-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Section 5: Platform Architecture Visual */
.platform-stack-visual {
  margin-top: 52px;
  display: grid;
  gap: 20px;
}
.platform-dominant-wedge {
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 118, 255, 0.18), rgba(9, 25, 48, 0.95));
  border: 2px solid rgba(0, 118, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 118, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.platform-wedge-info h3 {
  font-size: 26px;
  letter-spacing: -0.04em;
  margin: 0 0 6px 0;
  color: #fff;
}
.platform-wedge-info p {
  margin: 0;
  color: #bcd5f0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 640px;
}
/* Five nodes / blocks: 5 across on wide screens, 3 + 2 in the middle, 2 + 2 + 1 on tablets, 1 on phones. */
.platform-reuse-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.platform-reuse-row > * { grid-column: span 2; }
.platform-reuse-row > :nth-child(n + 4) { grid-column: span 3; }
@media (min-width: 1700px) {
  .platform-reuse-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .platform-reuse-row > *,
  .platform-reuse-row > :nth-child(n + 4) { grid-column: auto; }
}
@media (max-width: 819px) {
  .platform-reuse-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-reuse-row > *,
  .platform-reuse-row > :nth-child(n + 4) { grid-column: auto; }
  .platform-reuse-row > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .platform-reuse-row { grid-template-columns: 1fr; }
}
.platform-node-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(16, 34, 58, 0.5);
  border: 1px dashed rgba(160, 190, 220, 0.25);
  text-align: center;
}
.platform-node-card strong {
  display: block;
  font-size: 14px;
  color: #d8e4ee;
  margin-bottom: 4px;
}
.platform-node-card span {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.platform-base-layer {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(13, 33, 58, 0.98), rgba(7, 17, 31, 0.99));
  border: 1.5px solid rgba(73, 211, 207, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.platform-base-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.platform-base-heading h4 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--corp-cyan);
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.platform-blocks-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.platform-blocks-grid > * { grid-column: span 2; }
.platform-blocks-grid > :nth-child(n + 4) { grid-column: span 3; }
@media (min-width: 1700px) {
  .platform-blocks-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .platform-blocks-grid > *,
  .platform-blocks-grid > :nth-child(n + 4) { grid-column: auto; }
}
@media (max-width: 819px) {
  .platform-blocks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-blocks-grid > *,
  .platform-blocks-grid > :nth-child(n + 4) { grid-column: auto; }
  .platform-blocks-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .platform-blocks-grid { grid-template-columns: 1fr; }
}
.platform-block {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.platform-block b {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 6px;
}
.platform-block span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Section 6: Portfolio Sequencing */
.sequence-container {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}
.sequence-tier {
  display: grid;
  gap: 16px;
}
.sequence-tier-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--corp-cyan);
}
.sequence-tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
/* a tier of three cards: three across, then one column (never 2 + 1) */
.sequence-tier-cards:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .triplet-grid,
  .sequence-tier-cards:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
}
.sequence-card {
  padding: 26px;
  border-radius: 20px;
  background: var(--corp-card-bg);
  border: 1px solid var(--corp-card-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.sequence-card:hover {
  transform: translateY(-2px);
  border-color: rgba(73, 211, 207, 0.4);
}
.sequence-card-dominant {
  border: 1.5px solid rgba(0, 118, 255, 0.45);
  background: linear-gradient(145deg, rgba(16, 42, 74, 0.8), rgba(10, 24, 44, 0.9));
}
.sequence-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.sequence-card-head h3 {
  margin: 0;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.03em;
}
.sequence-card-sub {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 12px;
  font-weight: 600;
}
.sequence-card-p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Section 7 & 8: Engineering and Trust */
.triplet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* three cards: three across, then one column (never 2 + 1) */
  gap: 20px;
  margin-top: 48px;
}
.triplet-card {
  padding: 28px;
  border-radius: 22px;
  background: var(--corp-card-bg);
  border: 1px solid var(--corp-card-border);
}
.triplet-card h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin: 0 0 10px 0;
  color: #fff;
}
.triplet-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.section-footnote {
  margin-top: 32px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.55;
}

/* Section 9: Compounding Card */
.compounding-shell {
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 38, 66, 0.9), rgba(8, 20, 36, 0.95));
  border: 1.5px solid rgba(73, 211, 207, 0.25);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}
.compounding-shell p {
  color: #c4d5e7;
  font-size: 16px;
  line-height: 1.7;
  margin: 18px 0 0 0;
  max-width: 820px;
}

/* Section 10: Founders */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* three founders: three across, then one column (never 2 + 1) */
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 860px) {
  .founders-grid { grid-template-columns: 1fr; }
}
.founder-card {
  padding: 30px;
  border-radius: 22px;
  background: var(--corp-card-bg);
  border: 1px solid var(--corp-card-border);
  display: flex;
  flex-direction: column;
}
.founder-name {
  font-size: 22px;
  letter-spacing: -0.035em;
  margin: 0;
  color: #fff;
  font-weight: 800;
}
.founder-role {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--corp-cyan);
  margin: 6px 0 16px 0;
}
.founder-duties {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Section 11: Investor Bridge */
.investor-bridge-card {
  padding: 44px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(18, 45, 78, 0.85), rgba(7, 17, 31, 0.95));
  border: 1.5px solid rgba(105, 169, 255, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.investor-bridge-info {
  max-width: 680px;
}
.investor-bridge-info h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  margin: 12px 0 12px 0;
  color: #fff;
}
.investor-bridge-info p {
  margin: 0;
  color: #aebfd0;
  font-size: 15px;
  line-height: 1.65;
}
.investor-bridge-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Section 12: Final CTA */
.final-cta-section {
  text-align: center;
  padding: 100px 0 80px 0;
}
.final-cta-section h2 {
  font-size: clamp(38px, 5.5vw, 64px);
  letter-spacing: -0.05em;
  margin: 0 0 28px 0;
  color: #fff;
}
.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Multi-Column Corporate Footer */
.corporate-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding: 72px 0 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand-col h4 {
  font-size: 18px;
  margin: 0 0 12px 0;
  color: #fff;
}
.footer-brand-col p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.footer-nav-col h5 {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--corp-cyan);
  margin: 0 0 16px 0;
}
.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-nav-col a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.18s ease;
}
.footer-nav-col a:hover,
.footer-nav-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .product-mosaic-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .mosaic-tile-primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .mosaic-tile-secondary:nth-child(2),
  .mosaic-tile-secondary:nth-child(3),
  .mosaic-tile-secondary:nth-child(4),
  .mosaic-tile-secondary:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
  .mosaic-tile-future {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .mosaic-tile-primary .mosaic-img {
    height: 320px;
  }
  .mosaic-tile-secondary .mosaic-img,
  .mosaic-tile-future .mosaic-img {
    height: 220px;
  }
}

@media (max-width: 900px) {
  .corporate-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
  .investor-bridge-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .product-mosaic-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mosaic-tile-primary,
  .mosaic-tile-secondary,
  .mosaic-tile-future {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .mosaic-tile-primary .mosaic-img {
    height: 240px;
    max-height: 50vh;
    object-fit: cover;
  }
  .mosaic-tile-secondary .mosaic-img,
  .mosaic-tile-future .mosaic-img {
    height: 180px;
    max-height: 40vh;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  /* Footer a 2 columnas también en móvil (owner 2026-10-08): una sola columna desperdiciaba el ancho. */
  .corporate-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }
  .capabilities-grid,
  .progress-grid,
  .sequence-tier-cards,
  .triplet-grid,
  .founders-grid {
    grid-template-columns: 1fr;
  }
  .final-cta-buttons .button {
    width: 100%;
  }
}

/* ==========================================================================
   CUBE Corporate UI Quality Pass Enhancements (2026-10-04)
   ========================================================================== */

/* Hero Guilloché & Ambient Glow (H1) */
.hero-guilloche-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-guilloche-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  max-width: 160vw;
  height: auto;
  opacity: 0.06;
}

.hero-radial-glow {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 120, 255, 0.16) 0%, rgba(0, 184, 194, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.orbit-core-symbol {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 184, 194, 0.4));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.orbit-core:hover .orbit-core-symbol,
.orbit-core:focus-visible .orbit-core-symbol {
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .orbit-core-symbol {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
  }
}

.site-corporate-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.6);
  position: relative;
  z-index: 10;
}

/* Section Rail (ESTANDAR_DISENO §2, L2) */
.section-rail {
  position: -webkit-sticky;
  position: sticky;
  top: var(--nav-h, 72px);
  z-index: 900;
  background: rgba(11, 15, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-rail-inner {
  width: var(--cube-page-width, min(var(--max, 1240px), calc(100% - 40px)));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.section-rail-inner::-webkit-scrollbar {
  display: none;
}

.section-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 4px;
  flex-shrink: 0;
}

.section-chips li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #9fb0c3;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.section-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.section-chip:focus-visible {
  outline: 2px solid var(--corp-cyan);
  outline-offset: 2px;
}

.section-chip.is-active {
  color: #fff;
  background: rgba(0, 184, 194, 0.14);
  border-color: rgba(0, 184, 194, 0.35);
  font-weight: 700;
}

/* Sticky Header Elevation (ESTANDAR_DISENO §1.4, L3) */
.site-header.has-scrolled,
.site-nav.has-scrolled,
.deck-nav.has-scrolled {
  background: rgba(11, 15, 20, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
}

/* Multi-Column Corporate Footer Container & Legal Notice (F1 & F2) */
.corporate-footer-inner {
  width: var(--cube-page-width, min(var(--max, 1240px), calc(100% - 40px)));
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.corporate-footer-inner .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 40px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8da0b5;
  max-width: 100%;
}

.corporate-footer-inner .site-footer a {
  color: #bcd5f0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease;
}

.corporate-footer-inner .site-footer a:hover,
.corporate-footer-inner .site-footer a:focus-visible {
  color: var(--corp-cyan);
}

/* Subtle Scroll Reveal Motion (H1) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Corporate Visual Polish & Accessible Light Section Overrides (2026-10-04)
   ========================================================================== */

/* Light Section Cards (Portfolio, Trust, Founders) */
.section-light .sequence-card {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 58, 0.12);
  box-shadow: 0 8px 24px rgba(16, 34, 58, 0.05);
}
.section-light .sequence-card:hover {
  border-color: rgba(0, 184, 194, 0.45);
  box-shadow: 0 16px 38px rgba(0, 184, 194, 0.12), 0 4px 12px rgba(16, 34, 58, 0.06);
  transform: translateY(-4px);
}
.section-light .sequence-card-head h3 {
  color: #0c1a2c;
}
.section-light .sequence-card-sub {
  color: #556c86;
}
.section-light .sequence-card-p {
  color: #3e536c;
}
.section-light .sequence-card-dominant {
  background: linear-gradient(145deg, #ffffff, #f2f7fc);
  border: 1.5px solid rgba(0, 120, 255, 0.35);
  box-shadow: 0 12px 34px rgba(0, 120, 255, 0.08);
}

.section-light .triplet-card {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 58, 0.12);
  box-shadow: 0 8px 24px rgba(16, 34, 58, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.section-light .triplet-card:hover {
  border-color: rgba(0, 184, 194, 0.45);
  box-shadow: 0 16px 38px rgba(0, 184, 194, 0.12);
  transform: translateY(-4px);
}
.section-light .triplet-card h3 {
  color: #0c1a2c;
}
.section-light .triplet-card p {
  color: #3e536c;
}

.section-light .founder-card {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 58, 0.12);
  box-shadow: 0 8px 24px rgba(16, 34, 58, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.section-light .founder-card:hover {
  border-color: rgba(0, 184, 194, 0.45);
  box-shadow: 0 16px 38px rgba(0, 184, 194, 0.12);
  transform: translateY(-4px);
}
.section-light .founder-name {
  color: #0c1a2c;
}
.section-light .founder-role {
  color: #087f85;
}
.section-light .founder-duties {
  color: #3e536c;
}

.section-light .section-footnote {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 58, 0.14);
  color: #33475b;
  box-shadow: 0 6px 20px rgba(16, 34, 58, 0.05);
}

.section-light .button-secondary {
  background: #ffffff !important;
  color: #0c1a2c !important;
  border: 1px solid rgba(16, 34, 58, 0.2) !important;
  box-shadow: 0 4px 14px rgba(16, 34, 58, 0.07) !important;
}
.section-light .button-secondary:hover {
  background: #ffffff !important;
  color: #0078FF !important;
  border-color: var(--corp-cyan) !important;
  box-shadow: 0 10px 28px rgba(0, 184, 194, 0.2) !important;
  transform: translateY(-2px);
}

/* 2026-10-10 contrast pass. These components were designed for the dark theme and were left on the light band:
   dark-glass cards (slate on pale) with grey text, and pastel badges. They follow the same light-card pattern as the
   cards above. Every pair below is >= 4.5:1 (normal text) against its own background. */
.section-light .capability-card,
.section-light .progress-card {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 58, 0.12);
  box-shadow: 0 8px 24px rgba(16, 34, 58, 0.05);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.section-light .capability-card:hover,
.section-light .progress-card:hover {
  border-color: rgba(0, 184, 194, 0.45);
  box-shadow: 0 16px 38px rgba(0, 184, 194, 0.12), 0 4px 12px rgba(16, 34, 58, 0.06);
}
.section-light .capability-num { color: #0b6469; }
.section-light .capability-card h3,
.section-light .progress-card-title { color: #0c1a2c; }
.section-light .capability-card p,
.section-light .progress-card p { color: #3e536c; }
.section-light .sequence-tier-label { color: #0b6469; }
.section-light .progress-badge-pilot {
  background: #e5f8f2;
  color: #146e5b;
  border-color: rgba(20, 110, 91, 0.4);
}
.section-light .progress-badge-active {
  background: #eaf2ff;
  color: #1c4f9c;
  border-color: rgba(28, 79, 156, 0.38);
}
.section-light .progress-badge-estate {
  background: #e0f6f8;
  color: #0a6a70;
  border-color: rgba(10, 106, 112, 0.38);
}
.section-light .progress-badge-stage {
  background: #ede9ff;
  color: #5a43a8;
  border-color: rgba(90, 67, 168, 0.38);
}

/* Centered Team CTA in corporate layout */
.team-cta-wrap {
  width: 100%;
  margin-top: 48px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
}

/* Premium Hover Micro-interactions in Dark Sections */
.sequence-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 194, 0.5);
  box-shadow: 0 16px 40px rgba(0, 184, 194, 0.12);
}
.triplet-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 194, 0.5);
  box-shadow: 0 16px 40px rgba(0, 184, 194, 0.12);
}
.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 194, 0.5);
  box-shadow: 0 16px 40px rgba(0, 184, 194, 0.12);
}
.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 194, 0.45);
  box-shadow: 0 16px 36px rgba(0, 184, 194, 0.1);
}
.compounding-shell:hover {
  border-color: rgba(0, 184, 194, 0.45);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 184, 194, 0.1);
}

/* Contact form (paquete 2, 2026-10-08; 2026-10-10: visible fields and two-column layout).
   The section is a light band: the fields were translucent white with a 16 %-alpha border (1.08:1 against the band),
   i.e. invisible. Now: white field, 1.5 px border at 4.6:1 against the band (WCAG 1.4.11 asks 3:1), text 17:1,
   placeholder 5.2:1, labels 7:1, a 3 px focus ring at 5.9:1. */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact-intro .section-lede { max-width: 460px; }
.contact-intro h2 { margin: 0; }
.contact-form { max-width: none; margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-field { display: flex; flex-direction: column; gap: 7px; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-label { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #3e536c; }
.contact-optional { font-weight: 600; text-transform: none; letter-spacing: 0; color: #51657b; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #5b6f86;
  background-color: #ffffff;
  color: #0c1a2c;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(16, 34, 58, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #5b6f86; opacity: 1; }
.contact-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233e536c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.contact-field select:invalid { color: #5b6f86; }
.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover { border-color: #3e536c; }
.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
  outline: 3px solid #005bb5;
  outline-offset: 2px;
  border-color: #005bb5;
}
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; font-size: 14px; line-height: 1.5; color: #33475b; cursor: pointer; }
.contact-consent input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1.5px solid #5b6f86;
  border-radius: 6px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.contact-consent input:checked {
  background-color: #0b6469;
  border-color: #0b6469;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.contact-consent input:focus-visible { outline: 3px solid #005bb5; outline-offset: 2px; }
.contact-consent a { color: #0b5cab; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.contact-consent a:hover { color: #08407a; }
.contact-result { margin: 14px 0 0; font-size: 14px; font-weight: 700; min-height: 1.2em; }
.contact-result.is-ok { color: #0b6e4f; }
.contact-result.is-error { color: #b42318; }
/* Windows high-contrast mode drops background images: the custom check mark and select arrow would disappear, so the system controls come back. */
@media (forced-colors: active) {
  .contact-consent input,
  .contact-field select { -webkit-appearance: auto; appearance: auto; }
}
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }


