body.t55x-page {
  --t55x-green: #00d7ae;
  --t55x-green-2: #78ffe8;
  --t55x-dark: #061411;
  --t55x-ink: #f7fffd;
  --t55x-muted: rgba(247, 255, 253, 0.74);
  --t55x-header-h: 64px;
  --t55x-subnav-h: 64px;
  background: #061411;
  color: var(--t55x-ink);

  /* clip ไม่ใช่ hidden — hidden ทำให้ body กลายเป็น scroll container เอง
     window.scrollY จะค้างที่ 0 สคริปต์ที่อิงการเลื่อนพัง */
  overflow-x: clip;
}

.t55x-official-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--t55x-header-h);
  color: #111;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.t55x-official-header__inner {
  width: min(1200px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
}

.t55x-dji-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #111;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.t55x-dji-mark {
  font-family: var(--font-site, Arial, sans-serif);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.t55x-global-links {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2.2rem);
  min-width: 0;
}

.t55x-global-links a,
.t55x-global-contact {
  color: rgba(17, 17, 17, 0.86);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.t55x-global-links a:hover,
.t55x-global-contact:hover {
  color: #000;
}

.t55x-global-contact {
  padding: 0.58rem 1.2rem;
  border-radius: 2px;
  background: #f7f7f7;
}

.t55x-hero {
  position: relative;
  min-height: calc(100svh - var(--t55x-header-h) - var(--t55x-subnav-h));
  overflow: hidden;
  display: grid;
  place-items: start center;
  isolation: isolate;
  background: #061411;
}

.t55x-hero__video,
.t55x-hero__shade,
.t55x-story__media,
.t55x-story__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.t55x-hero__video,
.t55x-story__media {
  object-fit: cover;
}

.t55x-hero__shade {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.12), transparent 22%),
    radial-gradient(circle at 56% 44%, rgba(0, 215, 174, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12) 38%, rgba(3, 15, 12, 0.72) 100%);
  pointer-events: none;
}

.t55x-hero__drone {
  --mx: 0px;
  --my: 0px;
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 8vw, 9rem);
  bottom: clamp(4rem, 10vh, 8rem);
  width: min(34vw, 520px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(120, 255, 232, 0.18);
  border-radius: 18px;
  filter:
    drop-shadow(0 34px 54px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 34px rgba(0, 215, 174, 0.18));
  opacity: 0.88;
  transform: translate3d(var(--mx), var(--my), 0) scale(1);
  transition: transform 260ms ease-out;
  pointer-events: none;
}

.t55x-official-mode .t55x-hero__drone {
  display: none;
}

.t55x-hero__content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin-top: clamp(2.4rem, 6.5vh, 5.2rem);
  text-align: center;
}

.t55x-kicker {
  width: fit-content;
  margin: 0 auto 0.75rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(120, 255, 232, 0.28);
  border-radius: 999px;
  color: var(--t55x-green-2);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 800;
  font-size: 0.78rem;
}

.t55x-hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-site, "Noto Sans Thai", sans-serif);
  font-size: clamp(4rem, 8.6vw, 8.8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.t55x-hero__lead {
  margin: clamp(1rem, 2.2vh, 1.6rem) 0 0;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 2.2rem);
  font-weight: 800;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.t55x-hero__actions,
.t55x-contact__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.t55x-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.t55x-btn:hover {
  transform: translateY(-2px);
}

.t55x-btn--primary {
  color: #02110e;
  background: linear-gradient(135deg, #ffffff, var(--t55x-green));
  box-shadow: 0 18px 42px rgba(0, 215, 174, 0.28);
}

.t55x-btn--glass {
  background: rgba(63, 69, 66, 0.64);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.t55x-btn--outline {
  border-color: rgba(120, 255, 232, 0.34);
  color: #cafff4;
  background: rgba(0, 0, 0, 0.16);
}

.t55x-play {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.t55x-subnav {
  position: sticky;
  top: var(--t55x-header-h);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 2.2vw, 2rem);
  min-height: var(--t55x-subnav-h);
  padding: 0 max(20px, calc((var(--vw) - 1200px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(35, 37, 38, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.t55x-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--t55x-subnav-h);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}

.t55x-subnav a:hover {
  color: #ffffff;
}

.t55x-subnav__title {
  margin-right: auto;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.t55x-subnav__spacer {
  display: none;
}

.t55x-subnav__contact {
  min-height: 36px !important;
  padding: 0 1.1rem;
  color: #ffffff !important;
  background: #1477d4;
  border-radius: 2px;
}

.t55x-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.t55x-intro {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f6fbfa;
  color: #071512;
}

.t55x-intro__text {
  max-width: 920px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: #2f4943;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.85;
  font-weight: 600;
}

.t55x-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.t55x-spec-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 16px;
  color: #ffffff;
  background: #0b1d19;
  box-shadow: 0 22px 52px rgba(2, 17, 14, 0.12);
}

.t55x-spec-card--wide {
  grid-column: span 1;
}

.t55x-spec-card img,
.t55x-spec-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.t55x-spec-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.68));
}

.t55x-spec-card:hover img,
.t55x-spec-card:hover video {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.04);
}

.t55x-spec-card div {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.35rem;
  z-index: 1;
}

.t55x-spec-card strong {
  display: block;
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  line-height: 0.95;
  font-family: var(--font-site, "Noto Sans Thai", sans-serif);
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.t55x-spec-card span {
  display: block;
  max-width: 26rem;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.t55x-story {
  --story-fade: 0;
  --story-y: 24px;
  --story-scale: 1.06;
  --story-late: 0;
  position: relative;
  min-height: 190vh;
  background: #061411;
}

.t55x-story__sticky {
  position: sticky;
  top: calc(var(--t55x-header-h) + var(--t55x-subnav-h));
  height: calc(100svh - var(--t55x-header-h) - var(--t55x-subnav-h));
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.t55x-story__media {
  z-index: 0;
  transform: scale(var(--story-scale));
  transition: transform 160ms linear;
}

.t55x-story__overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 70% 38%, rgba(0, 215, 174, 0.22), transparent 33%),
    linear-gradient(90deg, rgba(2, 16, 13, 0.92), rgba(2, 16, 13, 0.42) 48%, rgba(2, 16, 13, 0.2));
}

.t55x-story--split .t55x-story__overlay {
  background:
    radial-gradient(circle at 28% 50%, rgba(0, 215, 174, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(2, 16, 13, 0.88), rgba(2, 16, 13, 0.56) 50%, rgba(2, 16, 13, 0.22));
}

.t55x-story--tech .t55x-story__overlay {
  background:
    radial-gradient(circle at 68% 42%, rgba(0, 215, 174, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(1, 10, 8, 0.94), rgba(1, 10, 8, 0.46));
}

.t55x-story__copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-left: max(20px, calc((var(--vw) - 1160px) / 2));
  padding-top: clamp(6rem, 16vh, 9rem);
  opacity: var(--story-fade);
  transform: translateY(var(--story-y));
  transition: opacity 120ms linear, transform 120ms linear;
}

.t55x-story__copy p,
.t55x-feature-row__text p,
.t55x-contact__inner p {
  margin: 0 0 0.75rem;
  color: var(--t55x-green-2);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.t55x-story__copy h2,
.t55x-feature-row__text h2,
.t55x-contact__inner h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 6vw, 6.4rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.t55x-story__copy span,
.t55x-feature-row__text span {
  display: block;
  max-width: 38rem;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 700;
}

.t55x-story__stats {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((var(--vw) - 1160px) / 2));
  bottom: clamp(3rem, 9vh, 6rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  opacity: var(--story-late);
  transform: translateY(calc((1 - var(--story-late)) * 24px));
}

.t55x-story__stats div {
  min-width: 190px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(120, 255, 232, 0.22);
  border-radius: 14px;
  background: rgba(1, 13, 10, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.t55x-story__stats strong {
  display: block;
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
}

.t55x-story__stats span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.t55x-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) max(20px, calc((var(--vw) - 1160px) / 2));
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 215, 174, 0.18), transparent 30%),
    #091a16;
}

.t55x-feature-row__media {
  overflow: hidden;
  border: 1px solid rgba(120, 255, 232, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3);
}

.t55x-feature-row__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 2rem;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.28));
}

.t55x-radar {
  position: absolute;
  z-index: 2;
  right: 12vw;
  top: 26vh;
  width: min(32vw, 420px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(120, 255, 232, 0.22);
  opacity: calc(0.22 + var(--story-fade) * 0.75);
  pointer-events: none;
}

.t55x-radar::before {
  content: "";
  position: absolute;
  inset: 50% 50% 0 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--t55x-green), transparent);
  transform-origin: left center;
  animation: t55xRadarSweep 4s linear infinite;
}

.t55x-radar span {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(120, 255, 232, 0.18);
  border-radius: inherit;
}

.t55x-radar span:nth-child(2) { inset: 36%; }
.t55x-radar span:nth-child(3) { inset: 50%; background: var(--t55x-green); box-shadow: 0 0 22px rgba(0, 215, 174, 0.8); }

@keyframes t55xRadarSweep {
  to { transform: rotate(360deg); }
}

.t55x-contact {
  padding: clamp(5rem, 10vw, 8rem) 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 215, 174, 0.22), transparent 36%),
    linear-gradient(180deg, #081d18, #020806);
}

.t55x-official-resources {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: #071512;
  background: #f6fbfa;
}

.t55x-resources__head {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.t55x-resources__head p {
  margin: 0 0 0.5rem;
  color: #008f76;
  font-size: 0.9rem;
  font-weight: 900;
}

.t55x-resources__head h2 {
  margin: 0;
  color: #071512;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
  font-weight: 700;
}

.t55x-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.t55x-resource-grid article {
  padding: 1.5rem;
  border: 1px solid rgba(0, 143, 118, 0.16);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(2, 17, 14, 0.08);
}

.t55x-resource-grid span {
  color: #008f76;
  font-weight: 900;
}

.t55x-resource-grid h3 {
  margin: 0.45rem 0 0.6rem;
  color: #071512;
  font-size: 1.35rem;
}

.t55x-resource-grid p {
  margin: 0;
  color: #48625d;
  line-height: 1.75;
  font-weight: 600;
}

.t55x-resource-grid a {
  display: inline-flex;
  margin-top: 1rem;
  color: #007e66;
  font-weight: 900;
  text-decoration: none;
}

.t55x-contact__inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.t55x-contact__inner h2 {
  font-size: clamp(2rem, 4.6vw, 4.8rem);
}

@media (max-width: 980px) {
  body.t55x-page {
    --t55x-header-h: 64px;
    --t55x-subnav-h: 56px;
  }

  .t55x-official-header__inner {
    width: calc(100% - 28px);
    gap: 0.8rem;
  }

  .t55x-dji-brand {
    font-size: 1rem;
  }

  .t55x-global-links {
    display: none;
  }

  .t55x-global-contact {
    margin-left: auto;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .t55x-hero {
    min-height: calc(100svh - var(--t55x-header-h) - var(--t55x-subnav-h));
  }

  .t55x-hero__content {
    margin-top: clamp(3.4rem, 9vh, 5.5rem);
  }

  .t55x-hero h1 {
    font-size: clamp(3rem, 16vw, 5.6rem);
  }

  .t55x-hero__drone {
    right: 50%;
    bottom: 5rem;
    width: min(78vw, 420px);
    transform: translate3d(50%, 0, 0);
    opacity: 0.72;
  }

  .t55x-subnav {
    justify-content: flex-start;
    overflow-x: auto;
    top: var(--t55x-header-h);
    min-height: var(--t55x-subnav-h);
  }

  .t55x-subnav a {
    min-height: var(--t55x-subnav-h);
    font-size: 0.86rem;
  }

  .t55x-spec-grid,
  .t55x-feature-row {
    grid-template-columns: 1fr;
  }

  .t55x-spec-card {
    min-height: 280px;
  }

  .t55x-story {
    min-height: auto;
  }

  .t55x-story__sticky {
    position: relative;
    top: auto;
    min-height: 760px;
    height: auto;
    display: flex;
    align-items: flex-end;
  }

  .t55x-resource-grid {
    grid-template-columns: 1fr;
  }

  .t55x-story__copy {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 8rem 0 4rem;
    opacity: 1;
    transform: none;
  }

  .t55x-story__copy h2,
  .t55x-feature-row__text h2 {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .t55x-story__stats {
    left: 16px;
    right: 16px;
    bottom: 1.25rem;
    grid-template-columns: 1fr;
    opacity: 1;
    transform: none;
  }

  .t55x-feature-row {
    padding: 4rem 20px;
  }

  .t55x-radar {
    width: 70vw;
    right: 15vw;
    top: 26vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t55x-hero__drone,
  .t55x-spec-card img,
  .t55x-spec-card video,
  .t55x-story__media,
  .t55x-story__copy {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .t55x-story__copy,
  .t55x-story__stats {
    opacity: 1 !important;
  }
}

body.t55x-page .t55x-story__copy h2,
body.t55x-page .t55x-feature-row__text h2,
body.t55x-page .t55x-contact__inner h2 {
  font-weight: 700 !important;
}
