/* =========================================================
   TecOrb polish: one spacing rhythm for every Tecorb page,
   no layout jumps, and smooth-scroll support.
   Loaded last on the home page and the five company pages.
   ========================================================= */

/* 1. One vertical rhythm for all sections (≈86px desktop, 56px phones) */
:root { --tc-gap: clamp(56px, 6vw, 88px); }

/* Company pages (Our Story, Awards, Global Delivery, How We Work, Robotics) */
.co-sec { padding-top: var(--tc-gap); padding-bottom: var(--tc-gap); }
.co-final, .hw-flex { padding-top: var(--tc-gap); }
.hw-flex { padding-bottom: var(--tc-gap); }

/* Home page */
.ex { --ex-pad: var(--tc-gap); }
.ex .ex-together, .ex .ex-faq { padding-top: var(--tc-gap); }
.crew-section, .impact, .industries, .paper, .guarantees { padding-top: var(--tc-gap); padding-bottom: var(--tc-gap); }
.ventures { padding-bottom: var(--tc-gap); }

/* Robotics perception section (home page and Robotics page) */
.rbx { padding-top: calc(var(--tc-gap) * 1.25); padding-bottom: var(--tc-gap); }

/* 2. No layout jump in the home hero: reserve room for the "Human checkpoints"
      cards before the script fills them in (this was the page's only big shift) */
.js .checkpoints__list { min-height: 164px; }
@media (max-width: 1240px) and (min-width: 961px) { .js .checkpoints__list { min-height: 181px; } }
@media (max-width: 960px) and (min-width: 601px) { .js .checkpoints__list { min-height: 146px; } }
@media (max-width: 600px) { .js .checkpoints__list { min-height: 300px; } }

/* 3. Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* 4. "Let's get there together": logo sits fully inside its white circle */
.ex-together__brand .tb-mark { padding: 15%; }
.ex-together__photo picture { display: block; width: 100%; height: 100%; }

/* 5. Twinkling particles over the "Let's get there together" image */
.ex-together__photo { position: relative; }
.ex-together__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.ex-together__photo:hover .ex-together__fx { transform: scale(1.05); }
