:root {
  --accent: #e5362c;
  --bg: #07080a;
  --fg: #f5f5f5;
  --muted: #a0a5ab;
  --gap: 18px;
  --gap-lg: 22px;
  --navH: 88px;
  --navH-shrink: 72px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, Arial, sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}

/* global default */
:root {
  --pagePad: 0px;
}
main {
  padding-top: var(--pagePad);
}

/* เฉพาะหน้า home */
body[data-page="innovation"] {
  --pagePad: var(--navH);
}
body[data-page="innovation"].nav-shrink {
  --pagePad: var(--navH-shrink);
}
body[data-page="work"] {
  --pagePad: var(--navH);
}
body[data-page="work"].nav-shrink {
  --pagePad: var(--navH-shrink);
}
body[data-page="wsa"] {
  --pagePad: var(--navH);
}
body[data-page="wsa"].nav-shrink {
  --pagePad: var(--navH-shrink);
}
body[data-page="contact"] {
  --pagePad: var(--navH);
}
body[data-page="contact"].nav-shrink {
  --pagePad: var(--navH-shrink);
}

/* Gate (no streaks) */
body.gate {
  display: grid;
  place-items: center;
  min-height: 100svh;
  background: #06070a;
}
#gatebg {
  position: fixed;
  inset: 0;
  display: block;
}
.gate-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
}
.gate-logo {
  background: transparent;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 14px;
  transform: translateZ(0);
}
.gate-logo img {
  width: min(56vw, 460px);
  filter: drop-shadow(0 20px 80px rgba(229, 54, 44, 0.35));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gate-logo .tap {
  color: #fff9;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gate-logo:hover img {
  transform: scale(1.04);
}
.gate-logo.punch img {
  animation: punch 0.7s cubic-bezier(0.12, 0.9, 0.18, 1) forwards;
}
@keyframes punch {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(6);
  }
}
.gate-fade {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 3;
}
.gate-fade.on {
  opacity: 1;
}

/* Header */
.nav-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--navH);
  background: rgba(12, 12, 16, 0.42);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 80;
  contain: paint;
  transition: height 0.25s ease;
}
.nav-wrap {
  max-width: min(1180px, 92vw);
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--gap);
}
.nav-left,
.nav-right {
  display: flex;
  gap: var(--gap);
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.brand {
  display: grid;
  place-items: center;
}
.brand-mark {
  width: 168px;
  will-change: transform;
}
.link {
  position: relative;
  font-weight: 700;
  opacity: 0.92;
}
.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #ff7a68);
  transition: width 0.25s;
}
.link:hover::after {
  width: 100%;
}
body.nav-shrink .nav-bar {
  height: var(--navH-shrink);
}

/* Route & Splash */
.x-route-mask {
  position: fixed;
  inset: 0;
  background: #000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
  z-index: 180;
}
.x-route-mask.is-on {
  opacity: 1;
  pointer-events: auto;
}
.x-logo {
  width: min(64vw, 560px);
  filter: drop-shadow(0 16px 60px rgba(229, 54, 44, 0.35));
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.26s;
}
.x-route-mask.is-on .x-logo {
  transform: scale(1);
  opacity: 1;
}
.splash {
  position: fixed;
  inset: 0;
  background: #000;
  display: grid;
  place-items: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.splash.is-on {
  opacity: 1;
  pointer-events: auto;
}
.splash.is-off {
  opacity: 0;
  pointer-events: none;
}
.splash-logo {
  width: min(58vw, 420px);
}

/* BG stack */
.bgfx {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}
#bgfx {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hero */
.hero {
  min-height: 94svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px 40px;
  position: relative;
  overflow: hidden;
}
.wrap {
  max-width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 0 2px;
  will-change: contents;
}
.hero-v4video .hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-v4video .hv {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04) brightness(0.82);
}
.hero-v4video .video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 600px at 50% 0%,
      rgba(229, 54, 44, 0.12),
      transparent 50%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.36),
      rgba(0, 0, 0, 0.68) 60%,
      rgba(0, 0, 0, 0.9)
    );
}
.headline {
  margin: 0;
  font-size: clamp(38px, 6.6vw, 90px);
}
.lede {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  max-width: 820px;
  margin: 10px auto 0;
}
.pill {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: 0.2s transform;
}
.pill:hover {
  transform: translateY(-2px);
}
.solid {
  background: linear-gradient(135deg, var(--accent), #ff725f);
  border: none;
  color: #fff;
  font-weight: 800;
}
.ghost {
  background: rgba(255, 255, 255, 0.06);
}
.cta {
  display: flex;
  gap: var(--gap);
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Lines */
.fx-lines {
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  pointer-events: none;
}
.fx-lines .l {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  top: calc(30% + var(--y, 0px));
  transform: translateX(var(--x, 0));
}
.fx-lines .l:nth-child(2) {
  top: calc(60% + var(--y, 0px));
  opacity: 0.7;
}
.fx-lines .l:nth-child(3) {
  top: calc(85% + var(--y, 0px));
  opacity: 0.4;
}

/* Highlight (Grid redesign) */
.highlight.grid {
  padding: 36px 0 70px;
}
.hl-head {
  display: grid;
  justify-items: center;
  gap: 80px;
  margin-bottom: 190px;
}
.hl-title {
  font-weight: 800;
}
.hl-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  text-align: center;
}
.hl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
@media (max-width: 980px) {
  .hl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .hl-grid {
    grid-template-columns: 1fr;
  }
}
.tile {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.tile img {
  display: block;
  width: 100%;
  height: clamp(200px, 28vw, 380px);
  object-fit: cover;
  filter: saturate(1.02);
}
.tile h3 {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  font-size: 18px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.tile:hover {
  transform: translateY(-4px);
}

/* Our Company (Grid redesign) */
.ourco.block {
  padding: 14px 0 100px;
}
.oc-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
}
.oc-head p {
  color: var(--muted);
  margin: 0;
}
.oc-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
@media (max-width: 1100px) {
  .oc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .oc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.oc-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  align-items: end;
  min-height: clamp(140px, 18vw, 220px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.oc-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}
.oc-item span {
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  font-weight: 700;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}
.oc-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}
.oc-item:hover {
  transform: translateY(-3px);
}

/* Simple content */
.hero-simple {
  padding: 40px 0 20px;
  text-align: center;
}
.content {
  padding: 20px 0 100px;
}
.textcard {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.02)
  );
}

/* Ticker */
.ticker {
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
  overflow: hidden;
}
.ticker .track {
  display: inline-block;
  white-space: nowrap;
  animation: t 16s linear infinite;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ticker .track span {
  padding: 0 24px;
}
@keyframes t {
  to {
    transform: translateX(-50%);
  }
}

/* Reveal */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
}
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.6s, transform 0.6s;
}
.headline span.ch {
  display: inline-block;
  will-change: transform;
}
.headline.jiggle.reveal span.ch {
  animation: ch-w 1.4s ease both;
}
@keyframes ch-w {
  0% {
    transform: translateY(10px) rotateZ(0.35deg);
    opacity: 0;
  }
  60% {
    transform: translateY(-2px) rotateZ(0);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

/* Footer */
.foot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}
.foot-row {
  max-width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}
.foot-copy {
  text-align: center;
  color: var(--muted);
}

/* === Sheen sweep (แสงกวาด) === */
.sheen {
  position: relative;
  overflow: hidden;
  --sheen-color: rgba(255, 255, 255, 0.55);
}
.sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    75deg,
    transparent 0%,
    var(--sheen-color) 45%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: translateX(-120%) skewX(-15deg);
  filter: blur(1px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: sheen-move 2.2s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}
.headline.sheen::after {
  filter: blur(2px);
  opacity: 0.6;
}
@keyframes sheen-move {
  0% {
    transform: translateX(-120%) skewX(-15deg);
  }
  55% {
    transform: translateX(110%) skewX(-15deg);
  }
  100% {
    transform: translateX(110%) skewX(-15deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheen::after {
    animation: none;
    opacity: 0;
  }
}

/* === Flow-Field BG (อยู่หลังคอนเทนต์) === */
.fx-flow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
#flowfx {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.3;
} /* ปรับความแรงที่ opacity */

/* ===== Spotlight highlight ตามตำแหน่งเมาส์บนการ์ด ===== */
.has-spotlight {
  position: relative;
}
.has-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    160px circle at var(--hx, -1000px) var(--hy, -1000px),
    rgba(255, 255, 255, 0.1),
    transparent 60%
  );
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.has-spotlight:hover::before {
  opacity: 1;
}

/* ===== Proximity glow: เรืองแสงตามความใกล้ของเมาส์ ===== */
[data-proximity] {
  position: relative;
  --near: 0;
}
[data-proximity]::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    120px circle at var(--px, -1000px) var(--py, -1000px),
    rgba(229, 54, 44, calc(var(--near) * 0.18)),
    transparent 70%
  );
  pointer-events: none;
  transition: opacity 0.15s ease;
  opacity: calc(0.35 + var(--near) * 0.65);
}

/* ===== Mouse trail canvas (อยู่ใต้ header/route-mask) ===== */
#mouse-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: 60; /* header≈80, route-mask=180, splash=200 */
}
/* ===== Highlight coverflow rail ===== */
.highlight.hl-rail {
  padding: 36px 0 86px;
}
.hl-rail .rail {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 10vw 22px;
  position: relative;
  scrollbar-width: none;
  mask-image: linear-gradient(
    to right,
    transparent 0 2%,
    #000 10%,
    #000 90%,
    transparent 98%
  );
}
.hl-rail .rail::-webkit-scrollbar {
  display: none;
}

/* การ์ด */
.hl-rail .card {
  position: relative;
  flex: 0 0 clamp(240px, 36vw, 420px);
  height: clamp(180px, 28vw, 320px);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.26);
  transform: translateY(var(--y, 0)) scale(var(--s, 0.9));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  scroll-snap-align: center;
  will-change: transform;
}
.hl-rail .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
}
.hl-rail .card h3 {
  position: absolute;
  left: 16px;
  bottom: 12px;
  margin: 0;
  font-size: 16px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

/* ใบกลางเด่นขึ้น */
.hl-rail .card.is-center {
  --s: 1.06;
  --y: -6px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

/* ปุ่มลาก/แตะลื่น */
.hl-rail .rail.grabbing {
  cursor: grabbing;
}

/* กลุ่ม Swiper ของ Highlight */
.cf-swiper {
  padding: 160px 0 80px;
  perspective: 1200px;
}
.trending-slider {
  padding: 8px 0 0;
}
.trending-slider .swiper-wrapper {
  align-items: center;
}

.trending-slider .swiper-slide {
  width: clamp(240px, 36vw, 420px);
  height: clamp(180px, 28vw, 320px);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  /* border:1px solid rgba(255,255,255,.08); */
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.trending-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ให้ container ของ Highlight มองเห็น pseudo elements */
.cf-swiper {
  padding: 160px 0 80px;
  perspective: 1200px;
  overflow: visible; /* สำคัญ: ไม่ตัดขอบของ ::before/::after */
}

.trending-slider {
  position: relative;
  padding-inline: clamp(16px, 8vw, 120px);
  --fadeW: clamp(28px, 10vw, 160px); /* ซ้าย/ขวา */
  --fadeV: clamp(18px, 6vh, 80px); /* บน/ล่าง */

  /* เฟดซ้าย-ขวา + บน-ล่าง */
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--fadeW),
      #000 calc(100% - var(--fadeW)),
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0,
      #000 var(--fadeV),
      #000 calc(100% - var(--fadeV)),
      transparent 100%
    );
  mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--fadeW),
      #000 calc(100% - var(--fadeW)),
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0,
      #000 var(--fadeV),
      #000 calc(100% - var(--fadeV)),
      transparent 100%
    );

  /* รวม (intersect) หน้ากากทั้งสอง */
  /* Firefox */
  mask-composite: intersect;
  /* WebKit (ต้องมีค่าเท่าจำนวนเลเยอร์-1) */
  -webkit-mask-composite: source-in;
}
/* เฟดซ้าย–ขวา ทั้งราง (คงไว้เหมือนเดิม) */
.trending-slider {
  --fadeW: clamp(28px, 10vw, 160px);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--fadeW),
    #000 calc(100% - var(--fadeW)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--fadeW),
    #000 calc(100% - var(--fadeW)),
    transparent 100%
  );
}

/* เฟดบน/ล่าง “ต่อใบ” (แต่ไม่ใส่กับใบกลาง) */
.cf-card {
  --vFade: clamp(18px, 6vh, 72px); /* ความสูงเฟดบน/ล่าง */
  position: relative;
}

.cf-card::before,
.cf-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.cf-card::before {
  /* top */
  top: 0;
  height: var(--vFade);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}
.cf-card::after {
  /* bottom */
  bottom: 0;
  height: var(--vFade);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

/* ใบกลาง: ไม่ให้มีเฟดบน/ล่าง */
.cf-card.is-center::before,
.cf-card.is-center::after {
  opacity: 0;
}

/* Fallback overlay: ถ้า mask ไม่ทำงานก็ยังได้เอฟเฟกต์ใกล้เคียง */
.trending-slider::before,
.trending-slider::after {
  content: "";
  /* position:absolute; inset:0 auto 0 0; width:var(--fadeW); */
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(to right, var(--bg), transparent);
}
.trending-slider::after {
  left: auto;
  right: 0;
  /* background: linear-gradient(to left, var(--bg), transparent); */
}

/* ตัวสไลด์ (คงของเดิมได้) */
.trending-slider .swiper-wrapper {
  align-items: center;
}
.trending-slider .swiper-slide {
  width: clamp(240px, 36vw, 420px);
  height: clamp(180px, 28vw, 320px);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.trending-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Gate: Video background ===== */
.gate-bg {
  position: fixed;
  inset: 0;
  z-index: -2; /* อยู่เหนือ Spectra (-3) แต่ใต้คอนเทนต์ (2) */
  overflow: hidden;
  pointer-events: none; /* ไม่บังการคลิกปุ่ม */
  opacity: 0;
  transition: opacity 0.6s ease;
}
.gate-bg.is-ready {
  opacity: 1;
}

.gate-vid {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04) brightness(0.82);
}

/* ไล่โทน/ทำให้ส่วนล่างเข้มขึ้นคล้ายหน้า home */
.gate-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 600px at 50% 0%,
      rgba(229, 54, 44, 0.12),
      transparent 55%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.78) 60%,
      rgba(0, 0, 0, 0.92)
    );
}

/* ลด motion: ถ้าระบบขอลด animation ให้ซ่อนวิดีโอ (ใช้ poster แทน) */
@media (prefers-reduced-motion: reduce) {
  .gate-vid {
    display: none;
  }
  .gate-bg {
    opacity: 1;
  } /* โชว์โปสเตอร์ทันที */
}
/* Bigger title for Highlight Service */
.hl-head .hl-title {
  font-size: clamp(28px, 4.2vw, 20px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  font-weight: 800; /* คงน้ำหนักเดิม */
}
/* หนาเฉพาะหัวข้อ */
.hl-head .hl-title {
  font-weight: 900 !important;
}

/* ถ้าอยากให้ทั้งบล็อก hl-head หนา (หัวข้อ+ซับ) */
.hl-head {
  font-weight: 900;
}
/* แล้วคุมให้ซับกลับไปบางลง */
.hl-head .hl-sub {
  font-weight: 400;
}
/* เฟดเฉพาะชั้นวิดีโอ */

.hero-v4video .hero-video {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 85%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, #000 0, #000 85%, transparent 100%);
}

/* ===== Spiral BG (ใหญ่มาก จางๆ) ===== */
.bg-spiral {
  position: fixed;
  inset: 0;
  z-index: -1; /* อยู่หลังคอนเทนต์ (เหนือ bgfx/fx-flow) */
  display: grid;
  place-items: center;
  pointer-events: none;
}
.bg-spiral .spiral {
  position: relative;
  width: min(68vmin, 820px);
  height: min(82vmin, 980px);
  perspective: 1000px;
  opacity: 0.22; /* ความจางรวม */
  filter: blur(1.2px) saturate(1.02);
}
.bg-spiral .spiral span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-weight: 900; /* หนา */
  font-size: clamp(36px, 10vw, 140px); /* ใหญ่มาก */
  letter-spacing: 0.06em;
  color: transparent; /* โทนเส้นขอบ */
  -webkit-text-stroke: var(--stroke, 2.8px) rgba(255, 255, 255, 0.16); /* ปรับความหนา stroke ได้ */
  text-shadow: 0 0 40px rgba(229, 54, 44, 0.06);
  animation: spin 28s linear infinite;
  will-change: transform;
}
@keyframes spin {
  to {
    transform: rotateY(1turn);
  }
}

/* วางตัวอักษรเป็นเกลียว */
.bg-spiral .spiral span {
  --N: 42; /* จำนวนชิ้น */
  transform: rotateY(calc(var(--i) * (360deg / var(--N)))) translateZ(260px)
    translateY(calc((var(--i) - var(--N) / 2) * 12px));
  animation-delay: calc(var(--i) * -0.25s);
}

/* ===== Bottom Runner (ตัวหนาๆ วิ่งช้าๆ เท่ๆ) ===== */
.bg-runner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -1vh;
  z-index: -1;
  pointer-events: none;
  /* เฟดขึ้นด้านบนให้ดูลอยๆ */
  -webkit-mask-image: linear-gradient(to top, #000 55%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to top, #000 55%, rgba(0, 0, 0, 0) 100%);
}
.runner-track {
  display: inline-block;
  white-space: nowrap;
  font-weight: 900; /* หนามาก */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(44px, 9vw, 170px); /* ใหญ่ */
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.1); /* เติมสีจาง */
  -webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.22); /* ขอบหนาๆ */
  text-shadow: 0 0 30px rgba(229, 54, 44, 0.1);
  animation: runner var(--dur, 80s) linear infinite;
}
.runner-track span {
  padding: 0 3vw;
}
@keyframes runner {
  to {
    transform: translateX(-50%);
  }
}
/* ===== BG Typo: ตัวหนังสือใหญ่วิ่งช้าๆ จางๆ ===== */
.typo-bg {
  position: fixed;
  inset: 0;
  z-index: -1; /* อยู่เหนือ spectra(-3) / flow-field(-2) แต่หลังคอนเทนต์ */
  pointer-events: none;
  /* เฟดขอบบน-ล่าง + ซ้าย-ขวา ให้เนียน */
  --fadeV: 10%;
  --fadeH: 6%;
  -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 var(--fadeV),
      #000 calc(100% - var(--fadeV)),
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0,
      #000 var(--fadeH),
      #000 calc(100% - var(--fadeH)),
      transparent 100%
    );
  mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 var(--fadeV),
      #000 calc(100% - var(--fadeV)),
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0,
      #000 var(--fadeH),
      #000 calc(100% - var(--fadeH)),
      transparent 100%
    );
  /* รวมมาสก์สองแกน */
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* 1 แถวของตัวหนังสือ */
.typo-bg .row {
  position: absolute;
  left: -50vw; /* ทำให้ยาวเกินจอ เผื่อเลื่อนไม่เห็นรอยต่อ */
  width: 200vw;
  white-space: nowrap;
  letter-spacing: 0.02em;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-weight: 900; /* ปรับ “ความหนา” ตรงนี้ 700/800/900 */
  font-size: clamp(120px, 22vw, 420px); /* ขนาดตัวอักษรใหญ่ๆ */
  line-height: 0.8;
  color: #fff;
  opacity: 0.08; /* ความจาง (ปรับได้ .05 – .15) */
  filter: blur(0.6px); /* เบลอนิดๆ ให้ดูเป็น BG */
  mix-blend-mode: screen; /* ให้กลมกับแสงพื้นหลัง */
  animation: typo-move 120s linear infinite; /* ค่าเริ่ม: วิ่งช้า */
}

/* แต่ละแถวกำหนดตำแหน่ง/ความเร็ว/ทิศทาง */
.typo-bg .r1 {
  top: 18%;
  animation-duration: 140s;
}
.typo-bg .r2 {
  top: 50%;
  animation-duration: 110s;
  animation-direction: reverse;
  opacity: 0.1;
}
.typo-bg .r3 {
  top: 82%;
  animation-duration: 160s;
  opacity: 0.07;
}

@keyframes typo-move {
  to {
    transform: translateX(-50%);
  }
}

/* สร้างข้อความซ้ำๆ ยาวเต็มแถว */
.typo-bg .row::before {
  content: attr(data-text) attr(data-text) attr(data-text) attr(data-text)
    attr(data-text);
}
/* ===== Spiral Typo WOW (แดง-ดำ หันตรง มีมิติ) ===== */

/* ปุ่มปรับหลัก (หมุน/ขนาด/ความแน่น) */
.spiral-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: 0.18;
  mix-blend-mode: screen;

  /* เฟดขอบรอบ ๆ ให้เนียน */
  --fadeV: 9%;
  --fadeH: 8%;
  -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 var(--fadeV),
      #000 calc(100% - var(--fadeV)),
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0,
      #000 var(--fadeH),
      #000 calc(100% - var(--fadeH)),
      transparent 100%
    );
  mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 var(--fadeV),
      #000 calc(100% - var(--fadeV)),
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0,
      #000 var(--fadeH),
      #000 calc(100% - var(--fadeH)),
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* ปรับ “ความกว้างของการหมุน”/รัศมี/ความแน่นได้ตรงนี้ */
.spiral-bg {
  --R: clamp(260px, 26vw, 540px); /* รัศมีทรงกระบอก (ใหญ่ = เกลียวกว้าง) */
  --gap: clamp(22px, 3vh, 34px); /* ระยะห่างตามแกน Y (แก้ชน/โปร่ง) */
  --theta: 16deg; /* มุมต่อหนึ่งตัว (16–20deg สวยและอ่านง่าย) */
  --tilt: -6deg; /* ก้ม/เงยทั้งชุด (0 = ตรง) */
  --N: 110; /* จำนวนตัวต่อเกลียว */
  --spin: 36s; /* ความเร็วหมุน (น้อย = หมุนช้า) */
}

/* กล่อง 3D + พารัลแลคซ์เมาส์ */
.spiral-wrap {
  width: clamp(560px, 66vw, 1280px);
  height: clamp(720px, 78vh, 1320px);
  perspective: 1600px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out;
}
.spiral-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spiral-spin var(--spin) linear infinite;
}
@keyframes spiral-spin {
  to {
    transform: rotateY(1turn);
  }
}

.spiral {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.spiral.s2 {
  opacity: 0.9;
} /* เส้นที่สองแบบ double-helix */

/* ตัวอักษร 3D (อ่านชัด หันตรง) */
.spiral .ch {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-weight: 900; /* หนา ๆ */
  font-size: clamp(28px, 3.8vw, 56px);
  letter-spacing: 0.04em;

  /* เติมเท็กซ์แบบแดง-ดำ */
  color: transparent;
  background: linear-gradient(
    to bottom,
    #ff5d4f 0%,
    #e5362c 50%,
    #250605 85%,
    #000 100%
  );
  -webkit-background-clip: text;
  background-clip: text;

  /* Glow/ความลึก */
  text-shadow: 0 0 10px rgba(229, 54, 44, 0.2), 0 0 28px rgba(229, 54, 44, 0.12);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));

  /* วางตำแหน่งบนทรงกระบอก */
  transform: translate(-50%, -50%) rotateX(var(--tilt))
    rotateY(calc(var(--phi, 0deg) + var(--i) * var(--theta)))
    translateZ(var(--R))
    translateY(calc((var(--i) - var(--N) / 2) * var(--gap)))
    /* Counter-rotate: หันตัวอักษร “ตรงเข้ากล้อง” */
    rotateY(calc(-1 * (var(--phi, 0deg) + var(--i) * var(--theta))))
    rotateX(calc(-1 * var(--tilt)));

  backface-visibility: hidden;
  will-change: transform;
}

/* Light bloom/เส้นแสงกลาง ๆ ให้ภาพนัวนิด ๆ */
.spiral-3d::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(
      40% 28% at 50% 52%,
      rgba(229, 54, 44, 0.22),
      transparent 60%
    ),
    radial-gradient(
      70% 42% at 50% 50%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    );
  filter: blur(32px);
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
}

/* Depth fog เบา ๆ ข้างล่างให้ดูลึก */
.spiral-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 70%,
    rgba(0, 0, 0, 0.36) 100%
  );
  pointer-events: none;
  mask: linear-gradient(#000 60%, transparent);
}

/* Hover = เร็วขึ้นนิดนึง (มีชีวิต) */
.spiral-bg:hover .spiral-3d {
  animation-duration: calc(var(--spin) * 0.75);
}

/* ===== OUR COMPANY — Showcase v2 ===== */
.ourco-v2 {
  /* position: relative; */
  padding: 110px 0 140px;
  overflow: visible;
}
.ourco-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      600px 320px at 20% 8%,
      rgba(229, 54, 44, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 440px at 85% 25%,
      rgba(255, 255, 255, 0.05),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0) 40%
    );
}

/* Head */
.oc-hero {
  text-align: center;
  margin-bottom: 28px;
}
.oc-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(28px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.oc-title span {
  color: var(--muted);
  font-weight: 800;
}
.oc-sub {
  margin: 10px 0 0;
  color: var(--muted);
}
.oc-cta {
  margin-top: 16px;
}

/* เส้นโค้งตกแต่ง */
.oc-spline {
  position: absolute;
  inset: auto 0 auto 0;
  top: calc(50% + 30px);
  width: min(1040px, 92vw);
  height: 520px;
  margin: 0 auto;
  border-radius: 60% 60% 40% 40% / 70% 70% 30% 30%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.45;
  filter: blur(0.4px);
  transform: rotate(-8deg);
  pointer-events: none;
}

/* ออร์บเรืองแสง */
.oc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}
.oc-orb.r {
  width: 140px;
  height: 140px;
  left: 14%;
  top: 18%;
  background: radial-gradient(
    circle,
    rgba(229, 54, 44, 0.8),
    rgba(229, 54, 44, 0) 60%
  );
  animation: orb 8s ease-in-out infinite;
}
.oc-orb.b {
  width: 90px;
  height: 90px;
  right: 18%;
  top: 30%;
  background: radial-gradient(
    circle,
    rgba(120, 170, 255, 0.35),
    rgba(120, 170, 255, 0) 60%
  );
  animation: orb 10s ease-in-out infinite reverse;
}
@keyframes orb {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* เวทีโชว์การ์ด */
.oc-stage {
  position: relative;
  height: clamp(420px, 55vw, 560px);
  max-width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

/* Card base (glass) */
.oc-card {
  position: absolute;
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 3/4;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translateY(0) scale(var(--s, 1)) rotateZ(var(--rz, 0deg))
    translateX(var(--tx, 0)) translateY(var(--ty, 0));
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}
.oc-card img {
  width: 100%;
  height: 65%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.03);
}
.oc-card .meta {
  padding: 14px 16px 16px;
}
.oc-card .meta h3 {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 16px;
}
.oc-card .meta p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.oc-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    220px 140px at 50% 0,
    rgba(229, 54, 44, 0.18),
    transparent 60%
  );
  opacity: 0.28;
  mix-blend-mode: screen;
}

/* Hover effect */
.oc-card:hover {
  transform: translateY(-10px) scale(1.04) rotateZ(0deg);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* จัดตำแหน่งแบบแฟนพัด (Desktop) */
.oc-card.c1 {
  --rz: -12deg;
  --tx: -22%;
  --ty: 8%;
  --s: 1;
  z-index: 1;
}
.oc-card.c2 {
  --rz: 0deg;
  --tx: 0%;
  --ty: 0%;
  --s: 1.08;
  z-index: 2;
} /* ใบกลางเด่น */
.oc-card.c3 {
  --rz: 12deg;
  --tx: 22%;
  --ty: 10%;
  --s: 1;
  z-index: 1;
}
.oc-card.c4 {
  --rz: -6deg;
  --tx: -42%;
  --ty: 22%;
  --s: 0.88;
  filter: blur(1px);
  opacity: 0.85;
  z-index: 0;
}
.oc-card.c5 {
  --rz: 6deg;
  --tx: 42%;
  --ty: 24%;
  --s: 0.88;
  filter: blur(1px);
  opacity: 0.85;
  z-index: 0;
}

/* Responsive: ซ้อนเป็นคอลัมน์ */
@media (max-width: 900px) {
  .oc-spline {
    display: none;
  }
  .oc-stage {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .oc-card {
    position: relative;
    transform: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: auto;
  }
  .oc-card img {
    height: 220px;
  }
}
/* ===== OUR COMPANY — Fan layout (auto-balanced 6 cards) ===== */
.ourco-v3 {
  /* ปรับได้ 4 ตัว ก็ได้ mood ครบ */
  --stepX: clamp(150px, 16vw, 240px); /* ระยะห่างแกน X ต่อ 1 ขั้น */
  --bow: clamp(14px, 2.6vh, 30px); /* โค้งตามแกน Y (มาก = โค้งกว่่า) */
  --rot: 8deg; /* เอียงต่อ 1 ขั้น */
  --lift: 22px; /* ยกตอน hover */
  --depthTilt: -8deg; /* ก้มทั้งเวทีให้มีมิติ */
  --scaleBase: 1.06; /* สเกลพื้นฐานของคู่กลาง */
  --shrink: 0.032; /* อัตราย่อเมื่อห่างจากศูนย์ (ยิ่งมาก ยิ่งย่อเร็ว) */
  --blurpx: 0.45px; /* เบลอปลายพัดเล็กน้อย */
}

.oc3-stage {
  position: relative;
  height: clamp(460px, 58vw, 620px);
  max-width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  place-items: center;
  perspective: 1600px;
  transform-style: preserve-3d;
}

/* การ์ดฐานของเดิมใช้ได้เลย ถ้าอยากคุมเฉพาะเวทีนี้ก็เพิ่ม .ourco-v3 .oc-card */
.oc3-stage .oc-card {
  position: absolute;
  z-index: 1;
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 3/4;
  border-radius: 22px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);

  /* เค้าโครงพัด: ใช้ตัวแปร --i เป็น “ตำแหน่งเชิงคณิต” */
  transform: rotateX(var(--depthTilt)) translateX(calc(var(--i) * var(--stepX)))
    translateY(calc((var(--i) * var(--i)) * var(--bow)))
    rotateZ(calc(var(--i) * var(--rot)))
    scale(calc(var(--scaleBase) - (var(--shrink) * var(--i) * var(--i))));
  /* จาง & เบลอปลายพัดนิด ๆ + ไล่ z-index ให้กลางอยู่บน */
  opacity: calc(1 - (0.08 * (var(--i) * var(--i))));
  filter: blur(calc(var(--blurpx) * (var(--i) * var(--i)))) saturate(0.95)
    brightness(0.95);
  z-index: calc(100 - (var(--i) * var(--i) * 10));

  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease,
    opacity 0.35s ease, box-shadow 0.35s ease;
}

/* hover เด่นกว่าอันอื่น */
.oc3-stage:hover .oc-card {
  opacity: 0.7;
  filter: saturate(0.9) brightness(0.92);
}
.oc3-stage .oc-card:hover {
  transform: rotateX(0deg) translateX(calc(var(--i) * var(--stepX)))
    translateY(calc((var(--i) * var(--i)) * var(--bow) - var(--lift)))
    rotateZ(calc(var(--i) * var(--rot) * 0.22))
    scale(calc(var(--scaleBase) + 0.06));
  box-shadow: 0 34px 140px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 0 70px rgba(229, 54, 44, 0.18);
  opacity: 1;
  filter: none;
  z-index: 999;
}

/* คีย์บอร์ด */
.oc3-stage .oc-card:focus-visible {
  outline: none;
}
.oc3-stage .oc-card:focus-visible {
  transform: rotateX(0deg) translateX(calc(var(--i) * var(--stepX)))
    translateY(calc((var(--i) * var(--i)) * var(--bow) - var(--lift)))
    rotateZ(calc(var(--i) * var(--rot) * 0.22))
    scale(calc(var(--scaleBase) + 0.06));
  box-shadow: 0 34px 140px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 0 70px rgba(229, 54, 44, 0.22);
  opacity: 1;
  filter: none;
  z-index: 999;
}

/* มือถือ */
@media (max-width: 900px) {
  .oc3-stage {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .oc3-stage .oc-card {
    position: relative;
    transform: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: auto;
    opacity: 1;
    filter: none;
  }
  .oc3-stage:hover .oc-card {
    opacity: 1;
    filter: none;
  }
}
/* ===== OUR COMPANY (oc3-stage) — ภาพล้วน ไม่มีกรอบ/ข้อความ ===== */
.oc3-stage .oc-card {
  background: transparent !important; /* ตัด glass */
  border: none !important; /* ตัดกรอบ */
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.55) !important; /* เงาลอยแทนกรอบ */
  overflow: hidden;
  border-radius: 22px;
}
.oc3-stage .oc-card::after {
  display: none !important;
} /* ตัดไฮไลต์ขอบบน */

/* รูปเต็มใบ */
.oc3-stage .oc-card img {
  width: 100%;
  height: 100% !important;
  object-fit: cover; /* ให้ภาพครอบเต็มใบ */
  display: block;
  filter: none !important; /* ไม่ต้องคอนทราสต์/เบลอเพิ่มจากกฎเดิม */
}

/* ซ่อนเนื้อหาใต้รูป */
.oc3-stage .oc-card .meta {
  display: none !important;
}

/* โฮเวอร์ให้เด่นโดยไม่ใส่กรอบ */
.oc3-stage .oc-card:hover {
  box-shadow: 0 34px 140px rgba(0, 0, 0, 0.65), 0 0 70px rgba(229, 54, 44, 0.18) !important;
}

/* (ถ้ามีใบที่เป็นโลโก้ โปร่งใส/พื้นขาว ให้ใส่ class="logo" ที่การ์ดนั้น) */
.oc3-stage .oc-card.logo img {
  object-fit: contain;
  background: rgba(0, 0, 0, 0.18);
  padding: clamp(10px, 2vw, 22px);
}
