/* ==========================================================================
   PT WIJAYA KUSUMA MULYA NEGARA (WKM)
   CINEMATIC CORPORATE SCROLL ENGINE & DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Pointer Parallax Coordinates */
  --mx: 0;
  --my: 0;

  /* Industrial Background Stack */
  --back-opacity: 1;
  --back-x: 0px;
  --back-y: 0px;
  --back-scale: 0.76;

  --mining-y: 10vh;
  --mining-scale: 0.78;

  --construction-y: 20vh;

  --blur-px: 0px;
  --back-brightness: 1;

  /* Cinematic Vignette & Shade */
  --shade-opacity: 1;
  --shade-z: 2;

  --shade-top-alpha: 0;
  --shade-mid-alpha: 0;
  --shade-bottom-alpha: 0;

  --blur-tint: 201, 0, 13;

  /* Hero Architecture */
  --title-y: 0px;
  --title-scale: 1;
  --title-opacity: 1;

  --hero-x: -50%;
  --hero-y: 0px;
  --hero-bottom: 5vh;
  --hero-width: 75vw;
  --hero-scale: 1.02;

  /* Split-Frame Cinematic Transition */
  --split-left-x: -50%;
  --split-left-y: 0px;
  --split-left-scale: 1;

  --split-right-x: -50%;
  --split-right-y: 0px;
  --split-right-scale: 1;

  /* Frame Two Machinery Reveal */
  --frame2-opacity: 0;
  --frame2-x: -50%;
  --frame2-y: -50%;
  --frame2-scale: 1.06;

  /* Intro Copy Movement */
  --intro-copy-y: 0px;
  --intro-copy-opacity: 1;

  /* Story Panels Movement & Opacities */
  --panel-about-opacity: 0;
  --panel-services-opacity: 0;
  --panel-projects-opacity: 0;
  --panel-why-opacity: 0;
  --panel-contact-opacity: 0;

  --panel-about-y: 58px;
  --panel-services-y: 58px;
  --panel-projects-y: 58px;
  --panel-why-y: 58px;
  --panel-contact-y: 58px;

  /* Services Slider Entrance & Loop */
  --services-opacity: 0;
  --services-controls-opacity: 0;
  --services-y: 0px;

  --services-enter-x: 420vw;
  --services-visibility: hidden;

  --services-shift: 0px;
  --services-scale: 1;

  --services-top: clamp(112px, 19vh, 220px);
  --services-screen-top: clamp(112px, 19vh, 220px);

  /* Corporate Brand Design Tokens */
  --ink: #171717;
  --ink-pure: #080808;
  --paper: #ffffff;
  --paper-soft: #f1f1f1;
  --accent: #c9000d;
  --accent-glow: rgba(201, 0, 13, 0.4);
  --accent-hover: #e60010;
  --muted: #858585;
  --border-glass: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.45);
  --shadow-heavy: 0 32px 72px rgba(0, 0, 0, 0.65);

  /* Typography */
  --font-display: "Syne", "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  font-family: var(--font-body);
  color: var(--paper);
  background: var(--ink-pure);
  letter-spacing: 0;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--ink-pure);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--ink-pure);
  color: var(--paper);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  background: var(--ink-pure);
}

/* ==========================================================================
   Cinematic Scroll Rig
   ========================================================================== */

.cinema-scroll {
  position: relative;
  height: calc(100vh + 5200px);
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.world {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  pointer-events: none;
}

/* ==========================================================================
   Layered Scene Images & Positioning
   ========================================================================== */

.scene-img {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.sky-img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  z-index: 0;
  filter: brightness(var(--back-brightness, 1));
}

.back-stack {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -3vw;
  right: -3vw;
  z-index: 1;
  opacity: var(--back-opacity);
  transform: translate3d(var(--back-x), var(--back-y), 0) scale(var(--back-scale));
  transform-origin: 50% 100%;
  will-change: transform, filter, opacity;
}

.back-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(var(--back-brightness, 1));
  transition: opacity 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.back-mining {
  z-index: 1;
  opacity: var(--bg-mining-opacity, 0);
  transform: translate3d(0, var(--bg-mining-y, 0px), 0) scale(var(--bg-mining-scale, 1));
}

.back-vision {
  z-index: 2;
  opacity: var(--bg-vision-opacity, 0);
  transform: translate3d(0, var(--bg-vision-y, 0px), 0) scale(var(--bg-vision-scale, 1));
}

.back-construction {
  z-index: 3;
  opacity: var(--bg-construction-opacity, 0);
  transform: translate3d(0, var(--bg-construction-y, 0px), 0) scale(var(--bg-construction-scale, 1));
}

.back-projects {
  z-index: 4;
  opacity: var(--bg-projects-opacity, 0);
  transform: translate3d(0, var(--bg-projects-y, 0px), 0) scale(var(--bg-projects-scale, 1));
}

.back-materials {
  z-index: 5;
  opacity: var(--bg-materials-opacity, 0);
  transform: translate3d(0, var(--bg-materials-y, 0px), 0) scale(var(--bg-materials-scale, 1));
}

.back-contact {
  z-index: 6;
  opacity: var(--bg-contact-opacity, 0);
  transform: translate3d(0, var(--bg-contact-y, 0px), 0) scale(var(--bg-contact-scale, 1));
}

/* Split-Frame Industrial Transition */
.splitframe-img {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: -2vh;
  width: min(118vw, 2240px);
  height: auto;
  pointer-events: none;
  opacity: var(--split-opacity, 1);
  will-change: transform, opacity;
  transition: opacity 300ms ease;
}

.splitframe-left {
  transform: translate3d(var(--split-left-x), var(--split-left-y), 0) scale(var(--split-left-scale));
  transform-origin: 21% 52%;
}

.splitframe-right {
  transform: translate3d(var(--split-right-x), var(--split-right-y), 0) scale(var(--split-right-scale));
  transform-origin: 79% 52%;
}

/* Hero Machinery Foreground */
.hero-machinery-img {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: var(--hero-bottom);
  width: var(--hero-width);
  height: auto;
  opacity: var(--hero-opacity, 1);
  transform: translate3d(var(--hero-x), var(--hero-y), 0) scale(var(--hero-scale));
  transform-origin: 50% 90%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  will-change: transform, opacity;
  transition: opacity 300ms ease;
}

/* Frame Two Operations Reveal */
.frame-two-img {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: min(90vw, 1600px);
  height: min(85vh, 900px);
  object-fit: cover;
  opacity: var(--frame2-opacity);
  transform: translate3d(var(--frame2-x), var(--frame2-y), 0) scale(var(--frame2-scale));
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-glass);
}

/* Cinematic Shade & Subtle Vignette */
.shade {
  position: absolute;
  inset: 0;
  z-index: var(--shade-z);
  opacity: var(--shade-opacity);
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(8, 8, 8, 0) 50%,
    rgba(8, 8, 8, 0.38) 100%
  );
  transition: opacity 300ms ease;
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 32px;
  padding: 24px 42px;
  color: rgba(255, 255, 255, 0.94);
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.85) 0%, rgba(8, 8, 8, 0.2) 75%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 300ms ease, background 300ms ease;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  outline: none;
}

.brand-emblem {
  height: 50px;
  width: 50px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-logo:hover .brand-emblem {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-corp {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-top: 2px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 23, 23, 0.6);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 250ms ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-active {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.header-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(201, 0, 13, 0.15);
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: all 300ms ease;
}

.header-cta-btn:hover {
  background: var(--accent);
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.cta-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 2s infinite ease-in-out;
}

.header-cta-btn:hover .cta-dot {
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background: #ffffff;
  transition: transform 250ms ease, opacity 250ms ease;
}

/* ==========================================================================
   Hero Title & Architectural Typography
   ========================================================================== */

.hero-title {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: clamp(122px, 19vh, 205px);
  width: min(94vw, 1780px);
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14.5vw, 15rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  transform: translate3d(-50%, var(--title-y), 0) scale(var(--title-scale));
  opacity: var(--title-opacity);
  will-change: transform, opacity;
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.75);
}

.hero-subtitle {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: clamp(230px, 35vh, 390px);
  transform: translate3d(-50%, calc(var(--title-y) * 0.7), 0);
  opacity: var(--title-opacity);
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-align: center;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
  will-change: transform, opacity;
}

/* ==========================================================================
   Intro Copy (Opening Stage)
   ========================================================================== */

.intro-copy {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: clamp(32px, 6vh, 80px);
  width: min(920px, calc(100vw - 48px));
  transform: translate3d(-50%, var(--intro-copy-y), 0);
  opacity: var(--intro-copy-opacity);
  text-align: center;
  pointer-events: auto;
  will-change: transform, opacity;
}

.intro-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 15, 15, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 32px 42px 28px;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.kicker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.red-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.intro-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 12px;
}

.intro-sublead {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 780px;
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
}

.tag-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.scroll-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.scroll-mouse {
  width: 18px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 5px;
  animation: scrollAnim 1.8s infinite ease;
}

@keyframes scrollAnim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ==========================================================================
   Editorial Story Panels
   ========================================================================== */

.story-panel {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  width: min(840px, calc(100vw - 42px));
  text-align: left;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, opacity;
}

.story-panel-about {
  opacity: var(--panel-about-opacity);
  transform: translate3d(-50%, calc(-50% + var(--panel-about-y)), 0);
  pointer-events: auto;
}

.story-panel-services {
  width: min(1080px, calc(100vw - 42px));
  opacity: var(--panel-services-opacity);
  transform: translate3d(-50%, calc(-50% + var(--panel-services-y)), 0);
  pointer-events: auto;
}

.story-panel-projects {
  width: min(1320px, calc(100vw - 42px));
  opacity: var(--panel-projects-opacity);
  transform: translate3d(-50%, calc(-50% + var(--panel-projects-y)), 0);
  pointer-events: auto;
}

.story-panel-why {
  width: min(1280px, calc(100vw - 42px));
  opacity: var(--panel-why-opacity);
  transform: translate3d(-50%, calc(-50% + var(--panel-why-y)), 0);
  pointer-events: auto;
}

.panel-card-inner {
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 44px 52px;
  box-shadow: var(--shadow-heavy);
  position: relative;
  overflow: hidden;
}

.panel-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 60%);
}

.panel-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.panel-body p {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 16px;
}

.panel-body p:last-child {
  margin-bottom: 0;
}

.panel-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.metric-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

.metric-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Vision & Mission Grid
   ========================================================================== */

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  margin: 24px 0 20px;
}

.vision-box,
.mission-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}

.vm-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  border-radius: 6px;
  margin-bottom: 16px;
}

.vision-text {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  color: #ffffff;
}

.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mission-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-left: 18px;
}

.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.mission-list strong {
  color: #ffffff;
}

.services-instruction-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hint-icon {
  animation: bounceHint 1.6s infinite ease-in-out;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ==========================================================================
   Services Slider & Infinite Track
   ========================================================================== */

.services-slider {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: var(--services-top);
  visibility: var(--services-visibility);
  opacity: var(--services-opacity);
  transform: translate3d(var(--services-enter-x), var(--services-y), 0) scale(var(--services-scale));
  transform-origin: 0 0;
  pointer-events: auto;
  will-change: transform, opacity;
  transition: opacity 300ms ease;
}

.services-track {
  display: flex;
  gap: clamp(16px, 1.15vw, 24px);
  align-items: stretch;
  transform: translate3d(calc(var(--services-shift) - 18vw), 0, 0);
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  padding: 20px 0;
}

.services-track.is-jumping {
  transition: none;
}

.service-card {
  position: relative;
  flex: 0 0 clamp(320px, 25vw, 430px);
  height: 380px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 350ms ease, box-shadow 350ms ease;
}

.service-card:hover,
.service-card.is-active-card {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(201, 0, 13, 0.25);
}

.card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: brightness(0.65);
}

.service-card:hover .card-bg-img {
  transform: scale(1.08);
  filter: brightness(0.75);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.75) 0%,
    rgba(15, 15, 15, 0.5) 40%,
    rgba(8, 8, 8, 0.92) 100%
  );
}

.card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.service-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: 16px;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-accent-bar {
  width: 32px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 300ms ease;
}

.service-card:hover .service-accent-bar {
  width: 54px;
}

.service-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* Slider Controls */
.services-controls {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: clamp(24px, 4vh, 48px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: var(--services-controls-opacity);
  pointer-events: auto;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  transition: opacity 300ms ease;
}

.service-prev,
.service-next {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all 250ms ease;
}

.service-prev:hover,
.service-next:hover {
  background: var(--accent);
  transform: scale(1.08);
}

.slider-progress-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.current-slide-num {
  color: var(--accent);
}

.total-slides-num {
  color: rgba(255, 255, 255, 0.5);
}

.slider-progress-track {
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.slider-progress-fill {
  display: block;
  height: 100%;
  width: 16.66%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 350ms ease;
}

/* ==========================================================================
   Projects Gallery Section
   ========================================================================== */

.projects-panel-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.projects-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.project-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.projects-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proj-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 250ms ease;
  cursor: pointer;
}

.proj-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.filter-tab {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 250ms ease;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.filter-tab.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.projects-horizontal-showcase {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 4px 20px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.08);
}

.projects-horizontal-showcase.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.projects-horizontal-showcase.is-dragging * {
  pointer-events: none;
}

.projects-horizontal-showcase::-webkit-scrollbar {
  height: 6px;
}

.projects-horizontal-showcase::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

.projects-horizontal-showcase::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.project-card-item {
  flex: 0 0 clamp(280px, 22vw, 340px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.project-card-item:hover,
.project-card-item:focus {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  outline: none;
}

.proj-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #000;
}

.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card-item:hover .proj-img-wrap img {
  transform: scale(1.06);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 8, 0.8) 100%);
}

.proj-src-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.proj-info {
  padding: 18px 20px;
}

.proj-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.proj-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
}

.proj-loc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ==========================================================================
   Why Choose Us (5 Value Cards)
   ========================================================================== */

.center-kicker {
  justify-content: center;
  margin-bottom: 10px;
}

.center-heading {
  text-align: center;
  margin-bottom: 34px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.why-card {
  background: rgba(241, 241, 241, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform 300ms ease, background 300ms ease, border-color 300ms ease;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-8px);
  background: rgba(241, 241, 241, 0.12);
  border-color: var(--accent);
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.why-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.why-accent-dash {
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   Contact & Closing Panel
   ========================================================================== */

.contact-panel {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  width: min(1080px, calc(100vw - 42px));
  opacity: var(--panel-contact-opacity);
  transform: translate3d(-50%, calc(-50% + var(--panel-contact-y)), 0);
  pointer-events: auto;
  will-change: transform, opacity;
}

.contact-card-inner {
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 48px 56px 28px;
  box-shadow: var(--shadow-heavy);
  position: relative;
  overflow: hidden;
}

.contact-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff4d58 50%, transparent 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
}

.contact-logo {
  height: 68px;
  width: 68px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.contact-corp-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--accent);
}

.contact-col-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
}

.detail-block {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.detail-val-company {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.detail-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.detail-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  transition: color 200ms ease;
}

.phone-link:hover {
  color: var(--accent);
}

.phone-icon {
  font-size: 1.1rem;
  color: var(--accent);
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  padding: 14px 24px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 12px;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: all 250ms ease;
}

.btn-primary-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-glow);
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 250ms ease;
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Project Detail Lightbox Modal
   ========================================================================== */

.project-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.project-modal[open] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.modal-window {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 36px));
  max-height: 90vh;
  overflow-y: auto;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  animation: modalPop 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  transition: all 200ms ease;
}

.modal-close-btn:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.modal-img-container {
  width: 100%;
  height: min(440px, 50vh);
  background: #000000;
  overflow: hidden;
}

.modal-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-content {
  padding: 28px 32px 32px;
}

.modal-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.modal-badge.verified-tag {
  background: rgba(201, 0, 13, 0.15);
  border-color: var(--accent);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (max-width: 1100px) */
@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 18px 24px;
    gap: 16px;
  }

  .brand-tag {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vm-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Mobile (max-width: 768px) — Complete Smartphone Optimization */
@media (max-width: 768px) {
  .stage {
    min-height: 560px;
    height: 100vh;
    height: 100dvh;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    gap: 12px;
  }

  .brand-emblem {
    height: 38px;
    width: 38px;
  }

  .brand-corp {
    font-size: 0.78rem;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 16px;
    gap: 8px;
    display: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    z-index: 200;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
  }

  .header-cta-btn {
    display: none;
  }

  .hero-title {
    font-size: clamp(3.6rem, 18vw, 5.5rem);
    top: clamp(80px, 14dvh, 120px);
  }

  .hero-subtitle {
    font-size: clamp(0.58rem, 2.5vw, 0.72rem);
    letter-spacing: 0.15em;
    top: clamp(150px, 23dvh, 195px);
  }

  .hero-machinery-img {
    bottom: -10px;
    width: 95vw;
  }

  .intro-copy {
    bottom: 12px;
    width: calc(100vw - 20px);
  }

  .intro-content-wrap {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .intro-lead {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .intro-sublead {
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .hero-tags {
    gap: 6px;
    margin-bottom: 6px;
  }

  .hero-tag {
    padding: 3px 10px;
    font-size: 0.68rem;
  }

  .scroll-prompt {
    display: none;
  }

  /* Story Panels on Mobile */
  .story-panel,
  .contact-panel {
    top: 52%;
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 80px);
  }

  .panel-card-inner {
    padding: 20px 16px;
    border-radius: 16px;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .panel-heading {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    line-height: 1.18;
    margin-bottom: 14px;
  }

  .panel-body p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .panel-metrics-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
  }

  .metric-val {
    font-size: 1.5rem;
  }

  .metric-lbl {
    font-size: 0.65rem;
  }

  .metric-divider {
    display: none;
  }

  /* Vision & Mission Mobile */
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 14px 0 10px;
  }

  .vision-box,
  .mission-box {
    padding: 16px;
    border-radius: 12px;
  }

  .vision-text {
    font-size: 0.88rem;
  }

  .mission-list li {
    font-size: 0.8rem;
    padding-left: 14px;
    gap: 8px;
  }

  /* Services Slider Mobile */
  .services-slider {
    top: clamp(80px, 13dvh, 115px);
  }

  .service-card {
    flex: 0 0 clamp(250px, 78vw, 310px);
    height: 310px;
    padding: 18px;
    border-radius: 14px;
  }

  .service-name {
    font-size: 1.18rem;
    margin-bottom: 6px;
  }

  .service-desc {
    font-size: 0.78rem;
    -webkit-line-clamp: 3;
  }

  .services-controls {
    bottom: 14px;
    padding: 6px 14px;
    gap: 10px;
  }

  .service-prev,
  .service-next {
    width: 32px;
    height: 32px;
  }

  /* Projects Mobile */
  .projects-panel-header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .project-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }

  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .projects-horizontal-showcase {
    gap: 12px;
    padding: 4px 0 12px;
  }

  .project-card-item {
    flex: 0 0 clamp(220px, 70vw, 270px);
    border-radius: 12px;
  }

  .proj-img-wrap {
    height: 135px;
  }

  .proj-info {
    padding: 12px 14px;
  }

  .proj-title {
    font-size: 0.92rem;
    margin-bottom: 4px;
  }

  .proj-loc {
    font-size: 0.72rem;
  }

  /* Why Grid Mobile */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    max-height: 55vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px;
  }

  .why-card {
    padding: 14px 14px;
    border-radius: 12px;
  }

  .why-num {
    font-size: 1.25rem;
  }

  .why-title {
    font-size: 0.98rem;
    margin-bottom: 4px;
  }

  .why-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  /* Contact Mobile */
  .contact-card-inner {
    padding: 22px 16px 18px;
    border-radius: 16px;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
  }

  .contact-logo {
    height: 50px;
    width: 50px;
    margin-bottom: 14px;
  }

  .contact-title {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
    margin-bottom: 10px;
  }

  .contact-lead {
    font-size: 0.84rem;
    margin-bottom: 14px;
  }

  .contact-col-details {
    padding: 16px 14px;
    gap: 14px;
    border-radius: 14px;
  }

  .phone-link {
    font-size: 1.15rem;
  }

  .contact-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.82rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 0.7rem;
    padding-top: 16px;
  }
}

/* ==========================================================================
   Accessibility: Reduced Motion Support
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scene-img,
  .back-stack,
  .hero-title,
  .hero-subtitle,
  .intro-copy,
  .story-panel,
  .services-track,
  .services-slider,
  .contact-panel {
    transition: none !important;
    animation: none !important;
  }
}
