/* ============================================================
   ABOUT PAGE — REDESIGN
   Extends global.css / corporate.css tokens. Scoped to this page.
   ============================================================ */

/* ===== OVERVIEW TWEAKS ===== */
.about-lede {
  max-width: 620px;
}

/* ===== STORY TIMELINE ===== */
.about-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 15px;
  width: 2px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(227,6,19,0.15) 100%);
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  padding-bottom: 30px;
}

.timeline-row:last-child { padding-bottom: 0; }

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--red);
}

.timeline-row:first-child .timeline-dot {
  background: var(--red);
  color: #fff;
}

.timeline-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== HERO STATS — merged into the same inner-hero photo panel ===== */
.inner-hero--with-stats {
  padding-bottom: 0;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-left: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-stat-item {
  padding: 26px 24px;
  border-right: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.hero-stat-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-item strong span { color: var(--red); }

.hero-stat-item p {
  color: rgba(255,255,255,0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-stats-note {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  margin-top: 16px;
  padding-bottom: 32px;
}

/* ===== CORE VALUES ===== */
.value-icon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.value-icon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227,6,19,0.28);
  box-shadow: var(--shadow-md);
}

.value-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red-pale);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.value-icon-box svg {
  width: 24px;
  height: 24px;
  color: var(--red);
  stroke-width: 1.8;
}

.value-icon-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.value-icon-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== OUR APPROACH — AUTO-SCROLLING SLIDE ===== */
.approach-section { overflow: hidden; }
.approach-section .section-head { margin-bottom: 40px; }

.approach-marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.approach-marquee-track {
  display: flex;
  width: max-content;
  animation: approach-scroll 38s linear infinite;
  will-change: transform;
}

/* Pause the instant it's hovered or keyboard-focused, so any card can be read in full */
.approach-marquee-viewport:hover .approach-marquee-track,
.approach-marquee-viewport:focus-within .approach-marquee-track {
  animation-play-state: paused;
}

.approach-marquee-group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

.approach-card {
  flex: 0 0 320px;
  width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.approach-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227,6,19,0.3);
  box-shadow: var(--shadow-md);
}

.approach-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.approach-card-icon svg { width: 22px; height: 22px; color: var(--red); stroke-width: 1.8; }

.approach-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.approach-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.75;
}

@keyframes approach-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .approach-card { flex-basis: 260px; width: 260px; padding: 24px 20px; }
  .approach-marquee-group { gap: 16px; padding-right: 16px; }
  .approach-marquee-track { animation-duration: 30s; }
}

@media (prefers-reduced-motion: reduce) {
  .approach-marquee-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .approach-marquee-track { animation: none; }
  .approach-marquee-group[aria-hidden="true"] { display: none; }
}

/* ===== INDUSTRY ICON REFRESH ===== */
.industry-card .industry-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--red-pale);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 0;
}

.industry-card .industry-icon svg {
  width: 26px;
  height: 26px;
  color: var(--red);
  stroke-width: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-stats-grid { grid-template-columns: 1fr; }
}
/* ===== ABOUT HERO: Kuantan skyline =====
   Image sits on the right at full hero height so the whole skyline
   stays above the stats; the left side continues the night-sky colour
   so the headline stays readable. */
.inner-hero--kuantan {
  background:
    linear-gradient(90deg, rgba(11,15,24,0.92) 0%, rgba(11,15,24,0.6) 40%, rgba(11,15,24,0) 65%),
    url("../images/hero/about-kuantan.webp") right center / auto 100% no-repeat,
    linear-gradient(180deg, #0e1523 0%, #111522 55%, #070a10 100%);
}

@media (max-width: 640px) {
  .inner-hero--kuantan {
    background:
      linear-gradient(180deg, rgba(11,15,24,0.3) 0%, rgba(11,15,24,0.8) 36%, rgba(7,10,16,0.96) 62%),
      url("../images/hero/about-kuantan.webp") 72% top / auto 440px no-repeat,
      linear-gradient(180deg, #0e1523 0%, #070a10 100%);
  }
}
