/* ==========================================================================
   TakeRemo — Industries. Dark / light story:
   dark hero (3D ring you can spin) > eight blinds lift in industry colours >
   light scroll-story with a live call card > dark "your industry" rails.
   Shared header / footer come from service.js.
   ========================================================================== */

body.ix {
  --night: #050B1A;
  --paper: #F6F8FD;
  --ink: #031740;
  --txt: #3B4A6B;
  --line: rgba(3, 23, 64, 0.1);
  background: var(--paper);
  color: var(--txt);
  font-family: 'Outfit', system-ui, sans-serif;
  overflow-x: clip;
}
.ix section { position: relative; }

.ix-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font: 600 12px/1 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase;
  color: #E7ECF8; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
}
.ix-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #FC2415; animation: ixPulse 2s ease-in-out infinite; }
.ix-eyebrow-lt { color: var(--ink); background: #fff; border-color: rgba(3, 23, 64, 0.14); box-shadow: 0 8px 18px -12px rgba(3, 23, 64, 0.4); }

/* icons */
.ix-ic { display: inline-grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; color: rgb(var(--c)); background: rgba(var(--c), 0.16); border: 1px solid rgba(var(--c), 0.4); }
.ix-ic svg { width: 26px; height: 26px; }
.ix-ic-lg { width: 64px; height: 64px; border-radius: 20px; color: #fff; background: rgb(var(--c)); border: 0; box-shadow: 0 18px 34px -14px rgba(var(--c), 0.9); }
.ix-ic-lg svg { width: 32px; height: 32px; }

/* ==================================================================== HERO */
.ix-hero { padding: 28px 0 0; background: var(--night); color: #fff; overflow: hidden; text-align: center; }
.ix-hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(760px 520px at 50% 62%, rgba(96, 140, 255, 0.22), transparent 70%), radial-gradient(520px 380px at 80% 10%, rgba(252, 36, 21, 0.16), transparent 70%); }

/* a moving perspective floor */
.ix-floor {
  position: absolute; left: -20%; right: -20%; bottom: -8%; height: 56%; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(rgba(120, 160, 255, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, 0.35) 1px, transparent 1px);
  background-size: 70px 70px; transform: perspective(420px) rotateX(64deg); transform-origin: bottom;
  animation: ixFloor 3.2s linear infinite;
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 85%); mask-image: linear-gradient(to top, #000 15%, transparent 85%);
}

.ix-hero-in { position: relative; z-index: 2; }
.ix-h1 { margin: 8px auto 14px; max-width: 980px; font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.03; font-weight: 700; letter-spacing: -0.03em; }
.ix-w { display: inline-block; opacity: 0; transform: translateY(40px); filter: blur(12px); animation: ixWord 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: calc(var(--i) * 0.13s + 0.2s); }
.ix-h1 em { font-style: normal; background: linear-gradient(90deg, #FC2415, #FF8A5C, #608CFF, #FC2415); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ixWord 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, ixShine 6s linear infinite; animation-delay: calc(var(--i) * 0.13s + 0.2s), 0s; }
.ix-lead { margin: 0 auto; max-width: 520px; font-size: 1.15rem; line-height: 1.6; color: #B7C2DC; opacity: 0; animation: ixFade 1s ease 0.9s forwards; }

/* the 3D ring */
.ix-ring { --tw: 230px; --th: 270px; position: relative; z-index: 2; height: 490px; margin-top: -52px; perspective: 1500px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ix-ring.drag { cursor: grabbing; }
.ix-ring-in { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.ix-tile {
  position: absolute; left: calc(var(--tw) / -2); top: calc(var(--th) / -2); width: var(--tw); height: var(--th);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; text-align: left; text-decoration: none; color: #fff;
  border-radius: 24px; border: 1px solid rgba(var(--c), 0.55);
  background: linear-gradient(165deg, rgba(var(--c), 0.34), rgba(10, 16, 34, 0.92) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 30px 60px -30px rgba(var(--c), 0.9);
  -webkit-user-drag: none; will-change: transform, opacity; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.ix-tile::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 14px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgb(var(--c)), transparent); opacity: 0.7; }
.ix-tile .ix-ic { position: absolute; top: 20px; left: 20px; width: 56px; height: 56px; border-radius: 17px; }
.ix-tile b { font-size: 1.3rem; line-height: 1.15; letter-spacing: -0.01em; }
.ix-tile small { margin-bottom: 14px; color: #A9B6D3; font-size: 0.9rem; }
.ix-tile.front { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 2px rgba(var(--c), 0.5), 0 40px 80px -24px rgba(var(--c), 1); }
.ix-hint { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; display: flex; justify-content: center; align-items: center; gap: 10px; font: 500 12px 'JetBrains Mono', monospace; letter-spacing: 0.12em; text-transform: uppercase; color: #8FA0C6; }
.ix-hint i { width: 26px; height: 2px; background: linear-gradient(90deg, transparent, #8FA0C6); animation: ixHint 1.8s ease-in-out infinite; }

/* ============================================================ THE TURN */
.ix-turn { height: 250vh; background: var(--night); }
.ix-turn-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--night); }
.ix-turn-light { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: radial-gradient(900px 600px at 50% 50%, #FFFFFF, var(--paper) 70%); }
.ix-turn-copy { padding: 0 24px; max-width: 860px; }
.ix-turn-h { margin: 22px 0 18px; color: var(--ink); font-size: clamp(2.8rem, 7.6vw, 6.6rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.ix-turn-h em { font-style: normal; background: linear-gradient(90deg, #FC2415, #FF8A5C, #608CFF, #FC2415); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ixShine 6s linear infinite; }
.ix-turn-copy p { margin: 0 auto 30px; max-width: 520px; font-size: 1.2rem; line-height: 1.6; }
.ix-chipic { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.ix-chipic .ix-ic { width: 52px; height: 52px; background: #fff; box-shadow: 0 10px 22px -12px rgba(var(--c), 0.8); }

.ix-blinds { position: absolute; inset: 0; display: flex; pointer-events: none; }
.ix-blind { display: block; flex: 1 0 0; height: 100%; margin-right: -1px; background: var(--night); border-bottom: 6px solid rgb(var(--c)); box-shadow: 0 14px 40px -4px rgba(var(--c), 0.7); will-change: transform; }
.ix-phrase { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; text-align: center; }
.ix-phrase span { font-size: clamp(3rem, 9.5vw, 8.6rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.34); }
.ix-phrase span:last-child { -webkit-text-stroke: 0; background: linear-gradient(90deg, #14B8A6, #608CFF, #FC2415, #F59E0B, #A855F7); -webkit-background-clip: text; background-clip: text; }

/* ============================================================== STORY */
.ix-story { padding: 20px 0 70px; background: var(--paper); }
.ix-story-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 56px; align-items: start; --c: 20, 184, 166; }

.ix-sticky { position: sticky; top: 108px; display: flex; gap: 18px; align-items: stretch; }
.ix-card {
  flex: 1; min-width: 0; padding: 22px 24px 24px; border-radius: 30px; color: #fff;
  background: linear-gradient(160deg, rgba(var(--c), 0.5), #0A1226 62%); border: 1px solid rgba(var(--c), 0.5);
  box-shadow: 0 50px 90px -40px rgba(var(--c), 0.9); transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
  min-height: 430px;
}
.ix-card-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ix-card-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); }
.ix-card-ic svg { width: 22px; height: 22px; }
.ix-card-title { font: 700 12px 'JetBrains Mono', monospace; letter-spacing: 0.1em; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.ix-card-lat { margin-left: auto; font: 500 12px 'JetBrains Mono', monospace; color: #A8F3D5; padding: 6px 10px; border-radius: 999px; background: rgba(16, 185, 129, 0.18); }
.ix-wave { display: flex; align-items: center; gap: 4px; height: 56px; margin-bottom: 18px; }
.ix-wave i { flex: 1; min-width: 2px; max-width: 6px; height: 100%; border-radius: 4px; background: rgba(255, 255, 255, 0.85); transform: scaleY(0.15); animation: ixWave 1.1s ease-in-out infinite; animation-delay: calc(var(--k) * -0.09s); }
.ix-say { margin: 0 0 20px; min-height: 140px; font-size: 1.16rem; line-height: 1.6; color: #EAF0FF; }
.ix-who { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 6px; font: 700 11px 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; background: rgb(var(--c)); color: #fff; vertical-align: 2px; }
.ix-word { display: inline-block; opacity: 0; transform: translateY(8px); animation: ixWordIn 0.45s ease forwards; animation-delay: calc(var(--w) * 0.035s); white-space: pre; }
.ix-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); opacity: 0; transform: translateY(8px); animation: ixWordIn 0.5s ease forwards; animation-delay: calc(0.5s + var(--n) * 0.12s); }
.ix-chips svg { width: 12px; height: 12px; color: rgb(var(--c)); filter: brightness(1.6); }

.ix-dots { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ix-dots button { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid rgba(3, 23, 64, 0.25); background: transparent; cursor: pointer; transition: transform 0.25s, background 0.25s, border-color 0.25s; }
.ix-dots button:hover { transform: scale(1.25); }
.ix-dots button.on { transform: scale(1.35); border-color: rgb(var(--c)); background: rgb(var(--c)); box-shadow: 0 0 0 5px rgba(var(--c), 0.18); }

.ix-item { position: relative; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 24px 0; opacity: 0.3; transition: opacity 0.5s, transform 0.5s; scroll-margin-top: 20vh; }
.ix-item.on { opacity: 1; }
.ix-item h3 { margin: 22px 0 12px; color: var(--ink); font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; }
.ix-item p { margin: 0; max-width: 440px; font-size: 1.15rem; line-height: 1.65; }
.ix-bignum { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 800 clamp(6rem, 13vw, 11rem)/1 'Outfit', sans-serif; color: rgba(var(--c), 0.1); pointer-events: none; transition: color 0.5s; }
.ix-item.on .ix-bignum { color: rgba(var(--c), 0.2); }
.ix-more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: rgb(var(--c)); text-decoration: none; }
.ix-more-link svg { transition: transform 0.25s; }
.ix-more-link:hover svg { transform: translateX(6px); }
.ix-mcard { display: none; }

/* ============================================================== MORE */
.ix-more { padding: 76px 0 80px; background: var(--night); color: #fff; overflow: hidden; text-align: center; }
.ix-more::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 420px at 50% 0%, rgba(168, 85, 247, 0.18), transparent 70%); }
.ix-more-head { position: relative; margin-bottom: 40px; }
.ix-more-head h2 { margin: 0 0 12px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.02em; }
.ix-more-head em { font-style: normal; background: linear-gradient(90deg, #FC2415, #FF8A5C, #608CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ix-more-head p { margin: 0 auto; max-width: 560px; font-size: 1.15rem; line-height: 1.6; color: #B7C2DC; }
.ix-rail { position: relative; overflow: hidden; margin-bottom: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ix-track { display: flex; gap: 16px; width: max-content; animation: ixRail 50s linear infinite; }
.ix-rail.rev .ix-track { animation-direction: reverse; animation-duration: 58s; }
.ix-track span { display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; border-radius: 999px; white-space: nowrap; font-size: clamp(1.1rem, 2.1vw, 1.6rem); font-weight: 600; color: #fff; background: rgba(var(--c), 0.1); border: 1px solid rgba(var(--c), 0.4); }
.ix-track span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 14px rgb(var(--c)); }
.ix-more-cta { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ============================================================ keyframes */
@keyframes ixWord { to { opacity: 1; transform: none; filter: none; } }
@keyframes ixFade { to { opacity: 1; } }
@keyframes ixShine { to { background-position: 250% center; } }
@keyframes ixPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(252, 36, 21, 0.55); } 50% { box-shadow: 0 0 0 6px rgba(252, 36, 21, 0); } }
@keyframes ixFloor { to { background-position: 0 70px; } }
@keyframes ixHint { 0%, 100% { transform: scaleX(0.4); opacity: 0.4; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes ixWave { 0%, 100% { transform: scaleY(0.15); } 50% { transform: scaleY(1); } }
@keyframes ixWordIn { to { opacity: 1; transform: none; } }
@keyframes ixRail { to { transform: translateX(-50%); } }

/* ============================================================ responsive */
@media (max-width: 1000px) {
  .ix-story-grid { grid-template-columns: 1fr; gap: 0; }
  .ix-sticky { display: none; }
  .ix-item { min-height: 0; opacity: 1; padding: 44px 0; border-bottom: 1px solid var(--line); }
  .ix-item:last-child { border-bottom: 0; }
  .ix-item .ix-bignum { top: 28px; transform: none; font-size: 5.4rem; }
  .ix-mcard { display: block; width: 100%; margin-top: 22px; padding: 20px; border-radius: 22px; color: #EAF0FF; background: linear-gradient(160deg, rgba(var(--c), 0.5), #0A1226 62%); border: 1px solid rgba(var(--c), 0.5); font-size: 1rem; line-height: 1.6; }
  .ix-mcard .ix-chips span { opacity: 1; transform: none; animation: none; }
  .ix-mcard .ix-chips { margin-top: 14px; }
}
@media (max-width: 760px) {
  .ix-ring { --tw: 160px; --th: 200px; height: 390px; }
  .ix-tile { padding: 16px; border-radius: 20px; }
  .ix-tile .ix-ic { width: 46px; height: 46px; top: 16px; left: 16px; }
  .ix-tile b { font-size: 1.08rem; }
  .ix-turn { height: 220vh; }
}

@media (prefers-reduced-motion: reduce) {
  .ix-w, .ix-lead { animation: none; opacity: 1; transform: none; filter: none; }
  .ix-floor, .ix-track, .ix-eyebrow i, .ix-h1 em, .ix-turn-h em, .ix-hint i, .ix-wave i { animation: none; }
  .ix-word, .ix-chips span { animation: none; opacity: 1; transform: none; }
}
