:root {
	--q3b2: #f9f5ef;
	--uvjb: #f0eae2;
	--xk7: #1a221d;
	--p1w3: #686c66;
	--kga0: #959690;
	--vh9ub: #d5d3cd;
	--x8wxv: #525752;
	--crvv: #69588f;
	--csgs: #ffffff;
	--fex: #e8e2e3;
	--sb54s: #4f426b;
	--k470: #f9f5ef;
	--xgha: "Playfair Display", Georgia, "Times New Roman", serif;
	--e7a92: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fbfbg: 1200px;
	--f8rj: 3px;
	--uejj: 40rem;
	--py8t2: double;
	--xtht: 3px;
}

/* Base: reset, type, links, media, buttons */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--q3b2);
	color: var(--xk7);
	font-family: var(--e7a92);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:lang(th) body,
body:lang(th) {
	font-family: "Noto Sans Thai", var(--e7a92);
	line-height: 1.85;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--xgha);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--xk7);
	margin: 1.6em 0 0.55em;
	text-wrap: balance;
}

:lang(th) h1, :lang(th) h2, :lang(th) h3, :lang(th) h4, :lang(th) h5, :lang(th) h6 {
	font-family: var(--xgha), "Noto Serif Thai", serif;
	line-height: 1.4;
	letter-spacing: 0;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; letter-spacing: 0.02em; }

p, ul, ol, blockquote, figure {
	margin: 0 0 1.15em;
}

ul, ol {
	padding-left: 1.3em;
}

li + li {
	margin-top: 0.3em;
}

a {
	color: var(--crvv);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color .2s ease, text-decoration-color .2s ease, background-color .2s ease, border-color .2s ease;
}

a:hover {
	color: var(--sb54s);
	text-decoration-color: currentColor;
}

:focus-visible {
	outline: 2px solid var(--crvv);
	outline-offset: 3px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin-left: 0;
	margin-right: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--vh9ub);
	margin: 2.5rem 0;
}

strong, b {
	font-weight: 700;
}

del {
	color: var(--kga0);
}

ins {
	text-decoration: none;
}

::selection {
	background: var(--crvv);
	color: var(--csgs);
}

iframe {
	border: 0;
	max-width: 100%;
}

.c-oria {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.c-feia:focus {
	clip: auto;
	width: auto;
	height: auto;
	z-index: 100;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.7rem 1.1rem;
	background: var(--xk7);
	color: var(--q3b2);
	text-decoration: none;
}

/* buttons */

.c-nuveve {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.78em 1.6em;
	border: 1px solid var(--crvv);
	border-radius: var(--f8rj);
	background: var(--crvv);
	color: var(--csgs);
	font-family: var(--e7a92);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

a.c-nuveve:hover {
	background: var(--sb54s);
	border-color: var(--sb54s);
	color: var(--csgs);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px -10px var(--sb54s);
}

.c-nuveve.c-mikazo {
	background: transparent;
	color: var(--crvv);
}

a.c-nuveve.c-mikazo:hover {
	background: var(--crvv);
	color: var(--csgs);
}

span.c-nuveve {
	cursor: default;
}

.c-miperi {
	margin: 1.6rem 0 0.6rem;
}

.c-daorpe {
	display: inline-block;
	font-family: var(--e7a92);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--crvv);
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

.c-daorpe::after {
	content: " \2192";
}

.c-daorpe:hover {
	color: var(--xk7);
}

/* contact forms */

.c-daorri {
	display: grid;
	gap: 0.2rem;
	max-width: 36rem;
}

.c-dafezo {
	display: grid;
	gap: 0.4rem;
	margin: 0 0 0.9rem;
}

.c-dafezo label {
	font-family: var(--e7a92);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.c-dafezo input,
.c-dafezo textarea {
	width: 100%;
	padding: 0.75em 0.9em;
	border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
	border-radius: var(--f8rj);
	background: color-mix(in srgb, var(--q3b2) 85%, transparent);
	color: inherit;
	font: inherit;
}

.c-dafezo textarea {
	resize: vertical;
	min-height: 8rem;
}

.c-dafezo input:focus,
.c-dafezo textarea:focus {
	outline: 2px solid var(--crvv);
	outline-offset: 1px;
}

button.c-nuveve {
	cursor: pointer;
}

button.c-nuveve:hover {
	background: var(--sb54s);
	border-color: var(--sb54s);
}

.c-ulrika {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.c-peto {
	display: none;
	margin: 0.6rem 0 0;
	font-weight: 700;
}

.c-peto:target {
	display: block;
}
