/* ==========================================================================
   CINEMATIC PORTFOLIO — Sri Thrimurthy Traders
   Premium industrial 3D experience
   ========================================================================== */

.page-portfolio.page-cinematic {
  --cin-font: "Inter", system-ui, sans-serif;
  --cin-display: "Syne", system-ui, sans-serif;
  --cin-black: #050505;
  --cin-charcoal: #0c0c0c;
  --cin-graphite: #141414;
  --cin-steel: #2a2a2a;
  --cin-muted: #888;
  --cin-text: #c8c8c8;
  --cin-white: #f5f5f5;
  --cin-accent: #b8b8b8;
  --cin-metallic: linear-gradient(135deg, #e8e8e8 0%, #9a9a9a 50%, #d4d4d4 100%);
  --cin-green: #08713d;
  --cin-wrap: min(1200px, calc(100% - 48px));
  --cin-ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--cin-font);
  background: var(--cin-black);
  color: var(--cin-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.page-cinematic .mm-topbar,
.page-cinematic .mm-header,
.page-cinematic .mm-nav-wrap,
.page-cinematic .mm-footer {
  display: none !important;
}

.page-cinematic .website-wrapper {
  overflow-x: clip;
}

.page-cinematic .float-contact-stack {
  bottom: 24px;
  right: 24px;
  z-index: 9000;
}

.page-cinematic .float-contact-stack__call,
.page-cinematic .float-contact-stack__wa {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cin-wrap {
  width: var(--cin-wrap);
  margin-inline: auto;
}

.cin-center {
  text-align: center;
  margin-top: 40px;
}

/* ---- NAV ---- */
.cin-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, border-color 0.4s;
}

.cin-nav.is-over-hero {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.cin-nav.is-scrolled,
.cin-nav:not(.is-over-hero) {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cin-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cin-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cin-white);
  font-family: var(--cin-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.cin-nav__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.cin-nav__links {
  display: flex;
  gap: 8px;
}

.cin-nav__links a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.cin-nav__links a:hover {
  color: var(--cin-white);
  background: rgba(255, 255, 255, 0.06);
}

.cin-nav__links a.is-active {
  color: var(--cin-white);
  background: rgba(255, 255, 255, 0.08);
}

.cin-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cin-nav__shop {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.cin-nav__shop:hover { color: var(--cin-white); }

.cin-nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cin-nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--cin-white);
}

/* ---- BUTTONS ---- */
.cin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--cin-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--cin-ease);
}

.cin-btn--primary {
  background: var(--cin-white);
  color: var(--cin-black);
  border-color: var(--cin-white);
}

.cin-btn--primary:hover {
  background: transparent;
  color: var(--cin-white);
  transform: translateY(-2px);
}

.cin-btn--outline {
  background: transparent;
  color: var(--cin-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.cin-btn--outline:hover {
  border-color: var(--cin-white);
  background: rgba(255, 255, 255, 0.05);
}

.cin-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cin-white);
  border-color: rgba(255, 255, 255, 0.15);
}

.cin-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cin-btn--wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.cin-btn--sm { padding: 10px 18px; font-size: 11px; }
.cin-btn--lg { padding: 16px 32px; font-size: 12px; }

/* ---- TYPOGRAPHY ---- */
.cin-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cin-muted);
  margin-bottom: 16px;
}

.cin-label--light { color: rgba(255, 255, 255, 0.5); }

.cin-heading {
  font-family: var(--cin-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--cin-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.cin-heading--light { color: var(--cin-white); }

.cin-heading--xl {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.cin-sub,
.cin-lead {
  font-size: 1.05rem;
  color: var(--cin-muted);
  line-height: 1.7;
  max-width: 560px;
}

.cin-lead { color: var(--cin-text); margin-bottom: 16px; }

.cin-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cin-white);
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.cin-link:hover { opacity: 1; }

.cin-section-head {
  text-align: center;
  margin-bottom: 56px;
}

.cin-section-head .cin-sub {
  margin-inline: auto;
}

.cin-section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  flex-wrap: wrap;
  gap: 20px;
}

.cin-section-head--left {
  text-align: left;
}

/* ---- FRAME COMPONENT ---- */
.cin-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
}

.cin-frame--dark {
  background: var(--cin-graphite);
}

.cin-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cin-frame__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 45%);
  pointer-events: none;
}

/* ---- 01 HERO SEQUENCE ---- */
.cin-hero {
  position: relative;
  height: 380vh;
}

.cin-hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--cin-black);
}

#cin-sequence-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.cin-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.cin-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}

.cin-hero__content .cin-btn {
  pointer-events: auto;
}

.cin-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 20px;
}

.cin-hero__title {
  font-family: var(--cin-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--cin-white);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6), 0 0 80px rgba(0, 0, 0, 0.35);
}

.cin-hero__title-line {
  display: block;
}

.cin-hero__brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 36px;
}

.cin-hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.cin-hero__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cin-white);
  transition: width 0.05s linear;
}

.cin-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: opacity 0.5s, transform 0.5s;
}

.cin-hero__scroll.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

.cin-hero__scroll i {
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
  animation: cin-scroll-pulse 2s ease infinite;
}

@keyframes cin-scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.cin-hero__loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--cin-black);
  transition: opacity 0.6s, visibility 0.6s;
}

.cin-hero__loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cin-hero__loader-track {
  width: 140px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cin-hero__loader-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cin-white);
  transition: width 0.2s ease;
}

.cin-hero__loader small {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.cin-hero__spacer {
  height: 0;
}

/* ---- 02 INTRO ---- */
.cin-section {
  padding: 100px 0;
  position: relative;
}

.cin-intro {
  background: var(--cin-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cin-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cin-intro__copy p {
  color: var(--cin-muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.cin-stats-inline {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cin-stats-inline strong {
  display: block;
  font-family: var(--cin-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cin-white);
  line-height: 1;
}

.cin-stats-inline span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cin-muted);
}

.cin-intro__visual .cin-frame img {
  aspect-ratio: 16/10;
}

/* ---- BRANDS ---- */
.cin-brands {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cin-brands__label {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cin-muted);
  margin: 0 0 24px;
}

.cin-brands__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}

.cin-brands__item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.3s;
}

.cin-brands__item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.cin-brands__item span {
  font-size: 13px;
  color: var(--cin-muted);
}

#cin-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.cin-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cin-hero__content {
  z-index: 4;
  transition: opacity 0.2s, transform 0.2s;
}

.cin-hero__title-line--metal {
  background: linear-gradient(135deg, #fff 0%, #aaa 45%, #fff 70%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cin-hero__loader-logo {
  opacity: 0.9;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.15));
  margin-bottom: 8px;
}

.cin-split {
  display: inline-block;
  overflow: hidden;
}

/* ---- CUSTOM CURSOR ---- */
.has-cin-cursor,
.has-cin-cursor * {
  cursor: none !important;
}

.cin-cursor {
  position: fixed;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: width 0.3s, height 0.3s, margin 0.3s, border-color 0.3s, background 0.3s;
  mix-blend-mode: difference;
}

.cin-cursor.is-hover {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.6);
}

.cin-cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
}

@media (max-width: 768px) {
  .cin-cursor, .cin-cursor-dot { display: none; }
  .has-cin-cursor, .has-cin-cursor * { cursor: auto !important; }
}

.cin-heading--left { text-align: left; }

/* ---- 03 3D CATEGORY CAROUSEL ---- */
.cin-cat-3d {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--cin-black);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cin-cat-3d__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(255,255,255,0.03) 0%, transparent 70%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cin-cat-3d__head {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cin-cat-3d__head .cin-sub {
  margin-inline: auto;
}

.cin-cat-stage-wrap {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.cin-cat-stage {
  position: relative;
  height: min(520px, 70vh);
  perspective: 1400px;
  perspective-origin: 50% 40%;
  cursor: grab;
  user-select: none;
}

.cin-cat-ring {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 0.05s linear;
  opacity: 1;
}

.cin-cat-3d-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 260px;
  height: 340px;
  margin-left: -130px;
  margin-top: -170px;
  transform-style: preserve-3d;
  text-decoration: none;
  color: inherit;
  filter: brightness(0.65);
  transition: filter 0.5s var(--cin-ease);
}

.cin-cat-3d-card.is-front {
  filter: brightness(1);
  z-index: 2;
}

.cin-cat-3d-card.is-front .cin-cat-3d-card__face {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 255, 255, 0.04);
}

.cin-cat-3d-card__inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--cin-ease);
}

.cin-cat-3d-card:hover .cin-cat-3d-card__inner {
  transform: rotateY(180deg);
}

.cin-cat-3d-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.cin-cat-3d-card__face--front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cin-cat-3d-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
}

.cin-cat-3d-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
}

.cin-cat-3d-card__info span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.cin-cat-3d-card__info h3 {
  font-family: var(--cin-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 0;
  line-height: 1.25;
}

.cin-cat-3d-card__face--back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}

.cin-cat-3d-card__face--back p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--cin-muted);
  margin: 0 0 20px;
}

.cin-cat-3d-card__face--back em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cin-white);
}

.cin-cat-stage__floor {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: perspective(400px) rotateX(75deg);
  transform-origin: center bottom;
}

.cin-cat-active {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px;
  min-height: 2rem;
}

.cin-cat-active__num {
  font-family: var(--cin-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
}

.cin-cat-active__name {
  font-family: var(--cin-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cin-white);
  letter-spacing: -0.02em;
}

.cin-cat-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.cin-cat-controls__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cin-white);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s;
}

.cin-cat-controls__btn:hover {
  background: var(--cin-white);
  color: var(--cin-black);
  border-color: var(--cin-white);
}

.cin-cat-controls__dots {
  display: flex;
  gap: 10px;
}

.cin-cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.cin-cat-dot.is-active {
  background: var(--cin-white);
  transform: scale(1.3);
}

.cin-cat-3d__all {
  display: block;
  text-align: center;
  margin-top: 28px;
}

/* ---- 04 3D PRODUCT TRACK ---- */
.cin-products {
  background: var(--cin-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.cin-prod-3d-wrap {
  margin: 0 -24px;
  padding: 0 0 48px;
  position: relative;
}

.cin-prod-3d-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
  margin-bottom: 8px;
}

.cin-prod-3d-nav__hint {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cin-muted);
}

.cin-prod-3d-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cin-white);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.cin-prod-3d-nav__btn:hover {
  background: var(--cin-white);
  color: var(--cin-black);
  border-color: var(--cin-white);
}

.cin-prod-3d-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 40px max(24px, calc((100vw - 1200px) / 2 + 24px));
  -ms-overflow-style: none;
  scrollbar-width: none;
  perspective: 1200px;
}

.cin-prod-3d-track::-webkit-scrollbar { display: none; }

.cin-prod-3d-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: center;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
  opacity: 1;
}

.cin-prod-3d-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.cin-prod-3d-card__frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--cin-graphite);
  aspect-ratio: 4/5;
  margin-bottom: 20px;
}

.cin-prod-3d-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--cin-ease);
}

.cin-prod-3d-card:hover .cin-prod-3d-card__frame img {
  transform: scale(1.05);
}

.cin-prod-3d-card.is-center .cin-prod-3d-card__frame {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.cin-prod-3d-card__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cin-prod-3d-card__body span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cin-muted);
}

.cin-prod-3d-card__body h3 {
  font-family: var(--cin-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cin-white);
  margin: 6px 0 4px;
  line-height: 1.3;
}

.cin-prod-3d-card__body em {
  font-style: normal;
  font-size: 13px;
  color: var(--cin-accent);
}

.cin-product-object__index {
  font-family: var(--cin-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
}

/* ---- 05 ENGINEERING ---- */
.cin-engineering {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cin-engineering__bg {
  position: absolute;
  inset: 0;
}

.cin-engineering__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cin-engineering__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cin-black) 0%, rgba(5,5,5,0.85) 50%, var(--cin-black) 100%);
}

.cin-engineering__content {
  position: relative;
  z-index: 1;
}

.cin-engineering-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cin-engineering-card {
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
}

.cin-engineering-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.cin-engineering-card h3 {
  font-family: var(--cin-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cin-white);
  margin: 0 0 10px;
}

.cin-engineering-card p {
  font-size: 13px;
  color: var(--cin-muted);
  margin: 0;
  line-height: 1.6;
}

/* ---- 06 SHOWCASE SCROLL ---- */
.cin-showcase {
  position: relative;
}

.cin-showcase::before,
.cin-showcase::after {
  content: '';
  position: absolute;
  top: 120px;
  bottom: 80px;
  width: min(120px, 8vw);
  z-index: 2;
  pointer-events: none;
}

.cin-showcase::before {
  left: 0;
  background: linear-gradient(90deg, var(--cin-black), transparent);
}

.cin-showcase::after {
  right: 0;
  background: linear-gradient(-90deg, var(--cin-black), transparent);
}

.cin-showcase-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px)) 24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.cin-showcase-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.cin-showcase-scroll::-webkit-scrollbar {
  display: none;
}

.cin-showcase-slide {
  flex: 0 0 min(420px, 85vw);
  scroll-snap-align: start;
  margin: 0;
}

.cin-showcase-slide .cin-frame img {
  aspect-ratio: 16/10;
}

.cin-showcase-slide figcaption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cin-muted);
}

/* ---- 07 TRUST ---- */
.cin-trust {
  background: var(--cin-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cin-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.cin-trust-item {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.cin-trust-item strong {
  display: block;
  font-family: var(--cin-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.cin-trust-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cin-white);
  margin: 0 0 8px;
}

.cin-trust-item p {
  font-size: 13px;
  color: var(--cin-muted);
  margin: 0;
  line-height: 1.6;
}

.cin-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cin-testimonials blockquote {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.cin-testimonials__featured {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.cin-testimonials p {
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  color: var(--cin-text);
  margin: 0 0 16px;
}

.cin-testimonials footer {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cin-muted);
}

/* ---- 08 CTA ---- */
.cin-cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.cin-cta__bg {
  position: absolute;
  inset: 0;
}

.cin-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.cin-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cin-black), rgba(5,5,5,0.9), var(--cin-black));
}

.cin-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cin-cta__content p {
  color: var(--cin-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.cin-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.cin-cta__meta {
  font-size: 13px;
  color: var(--cin-muted);
  margin: 0;
}

/* ---- FOOTER ---- */
.cin-footer {
  background: var(--cin-black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 24px;
}

.cin-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cin-footer__brand {
  display: flex;
  gap: 14px;
}

.cin-footer__brand strong {
  display: block;
  color: var(--cin-white);
  font-size: 14px;
  margin-bottom: 4px;
}

.cin-footer__brand span {
  font-size: 12px;
  color: var(--cin-muted);
}

.cin-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cin-footer__links a {
  font-size: 13px;
  color: var(--cin-muted);
  text-decoration: none;
}

.cin-footer__links a:hover { color: var(--cin-white); }

.cin-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cin-footer__contact a {
  font-size: 13px;
  font-weight: 600;
  color: var(--cin-white);
  text-decoration: none;
}

.cin-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--cin-muted);
}

/* ---- REVEAL ---- */
.cin-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--cin-ease), transform 0.9s var(--cin-ease);
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.page-cinematic.js-ready .cin-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
}

.cin-reveal--delay { transition-delay: 0.12s; }

.cin-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .cin-hero { height: 380vh; }

  .cin-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cin-cat-3d-card {
    width: 220px;
    height: 300px;
    margin-left: -110px;
    margin-top: -150px;
  }

  .cin-engineering-grid { grid-template-columns: repeat(2, 1fr); }
  .cin-trust-grid,
  .cin-testimonials { grid-template-columns: 1fr; }
  .cin-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cin-nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    padding: 24px;
    background: rgba(5, 5, 5, 0.98);
    transform: translateX(100%);
    transition: transform 0.4s var(--cin-ease);
  }

  .cin-nav__links.is-open { transform: translateX(0); }
  .cin-nav__toggle { display: flex; }

  .cin-hero { height: 320vh; }

  .cin-cat-stage { height: min(440px, 65vh); }

  .cin-engineering-grid { grid-template-columns: 1fr; }

  .cin-section { padding: 72px 0; }
  .cin-stats-inline { flex-wrap: wrap; gap: 24px; }
  .cin-cta__actions { flex-direction: column; align-items: center; }
  .cin-prod-3d-nav__hint { display: none; }

  .cin-cat-active__name { font-size: 1.05rem; }
}

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

  .cin-hero { height: auto; }

  .cin-hero__pin {
    position: relative;
    height: 70vh;
  }

  .cin-hero__scroll { display: none; }

  [data-tilt] { transform: none !important; }
}
