/* Homepage option 6. All styles stay inside .ig-page. */
.ig-page { --deep: #0b0c29; --deep-2: #151845; --ink: #f4eee3; --dim: #b5b1ce; --line: rgb(220 214 255 / .2); --glass: rgb(220 214 255 / .065); --go: #f29a3f; --accent: #f29a3f; color-scheme: dark; padding-bottom: 104px; }
.ig-page ::selection { background: #f29a3f; color: #0b0c29; }
.ig-page { scrollbar-color: #57528c #0b0c29; }
.ig-page :focus-visible { outline: 3px solid #f29a3f; outline-offset: 5px; }
.ig-page input { caret-color: #f29a3f; }
.ig-page .site-header { position: sticky; top: 0; background: #0b0c29; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none; z-index: 30; }
.ig-page .header-inner { min-height: 94px; max-width: 1400px; width: calc(100% - 80px); padding: 0; gap: 36px; }
.ig-page .brand { color: var(--ink); font: 600 1.45rem var(--display); gap: 12px; white-space: nowrap; }
.ig-page .brand-logo { background: #f4eee3; padding: 5px; border-radius: 50%; width: 46px; height: 46px; }
.ig-page .site-nav { gap: 6px; --nav-ink: var(--dim); --nav-dim: var(--dim); --nav-hover: rgb(255 255 255 / .08); --nav-panel: #151845; --nav-line: var(--line); --nav-on: #f29a3f; --nav-on-ink: #1d0e02; --nav-ic: #f29a3f; }
.ig-page .nav-panel { --nav-ink: var(--ink); }
.ig-page .site-nav > a, .ig-page .nav-dd > summary { font-size: .9rem; padding: 12px 14px; }
.ig-page .site-nav > a:hover, .ig-page .nav-dd > summary:hover, .ig-page .nav-dd[open] > summary { color: var(--ink); }
.ig-page .nav-toggle { color: var(--ink); border-color: var(--line); background: var(--glass); min-height: 48px; }
.ig-page .mo-wrap { width: min(1320px, 100% - 80px); }
.ig-page .mo-hero { min-height: 0; padding: 38px 0 64px; }
.ig-page .mo-hero-grid { grid-template-columns: .87fr 1.13fr; gap: 0 24px; align-items: center; }
.ig-page .mo-hero-copy { padding: 34px 0 22px; z-index: 2; }
.ig-page .mo-title { font-size: clamp(3.6rem, 5.7vw, 5.4rem); line-height: 1.25; font-weight: 500; letter-spacing: -.025em; margin-bottom: 22px; }
.ig-page .mo-title .w { display: block; }
.ig-page .mo-title .w:last-child { color: #f29a3f; }
.ig-page .mo-lede { font-size: 1.1rem; line-height: 1.85; max-width: 42ch; margin-bottom: 26px; }
.ig-page .mo-sky { background: radial-gradient(ellipse at 76% 26%, #1c1e52 0%, #12143a 38%, #0b0c29 72%); }
.ig-page .mo-sky > div { opacity: .45; }
.ig-page .mo-sky::after { background: linear-gradient(90deg, #0b0c29 0%, rgb(11 12 41 / .74) 24%, transparent 62%), linear-gradient(0deg, #0b0c29, transparent 35%); }
.ig-page .btn { min-height: 52px; font-size: 1rem; padding-inline: 24px; transition: background .2s, transform .2s; }
.ig-page .btn--go { background: #f29a3f; color: #1d0e02; box-shadow: none; }
.ig-page .btn--go:hover { background: #f6b26b; box-shadow: none; transform: translateY(-2px); }
.ig-page .btn--ghost { background: linear-gradient(145deg, rgb(220 214 255 / .12), rgb(220 214 255 / .025)); border-color: rgb(220 214 255 / .3); box-shadow: inset 0 1px rgb(255 255 255 / .12); }
.ig-page .btn--ghost:hover { background-color: rgb(220 214 255 / .12); }
.ig-page .ig-hero-actions { gap: 12px; margin-bottom: 28px; }
.ig-place { font-size: .82rem; color: var(--dim); margin: 0; }
.ig-place span { display: block; margin-top: 3px; color: #b5b1ce; }
.ig-world { position: relative; height: 490px; min-width: 0; isolation: isolate; }
#glass-world { position: absolute; inset: -45px -35px -5px; z-index: -1; }
.ig-world canvas { touch-action: pan-y; }
.ig-world-fallback { position: absolute; inset: 70px 45px 90px; border: 1px solid #5c56a0; border-radius: 50%; transform: rotate(-24deg) rotateX(48deg); background: radial-gradient(ellipse, #14164d, #0c0e2f 70%); box-shadow: 0 22px 0 #0a0b26, 0 24px 0 #333562, 0 40px 55px -18px #000; z-index: -2; }
.ig-world-fallback span { position: absolute; top: 45%; left: 36%; color: #f29a3f; }
.ig-world-fallback i { position: absolute; inset: 20px; border: 1px solid rgb(220 214 255 / .23); border-radius: 50%; }
.ig-world-fallback i:nth-child(3) { inset: 50px; }
.ig-world-fallback i:nth-child(4) { inset: 80px; }
.ig-scene-ready .ig-world-fallback { display: none; }
.ig-page .glass { border-radius: 16px; background: linear-gradient(135deg, rgb(220 214 255 / .13), rgb(220 214 255 / .035) 50%, rgb(220 214 255 / .07)); border: 1px solid rgb(220 214 255 / .25); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25); }
.ig-page .glass::after { display: none; }
.ig-float { position: absolute !important; display: flex; align-items: center; gap: 12px; padding: 15px 20px; pointer-events: none; }
.ig-float b { display: block; font: 500 1.02rem var(--display); color: #f4eee3; }
.ig-float small { display: block; font-size: .76rem; color: #c3bfdd; margin-top: 3px; }
.ig-float--up { top: 39px; left: 5%; transform: rotate(-5deg); }
.ig-float--down { bottom: 107px; right: 0; transform: rotate(4deg); }
.ig-float--down svg { color: #f29a3f; }
.ig-dot { width: 10px; height: 10px; background: #f29a3f; border-radius: 50%; flex: none; }
.ig-scene-tools { position: absolute !important; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; padding: 5px; width: max-content; max-width: 100%; border-radius: 999px !important; overflow: hidden; isolation: isolate; }
.ig-scene-tools button { position: relative; z-index: 1; background: transparent; border: 0; color: #d9d7e9; min-height: 46px; padding: 9px 18px; border-radius: 999px; font: 500 .88rem var(--display); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.ig-scene-tools button:hover { background: rgb(255 255 255 / .12); }
.ig-scene-tools button[aria-pressed="true"] { background: #f29a3f; color: #1d0e02; }
.ig-scene-tools button:disabled { cursor: default; opacity: .55; }
.ig-scene-caption { position: absolute; left: 0; right: 0; bottom: -5px; margin: 0; text-align: center; font-size: .72rem; color: #b5b1ce; }
.ig-pause { position: absolute; top: -10px; right: 0; border: 0; border-bottom: 1px solid #6d68a4; padding: 6px 0; min-height: 44px; font: inherit; font-size: .72rem; color: #b5b1ce; background: transparent; cursor: pointer; }
.ig-page .ig-board { grid-column: 1 / -1; padding: 25px 32px 22px; margin-top: 30px; background: linear-gradient(115deg, rgb(220 214 255 / .12), rgb(220 214 255 / .035)); scroll-margin-top: 28px; }
.ig-board-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ig-board-head h2 { margin: 0; font: 500 1.35rem var(--display); }
.ig-board-head > span { font-size: .76rem; border: 1px solid #8a763d; padding: 5px 12px; border-radius: 999px; color: #f4d591; background: rgb(82 61 17 / .25); }
.ig-date { margin: 7px 0 23px; font-size: .78rem; color: var(--dim); }
.ig-page .answers { gap: 0; margin-bottom: 22px; }
.ig-page .answer { background: none; box-shadow: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; padding: 0 30px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; }
.ig-page .answer + .answer { border-left: 1px solid var(--line); }
.ig-page .answer:first-child { padding-left: 0; }
.ig-page .answer:last-child { padding-right: 0; }
.ig-page .answer-q { font-size: 1.08rem; color: var(--ink); margin: 0; }
.ig-page .answer-a { grid-row: 1 / 3; grid-column: 2; }
.ig-page .answer-a strong { font-size: 1.65rem; animation: none; }
.ig-page .answer-v { grid-column: 1; font-size: .72rem; }
.ig-page .slots { display: none; }
.ig-page .ig-board .mo-actions { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 13px; }
.ig-page .ig-board .btn { font-size: .88rem; min-height: 46px; }
.ig-page .mo-note { max-width: none; font-size: .76rem; }
.ig-page .mo-link { font-size: .9rem; }
.ig-page .mo-sec { padding: 96px 0; }
.ig-page .mo-sec + .mo-sec { border-top: 1px solid var(--line); }
.ig-page .mo-kicker { display: none; }
.ig-page .mo-h2 { max-width: none; font-size: clamp(2rem, 3.7vw, 3.2rem); font-weight: 500; line-height: 1.4; margin-bottom: 36px; }
.ig-page .mo-h2 .nw { white-space: normal; }
.ig-page .facts { gap: 0; }
.ig-page .fact { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; padding: 0 24px 12px; }
.ig-page .fact + .fact { border-left: 1px solid var(--line); }
.ig-page .fact:first-child { padding-left: 0; }
.ig-page .fact .tag { background: transparent; color: var(--c); padding: 0; font-weight: 500; font-size: .9rem; }
.ig-page .fact b { margin-top: 12px; }
.ig-page .fact span:last-child { font-size: .95rem; }
.ig-page .why { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.ig-page .mo-how { background: #12143a; padding: 0; border-block: 1px solid var(--line); }
.ig-page .mo-stage { display: none; }
.ig-page .mo-how-inner { padding: 90px 0; }
.ig-page .steps { grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: none; }
.ig-page .step { border: 0; border-top: 1px solid #6660a4; border-radius: 0; padding: 25px 0 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; display: block; }
.ig-page .step-n { display: block; color: #b5b1ce; margin-bottom: 16px; font-size: 2rem; }
.ig-page .step b { display: block; margin-bottom: 10px; }
.ig-page .steps li::before { content: none; } /* style.css วาดวงกลมเลขให้ .steps ทุกที่ หน้านี้มี .step-n อยู่แล้ว */
.ig-page .step span:last-child { font-size: .95rem; }
.ig-page .door { padding: 28px; }
.ig-page .doors { grid-template-columns: 1fr 1fr 1.35fr; }
.ig-page .mo-form input:not([type="radio"]), .ig-page .mo-form select { background: #151845; border-radius: 10px; }
.ig-page .mo-form select option { color: white; background: #151845; }
.ig-page .mo-close { background: radial-gradient(ellipse at 80% 80%, #1c1e52, #0b0c29 70%); }
.ig-page .dock { z-index: 40; }
.ig-page .dock-links { padding: 6px; background: rgb(220 214 255 / .11); border-color: rgb(220 214 255 / .32); box-shadow: 0 16px 38px -18px #000, inset 0 1px rgb(255 255 255 / .24); }
.ig-page .dock.has-glass .dock-links { background: rgb(16 18 56 / .4); }
.ig-page .dock-links a { font-size: .9rem; font-weight: 500; padding-inline: 22px; }
.ig-refraction { position: absolute !important; inset: 0; z-index: 0; pointer-events: none; }
.ig-refraction canvas { z-index: 0 !important; box-shadow: none !important; }
.ig-page .site-footer { background: #070820; border-top: 1px solid var(--line); color: var(--ink); }
.ig-page .site-footer a, .ig-page .site-footer .muted { color: var(--dim); }
.ig-page .tpl-sw summary { background: #151845; border-color: #7570a6; box-shadow: 0 12px 30px -14px #000; }
@media (min-width: 1180px) and (max-width: 1365px) { .ig-page .header-inner { gap: 20px; } .ig-page .site-nav { gap: 0; } .ig-page .site-nav > a, .ig-page .nav-dd > summary { font-size: .85rem; padding-inline: 10px; } }
/* Brand + 5-item dropdown nav + theme button need ~1180px; below that use the menu button. */
@media (min-width: 1001px) and (max-width: 1179px) {
  .ig-page .nav-toggle { display: block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
  .ig-page .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 8px 16px 16px; }
  .ig-page .site-nav.open { display: flex; }
  /* เมนูมือถือ: หมวดดรอปดาวน์กางลงในแผงเดียวกัน (เหมือน style.css ช่วง ≤1000px) */
  .ig-page .site-nav { align-items: stretch; max-height: calc(100svh - 100px); overflow-y: auto; }
  .ig-page .site-nav > a, .ig-page .nav-dd > summary { width: 100%; }
  .ig-page .nav-panel { position: static; width: auto; min-width: 0; max-width: none; padding: 4px 0 8px 12px; background: none; border: 0; box-shadow: none; }
}
@media (max-width: 1099px) {
  .ig-page .header-inner, .ig-page .mo-wrap { width: calc(100% - 48px); }
  .ig-page .mo-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 0; }
  .ig-page .mo-title { font-size: clamp(3rem, 6vw, 4.3rem); }
  .ig-page .mo-lede { font-size: 1rem; }
  .ig-world { height: 470px; }
  .ig-float { padding: 12px 15px; }
  .ig-float b { font-size: .9rem; }
  .ig-float--up { left: 3%; top: 45px; }
  .ig-float--down { right: 0; }
  .ig-page .answer { padding-inline: 18px; display: block; }
  .ig-page .answer-a { margin: 5px 0; }
  .ig-page .doors { grid-template-columns: 1fr 1fr; }
  .ig-page .door--form { grid-column: 1 / -1; }
  .ig-page .steps { grid-template-columns: 1fr 1fr; }
  .ig-page .facts { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .ig-page .fact:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .ig-page .header-inner { min-height: 76px; width: calc(100% - 36px); }
  .ig-page .brand { font-size: 1.05rem; white-space: normal; line-height: 1.2; }
  .ig-page .brand-logo { width: 40px; height: 40px; }
  .ig-page .site-nav { background: #151845; border: 1px solid var(--line); }
  .ig-page .site-nav { --nav-ink: var(--ink); }
  .ig-page .mo-wrap { width: calc(100% - 36px); }
  .ig-page .mo-hero { padding: 10px 0 36px; }
  .ig-page .mo-hero-grid { grid-template-columns: 1fr; }
  .ig-page .mo-hero-copy { padding-top: 25px; padding-bottom: 10px; }
  .ig-page .mo-title { font-size: clamp(2.7rem, 11vw, 4.5rem); line-height: 1.2; margin-bottom: 18px; }
  .ig-page .mo-title .w { display: inline; }
  .ig-page .mo-title .w:last-child { display: block; }
  .ig-page .mo-lede { font-size: 1rem; line-height: 1.75; margin-bottom: 20px; }
  .ig-page .ig-hero-actions { gap: 10px; margin-bottom: 18px; }
  .ig-page .ig-hero-actions .btn { font-size: .9rem; padding-inline: 18px; }
  .ig-desktop-break { display: none; }
  .ig-place { font-size: .73rem; }
  .ig-place span { display: inline; margin-left: 12px; }
  .ig-world { height: 390px; margin: 14px 0 18px; }
  #glass-world { inset: -30px -18px 5px; }
  .ig-float--up { top: 35px; left: 0; }
  .ig-float--down { bottom: 95px; right: 0; }
  .ig-scene-tools button { padding-inline: 16px; font-size: .82rem; }
  .ig-pause { top: -6px; }
  .ig-page .ig-board { padding: 22px 20px; margin-top: 0; }
  .ig-board-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .ig-board-head h2 { font-size: 1.35rem; }
  .ig-date { font-size: .72rem; margin-bottom: 10px; }
  .ig-page .answers { display: block; }
  .ig-page .answer { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 17px 0; }
  .ig-page .answer + .answer { border-left: 0; border-top: 1px solid var(--line); }
  .ig-page .answer-q { font-size: 1rem; }
  .ig-page .answer-a { grid-row: 1 / 3; margin: 0; }
  .ig-page .answer-a strong { font-size: 1.55rem; }
  .ig-page .answer-v { margin: 0; font-size: .72rem; }
  .ig-page .ig-board .mo-actions { padding-top: 16px; }
  .ig-page .mo-note { font-size: .76rem; }
  .ig-page .mo-sec { padding: 60px 0; }
  .ig-page .mo-h2 { font-size: 2rem; margin-bottom: 28px; }
  .ig-page .facts { grid-template-columns: 1fr; gap: 0; }
  .ig-page .fact, .ig-page .fact:nth-child(3) { padding: 20px 0; border: 0; border-top: 1px solid var(--line); }
  .ig-page .fact + .fact { border-left: 0; }
  .ig-page .why { grid-template-columns: 1fr; }
  .ig-page .mo-how-inner { padding: 60px 0; }
  .ig-page .steps { grid-template-columns: 1fr; gap: 30px; }
  .ig-page .step { display: grid; grid-template-columns: 32px 1fr; gap: 5px 15px; }
  .ig-page .step-n { grid-row: span 2; margin: 0; }
  .ig-page .step b { margin: 0; }
  .ig-page .doors { grid-template-columns: 1fr; }
  .ig-page .door { padding: 24px; }
  .ig-page .dock-links a { padding-inline: 15px; font-size: .85rem; }
  .ig-page .tpl-sw { right: 12px; }
  .ig-page .tpl-sw summary { min-height: 46px; font-size: 14px; padding-inline: 12px; }
}
@media (max-width: 360px) { .ig-page .ig-hero-actions .btn { padding-inline: 12px; font-size: .82rem; } .ig-float { padding: 10px 12px; } .ig-float b { font-size: .82rem; } .ig-page .dock-links a { padding-inline: 11px; } }
@media (prefers-reduced-motion: reduce) { .ig-page *, .ig-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* The same canvas travels from the cover into the sediment journey. */
.ig-experience { position: relative; isolation: isolate; }
.ig-scene-stage { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; pointer-events: none; z-index: 1; overflow: clip; }
.ig-page #glass-world { position: absolute; inset: 0; z-index: auto; }
.ig-page .mo-hero { isolation: auto; }
.ig-page .mo-sky { z-index: 0; }
.ig-page .mo-hero-grid, .ig-page #known > .mo-wrap { z-index: 2; }
.ig-card-shelf { grid-column: 1 / -1; margin-top: 36px; pointer-events: none; }
.ig-card-shelf[hidden] { display: none; }
.ig-card-origin { position: relative; width: 100%; height: 270px; pointer-events: none; }
.ig-flight-layer { position: absolute; inset: 0; overflow: clip; z-index: 5; pointer-events: none; }
.ig-flight-layer[hidden] { display: none; }
.ig-page .ig-flight-card { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: flex; flex-direction: column; gap: 6px; padding: 22px; background: linear-gradient(145deg,rgb(96 90 163 / .36),rgb(16 18 56 / .94)); box-shadow: 0 25px 50px -24px rgb(0 0 0 / .7),inset 0 1px rgb(220 214 255 / .18); }
.ig-flight-card .tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font: 500 .78rem var(--display); background: var(--c); color: #0b0c29; }
.ig-flight-card[data-level="bad"] { --c: var(--bad); }
.ig-flight-card[data-level="ok"] { --c: var(--ok); }
.ig-flight-card[data-level="warn"] { --c: var(--warn); }
.ig-flight-card b { font: 500 1.3rem/1.4 var(--display); }
.ig-flight-card span:last-child { color: #cdcae2; font-size: .92rem; }
.ig-page .ig-world { isolation: auto; }
.ig-page .ig-world-fallback { z-index: 0; }
.ig-follow { position: absolute; bottom: -39px; left: 50%; translate: -50% 0; white-space: nowrap; font-size: .8rem; text-decoration: none; display: flex; align-items: center; gap: 14px; min-height: 44px; }
.ig-follow span { font-size: 1.3rem; }
.ig-page #known { padding-top: 110px; padding-bottom: 90px; background: linear-gradient(0deg,#0b0c29 15%,rgb(11 12 41 / .94) 85%,transparent); z-index: 2; }
.ig-page #known .facts { gap: 14px; }
.ig-page #known .fact { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgb(16 18 56 / .8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.ig-page #known .fact .tag { font-size: .85rem; padding: 4px 12px; border-radius: 999px; background: var(--c); color: #0b0c29; }
.ig-page .ig-pause { left: 0; right: auto; top: -20px; }
.ig-journey { position: relative; z-index: 2; }
.ig-journey-intro { padding-top: 88px; padding-bottom: 60px; }
.ig-journey-head > p { max-width: 52ch; color: var(--dim); }
.ig-page .ig-journey-intro .mo-h2 { max-width: 20ch; margin-bottom: 18px; }
.ig-route { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; padding: 6px; margin-block: 24px; }
.ig-route a { min-height: 46px; display: grid; place-items: center; padding: 8px 14px; border-radius: 10px; text-decoration: none; font: 500 .85rem var(--display); }
.ig-route a:hover, .ig-route a[aria-current] { background: rgb(220 214 255 / .16); color: #f4eee3 !important; }
.ig-illustration-note { font-size: .85rem; }
/* Dark: the note sits on the pale dome of the 3D model on phones; back it like the light panel does (negative margin keeps the text in line). */
[data-theme="dark"] .ig-illustration-note { width: fit-content; max-width: calc(100% + 12px); margin-left: -12px; padding: 6px 12px; border-radius: 10px; background: rgb(11 12 41 / .88); color: var(--ink); }
.ig-chapter { padding-block: 38px; scroll-margin-top: 28px; }
.ig-story-card { padding: 30px; max-width: 400px; background: rgb(16 18 56 / .86) !important; }
.ig-story-card h3 { font: 500 clamp(1.8rem,2.6vw,2.5rem)/1.4 var(--display); margin: 14px 0 18px; }
.ig-story-card p { color: #d6d3e7; margin: 0; font-size: 1.03rem; line-height: 1.85; }
.ig-story-card .ig-story-detail { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: .88rem; }
.ig-story-card .btn { margin-top: 24px; }
.ig-story-link { display: block; font-size: .86rem; margin-top: 18px; }
.ig-scene-ready .ig-chapter { min-height: 105svh; display: flex; align-items: center; padding-block: 14svh; }
.ig-scene-ready .ig-chapter:last-child { min-height: 125svh; }
.ig-tour-caption { position: sticky; bottom: 170px; margin: 0 40px 0 auto; width: fit-content; display: none; padding: 12px 18px; border-radius: 12px; color: #dcdaeb; background: rgb(11 12 41 / .85); font-size: .78rem; pointer-events: none; }
.ig-tour-caption span { display: block; }
.ig-tour-caption span:first-child { font: 500 1rem var(--display); color: #f1d2a3; margin-bottom: 4px; }
.ig-experience.is-touring .ig-tour-caption { display: block; }
/* The route nav already shows the current stop while the intro is on screen; the caption would cover it on phones. */
.ig-experience.is-touring.is-intro .ig-tour-caption { display: none; }
.ig-experience.is-touring ~ .mo-how { position: relative; z-index: 3; }
@media (max-width: 1099px) { .ig-story-card { max-width: 340px; padding: 24px; } }
@media (max-width: 760px) {
  .ig-card-shelf { margin-top: 24px; }
  .ig-card-origin { height: 280px; }
  .ig-page #known { padding-block: 70px; }
  .ig-page #known .facts { gap: 14px; }
  .ig-page #known .fact { padding: 22px; }
  .ig-page .ig-follow { font-size: .74rem; bottom: -42px; }
  .ig-journey-intro { padding-top: 60px; padding-bottom: 34px; }
  .ig-route { gap: 2px; }
  .ig-route a { font-size: .78rem; padding-inline: 10px; }
  .ig-story-card { max-width: none; width: 100%; padding: 22px; }
  .ig-story-card h3 { font-size: 1.65rem; margin-block: 10px; }
  .ig-story-card p { font-size: .96rem; line-height: 1.7; }
  .ig-story-card .ig-story-detail { margin-top: 14px; padding-top: 12px; font-size: .8rem; }
  .ig-scene-ready .ig-chapter { align-items: flex-start; min-height: 125svh; padding-top: 5svh; padding-bottom: 75svh; }
  .ig-scene-ready .ig-chapter:last-child { min-height: 135svh; }
  .ig-tour-caption { bottom: 152px; margin-right: 18px; max-width: calc(100% - 36px); font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-flight-layer { display: none !important; }
  .ig-scene-ready .ig-chapter { min-height: 65svh; padding-block: 36px; }
  .ig-scene-ready .ig-chapter:last-child { min-height: 65svh; }
}

/* ----- ปุ่มสลับโทน ----- */
.ig-theme { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font: 500 .85rem var(--display); cursor: pointer; white-space: nowrap; flex: none; }
.ig-theme:hover { border-color: currentColor; }
.ig-theme .ig-moon, [data-theme="light"] .ig-theme .ig-sun { display: none; }
[data-theme="light"] .ig-theme .ig-moon { display: block; }
@media (max-width: 1179px) { .ig-page .header-inner { gap: 12px; } .ig-page .nav-toggle { margin-left: auto; } .ig-page .site-nav { background: #151845; border: 1px solid var(--line); --nav-ink: var(--ink); } }
@media (max-width: 420px) { .ig-theme span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .ig-theme { padding: 8px 12px; } }

/* ----- โทนสว่าง: พื้นฟ้าหม่น ตัวอักษรน้ำเงินเข้ม ฉากสามมิติยังเป็นโมเดลบนโต๊ะ ----- */
[data-theme="light"] .ig-page {
  --deep: #f6f7f3; --deep-2: #ffffff; --ink: #151515; --dim: #5e5e5e;
  --line: rgb(21 21 21 / .15); --glass: rgb(255 255 255 / .6);
  --ok: #0f7350; --warn: #8f5b00; --bad: #c1121f; --accent: #1d4f91;
  color-scheme: light; scrollbar-color: #a9a9a2 #f6f7f3;
}
[data-theme="light"] .ig-page ::selection { background: #1d4f91; color: #fff; }
[data-theme="light"] .ig-page :focus-visible { outline-color: #1d4f91; }
[data-theme="light"] .ig-page input { caret-color: #1d4f91; }
[data-theme="light"] .ig-page .mo a:not(.btn) { color: var(--accent); }
[data-theme="light"] .ig-page .site-header { background: #f6f7f3; }
[data-theme="light"] .ig-page .site-nav { --nav-hover: rgb(21 21 21 / .06); --nav-panel: #fff; --nav-on: var(--accent); --nav-on-ink: #fff; --nav-ic: var(--accent); }
[data-theme="light"] .ig-page .mo-title .w:last-child { color: var(--accent); }
[data-theme="light"] .ig-page .mo-sky { background: radial-gradient(ellipse at 76% 26%, #ece8f4 0%, #f1eee9 38%, #f6f7f3 72%); }
[data-theme="light"] .ig-page .mo-sky::after { background: linear-gradient(90deg, #f6f7f3 0%, rgb(246 247 243 / .78) 24%, transparent 62%), linear-gradient(0deg, #f6f7f3, transparent 35%); }
[data-theme="light"] .ig-page .btn--go { background: var(--accent); color: #fff; }
[data-theme="light"] .ig-page .btn--go:hover { background: #163d70; }
[data-theme="light"] .ig-page .btn--ghost { background: rgb(255 255 255 / .7); border-color: rgb(21 21 21 / .2); box-shadow: none; color: var(--ink); }
[data-theme="light"] .ig-place span { color: var(--dim); }
[data-theme="light"] .ig-page .glass { background: linear-gradient(135deg, rgb(255 255 255 / .82), rgb(255 255 255 / .55)); border-color: rgb(21 21 21 / .14); box-shadow: 0 18px 40px -26px rgb(21 21 21 / .45); }
[data-theme="light"] .ig-float b { color: var(--ink); }
[data-theme="light"] .ig-float small { color: var(--dim); }
[data-theme="light"] .ig-float--down svg, [data-theme="light"] .ig-dot { color: var(--accent); background: var(--accent); }
[data-theme="light"] .ig-float--down svg { background: none; }
[data-theme="light"] .ig-scene-tools button { color: var(--ink); }
[data-theme="light"] .ig-scene-tools button:hover { background: rgb(21 21 21 / .07); }
[data-theme="light"] .ig-scene-tools button[aria-pressed="true"] { background: var(--accent); color: #fff; }
[data-theme="light"] .ig-scene-caption, [data-theme="light"] .ig-pause { color: var(--dim); }
[data-theme="light"] .ig-pause { border-bottom-color: #a9a9a2; }
[data-theme="light"] .ig-page .ig-board { background: linear-gradient(115deg, rgb(255 255 255 / .88), rgb(255 255 255 / .62)); }
[data-theme="light"] .ig-board-head > span { color: #6b4700; background: #fff3d6; border-color: #d9b45c; }
[data-theme="light"] .ig-page .mo-how { background: #eceee6; }
[data-theme="light"] .ig-page .step-n { color: var(--dim); }
[data-theme="light"] .ig-page .step { border-top-color: #a9a9a2; }
/* .step มีคลาส glass ด้วย: กันพื้น/เงากระจกโทนสว่างทับ (การ์ดไม่มีระยะข้าง จึงดูเป็นกล่องขาวชนขอบ) */
[data-theme="light"] .ig-page .step { background: none; box-shadow: none; }
[data-theme="light"] .ig-page .step.is-active { border-color: var(--accent); }
[data-theme="light"] .ig-page .step.is-active .step-n { color: var(--accent); }
[data-theme="light"] .ig-page .mo-form input:not([type="radio"]), [data-theme="light"] .ig-page .mo-form select { background: #fff; color: var(--ink); border-color: rgb(21 21 21 / .25); }
[data-theme="light"] .ig-page .mo-form select option { color: var(--ink); background: #fff; }
[data-theme="light"] .ig-page .mo-close { background: radial-gradient(ellipse at 80% 80%, #ece8f4, #f6f7f3 70%); }
[data-theme="light"] .ig-page .dock-links { background: rgb(255 255 255 / .7); border-color: rgb(21 21 21 / .14); box-shadow: 0 16px 38px -20px rgb(21 21 21 / .5); }
[data-theme="light"] .ig-page .dock.has-glass .dock-links { background: rgb(255 255 255 / .55); }
[data-theme="light"] .ig-page .dock-links a:hover { background: rgb(21 21 21 / .07); }
[data-theme="light"] .ig-page .site-footer { background: #eceee6; }
[data-theme="light"] .ig-page .tpl-sw summary { background: #fff; color: var(--ink); border-color: #a9a9a2; box-shadow: 0 12px 30px -16px rgb(21 21 21 / .5); }
[data-theme="light"] .ig-page .ig-flight-card { background: linear-gradient(145deg, rgb(255 255 255 / .95), rgb(236 238 230 / .95)); box-shadow: 0 25px 50px -26px rgb(21 21 21 / .5); }
[data-theme="light"] .ig-flight-card .tag, [data-theme="light"] .ig-page #known .fact .tag { color: #fff; }
[data-theme="light"] .ig-flight-card span:last-child { color: var(--dim); }
[data-theme="light"] .ig-page #known { background: linear-gradient(0deg, #f6f7f3 15%, rgb(246 247 243 / .94) 85%, transparent); }
[data-theme="light"] .ig-page #known .fact { background: rgb(255 255 255 / .85); }
[data-theme="light"] .ig-route a:hover, [data-theme="light"] .ig-route a[aria-current] { background: rgb(29 79 145 / .12); color: var(--ink) !important; }
[data-theme="light"] .ig-story-card { background: rgb(255 255 255 / .92) !important; }
[data-theme="light"] .ig-story-card p { color: var(--ink); }
/* Light text colours are dark, and the 3D model behind the journey heading stays dark, so give the heading a panel. */
[data-theme="light"] .ig-journey-head { width: fit-content; max-width: 100%; padding: 24px 28px; border-radius: 22px; background: rgb(255 255 255 / .9); box-shadow: 0 18px 40px -26px rgb(21 21 21 / .45); }
[data-theme="light"] .ig-journey-head > :last-child { margin-bottom: 0; }
[data-theme="light"] .ig-tour-caption { background: rgb(255 255 255 / .9); color: var(--ink); }
[data-theme="light"] .ig-tour-caption span:first-child { color: #8a5a1a; }
@media (max-width: 1179px) { [data-theme="light"] .ig-page .site-nav { background: #fff; } }
