/*
 * หน้า Service: โลกของแบรนด์บน Roblox
 * ทุกการเคลื่อนไหวผูกกับ --p (0 → 1) จาก scrub.js และ service-v2.js
 * ธีม: ดำอมม่วงเข้ม + แดง ชมพู ครีม เหลืองพังก์ เส้นหนา เงาทึบ แบบสติกเกอร์
 */
.service-page,
body {
  --sv-ink: #210819;
  --sv-dark: #100a0c;
  --sv-red: #ff2631;
  --sv-pink: #ec008c;
  --sv-cream: #ffebcb;
  --sv-yellow: #f6ff00;
  --sv-green: #83fd80;
  --sv-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sv-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font: 700 12px/1.4 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  color: var(--sv-yellow);
}
.sv-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--sv-red);
  transform: rotate(45deg);
}
.sv-tag.dark {
  color: var(--sv-ink);
}
html body .sv-tag span {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
}
main h1,
main h2,
main h3 {
  text-wrap: balance;
}
.sv-hero em,
.sv-why em,
.sv-levels em,
.sv-faq em {
  font-style: normal;
}

/* =====================================================
   1. ฉากเปิด: เกาะบล็อกก่อตัวขึ้นตามการเลื่อน
   ===================================================== */
.sv-hero {
  --p: 0;
  --k: clamp(0, calc(0.1 + var(--p) * 1.15), 1);
  position: relative;
  height: 300svh;
  background:
    linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(ellipse 60% 60% at 75% 50%, #ec008c33, transparent 70%),
    var(--sv-dark);
}
.sv-hero-stage {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 2vw;
  height: 100svh;
  padding: 100px 6% 40px;
  overflow: hidden;
}
.sv-hero-copy h1 {
  margin: 0 0 28px;
  font-size: clamp(46px, 6.6vw, 112px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--sv-cream);
}
.sv-hero-copy h1 em {
  color: var(--sv-red);
  text-shadow: 3px 4px 0 #680335;
}
.sv-lead {
  max-width: 520px;
  margin: 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.85;
  color: #c9c0bd;
}
.sv-cue {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 44px 0 0;
  font: 12px/1 ui-monospace, Menlo, monospace;
  letter-spacing: 0.14em;
  color: #9c9290;
  opacity: calc(1 - var(--p) * 6);
}
html body .sv-cue span {
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: 0.14em;
}
.sv-cue i {
  position: relative;
  width: 70px;
  height: 2px;
  overflow: hidden;
  background: #ffffff22;
}
.sv-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 30px;
  background: var(--sv-red);
  animation: sv-cue 1.8s var(--sv-ease) infinite;
}
@keyframes sv-cue {
  from {
    transform: translateX(-30px);
  }
  to {
    transform: translateX(70px);
  }
}

/* เกาะไอโซเมตริก: สร้างจาก div ล้วน ๆ ด้วย CSS 3D */
.sv-iso {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  perspective: 2400px;
}
.sv-island {
  position: relative;
  width: 504px;
  height: 504px;
  transform-style: preserve-3d;
  transform: translateY(8%) rotateX(58deg) rotateZ(calc(-42deg + var(--p) * 22deg));
}
.sv-shadow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, #000000aa, transparent 62%);
  transform: translateY(26%) scaleY(0.4);
  opacity: calc(0.3 + var(--k) * 0.7);
}
.vx {
  --r: clamp(0, calc(var(--k) * 1.9 - var(--d) * 0.9), 1);
  --H: calc(var(--h) * var(--r) * 1px);
  position: absolute;
  left: calc(var(--x) * 84px);
  top: calc(var(--y) * 84px);
  width: 78px;
  height: 78px;
  background: var(--t);
  border-radius: 3px;
  transform-style: preserve-3d;
  transform: translateZ(var(--H));
}
.vx::before,
.vx::after {
  content: "";
  position: absolute;
}
.vx::before {
  left: 0;
  top: 100%;
  width: 100%;
  height: var(--H);
  background: var(--f);
  transform-origin: top;
  transform: rotateX(-90deg);
}
.vx::after {
  left: 100%;
  top: 0;
  width: var(--H);
  height: 100%;
  background: var(--s);
  transform-origin: left;
  transform: rotateY(90deg);
}
.c-cream {
  --t: #ffebcb;
  --f: #d9b98f;
  --s: #b99a73;
}
.c-red {
  --t: #ff2631;
  --f: #c2121f;
  --s: #8f0d17;
}
.c-pink {
  --t: #ec008c;
  --f: #b1006a;
  --s: #80004d;
}
.c-yellow {
  --t: #f6ff00;
  --f: #bfc700;
  --s: #8d9400;
}
.c-green {
  --t: #83fd80;
  --f: #4fc24c;
  --s: #389535;
}
.vx.tower {
  --t: #ffebcb;
  --f: #e7c9a0;
  --s: #bd9a6d;
}
.sv-sign {
  --sg: clamp(0, calc((var(--k) - 0.72) / 0.26), 1);
  position: absolute;
  left: -78px;
  top: -24px;
  display: grid;
  place-content: center;
  width: 234px;
  height: 112px;
  padding-top: 4px;
  text-align: center;
  background: var(--sv-yellow);
  border: 7px solid var(--sv-ink);
  border-radius: 10px;
  transform-origin: 50% 100%;
  transform: rotateX(-90deg) scale(var(--sg));
  opacity: var(--sg);
}
.sv-sign b {
  display: block;
  font:
    400 40px/0.95 "CheemsRed Display",
    Anuphan,
    sans-serif;
  color: var(--sv-ink);
}
.sv-sign b:last-of-type {
  color: var(--sv-red);
}

/* =====================================================
   2. ทำไมต้องเป็นโลกเกม (กระดาษครีม)
   ===================================================== */
.sv-why {
  padding: 150px 6%;
  color: var(--sv-ink);
  background: var(--sv-cream);
}
.sv-why .sv-tag {
  color: var(--sv-ink);
}
.sv-why-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  max-width: 1320px;
  margin: 0 auto;
}
.sv-why-head {
  position: sticky;
  top: 130px;
  align-self: start;
}
.sv-why-head h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--sv-ink);
}
.sv-why-head h2 em {
  color: var(--sv-red);
  text-shadow: 2px 3px 0 #ffb3b6;
}
.sv-why-list {
  display: grid;
  gap: 70px;
  padding: 40px 0 120px;
}
.sv-why-item {
  --p: 0;
  --tri: clamp(0, calc(min(var(--p), 1 - var(--p)) * 2.8), 1);
  position: relative;
  padding: 26px 0 0 120px;
  border-top: 3px solid var(--sv-ink);
  opacity: calc(0.22 + var(--tri) * 0.78);
  transform: translateX(calc((1 - var(--tri)) * 40px));
}
.sv-why-item i {
  position: absolute;
  left: 0;
  top: 12px;
  font:
    normal 400 78px/1 "CheemsRed Display",
    Anuphan,
    sans-serif;
  color: transparent;
  -webkit-text-stroke: 2px var(--sv-ink);
}
.sv-why-item h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.25;
}
.sv-why-item p {
  max-width: 520px;
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: #4b3640;
}

/* =====================================================
   3. เมนูบริการ: ตั๋วเลื่อนไปทางขวาตามการเลื่อนลง
   ===================================================== */
.sv-menu {
  --p: 0;
  --travel: 1400px;
  position: relative;
  height: calc(100svh + var(--travel));
  background: #1a0a12;
}
.sv-menu-pin {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  height: 100svh;
  padding-top: 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, #ec008c33, transparent 40%),
    radial-gradient(circle at 90% 90%, #ff263133, transparent 45%), #1a0a12;
}
.sv-menu-head {
  padding: 0 6%;
}
.sv-menu-head h2 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 400;
  line-height: 1;
  color: var(--sv-cream);
}
.sv-menu-track {
  display: flex;
  gap: 38px;
  width: max-content;
  padding: 18px 6% 30px;
  transform: translateX(calc(var(--p) * var(--travel) * -1));
  will-change: transform;
}
.sv-ticket {
  --tk: var(--sv-cream);
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  width: min(430px, 78vw);
  min-height: 380px;
  padding: 28px 34px 24px;
  color: var(--sv-ink);
  background: var(--tk);
  border-radius: 14px;
  rotate: var(--tilt);
  /* รอยบากกลางซ้ายขวาแบบตั๋ว */
  mask:
    radial-gradient(circle 16px at 0 54%, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 16px at 100% 54%, transparent 97%, #000) right / 51% 100% no-repeat;
  transition: translate 0.4s var(--sv-ease);
}
.sv-ticket:hover {
  translate: 0 -10px;
}
.sv-ticket:nth-child(6n + 2) {
  --tk: #ffb3d9;
}
.sv-ticket:nth-child(6n + 3) {
  --tk: var(--sv-yellow);
}
.sv-ticket:nth-child(6n + 4) {
  --tk: var(--sv-green);
}
.sv-ticket:nth-child(6n + 5) {
  --tk: #ff8b91;
}
.sv-ticket .sv-t-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}
.sv-ticket .sv-t-head b {
  font:
    400 88px/0.8 "CheemsRed Display",
    Anuphan,
    sans-serif;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--sv-ink);
}
.sv-chip {
  padding: 7px 13px;
  font: 700 11px/1 ui-monospace, Menlo, monospace;
  letter-spacing: 0.12em;
  color: var(--sv-cream);
  background: var(--sv-ink);
  border-radius: 99px;
}
html body .sv-chip span {
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: 0.12em;
}
.sv-ticket h3 {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}
.sv-ticket p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: #3b2530;
}
.sv-ticket .sv-t-foot {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 26px;
  border-top: 3px dashed #21081955;
}
.sv-ticket .sv-t-foot i {
  flex: 1;
  height: 22px;
  background: repeating-linear-gradient(90deg, var(--sv-ink) 0 3px, transparent 3px 6px);
  opacity: 0.8;
}
.sv-menu-bar {
  height: 4px;
  margin: 0 6%;
  background: #ffffff1c;
}
.sv-menu-bar i {
  display: block;
  height: 100%;
  width: calc(var(--p) * 100%);
  background: linear-gradient(90deg, var(--sv-red), var(--sv-pink));
}

/* =====================================================
   4. แผนที่เลือกด่าน
   ===================================================== */
.sv-levels {
  position: relative;
  height: 540svh;
  background: var(--sv-dark);
}
.sv-levels-pin {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 4vw;
  height: 100svh;
  padding: 90px 6% 30px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 25% 55%, #ff263122, transparent 70%),
    var(--sv-dark);
}
.sv-levels-map svg {
  display: block;
  width: auto;
  height: min(78svh, 760px);
  margin: 0 auto;
  overflow: visible;
}
.sv-trail-bg {
  fill: none;
  stroke: #ffffff26;
  stroke-width: 7;
  stroke-dasharray: 2 16;
  stroke-linecap: round;
}
.sv-trail {
  fill: none;
  stroke: var(--sv-red);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--off, 1);
  filter: drop-shadow(0 0 0 #0000);
}
.sv-node circle {
  fill: var(--sv-dark);
  stroke: #ffffff55;
  stroke-width: 5;
  transition:
    fill 0.4s,
    stroke 0.4s;
}
.sv-node text {
  font:
    400 24px "CheemsRed Display",
    Anuphan,
    sans-serif;
  fill: #ffffff99;
  transition: fill 0.4s;
}
.sv-node.is-done circle {
  fill: var(--sv-red);
  stroke: var(--sv-cream);
}
.sv-node.is-done text {
  fill: #fff;
}
.sv-node.is-current circle {
  fill: var(--sv-yellow);
  stroke: var(--sv-ink);
}
.sv-node.is-current text {
  fill: var(--sv-ink);
}
.sv-pin circle {
  fill: var(--sv-pink);
  stroke: var(--sv-cream);
  stroke-width: 4;
}
.sv-pin path {
  fill: #fff;
}
.sv-levels-copy h2 {
  margin: 0 0 40px;
  font-size: clamp(34px, 4.4vw, 70px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--sv-cream);
}
.sv-levels-copy h2 em {
  color: var(--sv-red);
  text-shadow: 2px 3px 0 #680335;
}
.sv-panels {
  position: relative;
  min-height: 290px;
}
.sv-panel {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 560px;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition:
    opacity 0.5s,
    transform 0.6s var(--sv-ease);
}
.sv-panel.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sv-step {
  margin: 0 0 14px;
  font: 700 12px/1.4 ui-monospace, Menlo, monospace;
  letter-spacing: 0.14em;
  color: var(--sv-yellow);
}
html body .sv-step span {
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: 0.14em;
}
.sv-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
}
.sv-panel p:not(.sv-step) {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: #c9c0bd;
}
.sv-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.sv-dots li {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff88;
  border: 2px solid #ffffff2a;
  border-radius: 99px;
  transition:
    color 0.3s,
    background 0.3s,
    border-color 0.3s;
}
html body .sv-dots li span {
  font-family: Anuphan, sans-serif;
}
.sv-dots li.is-on {
  color: var(--sv-ink);
  background: var(--sv-yellow);
  border-color: var(--sv-yellow);
}

/* =====================================================
   5. ธุรกิจที่เข้ากับโลกเกม: ตัวอักษรถูกเติมสีตามการเลื่อน
   ===================================================== */
.sv-fit {
  padding: 130px 6% 150px;
  overflow: hidden;
  background: #1a0a12;
}
html body .sv-fit .sv-fit-row {
  --p: 0;
  --fill: clamp(0, calc((var(--p) - 0.18) / 0.34), 1);
  --c: var(--sv-red);
  margin: 0;
  font-size: clamp(44px, 10.5vw, 168px) !important;
  line-height: 1.02;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translateX(calc((0.5 - var(--p)) * 7vw));
}
.sv-fit .sv-fit-row:nth-child(2) {
  --c: var(--sv-pink);
  text-align: right;
}
.sv-fit .sv-fit-row:nth-child(3) {
  --c: var(--sv-yellow);
}
.sv-fit .sv-fit-row:nth-child(4) {
  --c: var(--sv-green);
  text-align: right;
}
.sv-fit .sv-fit-row:nth-child(5) {
  --c: var(--sv-cream);
}
.sv-fit-row > span,
.sv-fit-row > span > span {
  font-family: "CheemsRed Display", Anuphan, sans-serif !important;
  color: transparent;
  -webkit-text-stroke: 2px #ffebcb66;
}
.sv-fit-row > span {
  background: linear-gradient(90deg, var(--c) calc(var(--fill) * 100%), transparent calc(var(--fill) * 100%));
  -webkit-background-clip: text;
  background-clip: text;
}
.sv-fit-note {
  max-width: 560px;
  margin: 60px 0 0;
  font-size: 17px;
  line-height: 1.85;
  color: #c9c0bd;
}

/* =====================================================
   6. ส่งมอบอะไร + ความใส่ใจต่อผู้เล่น
   ===================================================== */
.sv-paper {
  padding: 140px 6%;
  color: var(--sv-ink);
  background: var(--sv-cream);
}
.sv-paper-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}
.sv-get h2 {
  margin: 0 0 40px;
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1.1;
}
.sv-get ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sv-get li {
  --p: 0;
  --tick: clamp(0, calc((var(--p) - 0.3) / 0.22), 1);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  border-bottom: 2px solid #21081933;
}
.sv-get li b {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 3px solid var(--sv-ink);
  border-radius: 9px;
  box-shadow: 3px 3px 0 var(--sv-ink);
}
.sv-get li b::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 15px;
  height: 8px;
  border-left: 5px solid var(--sv-red);
  border-bottom: 5px solid var(--sv-red);
  transform: rotate(-45deg) scale(var(--tick));
  opacity: var(--tick);
}
.sv-care {
  --p: 0;
  --tri: clamp(0, calc(min(var(--p), 1 - var(--p)) * 3), 1);
  position: relative;
  padding: 50px 38px 38px;
  color: var(--sv-cream);
  background: var(--sv-ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--sv-red);
  rotate: calc((1 - var(--tri)) * 4deg - 1.5deg);
}
.sv-care h3 {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}
.sv-care p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #dccbc6;
}
.sv-stamp {
  position: absolute;
  top: -26px;
  right: 22px;
  padding: 9px 16px;
  font:
    400 17px/1 "CheemsRed Display",
    Anuphan,
    sans-serif;
  color: var(--sv-ink);
  background: var(--sv-yellow);
  border: 3px solid var(--sv-ink);
  border-radius: 8px;
  rotate: calc(5deg - var(--tri) * 3deg);
}
.sv-stamp span {
  font-family: "CheemsRed Display", Anuphan, sans-serif !important;
}

/* =====================================================
   7. FAQ
   ===================================================== */
.sv-faq {
  padding: 140px 6%;
  background: var(--sv-dark);
}
.sv-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 100px);
  max-width: 1320px;
  margin: 0 auto;
}
.sv-faq-head {
  position: sticky;
  top: 130px;
  align-self: start;
}
.sv-faq-head h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 70px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--sv-cream);
}
.sv-faq-head h2 em {
  color: var(--sv-red);
  text-shadow: 2px 3px 0 #680335;
}
.sv-faq-list {
  display: grid;
  gap: 14px;
}
.sv-faq-item {
  background: #1a0f14;
  border: 2px solid #ffffff1f;
  border-radius: 12px;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.sv-faq-item[open] {
  background: #241017;
  border-color: var(--sv-red);
}
.sv-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  list-style: none;
  cursor: pointer;
}
.sv-faq-item summary::-webkit-details-marker {
  display: none;
}
html body .sv-q,
html body .sv-q span {
  font-family: "CheemsRed Display", Anuphan, sans-serif;
  font-size: 21px;
  line-height: 1.35;
  color: var(--sv-cream);
}
.sv-faq-item summary b {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  background: var(--sv-red);
  border-radius: 50%;
  transition:
    transform 0.35s var(--sv-ease),
    background 0.3s;
}
.sv-faq-item summary b::before,
.sv-faq-item summary b::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 3px;
  background: var(--sv-ink);
  transform: translate(-50%, -50%);
}
.sv-faq-item summary b::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.sv-faq-item[open] summary b {
  background: var(--sv-yellow);
  transform: rotate(135deg);
}
.sv-faq-item p {
  max-width: 620px;
  margin: 0;
  padding: 0 26px 26px;
  font-size: 16px;
  line-height: 1.85;
  color: #c9c0bd;
}

/* =====================================================
   มือถือ / ลดการเคลื่อนไหว
   ===================================================== */
@media (max-width: 960px) {
  .sv-hero {
    height: 260svh;
  }
  .sv-hero-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
    padding-top: 96px;
  }
  .sv-hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 11vw, 64px);
  }
  .sv-lead {
    font-size: 15px;
    line-height: 1.7;
  }
  .sv-cue {
    margin-top: 18px;
  }
  .sv-island {
    scale: 0.52;
    transform: translateY(-4%) rotateX(58deg) rotateZ(calc(-42deg + var(--p) * 22deg));
  }
  .sv-why-wrap,
  .sv-paper-wrap,
  .sv-faq-wrap,
  .sv-levels-pin {
    grid-template-columns: 1fr;
  }
  .sv-why-head,
  .sv-faq-head {
    position: static;
  }
  .sv-why,
  .sv-paper,
  .sv-faq {
    padding: 90px 6%;
  }
  .sv-why-item {
    padding-left: 84px;
  }
  .sv-why-item i {
    font-size: 56px;
  }
  .sv-levels-pin {
    grid-template-rows: minmax(0, 40svh) auto;
    gap: 10px;
    padding-top: 84px;
    align-content: start;
  }
  .sv-levels-map svg {
    height: 38svh;
  }
  .sv-levels-copy h2 {
    margin-bottom: 14px;
    font-size: 30px;
  }
  .sv-panels {
    min-height: 250px;
  }
  .sv-panel p:not(.sv-step) {
    font-size: 15px;
    line-height: 1.7;
  }
  .sv-dots {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-hero,
  .sv-levels {
    height: auto;
  }
  .sv-hero-stage,
  .sv-levels-pin {
    position: relative;
    min-height: 100svh;
    height: auto;
  }
  .sv-menu {
    height: auto;
  }
  .sv-menu-pin {
    position: relative;
    height: auto;
    padding: 90px 0 60px;
  }
  .sv-menu-view {
    overflow-x: auto;
  }
  .sv-menu-track {
    transform: none;
  }
  .sv-menu-bar {
    display: none;
  }
  .sv-panel {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 26px;
  }
  .sv-panels {
    min-height: 0;
  }
  .sv-cue i::after {
    animation: none;
  }
}

/* กันเนื้อหาที่เลื่อนเข้าล้นขอบจอ (clip ไม่ทำให้ sticky เสีย) */
.sv-why,
.sv-paper,
.sv-faq {
  overflow-x: clip;
}
@media (max-width: 960px) {
  .sv-island {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -252px 0 0 -252px;
    scale: 0.44;
    translate: 0 6%;
  }
  .sv-iso {
    align-self: start;
    min-height: 44svh;
  }
}
