:root {
  --ink: #111311;
  --coal: #1b1e1c;
  --line: #2d322f;
  --bone: #f5f4ef;
  --muted: #9a9e98;
  --lime: #d9ff4f;
  --moss: #667155;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bone);
  background: var(--ink);
  font-family: 'Noto Sans Thai', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.display { font-family: 'Space Grotesk', 'Noto Sans Thai', sans-serif; letter-spacing: -0.055em; }
.mono { font-family: 'DM Mono', monospace; }
.eyebrow { color: var(--lime); font: 500 11px/1 'DM Mono', monospace; letter-spacing: .15em; text-transform: uppercase; }
.thin-rule { border-top: 1px solid var(--line); }
.noise { position: relative; }
.noise::after { content: ''; pointer-events: none; position: absolute; inset: 0; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); mix-blend-mode: screen; }
.hero-bg { background-position: center; background-size: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(10,12,11,.96) 0%, rgba(10,12,11,.72) 40%, rgba(10,12,11,.12) 100%); }
.hero-overlay-center { background: linear-gradient(180deg, rgba(10,12,11,.35), rgba(10,12,11,.92)); }
.bg-bone { background-color: var(--bone); color: var(--ink); }
.bg-coal { background-color: var(--coal); }
.bg-ink { background-color: var(--ink); }
.bg-lime-300 { background-color: var(--lime); }
.text-ink { color: var(--ink); }
.text-lime-300 { color: var(--lime); }
.text-moss { color: var(--moss); }
.card-lift { transition: transform .35s ease, border-color .35s ease, background-color .35s ease; }
.card-lift:hover { transform: translateY(-6px); border-color: #667155; background-color: #202520; }
.card-lift:hover h2, .card-lift:hover h3, .card-lift:hover p { color: #fff !important; }
.image-zoom { overflow: hidden; }
.image-zoom img { transition: transform .65s cubic-bezier(.2,.65,.2,1); }
.image-zoom:hover img { transform: scale(1.055); }
.reveal { animation: rise .7s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.focus-ring:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.bg-bone .bg-white h3 { color: var(--ink); }
.detail-page .bg-coal { color: #fff; }
.detail-page .bg-coal h2, .detail-page .bg-coal h3 { color: #fff; }
.detail-page .bg-coal p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.detail-page .bg-bone { background-color: var(--coal) !important; color: #fff !important; }
.detail-page .bg-bone h2, .detail-page .bg-bone h3, .detail-page .bg-bone p:not(.eyebrow), .detail-page .bg-bone li { color: #fff !important; }
.detail-page .bg-bone .bg-white, .detail-page .bg-bone .bg-white h2, .detail-page .bg-bone .bg-white h3, .detail-page .bg-bone .bg-white p, .detail-page .bg-bone .bg-white li { color: var(--ink) !important; }
.detail-page .bg-lime-300, .detail-page .bg-lime-300 h3, .detail-page .bg-lime-300 p { color: var(--ink) !important; }
.detail-page .bg-lime-300 a { color: #fff !important; }
.map-frame { filter: grayscale(1) contrast(1.05) brightness(.8); }
.prose-rugged p { color: #b5b9b2; line-height: 1.9; }
.prose-rugged h2 { color: var(--bone); font-family: 'Space Grotesk', 'Noto Sans Thai', sans-serif; font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -.04em; margin: 2.4rem 0 .8rem; }
.prose-rugged ul { color: #b5b9b2; line-height: 1.9; padding-left: 1.25rem; }

/* Local layout safety net for the Slim detail page when the CDN utility layer is slow or unavailable. */
.slim-detail-page [data-site-header] > header { position: absolute; inset: 0 0 auto; z-index: 30; }
.slim-detail-page [data-site-header] > header > div:first-child { display: flex; align-items: center; justify-content: space-between; max-width: 80rem; margin: 0 auto; padding: 1.25rem 2rem; }
.slim-detail-page [data-site-header] > header > div:first-child > nav { display: none; align-items: center; gap: 2rem; }
.slim-detail-page [data-site-header] > header > div:first-child > button { display: grid; place-items: center; }
.slim-detail-page main > section:first-child { position: relative; min-height: 600px; overflow: hidden; }
.slim-detail-page main > section:first-child > .hero-bg,
.slim-detail-page main > section:first-child > .hero-overlay { position: absolute; inset: 0; }
.slim-detail-page main > section:first-child > .relative { position: relative; display: flex; align-items: flex-end; min-height: 600px; max-width: 80rem; margin: 0 auto; padding: 10rem 2rem 6rem; }
.slim-detail-page main > section:nth-child(2) { padding: 6rem 0; }
.slim-detail-page main > section:nth-child(2) > div,
.slim-detail-page main > section:nth-child(3) > div,
.slim-detail-page main > section:nth-child(4) > div,
.slim-detail-page #deep-dive > div,
.slim-detail-page #knowledge-base > div { max-width: 80rem; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
.slim-detail-page main > section:nth-child(2) > div { display: grid; gap: 3rem; }
.slim-detail-page main > section:nth-child(2) .image-zoom { overflow: hidden; border-radius: 2rem; }
.slim-detail-page main > section:nth-child(2) .image-zoom img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.slim-detail-page main > section:nth-child(2) > div > div:last-child { display: flex; flex-direction: column; justify-content: center; }
.slim-detail-page main > section:nth-child(2) .mt-8.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.slim-detail-page main > section:nth-child(3) { padding: 6rem 0; }
.slim-detail-page main > section:nth-child(3) > div > div:first-child { display: flex; flex-direction: column; gap: 1.25rem; }
.slim-detail-page main > section:nth-child(3) > div > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.slim-detail-page main > section:nth-child(3) > div > div:last-child img { width: 100%; height: 24rem; border-radius: 1.5rem; object-fit: cover; }
.slim-detail-page main > section:nth-child(4) { padding: 6rem 0; }
.slim-detail-page main > section:nth-child(4) > div { display: grid; gap: 2.5rem; }
.slim-detail-page main > section:nth-child(4) ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.slim-detail-page #deep-dive,
.slim-detail-page #knowledge-base { padding: 6rem 0; }
.slim-detail-page #deep-dive > div > div:first-child { display: grid; gap: 3rem; }
.slim-detail-page #deep-dive > div > div:nth-child(2) { display: grid; gap: 2rem; margin-top: 4rem; }
.slim-detail-page #deep-dive > div > div:nth-child(3) { display: grid; gap: 1rem; margin-top: 4rem; }
.slim-detail-page #knowledge-base > div > div:nth-child(2) { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
.slim-detail-page #knowledge-base > div > div:nth-child(3),
.slim-detail-page #knowledge-base > div > div:nth-child(4) { display: grid; gap: 2.5rem; margin-top: 4rem; }
.slim-detail-page #knowledge-base > div > div:nth-child(2) > article { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 2rem; background: var(--ink); }
.slim-detail-page #knowledge-base > div > div:nth-child(2) > article .image-zoom { aspect-ratio: 4 / 3; overflow: hidden; }
.slim-detail-page #knowledge-base > div > div:nth-child(2) > article .image-zoom img { width: 100%; height: 100%; object-fit: cover; }
.slim-detail-page #knowledge-base > div > div:nth-child(3) > div:last-child { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 1.5rem; }
.slim-detail-page #knowledge-base table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; font-size: .875rem; }
.slim-detail-page #knowledge-base th,
.slim-detail-page #knowledge-base td { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.slim-detail-page #knowledge-base th { color: #fff; font-weight: 500; background: rgba(255,255,255,.05); }
.slim-detail-page #knowledge-base td { color: rgba(255,255,255,.65); }
.slim-detail-page #knowledge-base td.text-lime-300 { color: var(--lime) !important; }
.slim-detail-page #knowledge-base > div > div:nth-child(4) > div { border-radius: 2rem; }
.slim-detail-page #knowledge-base > div > div:nth-child(4) > div:first-child { border: 1px solid rgba(255,255,255,.1); padding: 2.5rem; }
.slim-detail-page #knowledge-base > div > div:nth-child(4) > div:last-child { padding: 2.5rem; background: var(--lime); color: var(--ink); }
.slim-detail-page #knowledge-base > div > div:nth-child(4) > div:last-child h3,
.slim-detail-page #knowledge-base > div > div:nth-child(4) > div:last-child p { color: var(--ink) !important; }
.slim-detail-page #knowledge-base details { padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.slim-detail-page #knowledge-base summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #fff; font-weight: 500; cursor: pointer; }
.slim-detail-page #knowledge-base details p { margin-top: .75rem; color: rgba(255,255,255,.55); font-size: .875rem; line-height: 1.75; }
@media (min-width: 768px) {
  .slim-detail-page [data-site-header] > header > div:first-child > nav { display: flex; }
  .slim-detail-page [data-site-header] > header > div:first-child > button { display: none; }
  .slim-detail-page main > section:nth-child(3) > div > div:first-child { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .slim-detail-page #deep-dive > div > div:nth-child(3) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .slim-detail-page main > section:nth-child(2) > div { grid-template-columns: .9fr 1.1fr; }
  .slim-detail-page main > section:nth-child(4) > div { grid-template-columns: .7fr 1.3fr; }
  .slim-detail-page #deep-dive > div > div:first-child { grid-template-columns: .75fr 1.25fr; }
  .slim-detail-page #deep-dive > div > div:nth-child(2) { grid-template-columns: 1.15fr .85fr; }
  .slim-detail-page #knowledge-base > div > div:nth-child(3) { grid-template-columns: .72fr 1.28fr; }
  .slim-detail-page #knowledge-base > div > div:nth-child(4) { grid-template-columns: 1.1fr .9fr; }
  .slim-detail-page #knowledge-base > div > div:nth-child(2) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Keep the Slim page visually consistent even before the external utility stylesheet finishes loading. */
.slim-detail-page [data-site-header] a.flex { display: flex; align-items: center; gap: .75rem; }
.slim-detail-page [data-site-header] a.flex > span:first-child { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; overflow: hidden; border: 1px solid rgba(217,255,79,.6); border-radius: .75rem; background: var(--ink); }
.slim-detail-page [data-site-header] a.flex > span:first-child img { width: 100%; height: 100%; object-fit: cover; }
.slim-detail-page [data-site-header] a.flex > span:last-child { font-size: 1rem; font-weight: 700; letter-spacing: -.04em; }
.slim-detail-page [data-site-header] a.flex:last-child > span:first-child { width: 2.25rem; height: 2.25rem; }
.slim-detail-page [data-site-header] [data-mobile-menu] { display: none; }
.slim-detail-page [data-site-header] a:not(.flex) { color: rgba(255,255,255,.7); font-size: .875rem; transition: color .2s ease; }
.slim-detail-page [data-site-header] a:not(.flex):hover { color: var(--lime); }
.slim-detail-page [data-site-header] nav a.rounded-full { display: inline-flex; align-items: center; padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
.slim-detail-page main > section:first-child h1 { margin-top: 1rem; font-size: clamp(3rem, 7vw, 4.5rem); line-height: .95; }
.slim-detail-page main > section:first-child .eyebrow { margin-top: 2rem; }
.slim-detail-page main > section:first-child a.mono { color: rgba(255,255,255,.45); font-size: .75rem; }
.slim-detail-page main > section:nth-child(2) h2,
.slim-detail-page main > section:nth-child(3) h2,
.slim-detail-page main > section:nth-child(4) h2,
.slim-detail-page #deep-dive h2,
.slim-detail-page #knowledge-base h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.08; }
.slim-detail-page main > section:nth-child(2) h2 { margin-top: 1rem; }
.slim-detail-page main > section:nth-child(2) p,
.slim-detail-page main > section:nth-child(3) p,
.slim-detail-page main > section:nth-child(4) p { font-size: 1rem; line-height: 2; }
.slim-detail-page main > section:nth-child(2) .mt-8.grid > div { padding: 1.25rem; border-radius: 1rem; background: rgba(0,0,0,.04); }
.slim-detail-page .bg-white { background: #fff !important; color: var(--ink) !important; }
.slim-detail-page .bg-white h2,
.slim-detail-page .bg-white h3,
.slim-detail-page .bg-white p,
.slim-detail-page .bg-white li { color: var(--ink) !important; }
.slim-detail-page .p-5 { padding: 1.25rem; }
.slim-detail-page .p-6 { padding: 1.5rem; }
.slim-detail-page .p-7 { padding: 1.75rem; }
.slim-detail-page .p-10 { padding: 2.5rem; }
.slim-detail-page .rounded-2xl { border-radius: 1rem; }
.slim-detail-page .rounded-3xl { border-radius: 1.5rem; }
.slim-detail-page .rounded-\[2rem\] { border-radius: 2rem; }
.slim-detail-page main > section:nth-child(4) ul { margin-top: 0; }
.slim-detail-page main > section:nth-child(4) ul li { min-height: 5rem; display: flex; align-items: center; }
.slim-detail-page #deep-dive > div > div:first-child > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.slim-detail-page #deep-dive > div > div:first-child > div:last-child > div,
.slim-detail-page #deep-dive > div > div:nth-child(4) { border-radius: 2rem; }
.slim-detail-page #knowledge-base article > div:last-child { padding: 1.75rem; }
.slim-detail-page #knowledge-base article h3,
.slim-detail-page #deep-dive h3 { font-size: 1.5rem; line-height: 1.25; }
.slim-detail-page a.rounded-full,
.slim-detail-page button.rounded-full { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; }
.slim-detail-page main > section:nth-child(2) a.rounded-full { padding: .75rem 1.25rem; }
@media (max-width: 767px) {
  .slim-detail-page [data-site-header] > header > div:first-child { padding: 1.25rem; }
  .slim-detail-page main > section:first-child > .relative,
  .slim-detail-page main > section:nth-child(2) > div,
  .slim-detail-page main > section:nth-child(3) > div,
  .slim-detail-page main > section:nth-child(4) > div,
  .slim-detail-page #deep-dive > div,
  .slim-detail-page #knowledge-base > div { padding-left: 1.25rem; padding-right: 1.25rem; }
  .slim-detail-page main > section:nth-child(3) > div > div:last-child,
  .slim-detail-page #deep-dive > div > div:first-child > div:last-child { grid-template-columns: 1fr; }
  .slim-detail-page main > section:nth-child(4) ul { grid-template-columns: 1fr; }
  .slim-detail-page .p-10 { padding: 1.5rem; }
  .slim-detail-page #knowledge-base > div > div:nth-child(4) > div:first-child,
  .slim-detail-page #knowledge-base > div > div:nth-child(4) > div:last-child { padding: 1.5rem; }
}
@media (max-width: 767px) { .hero-overlay { background: linear-gradient(180deg, rgba(10,12,11,.5) 0%, rgba(10,12,11,.94) 78%); } }
