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

:root {
  --orange: #e05a1e;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* ===== LINE HERO ===== */
.line-hero {
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 80px 100px;
  position: relative;
  overflow: hidden;
}

/* Hero image comes from the DB via inline --hero-img */
.line-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 55% 60% at 75% 35%, rgba(224, 90, 30, .07) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.4) 40%, rgba(0,0,0,.85)),
    var(--hero-img, none);
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
}

/* Khari + Mini Khari: extra soft glow on the left */
.line-hero-bg.has-glow {
  background-image:
    radial-gradient(ellipse 55% 60% at 75% 35%, rgba(224, 90, 30, .07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 50% at 15% 70%, rgba(224, 90, 30, .03) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.4) 40%, rgba(0,0,0,.85)),
    var(--hero-img, none);
}

.line-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.line-num-bg {
  position: absolute;
  right: 60px;
  bottom: 80px;
  font-family: "Syne", sans-serif;
  font-size: 260px;
  font-weight: 700;
  color: rgba(255, 255, 255, .025);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -10px;
}

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

.line-hero-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.line-hero-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(160deg, #fff 40%, rgba(255, 255, 255, .35));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 680px;
  opacity: 0;
  animation: fadeUp .8s var(--ease-spring) .45s forwards;
}

.line-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp .7s var(--ease-spring) .6s forwards;
  flex-wrap: wrap;
}

.line-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 90, 30, .1);
  border: 1px solid rgba(224, 90, 30, .25);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--orange);
}

.line-meta-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, .1);
}

.line-meta-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .35);
}

/* ===== FLOW DIAGRAM ===== */
.line-flow-section {
  background: #060606;
  padding: 100px 80px;
  position: relative;
}

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

.line-machines-section {
  background: #040404;
  padding: 100px 80px;
  position: relative;
}

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

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

.section-title {
  font-family: "Syne", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.6px;
  margin-bottom: 52px;
}

.flow-diagram {
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 16px;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 90, 30, .3) transparent;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.flow-step-box {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 18px 16px;
  min-width: 120px;
  text-align: center;
  transition: border-color .3s, background .3s, transform .4s var(--ease-spring);
  cursor: default;
}

.flow-step-box:hover {
  border-color: rgba(224, 90, 30, .4);
  background: rgba(224, 90, 30, .06);
  transform: translateY(-4px);
}

.flow-step-num {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(224, 90, 30, .5);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.flow-step-name {
  font-family: "Syne", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.flow-arrow {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(224, 90, 30, .35);
  font-size: 16px;
}

/* Lines with a feeder box under a step (Encrusting) */
.flow-diagram.has-branch {
  align-items: flex-start;
}

.flow-diagram.has-branch .flow-arrow {
  padding-top: 28px;
}

.flow-down-arrow {
  font-size: 16px;
  color: rgba(224, 90, 30, .35);
}

.flow-hopper-box {
  background: rgba(224, 90, 30, .08);
  border: 1px solid rgba(224, 90, 30, .35);
  border-radius: 12px;
  padding: 14px 14px;
  min-width: 110px;
  text-align: center;
}

.flow-hopper-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(224, 90, 30, .6);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.flow-hopper-name {
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.3;
}

/* ===== MACHINES ===== */
.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.machine-card {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .3s, background .3s, transform .4s var(--ease-spring);
}

.machine-card:hover {
  border-color: rgba(224, 90, 30, .25);
  background: rgba(255, 255, 255, .03);
  transform: translateY(-3px);
}

.machine-card-num {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: rgba(224, 90, 30, .15);
  flex-shrink: 0;
  width: 32px;
  line-height: 1;
  margin-top: 3px;
}

.machine-card-body {
  flex: 1;
}

.machine-card-name {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.machine-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, .38);
  line-height: 1.65;
}

.optional-tag {
  display: inline-block;
  font-size: 9.5px;
  color: var(--orange);
  border: 1px solid rgba(224, 90, 30, .3);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Info box above machine cards (Encrusting) */
.line-info-box {
  background: rgba(224, 90, 30, .06);
  border: 1px solid rgba(224, 90, 30, .2);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 52px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}

.line-info-box strong {
  color: #fff;
  font-weight: 500;
}

/* ===== CTA ===== */
.line-cta-section {
  background: var(--orange);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.line-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.line-cta-content {
  position: relative;
  z-index: 2;
}

.line-cta-title {
  font-family: "Syne", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.6px;
}

.line-cta-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 28px;
}

.line-cta-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.line-cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .2);
}

.line-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 13px 24px;
  border-radius: 10px;
  transition: background .25s, border-color .25s, transform .35s var(--ease-spring);
}

.line-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .65);
  transform: translateY(-3px);
}

/* ===== NAV PREV / NEXT ===== */
.line-nav {
  background: #030303;
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* First line: back link on the left */
.line-nav-back {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, .4);
  font-size: 12.5px;
  transition: color .25s;
}

.line-nav-back:hover {
  color: #fff;
}

/* Last line: back link on the right */
.line-nav-all {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .4);
  transition: color .25s;
}

.line-nav-all:hover {
  color: #fff;
}

.line-nav-prev {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.line-nav-prev-label {
  text-align: left;
}

.line-nav-prev-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.line-nav-prev-name {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.line-nav-prev-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  transition: border-color .25s, color .25s, transform .35s var(--ease-spring), background .25s;
}

.line-nav-prev:hover .line-nav-prev-arrow {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(224, 90, 30, .08);
  transform: translateX(-4px);
}

.line-nav-next {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.line-nav-next-label {
  text-align: right;
}

.line-nav-next-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.line-nav-next-name {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.line-nav-next-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  transition: border-color .25s, color .25s, transform .35s var(--ease-spring), background .25s;
}

.line-nav-next:hover .line-nav-next-arrow {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(224, 90, 30, .08);
  transform: translateX(4px);
}

/* ── 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;
  }
}

/* ============ LINE PAGE - RESPONSIVE ============ */

/* TABLET (max 1024px) */
@media (max-width: 1024px) {
  .line-hero { padding: 120px 40px 80px; }
  .line-flow-section, .line-machines-section { padding: 80px 40px; }
  .line-flow-section::before, .line-machines-section::before { left: 40px; right: 40px; }
  .machines-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .line-cta-section { padding: 60px 40px; }
  .line-nav, .site-footer { padding: 30px 40px; }
  .line-num-bg { font-size: 180px; right: 40px; }
}

/* MOBILE (max 768px) */
@media (max-width: 768px) {
  .line-hero {
    min-height: auto;
    padding: 110px 20px 60px;
  }
  .line-hero-title { max-width: 100%; }
  .line-hero-meta { gap: 12px; }
  .line-meta-text { font-size: 11.5px; }
  .line-num-bg { display: none; }

  .line-flow-section, .line-machines-section { padding: 60px 20px; }
  .line-flow-section::before, .line-machines-section::before { left: 20px; right: 20px; }
  .section-title { font-size: 24px; margin-bottom: 36px; }

  .flow-diagram { gap: 0; }
  .flow-step-box { min-width: 100px; padding: 14px 12px; }
  .flow-step-name { font-size: 10.5px; }
  .flow-arrow { width: 28px; font-size: 13px; }

  .machines-grid { grid-template-columns: 1fr; gap: 12px; }
  .machine-card { padding: 18px 16px; }

  .line-cta-section { padding: 50px 24px; }
  .line-cta-title { font-size: 26px; }
  .line-cta-sub { font-size: 13px; }
  .line-cta-buttons { flex-direction: column; width: 100%; }
  .line-cta-btn-primary, .line-cta-btn-secondary { width: 100%; justify-content: center; }

  .line-nav {
    padding: 24px 20px;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .line-nav-back { order: -1; }
  .line-nav-prev, .line-nav-next {
    justify-content: space-between;
    width: 100%;
  }
  .line-nav-next { flex-direction: row-reverse; }
  .line-nav-next-label { text-align: left; }

  .site-footer { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* SMALL PHONE (max 480px) */
@media (max-width: 480px) {
  .line-hero-title { font-size: 38px; }
  .flow-step-box { min-width: 90px; }
}


/* ================================================================
   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;
  }
}


/* ── GHOST / WATERMARK NUMBERS — visible on mobile ── */
@media (max-width: 768px) {
  .pl-lines-count {
    color: rgba(255, 255, 255, 0.12);
    font-size: 48px;
  }
  .about-hero-bg-num {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    font-size: 20vw;
  }
  .history-intro-ghost {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    font-size: 18vw;
  }
  .tl-year-ghost {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  }
  .blog-hero-bg-text {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    font-size: 18vw;
  }
  .terms-hero-bg-text {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    font-size: 18vw;
  }
  .line-num-bg {
    display: none;
  }
  /* History timeline year numbers */
  .tl-year {
    -webkit-text-stroke: 1px rgba(224, 90, 30, 0.35);
    font-size: 44px;
  }
  /* Cert milestone years */
  .cert-milestone-year {
    color: #777777;
    font-size: 16px;
  }
  /* Stat ghost decorative numbers */
  .pl-lines-count {
    color: rgba(255, 255, 255, 0.14);
  }
  /* About hero year watermark */
  .history-meta-num {
    font-size: 22px;
    color: #ffffff;
  }
  .history-meta-label {
    color: #888888;
  }
}

/* ── BREADCRUMB FIX — spacing + style ── */
.breadcrumb {
  position: fixed;
  top: 82px;
  left: 40px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 6px 14px;
  backdrop-filter: none;
  letter-spacing: 0.2px;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.4s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 10px;
}
.breadcrumb-current {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Hero needs top padding so breadcrumb doesn't overlap eyebrow */
.line-hero {
  padding-top: 160px;
}

/* ===== HERO VIDEO ===== */
.line-floating-video {
  position: absolute;
  right: 60px;
  bottom: 30px;
  width: 380px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 5;
  background: #000;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 1.2s ease-out;
}
.line-floating-video.box-loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.line-floating-video iframe {
  width: 220%;
  height: 220%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.08);
  border: 0;
  display: block;
  pointer-events: none;
  opacity: 0;
  filter: blur(14px);
  transition:
    opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1.1s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.9s ease-out;
}
.line-floating-video iframe.loaded {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0px);
}

/* Tablet + mobile: video sits below the title/stats instead of floating over them */
@media (max-width: 1024px) {
  .line-floating-video {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 32px;
  }
}

@media (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
  .line-hero {
    padding-top: 110px;
  }
}

/* ===== HERO PHOTO (mobile/tablet) + LIGHTBOX ===== */
.line-hero-photo {
  display: none;
}

@media (max-width: 1024px) {
  /* Photo moves out of the background and into the flow, above the video */
  .line-hero-bg {
    background-image:
      radial-gradient(ellipse 55% 60% at 75% 35%, rgba(224, 90, 30, .07) 0%, transparent 65%);
  }
  .line-hero-bg.has-glow {
    background-image:
      radial-gradient(ellipse 55% 60% at 75% 35%, rgba(224, 90, 30, .07) 0%, transparent 65%),
      radial-gradient(ellipse 35% 50% at 15% 70%, rgba(224, 90, 30, .03) 0%, transparent 55%);
  }

  .line-hero-photo {
    display: block;
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-top: 32px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    overflow: hidden;
    background: #0b0b0b;
    cursor: zoom-in;
    font: inherit;
    opacity: 0;
    animation: fadeUp .7s var(--ease-spring) .7s forwards;
  }
  .line-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .line-hero-photo-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .7);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 11px;
    letter-spacing: .2px;
    pointer-events: none;
    opacity: 0;
    transform: scale(.85) translateY(6px);
    animation: hintPop .5s var(--ease-spring) 1.4s forwards;
  }
}

@keyframes hintPop {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.line-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.line-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.line-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(.96);
  transition: transform .4s var(--ease-spring);
}
.line-lightbox.open img {
  transform: scale(1);
}
.line-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ===== HERO: GET A QUOTE BUTTON ===== */
.line-hero-actions {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  opacity: 0;
  animation: fadeUp .7s var(--ease-spring) .75s forwards;
}
.line-quote-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: linear-gradient(135deg, #ef6b2c 0%, #d14e14 100%);
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow:
    0 6px 20px rgba(224, 90, 30, .4),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .35s var(--ease-spring), box-shadow .3s;
  animation: lineQuoteBeat 2.8s ease-in-out infinite;
}
.line-quote-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid #ef6b2c;
  border-radius: inherit;
  opacity: 0;
  animation: lineQuoteRing 2.8s ease-out infinite;
}
.line-quote-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.line-quote-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  animation: lineQuoteShine 2.8s ease-in-out infinite;
}
.line-quote-arrow {
  animation: lineQuoteNudge 1.4s ease-in-out infinite;
}
.line-quote-btn:hover {
  animation: none;
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 16px 40px rgba(224, 90, 30, .6),
    0 0 0 4px rgba(239, 107, 44, .2);
}
.line-quote-btn:hover .line-quote-arrow {
  animation: none;
  transform: translateX(6px);
  transition: transform .3s var(--ease-spring);
}
.line-quote-btn:active {
  transform: scale(.97);
}
@keyframes lineQuoteBeat {
  0%, 34%, 100% { transform: scale(1); }
  8% { transform: scale(1.06); }
  16% { transform: scale(1); }
  24% { transform: scale(1.035); }
}
@keyframes lineQuoteRing {
  0% { opacity: .75; transform: scale(1); }
  60%, 100% { opacity: 0; transform: scale(1.22, 1.6); }
}
@keyframes lineQuoteShine {
  0%, 45% { left: -60%; }
  100% { left: 130%; }
}
@keyframes lineQuoteNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
@media (max-width: 768px) {
  .line-hero-actions {
    margin-top: 24px;
  }
}
@media (max-width: 480px) {
  .line-quote-btn {
    width: 100%;
    justify-content: center;
  }
}
