/* samkong.gg sales page — one stylesheet, no framework. Tokens first; components use tokens only. */
@font-face { font-family: 'Mitr'; font-weight: 500; font-display: swap; src: url(assets/fonts/mitr-thai-500-normal.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mitr'; font-weight: 500; font-display: swap; src: url(assets/fonts/mitr-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mitr'; font-weight: 600; font-display: swap; src: url(assets/fonts/mitr-thai-600-normal.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mitr'; font-weight: 600; font-display: swap; src: url(assets/fonts/mitr-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anuphan'; font-weight: 400; font-display: swap; src: url(assets/fonts/anuphan-thai-400-normal.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Anuphan'; font-weight: 400; font-display: swap; src: url(assets/fonts/anuphan-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anuphan'; font-weight: 600; font-display: swap; src: url(assets/fonts/anuphan-thai-600-normal.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Anuphan'; font-weight: 600; font-display: swap; src: url(assets/fonts/anuphan-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0b1024;
  --bg-2: #10173a;
  --surface: #161d3d;
  --surface-2: #1e2750;
  --line: rgba(255, 255, 255, 0.1);
  --text: #fff8ec;
  --muted: #c4c8df;
  --gold: #ffb627;
  --gold-2: #ffd36e;
  --gold-shadow: #b9740a;
  --on-gold: #141a33;
  --jade: #0e6b5c;
  --jade-ink: #7fe6c9;
  --radius: 18px;
  --gutter: 16px;
  --max: 1160px;
  --display: 'Mitr', 'Anuphan', system-ui, sans-serif;
  --body: 'Anuphan', system-ui, sans-serif;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.25; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 17px/1 var(--display); text-decoration: none; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--on-gold); box-shadow: 0 5px 0 var(--gold-shadow), 0 10px 24px rgba(255, 182, 39, .25); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 0 var(--gold-shadow), 0 14px 30px rgba(255, 182, 39, .32); }
.btn-gold:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold-shadow); }
.btn-ghost { color: var(--text); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; box-shadow: 0 3px 0 var(--gold-shadow); }
.btn-sm:hover { box-shadow: 0 4px 0 var(--gold-shadow); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 16, 36, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 19px/1 var(--display); min-height: 44px; }
.brand img { width: 40px; height: 40px; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; font-weight: 600; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.top .btn { margin-left: auto; }
@media (min-width: 960px) { .nav { display: flex; } .top .btn { margin-left: 8px; } }

/* hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 78% 40%, rgba(20, 144, 124, .38), transparent 70%),
  radial-gradient(50% 60% at 10% 0%, rgba(255, 182, 39, .14), transparent 70%),
  linear-gradient(180deg, var(--bg-2), var(--bg)); }
.hero .wrap { display: grid; gap: 8px; padding-top: 28px; padding-bottom: 56px; }
.hero-copy { display: grid; gap: 18px; justify-items: start; position: relative; z-index: 1; }
.hero-logo { width: 132px; height: 132px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.eyebrow { font: 600 15px/1.2 var(--display); color: var(--jade-ink); letter-spacing: .02em; }
.hero h1 { font-size: clamp(34px, 8.6vw, 60px); }
.hero h1 .gold { color: var(--gold); }
.nw { white-space: nowrap; }
.lede { color: var(--muted); font-size: 18px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; padding-top: 4px; }
.cta-note { color: var(--muted); font-size: 15px; }
.cta-note a { color: var(--gold-2); display: inline-flex; min-height: 44px; align-items: center; }
.hero-art { position: relative; justify-self: center; width: min(88vw, 520px); aspect-ratio: 1; }
.hero-art::before { content: ''; position: absolute; inset: 12% 8% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 182, 39, .3), transparent 65%); }
.hero-dragon { position: relative; width: 100%; animation: float 6s ease-in-out infinite; }
.hero-tiger { position: absolute; width: 34%; left: -2%; bottom: 0; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; padding-top: 48px; padding-bottom: 80px; }
  .hero-logo { width: 168px; height: 168px; }
}

/* sections */
section.block { padding: 72px 0; }
section.block.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 46em; }
.head h2 { font-size: clamp(28px, 6vw, 42px); }
.head p { color: var(--muted); }
.kicker { font: 600 14px/1 var(--display); color: var(--gold); letter-spacing: .06em; }

/* how it plays */
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: step; }
.step { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; }
.step a { display: block; background: #000; }
.step img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.step-body { padding: 18px 16px; display: grid; align-content: start; gap: 8px; }
.step-body h3 { font-size: 20px; display: flex; gap: 10px; align-items: center; }
.step-body h3::before { counter-increment: step; content: counter(step); font-size: 15px; color: var(--on-gold); background: var(--gold); border-radius: 999px; min-width: 28px; height: 28px; display: inline-grid; place-items: center; flex: none; }
.step-body p { color: var(--muted); font-size: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .step img { aspect-ratio: 390 / 560; } }
.desk { margin-top: 44px; }
.desk h3 { font-size: 22px; margin-bottom: 6px; }
.desk > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

/* systems */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 10px; align-content: start; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 182, 39, .12); color: var(--gold); }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--muted); font-size: 16px; }
.note { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* gallery */
.gal-group + .gal-group { margin-top: 44px; }
.gal-group h3 { font-size: 22px; margin-bottom: 6px; }
.gal-group > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.grid { display: grid; gap: 14px; }
.grid.portrait, .grid.square { grid-template-columns: repeat(2, 1fr); }
.grid.landscape, .grid.wide { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.portrait, .grid.square { grid-template-columns: repeat(3, 1fr); } .grid.landscape, .grid.wide { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid.portrait { grid-template-columns: repeat(5, 1fr); } .grid.landscape { grid-template-columns: repeat(3, 1fr); } .grid.square { grid-template-columns: repeat(5, 1fr); } }
.tile { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.tile a { display: block; background: #050817; overflow: hidden; }
.tile img { width: 100%; transition: transform .25s ease; }
.tile a:hover img { transform: scale(1.03); }
.tile.art a { background: radial-gradient(circle at 50% 40%, #233067, #0d1330); padding: 8px; }
.tile figcaption { padding: 10px 12px; font-size: 15px; line-height: 1.45; color: var(--muted); flex: 1; }
.tile figcaption b { color: var(--text); font-weight: 600; }
.tile .chosen { display: inline-block; margin-left: 6px; color: var(--on-gold); background: var(--gold); border-radius: 999px; padding: 0 8px; font-size: 13px; font-weight: 600; }

/* packages */
.packs { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .packs { grid-template-columns: repeat(3, 1fr); } }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.pack h3 { font-size: 26px; }
.pack .sum { color: var(--muted); font-size: 15px; }
.price { font: 600 34px/1.1 var(--display); color: var(--gold); }
.price small { display: block; font: 400 14px/1.4 var(--body); color: var(--muted); margin-top: 6px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.facts div { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font: 600 18px/1.3 var(--display); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pack li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 16px; }
.pack li svg { width: 20px; height: 20px; color: var(--jade-ink); margin-top: 4px; }
.pack li.inherit { color: var(--gold-2); font-weight: 600; }
.pack .btn { width: 100%; margin-top: auto; }
.fine { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 52px 14px 18px; min-height: 56px; font: 600 18px/1.4 var(--display); position: relative; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 18px 18px; color: var(--muted); }

/* closing CTA + footer */
.closing { text-align: center; padding: 72px 0; background: radial-gradient(60% 80% at 50% 100%, rgba(20, 144, 124, .35), transparent 70%); }
.closing .wrap { display: grid; gap: 18px; justify-items: center; }
.closing h2 { font-size: clamp(28px, 6vw, 40px); }
.closing p { color: var(--muted); max-width: 32em; }
.closing .cta-row { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
footer strong { color: var(--text); font-family: var(--display); }

/* lightbox */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 8, 23, .96); color: var(--text); }
.lb::backdrop { background: rgba(5, 8, 23, .8); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; gap: 12px; }
.lb-count { color: var(--muted); font-size: 15px; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 8px; touch-action: pan-y; }
.lb-stage { overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); width: auto; height: auto; object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none; }
.lb-stage.loading img { opacity: .35; }
.lb-stage.loading::after { content: ''; position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lb-cap { text-align: center; padding: 10px 16px 4px; font-size: 16px; }
.lb-nav { display: flex; justify-content: center; gap: 16px; padding: 6px 16px 18px; }
.icon-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: var(--text); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.icon-btn:hover { background: rgba(255, 255, 255, .14); }
.icon-btn svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
