* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #e05a1e;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --border: rgba(255, 255, 255, 0.07);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ===== PRODUCT HERO ===== */
.product-hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.28) saturate(0.65);
  transform: scale(1.06);
  transition:
    transform 12s ease,
    filter 1.5s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      transparent 35%,
      transparent 55%,
      rgba(0, 0, 0, 0.95) 100%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      transparent 30%,
      rgba(0, 0, 0, 0.45) 100%
    );
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 85%,
    rgba(224, 90, 30, 0.07) 0%,
    transparent 60%
  );
  animation: ambientPulse 6s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
  from {
    opacity: 0.6;
  }

  to {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 80px 88px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-spring) 0.2s forwards;
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  height: 1px;
  background: var(--orange);
  width: 0;
  animation: lineExpand 0.7s var(--ease-spring) 0.7s forwards;
}

@keyframes lineExpand {
  to {
    width: 36px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 0.9;
  background: linear-gradient(160deg, #fff 45%, rgba(255, 255, 255, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(40px) skewY(1.5deg);
  animation: titleIn 1s var(--ease-spring) 0.3s forwards;
}

@keyframes titleIn {
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

.hero-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 440px;
  line-height: 1.75;
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-spring) 0.6s forwards;
}

.back-btn {
  position: absolute;
  top: 110px;
  left: 80px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px 18px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);

  transition:
    color 0.25s,
    border-color 0.25s,
    transform 0.35s var(--ease-spring),
    background 0.25s;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-spring) 0.1s forwards;
}

.back-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-4px);
  background: rgba(0, 0, 0, 0.5);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0.3;
  pointer-events: none;
  animation: fadeUp 0.6s var(--ease-spring) 1.2s both;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 2.5px;
}

.scroll-line {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7) translateY(-4px);
  }

  50% {
    opacity: 0.9;
    transform: scaleY(1) translateY(4px);
  }
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background: #060606;
  padding: 100px 80px 120px;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 80px;
  right: 80px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
}

.process-header {
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-spring),
    transform 0.7s var(--ease-spring);
}

.process-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 14px;
}

.process-title {
  font-family: "Syne", sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  line-height: 1.1;
}

.process-title span {
  color: var(--orange);
}

.process-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 10px;
  line-height: 1.7;
  max-width: 480px;
}

/* ===== STEPS ===== */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 32px;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s var(--ease-spring),
    transform 0.65s var(--ease-spring);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step:not(:last-child) .step-line-wrap::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 56px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(224, 90, 30, 0.4),
    rgba(224, 90, 30, 0.04)
  );
}

.step-line-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(224, 90, 30, 0.3);
  background: rgba(224, 90, 30, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition:
    border-color 0.35s,
    background 0.35s,
    box-shadow 0.35s;
}

.step.visible .step-number {
  border-color: rgba(224, 90, 30, 0.55);
  background: rgba(224, 90, 30, 0.1);
  box-shadow: 0 0 24px rgba(224, 90, 30, 0.15);
}

.step-content {
  padding: 16px 0 48px;
}

.step-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 14px;
  font-weight: 500;
}

.step-machines {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== MACHINE CARDS ===== */
.machine-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  text-decoration: none;
  flex: 1;
  min-width: 260px;
  max-width: 380px;
  overflow: hidden;
  position: relative;
  transition:
    border-color 0.35s,
    background 0.35s,
    transform 0.4s var(--ease-spring),
    box-shadow 0.35s;
}

.machine-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224, 90, 30, 0.6),
    transparent
  );
  opacity: 0;
  transform: scaleX(0);
  transition:
    opacity 0.4s,
    transform 0.5s var(--ease-spring);
  z-index: 2;
}

.machine-card:hover {
  border-color: rgba(224, 90, 30, 0.45);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-6px);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(224, 90, 30, 0.06);
}

.machine-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.machine-card.coming-soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  border-style: dashed;
}

/* image banner — the "bigger picture" area */
.card-img-wrap {
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(224, 90, 30, 0.08),
    transparent 70%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.card-img-wrap img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(255, 100, 30, 0.18)) brightness(0.97);
  transition:
    transform 0.5s var(--ease-spring),
    filter 0.35s;
}

.machine-card:hover .card-img-wrap img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 16px 32px rgba(255, 100, 30, 0.35)) brightness(1.05);
}

.card-img-placeholder {
  font-size: 40px;
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* info row beneath the image */
.card-info {
  padding: 16px 18px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.card-text {
  min-width: 0;
}

.card-cat {
  font-size: 9.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 4px;
}

.card-name {
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 3px;
  transition: letter-spacing 0.3s var(--ease-spring);
}

.machine-card:hover .card-name {
  letter-spacing: 0.2px;
}

.card-models {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

/* faint by default — visible on touch, brightens on hover */
.card-arrow {
  font-size: 16px;
  color: var(--orange);
  opacity: 0.35;
  transition:
    opacity 0.25s,
    transform 0.35s var(--ease-spring);
  flex-shrink: 0;
}

.machine-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.coming-badge {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 3px 8px;
  flex-shrink: 0;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: #030303;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: 40px;
  flex-wrap: wrap;
}

.cta-left {
  flex: 1;
  min-width: 260px;
}

.cta-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 12px;
}

.cta-title {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cta-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
  line-height: 1.6;
}

.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 9px;
  text-decoration: none;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.3s;
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(224, 90, 30, 0.45);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 12px 28px;
  border-radius: 9px;
  text-decoration: none;
  transition:
    border-color 0.25s,
    color 0.25s,
    transform 0.35s var(--ease-spring);
}

.cta-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.55s var(--ease-in-out);
  pointer-events: none;
}

.page-transition.done {
  transform: scaleY(0);
}

/* ── Performance: respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════
   SMALL LAPTOP / TABLET 769px–1024px
═══════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content {
    padding: 0 48px 72px;
  }
  .back-btn {
    top: 90px;
    left: 48px;
  }

  .process-section {
    padding: 80px 48px 100px;
  }
  .process-section::before {
    left: 48px;
    right: 48px;
  }
  .process-title {
    font-size: 30px;
  }

  .cta-strip {
    padding: 60px 48px;
  }
}

/* ═══════════════════════════════
   MOBILE ≤768px
═══════════════════════════════ */
@media (max-width: 768px) {
  /* hero */
  .hero-content {
    padding: 0 20px 64px;
  }
  .hero-title {
    font-size: clamp(40px, 13vw, 64px);
    letter-spacing: -2px;
  }
  .hero-desc {
    font-size: 12.5px;
    max-width: 100%;
    margin-top: 14px;
  }
  .hero-eyebrow {
    font-size: 10px;
    gap: 10px;
  }

  /* scroll hint — redundant on touch, collides with wrapped hero-desc */
  .scroll-hint {
    display: none;
  }

  /* back button */
  .back-btn {
    top: 88px;
    left: 20px;
    font-size: 11px;
    padding: 8px 14px;
  }

  /* process section */
  .process-section {
    padding: 64px 20px 80px;
  }
  .process-section::before {
    left: 20px;
    right: 20px;
  }
  .process-header {
    margin-bottom: 44px;
  }
  .process-title {
    font-size: 26px;
  }
  .process-sub {
    font-size: 12.5px;
  }

  /* steps */
  .step {
    grid-template-columns: 44px 1fr;
    gap: 0 16px;
  }
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }
  .step:not(:last-child) .step-line-wrap::after {
    left: 21px;
    top: 46px;
  }
  .step-line-wrap {
    padding-top: 10px;
  }
  .step-content {
    padding: 10px 0 36px;
  }
  .step-label {
    font-size: 9px;
    margin-bottom: 10px;
  }

  /* machine cards — stack full width */
  .step-machines {
    flex-direction: column;
    gap: 12px;
  }
  .machine-card {
    min-width: 100%;
    max-width: 100%;
  }
  .card-img-wrap,
  .card-img-placeholder {
    height: 150px;
  }

  /* cta strip — stack */
  .cta-strip {
    padding: 56px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .cta-title {
    font-size: 24px;
  }
  .cta-btns {
    width: 100%;
    flex-direction: column;
  }
  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════
   SMALL PHONES ≤480px
═══════════════════════════════ */
@media (max-width: 480px) {
  .hero-content {
    padding: 0 16px 56px;
  }
  .hero-title {
    letter-spacing: -1.5px;
  }

  .back-btn {
    left: 16px;
  }

  .process-section {
    padding: 56px 16px 64px;
  }
  .process-section::before {
    left: 16px;
    right: 16px;
  }

  .cta-strip {
    padding: 48px 16px;
  }

  .card-img-wrap,
  .card-img-placeholder {
    height: 130px;
  }
  .card-info {
    padding: 14px 16px 16px;
  }
  .card-name {
    font-size: 14px;
  }
}


/* ================================================================
   MOBILE BRIGHTNESS + PREMIUM POLISH  (auto-generated)
   Hard hex values — correct at ANY screen brightness level
================================================================ */
@media (max-width: 768px) {

  /* CARD BACKGROUNDS */
  .why-card, .infra-stat-box, .infra-floor, .quality-pillar,
  .story-img-cell, .explore-card, .pl-card, .bake-card, .ind-card,
  .machine-card, .blog-card, .timeline-card, .featured-card,
  .stat-block, .r-card, .t-card, .pkg-card, .pkg-info-card,
  .pkg-manpower-card, .contact-info-card, .post-sidebar-box,
  .flow-step-box, .iot-card, .infra-img-main, .tl-img-frame,
  .why-features .why-card, .cert-grid .cert-card,
  .export-panel, .r-card, .rating-callout { background: #1e1e1e; border-color: #3a3a3a; }

  /* BODY / DESCRIPTION TEXT */
  .why-card p, .infra-floor-body, .infra-floor-detail, .infra-intro,
  .quality-intro, .quality-pillar-body-inner li, .quality-pillar-sub,
  .story-body-text p, .explore-card-desc, .explore-header-sub,
  .about-hero-desc, .section-body, .why-header-right p,
  .pl-card-desc, .pl-hero-sub, .pl-card-flow span,
  .machine-card-desc, .bake-card-desc, .blog-card-excerpt,
  .blog-card-subtitle, .featured-desc, .timeline-desc,
  .tl-body, .r-quote, .t-card-quote, .pkg-desc, .pkg-info-sub,
  .line-meta-text, .post-content p, .detail-desc, .hero-desc,
  .page-sub, .csa-sub, .ind-sub, .bake-sub, .about-body,
  .process-sub, .cta-sub, .card-models, .card-count,
  .terms-clause-body p, .pp-section p, .pp-list li,
  .contact-subtitle, .footer-tagline, .blog-hero-desc,
  .step-label, .cta-sub { color: #cccccc; }

  /* SECONDARY / LABEL TEXT */
  .about-hero-stat-label, .infra-stat-box-label, .pl-stat-label,
  .csa-stat-l, .stat-label, .t-stat-label, .pkg-info-label,
  .pkg-manpower-label, .card-cat, .section-eyebrow,
  .line-hero-eyebrow, .flow-step-num, .blog-card-date,
  .post-hero-date, .r-loc, .t-card-loc, .cert-milestone-label,
  .line-nav-prev-hint, .line-nav-next-hint, .contact-info-label,
  .breadcrumb, .breadcrumb a, .back-btn,
  .pkg-machine-note { color: #aaaaaa; }

  /* CARD TITLES */
  .why-card h3, .infra-floor-name, .quality-pillar-title,
  .explore-card-title, .pl-card-name, .machine-card-name,
  .bake-card-name, .blog-card-title, .featured-name,
  .timeline-event-name, .tl-headline, .t-card-name,
  .pkg-card-name, .card-name, .cta-title,
  .models-cta-text h4, .iot-card-title,
  .contact-info-value { color: #ffffff; font-size: 15px; }

  /* STAT NUMBERS */
  .about-hero-stat-num, .infra-stat-box-num, .pl-stat-num,
  .csa-stat-n, .stat-num, .t-stat-num, .pkg-info-value,
  .pkg-manpower-value, .history-meta-num,
  .rating-big { color: #ffffff; font-size: 24px; }

  /* PILL / TAG CHIPS */
  .pl-card-capacity, .pl-card-machine-tag, .infra-badge,
  .line-meta-badge, .tl-tag, .model-tag, .card-tag,
  .pkg-tag, .pkg-material, .detail-tag,
  .filter-pill, .filter-btn { background: #252525; border-color: #3d3d3d; color: #cccccc; }

  /* SECTION TITLES */
  .section-title, .pl-lines-title, .pl-overview-title,
  .bake-title, .ind-title, .about-title, .featured-title,
  .timeline-title, .t-hero-title { font-size: clamp(28px, 7vw, 40px); }

  /* FLOW */
  .flow-step-name { color: #ffffff; }
  .flow-step-box { background: #1e1e1e; border-color: #3a3a3a; }

  /* FOOTER */
  .footer-col ul li a { color: #aaaaaa; }
  .footer-col h4.footer-col-title { color: #888888; }
  .footer-address { color: #aaaaaa; }
  .footer-bottom span, .footer-bottom-links a { color: #666666; }

  /* TESTIMONIALS */
  .t-card-quote, .r-quote { color: #cccccc; }
  .cert-milestone-year { color: #888888; }

  /* PACKAGES */
  .pkg-machine-name { color: #eeeeee; }
  .pkg-capacity-row span { color: #cccccc; }
  .pkg-capacity-row span:first-child { color: #eeeeee; }
  .pkg-note, .pkg-desc { color: #cccccc; }

  /* BLOG */
  .post-related-title { color: #cccccc; }

  /* MACHINE / MODEL */
  .detail-desc, .iot-card-desc, .right-sub,
  .models-cta-text p { color: #cccccc; }
  .specs-table td:first-child { color: #aaaaaa; }
  .specs-table td:last-child { color: #eeeeee; }

  /* PRIVACY / TERMS */
  .terms-notice, .pp-note { color: #cccccc; }
}

@media (max-width: 480px) {
  .pl-card-name, .machine-card-name, .bake-card-name,
  .why-card h3, .explore-card-title { font-size: 14px; }
  .section-title, .pl-lines-title { font-size: clamp(26px, 8vw, 34px); }
}


/* ================================================================
   PREMIUM MICRO-ANIMATIONS (auto-generated)
   Smooth, tasteful — respects prefers-reduced-motion
================================================================ */

/* Scroll reveal base */
.reveal, .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible, .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* Card hover lift — premium feel */
.why-card, .infra-stat-box, .infra-floor, .explore-card,
.pl-card, .bake-card, .ind-card, .machine-card, .blog-card,
.featured-card, .stat-block, .r-card, .t-card, .pkg-card,
.pkg-info-card, .timeline-card, .contact-info-card {
  transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Shimmer on card hover */
.why-card::after, .explore-card::after, .pl-card::after,
.machine-card::after, .blog-card::after, .pkg-card::after {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,90,30,0.6), transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover::after, .explore-card:hover::after,
.pl-card:hover::after, .machine-card:hover::after,
.blog-card:hover::after, .pkg-card:hover::after {
  opacity: 1; transform: scaleX(1);
}

/* Stat number count-up glow on hover */
.about-hero-stat:hover .about-hero-stat-num,
.infra-stat-box:hover .infra-stat-box-num,
.stat-block:hover .stat-number {
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

/* Link underline slide */
.footer-col ul li a,
.drawer-link,
.toc-pill,
.filter-pill {
  transition: color 0.25s, padding-left 0.3s cubic-bezier(0.16,1,0.3,1),
              background 0.25s, border-color 0.25s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

/* Button press feedback */
.nav-cta:active, .fcta-btn-primary:active,
.line-cta-btn-primary:active, .pkg-cta-primary:active,
.enquire-submit:active {
  transform: scale(0.97) translateY(0);
}

/* Image scale on card hover */
.bake-card:hover .bake-card-img,
.ind-line-pill:hover .ind-line-pill-icon img,
.blog-card:hover img { transform: scale(1.06); }

/* Smooth border-radius pulse on active nav item */
.island-item.active .island-icon svg {
  filter: drop-shadow(0 0 4px rgba(224,90,30,0.6));
}

/* Orange accent line slide-in on section hover */
.pl-card-cta-text, .view-btn, .blog-card-cta,
.explore-card-cta, .featured-details {
  transition: letter-spacing 0.35s cubic-bezier(0.16,1,0.3,1),
              opacity 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

/* Tablet-specific enhancements */
@media (min-width: 769px) and (max-width: 1024px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(224,90,30,0.06);
  }
}

/* Desktop-specific enhancements */
@media (min-width: 1025px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 72px rgba(0,0,0,0.65), 0 0 0 1px rgba(224,90,30,0.07);
  }
  /* Subtle parallax depth on hero sections */
  .pl-hero-bg, .about-hero-orb, .blog-hero-orb {
    will-change: transform;
  }
}

/* Mobile — no hover transforms (tap only) */
@media (max-width: 768px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover, .infra-floor:hover,
  .quality-pillar:hover { transform: none; }
  .why-card:active { transform: scale(0.98); }
  .pl-card:active, .blog-card:active, .machine-card:active { transform: scale(0.98); }
  .island-item:active { transform: scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
