:root {
  --red: #e31e24;
  --ink: #111214;
  --muted: #666a70;
  --paper: #f3f3f1;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  font-family: Poppins, sans-serif;
  color: var(--ink);
}
body[lang="my"] {
  font-family: Padauk, Poppins, sans-serif;
}
body[lang="my"] .eyebrow {
  text-transform: none;
  letter-spacing: 0;
}
body[lang="my"] .display,
body[lang="my"] .section-title,
body[lang="my"] .card-title {
  letter-spacing: 0;
  line-height: 1.45;
}
body[lang="my"] #main-navigation .canva-link {
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.25;
  white-space: nowrap;
}
body[lang="my"] #main-navigation .pill-button {
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.25;
  white-space: nowrap;
  padding-inline: 16px;
}
body[lang="my"] #mobile-menu .canva-link {
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}
.myanmar {
  font-family: Padauk, sans-serif;
  line-height: 1.35;
}
.section-pad {
  padding: clamp(76px, 9vw, 136px) 24px;
}
.shell {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.display {
  font-size: clamp(40px, 6.2vw, 86px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 800;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.card-title {
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.pill-button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s;
}
.pill-button:hover {
  transform: translateY(-2px);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ff777b;
  outline-offset: 3px;
}
.hero {
  min-height: calc(89 * min(var(--vh, 1vh), 1vh));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(125deg, #08090b 34%, #35090d 100%);
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #08090b 10%,
      rgba(8, 9, 11, 0.83) 39%,
      rgba(8, 9, 11, 0.23) 100%
    ),
    linear-gradient(0deg, rgba(8, 9, 11, 0.65), transparent 38%);
  pointer-events: none;
}
.hero-beam {
  position: absolute;
  z-index: 1;
  width: 2px;
  height: 58%;
  top: 7%;
  right: 29%;
  background: linear-gradient(
    transparent,
    rgba(255, 190, 172, 0.65),
    transparent
  );
  box-shadow: 0 0 45px 12px rgba(227, 30, 36, 0.22);
  animation: beam 4s ease-in-out infinite alternate;
}
@keyframes beam {
  to {
    opacity: 0.35;
    transform: translateY(-18px);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
}
.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.88));
}
.lift-card {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}
.lift-card img {
  transition: transform 0.6s;
}
.lift-card:hover img {
  transform: scale(1.045);
}
.project-img {
  height: 230px;
  width: 100%;
  object-fit: cover;
}
.portrait {
  width: 100%;
  aspect-ratio: 4/4.2;
  object-fit: cover;
}
.projects-carousel {
  position: relative;
  overflow: hidden;
}
.projects-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  touch-action: pan-y;
}
.projects-track > article {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}
.carousel-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d2d3d1;
  border-radius: 999px;
  background: #fff;
  color: #111214;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.carousel-control:hover {
  background: #e31e24;
  color: #fff;
  transform: translateY(-2px);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #d2d3d1;
  padding: 0;
  transition:
    width 0.2s,
    background 0.2s;
}
.carousel-dot[aria-current="true"] {
  width: 24px;
  background: #e31e24;
}
@media (max-width: 1023px) {
  .projects-track > article {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media (max-width: 639px) {
  .projects-track > article {
    flex-basis: 100%;
  }
}
.timeline-line {
  position: absolute;
  top: 23px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: #d2d3d1;
}
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
[hidden] {
  display: none !important;
}
@media (max-width: 767px) {
  .hero {
    min-height: calc(91 * min(var(--vh, 1vh), 1vh));
  }
  .hero-photo {
    width: 100%;
    opacity: 0.42;
  }
  .hero:after {
    background: linear-gradient(
      0deg,
      #09090b 2%,
      rgba(9, 9, 11, 0.5) 65%,
      rgba(9, 9, 11, 0.82)
    );
  }
  .hero-beam {
    right: 38%;
  }
  .timeline-line {
    top: 20px;
    bottom: 20px;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .lift-card {
    min-height: 350px;
  }
  body {
    padding-bottom: 68px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-beam {
    animation: none;
  }
  .lift-card img,
  .pill-button {
    transition: none;
  }
}

/* Refined visual layer: keeps the existing sections and interactions intact. */
:root {
  --red: #d8232a;
  --ink: #171719;
  --muted: #68686d;
  --paper: #f5f5f7;
  --line: rgba(23, 23, 25, 0.1);
}

html {
  scroll-padding-top: 96px;
  background: #fff;
}

body {
  color: var(--ink);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #171719;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  max-width: 1240px;
}

.canva-header {
  background: rgba(17, 18, 20, 0.94) !important;
  border-bottom-color: rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
}

#main-navigation {
  min-height: 88px !important;
}

#home-link img {
  width: 176px;
  height: 76px;
  padding: 6px;
}

#main-navigation > div a,
#mobile-menu a,
#footer-navigation a {
  transition: color 180ms ease, opacity 180ms ease;
}

#main-navigation > div a:hover,
#mobile-menu a:hover,
#footer-navigation a:hover {
  color: #ff777b !important;
}

.section-pad {
  padding-top: clamp(76px, 8.5vw, 116px);
  padding-bottom: clamp(76px, 8.5vw, 116px);
}

.eyebrow {
  margin-bottom: 16px !important;
  color: var(--red) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  line-height: 1.5 !important;
}

.section-title {
  max-width: 900px;
  font-size: clamp(34px, 4.2vw, 56px) !important;
  font-weight: 650 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
}

.display {
  font-size: clamp(38px, 5.4vw, 68px) !important;
  font-weight: 650 !important;
  line-height: 1.06 !important;
  letter-spacing: -0.055em !important;
}

[data-template-id="trust-section"] .section-title {
  margin-inline: auto;
}

[data-template-id="statement-section"] .section-title {
  margin-inline: auto;
}

.card-title {
  font-size: clamp(25px, 2.6vw, 34px) !important;
  font-weight: 600 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.045em !important;
}

.hero {
  min-height: min(780px, calc(100svh - 88px));
  background: #101012;
}

.hero-photo {
  width: 72%;
  opacity: 0.58;
  filter: saturate(0.82);
}

.hero:after {
  background:
    linear-gradient(90deg, #101012 5%, rgba(16, 16, 18, 0.88) 35%, rgba(16, 16, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 16, 18, 0.5), transparent 45%);
}

.hero-content {
  padding-top: clamp(88px, 12vw, 148px) !important;
  padding-bottom: clamp(88px, 12vw, 148px) !important;
}

.hero-content h1 {
  max-width: 820px;
  font-size: clamp(58px, 9.2vw, 118px) !important;
  line-height: 0.94 !important;
  font-weight: 700 !important;
  letter-spacing: -0.075em !important;
}

.hero-content [data-template-id="hero-description"] {
  max-width: 570px;
  font-size: clamp(18px, 2vw, 23px) !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.pill-button {
  min-height: 50px;
  padding: 13px 24px;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.pill-button.bg-\[\#e31e24\] {
  background: var(--red) !important;
  box-shadow: 0 8px 22px rgba(216, 35, 42, 0.2);
}

.pill-button.bg-\[\#e31e24\]:hover {
  background: #bd1c23 !important;
  box-shadow: 0 12px 28px rgba(216, 35, 42, 0.28);
}

.lift-card {
  min-height: 430px;
  border-radius: 28px;
  background: #242427;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.lift-card img {
  filter: saturate(0.88);
}

.lift-card .image-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.82) 100%);
}

[data-template-id="trust-section"] .grid > div {
  min-height: 190px;
  border: 1px solid rgba(23, 23, 25, 0.045);
  border-radius: 24px;
  background: #f5f5f7;
  box-shadow: 0 8px 24px rgba(23, 23, 25, 0.035);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

[data-template-id="trust-section"] .grid > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(23, 23, 25, 0.08);
}

[data-template-id="winch-card"],
[data-template-id="hydraulic-card"] {
  border: 1px solid rgba(23, 23, 25, 0.05);
  border-radius: 26px !important;
  background: #f5f5f7 !important;
  padding: clamp(26px, 4vw, 42px) !important;
}

.systems-recommendation {
  padding: 20px 24px;
  border: 1px solid rgba(216, 35, 42, 0.12);
  border-radius: 22px;
  background: linear-gradient(110deg, #faf4f4, #f7f7f8 72%);
}

.systems-recommendation [data-template-id="systems-note"] {
  max-width: 650px;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  color: #3e3e42 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.65;
}

.projects-track > article {
  overflow: hidden;
  border: 1px solid rgba(23, 23, 25, 0.07);
  border-radius: 24px;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(23, 23, 25, 0.055);
}

.projects-track > article > .relative {
  overflow: hidden;
}

.projects-track > article > div:nth-child(2) h3 {
  margin-top: 0.35rem !important;
  margin-bottom: 0.65rem;
  font-size: 27px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.045em;
}

.projects-track > article > div:nth-child(2) .eyebrow {
  margin: 0 !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.12em !important;
}

.projects-track > article > div:nth-child(2) p.text-sm {
  margin-top: 0.6rem !important;
  color: #77777c !important;
  font-size: 13px !important;
  line-height: 1.5;
}

.project-img {
  height: 250px;
  transition: transform 500ms ease;
}

.projects-track > article:hover .project-img {
  transform: scale(1.035);
}

.carousel-dot {
  width: 28px;
  height: 28px;
  position: relative;
  background: transparent;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: #bfc0c3;
  transform: translate(-50%, -50%);
  transition: width 180ms ease, background-color 180ms ease;
}

.carousel-dot[aria-current="true"]::before {
  width: 22px;
  background: var(--red);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

[data-template-id="form-card"] {
  border: 1px solid rgba(23, 23, 25, 0.08);
  border-radius: 28px !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24) !important;
}

[data-template-id="why-section"] .canva-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

[data-template-id="why-section"] .canva-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #ff777b;
  box-shadow: 0 0 10px rgba(255, 119, 123, 0.35);
}

#consultation-form input,
#consultation-form select {
  min-height: 50px;
  border-color: #d8d8dc;
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

#consultation-form input:focus,
#consultation-form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(216, 35, 42, 0.1);
}

#contact address a,
#contact address p {
  line-height: 1.7;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 76px;
  }

  #main-navigation {
    min-height: 72px !important;
  }

  #home-link img {
    width: 145px;
    height: 64px;
  }

  .hero {
    min-height: min(760px, calc(100svh - 72px));
  }

  .hero-content h1 {
    max-width: 620px;
    font-size: clamp(52px, 14vw, 82px) !important;
    letter-spacing: -0.065em !important;
  }

  .hero-photo {
    width: 100%;
    opacity: 0.48;
  }

  .section-pad {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-title {
    font-size: clamp(33px, 9vw, 46px) !important;
    letter-spacing: -0.045em !important;
  }

  .display {
    font-size: clamp(35px, 9.5vw, 48px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.04em !important;
  }

  .lift-card {
    min-height: 370px;
    border-radius: 22px;
  }

  .project-img {
    height: 220px;
  }

  .systems-recommendation {
    align-items: stretch;
    padding: 18px;
  }

  .systems-recommendation .pill-button {
    width: 100%;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  [data-template-id="trust-section"] .grid > div {
    padding: 24px 16px;
  }

  [data-template-id="trust-section"] [data-template-id="stat-three"] {
    font-size: clamp(28px, 4.8vw, 48px) !important;
    white-space: nowrap;
  }
}

body[lang="my"] .eyebrow {
  letter-spacing: 0 !important;
  line-height: 1.6 !important;
}

body[lang="my"] .section-title,
body[lang="my"] .card-title,
body[lang="my"] .display,
body[lang="my"] .hero-content h1 {
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
}

body[lang="my"] .display {
  font-size: clamp(32px, 6vw, 48px) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
