/*
Theme Name: NIGHTGLYPH
Description: Classic custom theme for nightglyph.com — dark editorial studio design, EN/TH via Polylang. Companion plugin: ng-core.
Version: 0.1.0
Requires Plugins: polylang
*/

:root {
	--ink: #090909;
	--panel: #111111;
	--line: #2a2a2a;
	--paper: #f4f1e9;
	--muted: #b8b5ac;
	--acid: #ffd400;
	--grid-max: 1280px;
	--space-s: 32px;
	--space-m: 56px;
	--space-l: 72px;
	--h-page: clamp(34px, 4.8vw, 76px);
	--font-body: Arial, Helvetica, sans-serif;
	--font-display: Impact, "Arial Narrow", Arial, sans-serif;
}

html:lang(th) {
	--font-body: "Noto Sans Thai", Arial, Helvetica, sans-serif;
	--font-display: "Kanit", "Noto Sans Thai", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--ink); }

body {
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--grid-max); margin: 0 auto; padding: 0 24px; }

/* ---------- shared atoms ---------- */

.eyebrow {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
}
html:lang(th) .eyebrow { text-transform: none; letter-spacing: .06em; }

.display {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-weight: 400;
	line-height: .95;
	letter-spacing: .01em;
}
html:lang(th) .display { text-transform: none; line-height: 1.15; }

.display .hl { color: var(--acid); }
.display sup { font-size: .35em; color: var(--acid); }

.muted { color: var(--muted); }
.acid { color: var(--acid); }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--acid);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 14px 22px;
	border: 1px solid var(--acid);
}
html:lang(th) .btn { text-transform: none; letter-spacing: .04em; }
.btn:hover { background: transparent; color: var(--acid); }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--acid); color: var(--acid); }

.section { border-top: 1px solid var(--line); padding: var(--space-l) 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 {
	font-family: var(--font-display);
	font-size: clamp(34px, 5vw, 64px);
	text-transform: uppercase;
	font-weight: 400;
	line-height: 1;
	margin: 16px 0 12px;
}
html:lang(th) .section-head h2 { text-transform: none; line-height: 1.2; }
.section-head .intro { max-width: 640px; color: var(--muted); }
.kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); }
html:lang(th) .kicker { text-transform: none; }

.grid-lines { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

/* ---------- header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ink);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
.logo { font-family: var(--font-display); font-size: 22px; letter-spacing: .06em; }
.logo span { color: var(--acid); }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
html:lang(th) .main-nav a { text-transform: none; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--paper); }
.header-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; gap: 0; border: 1px solid var(--line); font-size: 12px; }
.lang-switch a, .lang-switch span { padding: 6px 10px; color: var(--muted); }
.lang-switch .active { background: var(--acid); color: var(--ink); font-weight: 700; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--paper); padding: 8px 12px; }

@media (max-width: 900px) {
	.main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav li { border-top: 1px solid var(--line); }
	.main-nav a { display: block; padding: 16px 24px; }
	.menu-toggle { display: block; }
	.header-right .btn { display: none; }
}

/* ---------- hero ---------- */

.hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
@media (min-width: 761px) { .hero { min-height: calc(100svh - 64px); } }
.hero::before {
	content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
	background-image: linear-gradient(var(--acid) 1px, transparent 1px), linear-gradient(90deg, var(--acid) 1px, transparent 1px);
	background-size: 60px 60px;
}
.hero .eyebrow { border-bottom: none; }
.hero-inner { padding: 48px 0 56px; position: relative; z-index: 1; }
@media (min-width: 761px) { .hero-inner { max-width: 66%; } }
.hero-badge {
	display: inline-block;
	border: 1px solid var(--acid);
	color: var(--acid);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 6px 12px;
	margin-bottom: 28px;
}
html:lang(th) .hero-badge { text-transform: none; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); }
html:lang(th) .hero h1 { font-size: clamp(34px, 5.5vw, 72px); }
.hero-desc { max-width: 560px; color: var(--muted); margin: 28px 0 32px; font-size: 18px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
/* Browser-mockup frame — reads as a website screenshot, not a stock photo. */
.shot { overflow: hidden; border: 1px solid rgba(244,241,233,.22); background: #111; }
.shot-bar {
	display: flex; gap: 6px; align-items: center;
	height: 24px; padding: 0 10px;
	background: #1a1a1a; border-bottom: 1px solid rgba(244,241,233,.14);
}
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3a; }
.shot-bar i:first-child { background: rgba(255,212,0,.5); }

.hero-frames { pointer-events: none; }
.hero-frames figure {
	box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.hero-frames img { aspect-ratio: 4/3; object-fit: cover; width: 100%; filter: grayscale(1); transition: filter .7s; }
.hero-frames figure:hover img { filter: none; }
@media (prefers-reduced-motion: reduce) { .hero-frames img { transition: none; } }
@media (min-width: 761px) {
	.hero-frames { position: absolute; inset: 0; }
	.hero-frames figure { position: absolute; z-index: 2; }
	.hero-frames figure:nth-child(1) { right: 5%; top: 11%;  width: 22%; transform: rotate(4deg); }
	.hero-frames figure:nth-child(2) { right: 22%; top: 52%; width: 19%; transform: rotate(3deg); }
	.hero-frames figure:nth-child(3) { display: none; }
}
@media (max-width: 760px) {
	.hero-frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 24px 32px; border-top: 1px solid var(--line); pointer-events: auto; }
	.hero-frames figure { box-shadow: none; transform: none; }
	.hero-frames figure:nth-child(3) { display: none; }
	.hero-frames img { aspect-ratio: 4/3; }
}

/* ---------- showcase ---------- */

.showcase { border-bottom: 1px solid var(--line); padding: 72px 0; }
.showcase h2 { font-size: clamp(40px, 7vw, 96px); }
.showcase h2 .row3 { color: var(--acid); }
.showcase-desc { max-width: 520px; color: var(--muted); margin: 24px 0 48px; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.showcase-item { padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase-item:nth-child(3n) { border-right: none; }
.showcase-item h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; font-weight: 400; margin-bottom: 10px; }
html:lang(th) .showcase-item h3 { text-transform: none; }
.showcase-item p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.showcase-item .tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--acid); }
.showcase-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: 48px; }
.showcase-images img { aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 800px) { .showcase-grid { grid-template-columns: minmax(0, 1fr); } .showcase-item { border-right: none; } .showcase-images { grid-template-columns: minmax(0, 1fr); } }

/* ---------- work / cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.card {
	display: flex; flex-direction: column;
	border-right: 1px solid var(--line);
	background: var(--panel);
}
.card:last-child { border-right: none; }
.card .shot { border: none; border-bottom: 1px solid var(--line); }
.card img { aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; font-weight: 400; }
html:lang(th) .card h3 { text-transform: none; }
.card .meta-line { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card p { color: var(--muted); font-size: 14px; }
.card .more { margin-top: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acid); }
a.card:hover h3 { color: var(--acid); }
.card-tag { align-self: flex-start; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--acid); border: 1px solid var(--line); padding: 4px 10px; }
html:lang(th) .card-tag { text-transform: none; }
.pjf-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pjf-tab {
	background: transparent;
	border: 1px solid var(--line);
	color: var(--muted);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 10px 16px;
}
html:lang(th) .pjf-tab { text-transform: none; }
.pjf-tab i { font-style: normal; color: var(--acid); margin-left: 6px; }
.pjf-tab:hover { border-color: var(--acid); color: var(--paper); }
.pjf-tab.is-on { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.pjf-tab.is-on i { color: var(--ink); }
.pj-demo-link { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: .06em; color: var(--acid); border-bottom: 1px solid var(--acid); }
.pj-demo-link:hover { color: var(--paper); border-color: var(--paper); }
@media (max-width: 900px) { .card-grid { grid-template-columns: minmax(0, 1fr); } .card { border-right: none; border-bottom: 1px solid var(--line); } }

/* ---------- lists (services/capabilities/process/pricing/faq) ---------- */

.row-list { border-top: 1px solid var(--line); }
.row-list .row {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 24px;
	padding: 26px 0;
	border-bottom: 1px solid var(--line);
}
.row-list .row h3 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; font-weight: 400; }
html:lang(th) .row-list .row h3 { text-transform: none; }
.row-list .row p { color: var(--muted); max-width: 640px; }
@media (max-width: 700px) { .row-list .row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li {
	border: 1px solid var(--line);
	padding: 8px 14px;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--paper);
}
html:lang(th) .chip-list li { text-transform: none; }
.chip-list li:hover { border-color: var(--acid); color: var(--acid); }

/* Capabilities folded under the services list — no orphan section. */
.cap-strip { margin-top: 32px; }
.cap-strip-label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); margin-bottom: 14px; }
html:lang(th) .cap-strip-label { text-transform: none; letter-spacing: .06em; }

.steps { counter-reset: step; border-top: 1px solid var(--line); }
.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 24px;
	padding: 26px 0;
	border-bottom: 1px solid var(--line);
}
.steps li::before {
	content: counter(step, decimal-leading-zero);
	font-family: var(--font-display);
	font-size: 32px;
	color: var(--acid);
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); max-width: 640px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.plan { padding: 32px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.plan:nth-child(3n) { border-right: none; }
/* Care plan — horizontal band under the three build packages. */
.plan-band {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; align-items: center; gap: 24px;
	border: 1px solid var(--line); border-top: none; padding: 24px 28px;
}
.plan-band .price { font-family: var(--font-display); font-size: 34px; color: var(--acid); }
.plan-band .price small { font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.plan-band h3 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; font-weight: 400; }
html:lang(th) .plan-band h3 { text-transform: none; }
.plan-band p { color: var(--muted); font-size: 14px; }
.plan-band .plan-includes { font-size: 13px; color: var(--muted); }
.plan-band .plan-includes b { color: var(--paper); font-weight: 600; }
@media (max-width: 800px) { .plan-band { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.plan h3 { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; font-weight: 400; }
html:lang(th) .plan h3 { text-transform: none; }
.plan .price { font-family: var(--font-display); font-size: 44px; color: var(--acid); }
.plan .price small { font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.plan p { color: var(--muted); font-size: 14px; }
.plan.featured { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--acid); }
.plan-badge { align-self: flex-start; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--acid); border: 1px solid var(--acid); padding: 4px 10px; }
html:lang(th) .plan-badge { text-transform: none; }
.plan-features, .plan-excludes { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.plan-features li { padding: 6px 0 6px 22px; position: relative; }
.plan-features li::before { content: "+"; position: absolute; left: 0; color: var(--acid); }
.plan-excludes li { padding: 6px 0 6px 22px; position: relative; color: var(--muted); }
.plan-excludes li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.launch-note { color: var(--muted); font-size: 14px; max-width: 640px; margin: 28px 0 0; }
.terms-list { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.terms-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.terms-list li:last-child { border-bottom: none; }
@media (max-width: 800px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } .plan { border-right: none; border-bottom: 1px solid var(--line); } .plan:last-child { border-bottom: none; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	cursor: pointer;
	list-style: none;
	padding: 22px 0;
	font-size: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.faq summary::after { content: "+"; color: var(--acid); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 720px; }

/* ---------- CTA band ---------- */

.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .kicker { display: block; margin-bottom: 10px; }
.cta-band h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.05; font-weight: 400; }
html:lang(th) .cta-band h2 { text-transform: none; line-height: 1.2; }
.cta-band h2 .l2 { color: var(--acid); }
.cta-band .btn { flex-shrink: 0; }

/* ---------- footer ---------- */

.site-footer { padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-top h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-top a { display: block; color: var(--paper); padding: 3px 0; font-size: 14px; }
.footer-top a:hover { color: var(--acid); }
.footer-desc { color: var(--muted); max-width: 360px; margin-top: 12px; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
@media (max-width: 700px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- project detail ---------- */

.project-hero { border-bottom: 1px solid var(--line); padding: 48px 0 0; }
.project-hero h1 { font-size: var(--h-page); }
.project-meta { display: flex; gap: 32px; flex-wrap: wrap; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 20px 0 24px; }
.project-meta b { color: var(--acid); font-weight: 700; }
.project-summary { max-width: 640px; color: var(--muted); margin-bottom: 40px; }
.project-hero img { border-top: 1px solid var(--line); max-height: 560px; object-fit: cover; width: 100%; }
.pj-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 760px) { .pj-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.pj-package { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); }
.pj-package .svc-label { margin: 0; }
.pj-package .pj-package-name { font-weight: 600; }
.pj-package .btn { margin-left: auto; }
@media (max-width: 760px) { .pj-package .btn { margin-left: 0; } }
.pj-label { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; font-weight: 400; margin-bottom: 14px; }
html:lang(th) .pj-label { text-transform: none; }
.pj-grid p { color: var(--muted); max-width: 560px; }
.next-project { display: flex; align-items: baseline; gap: 20px; border-top: 1px solid var(--line); padding: 28px 0; margin-top: 48px; }
.next-project-title { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; color: var(--paper); }
html:lang(th) .next-project-title { text-transform: none; }
.next-project:hover .next-project-title { color: var(--acid); }
.prose { max-width: 720px; }
.prose p { margin-bottom: 20px; color: var(--muted); }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 32px; font-weight: 400; margin: 40px 0 16px; }
.prose h3 { font-size: 20px; margin: 32px 0 12px; }
html:lang(th) .prose h2 { text-transform: none; }
.prose ul { margin-bottom: 20px; }
.prose ul li { padding: 4px 0 4px 20px; position: relative; color: var(--paper); }
.prose ul li::before { content: "+"; position: absolute; left: 0; color: var(--acid); }
.prose ol { margin: 0 0 20px 22px; list-style: decimal; color: var(--muted); }
.prose blockquote { border-left: 2px solid var(--acid); padding: 4px 0 4px 20px; margin: 28px 0; color: var(--paper); font-size: 18px; }
.article-head { padding-bottom: 32px; }
.article-body { padding-bottom: 40px; }
.pagination { margin-bottom: 72px; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); margin-right: 8px; font-size: 14px; }
.pagination .page-numbers.current { border-color: var(--acid); color: var(--acid); }
.notice {
	border: 1px solid var(--acid);
	color: var(--acid);
	font-size: 13px;
	padding: 14px 18px;
	margin: 32px 0;
}

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.field { margin-bottom: 20px; }
/* required/optional markers — ::after so ACF labels stay untouched */
.field--req label::after { content: " *"; color: var(--acid); }
.field--opt label::after { content: " (optional)"; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
html:lang(th) .field--opt label::after { content: " (ไม่บังคับ)"; }
#ng-send[disabled] { opacity: .55; cursor: wait; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 460px; }
.field label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
html:lang(th) .field label { text-transform: none; }
.field input, .field select, .field textarea {
	width: 100%;
	background: var(--panel);
	border: 1px solid var(--line);
	color: var(--paper);
	padding: 12px 14px;
	font: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acid); outline: none; }
.field .err { color: var(--acid); font-size: 12px; margin-top: 6px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success { border: 1px solid var(--acid); padding: 28px; }
.form-success h3 { color: var(--acid); font-family: var(--font-display); font-size: 26px; text-transform: uppercase; font-weight: 400; margin-bottom: 10px; }
html:lang(th) .form-success h3 { text-transform: none; }

.empty-state { border: 1px solid var(--line); padding: 40px 32px; margin-bottom: 72px; max-width: 560px; }
.empty-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- services ---------- */

.svc-list { border-top: 1px solid var(--line); }
.svc-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 24px;
	padding: 36px 0;
	border-bottom: 1px solid var(--line);
}
.svc-num { font-family: var(--font-display); font-size: 30px; color: var(--acid); }
.svc-main h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 28px; font-weight: 400; margin-bottom: 10px; }
html:lang(th) .svc-main h3 { text-transform: none; }
.svc-main p { max-width: 560px; }
.svc-cols {
	grid-column: 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin-top: 18px;
}
.svc-label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); margin-bottom: 8px; }
html:lang(th) .svc-label { text-transform: none; letter-spacing: .05em; }
.svc-cols p { font-size: 14px; }
.svc-inc { list-style: none; font-size: 14px; }
.svc-inc li { padding: 3px 0 3px 18px; position: relative; }
.svc-inc li::before { content: "+"; position: absolute; left: 0; color: var(--acid); }
.svc-pkg { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--acid); }
.svc-pkg:hover { text-decoration: underline; }
@media (max-width: 800px) {
	.svc-row { grid-template-columns: 48px minmax(0, 1fr); }
	.svc-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ---------- misc ---------- */

.page-head { padding: 48px 0 40px; }
.page-head--compact { padding: 32px 0 28px; }
.page-head h1 { font-size: var(--h-page); }
.page-head--compact h1 { font-size: clamp(30px, 4.5vw, 56px); }
.page-head .lead { max-width: 640px; color: var(--muted); margin-top: 24px; font-size: 18px; }

.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 800px) { .split-2 { grid-template-columns: minmax(0, 1fr); } }
.split-2 h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; font-weight: 400; margin-bottom: 12px; }
html:lang(th) .split-2 h3 { text-transform: none; }
.split-2 p { color: var(--muted); }

.error-404 { padding: 120px 0; text-align: center; }
.error-404 h1 { font-family: var(--font-display); font-size: clamp(64px, 14vw, 180px); color: var(--acid); }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* Keyboard focus — visible ring on interactive elements. */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--acid);
	outline-offset: 3px;
}
