/* Monogram — main stylesheet
   Brand: Amber #FFBF00 (main), Fresh Blue of Bel Air #009BDE (secondary)
   Type: Kanit Medium (headlines), Roboto Regular (body) */

:root {
	--amber: #ffbf00;
	--amber-deep: #e0a300;
	--amber-shade: #b38600;
	--blue: #009bde;
	--ink: #0f0f0f;
	--panel: #171717;
	--panel-2: #1f1f1f;
	--line: rgba(255, 255, 255, 0.1);
	--text: #f6f5f1;
	--muted: #a5a39d;
	--radius: 22px;
	--radius-lg: 56px;
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--font-head: "Kanit", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--amber);
	color: #111;
	border-radius: 8px;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 6px 6px 6px 22px;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 15px;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn .btn-arrow {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
	transform: rotate(-35deg);
}

.btn svg {
	width: 16px;
	height: 16px;
}

.btn--light {
	background: #fff;
	color: #111;
}

.btn--light .btn-arrow {
	background: var(--amber);
	color: #111;
}

.btn--amber {
	background: var(--amber);
	color: #111;
}

.btn--amber .btn-arrow {
	background: #fff;
	color: #111;
}

.btn--ghost {
	background: transparent;
	color: var(--text);
	box-shadow: inset 0 0 0 1px var(--line);
}

.btn--ghost .btn-arrow {
	background: var(--panel-2);
	color: var(--amber);
}

/* ---------- Header / nav ---------- */

.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 20;
	padding: 22px 0;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand img,
.custom-logo-link img {
	height: 36px;
	width: auto;
}

.brand-text {
	font-family: var(--font-head);
	font-size: 22px;
	letter-spacing: 0.04em;
}

.nav {
	display: flex;
	align-items: center;
	gap: 36px;
}

.nav ul {
	display: flex;
	gap: 34px;
}

.nav li a {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 15px;
	opacity: 0.92;
	transition: opacity 0.2s;
}

.nav li a:hover {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111;
	cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: currentColor;
	position: relative;
	content: "";
}

.nav-toggle span::before {
	position: absolute;
	top: -6px;
}

.nav-toggle span::after {
	position: absolute;
	top: 6px;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	z-index: 2;
	isolation: isolate;
	overflow: hidden;
	min-height: min(860px, 100svh);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 150px 0 56px;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	background:
		radial-gradient(90% 80% at 38% 8%, #ffcf33 0%, var(--amber) 22%, var(--amber-deep) 46%, #8a6400 74%, #2a1f02 100%);
}

.hero-photo {
	position: absolute;
	inset: 0 0 0 auto;
	z-index: -2;
	width: 62%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	filter: grayscale(1) contrast(1.25) brightness(1.5);
	mix-blend-mode: multiply;
	opacity: 0.9;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(15, 15, 15, 0) 50%, rgba(15, 15, 15, 0.8) 100%),
		linear-gradient(90deg, rgba(60, 40, 0, 0.28) 0%, rgba(60, 40, 0, 0) 60%);
}

.hero-main {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
	align-items: end;
	gap: 40px;
}

.hero-eyebrow {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(20px, 2.2vw, 28px);
	margin: 0 0 6px;
}

.hero h1 {
	font-size: clamp(58px, 10.4vw, 150px);
	line-height: 0.9;
	letter-spacing: -0.03em;
	text-shadow: 0 2px 40px rgba(70, 45, 0, 0.35);
}

.hero-aside {
	padding-bottom: 14px;
}

.hero-aside h2 {
	font-size: clamp(22px, 2.3vw, 30px);
	line-height: 1.2;
	margin-bottom: 16px;
}

.hero-aside p {
	margin: 0;
	max-width: 34ch;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.86);
}

.hero-points {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: clamp(48px, 7vw, 96px);
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-points a {
	display: block;
	font-size: 16px;
}

.hero-points a:hover .hero-point-name {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.num {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 14px;
}

.num i {
	font-style: normal;
	color: var(--amber);
}

/* ---------- Strip under hero ---------- */

.strip {
	position: relative;
	z-index: 1;
	margin-top: calc(var(--radius-lg) * -1);
	padding: calc(var(--radius-lg) + 44px) 0 48px;
	background: var(--panel);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.strip .container {
	display: flex;
	align-items: center;
	gap: clamp(24px, 5vw, 72px);
}

.strip-label {
	flex: 0 0 auto;
	max-width: 15ch;
	margin: 0;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.3;
}

.strip-list {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 36px;
}

.strip-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(18px, 2vw, 24px);
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.strip-list li::before {
	content: "";
	width: 18px;
	height: 18px;
	border: 4px solid var(--text);
	border-radius: 50%;
}

.strip-list li:nth-child(2n)::before {
	border-radius: 4px;
	transform: rotate(45deg) scale(0.85);
}

.strip-list li:nth-child(3n)::before {
	border-radius: 50%;
	border-right-color: transparent;
}

/* ---------- Sections ---------- */

.section {
	padding: clamp(80px, 11vw, 150px) 0;
}

.eyebrow {
	margin: 0 0 18px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(18px, 1.8vw, 24px);
	color: var(--amber);
}

.h-display {
	font-size: clamp(36px, 4.6vw, 62px);
}

.lead {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(20px, 2vw, 27px);
	line-height: 1.3;
	letter-spacing: -0.005em;
}

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

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.split-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 34px;
}

.split-cta p {
	margin: 0;
	max-width: 24ch;
	font-size: 14px;
	color: var(--muted);
}

/* Pillar cards */

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: clamp(48px, 6vw, 80px);
}

.card {
	position: relative;
	overflow: hidden;
	min-height: 460px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
	border-radius: var(--radius);
	background: var(--panel-2);
	isolation: isolate;
}

.card img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05);
	transition: transform 0.6s ease, filter 0.4s ease;
}

.card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(15, 15, 15, 0) 25%, rgba(15, 15, 15, 0.94) 78%);
}

.card:hover img {
	transform: scale(1.05);
	filter: grayscale(0);
}

.card h3 {
	font-size: 28px;
	margin-bottom: 10px;
}

.card p {
	margin: 0;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.8);
}

/* Values */

.values {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 18px;
}

.value {
	padding: 28px;
	border-radius: var(--radius);
	background: var(--panel);
}

.value h3 {
	font-size: 21px;
	margin-bottom: 8px;
}

.value p {
	margin: 0;
	font-size: 14.5px;
	color: var(--muted);
}

/* ---------- Services ---------- */

.services {
	background: var(--panel);
	border-radius: var(--radius-lg);
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head .h-display {
	max-width: 16ch;
}

.section-head > p {
	max-width: 38ch;
	margin: 0;
	color: var(--muted);
}

.svc {
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.svc-nav {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.svc-tab {
	display: flex;
	align-items: baseline;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: var(--muted);
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 17px;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.svc-tab .num {
	display: inline;
	margin: 0;
	font-size: 13px;
}

.svc-tab:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
}

.svc-tab[aria-selected="true"] {
	background: var(--amber);
	color: #111;
}

.svc-tab[aria-selected="true"] .num i {
	color: #111;
}

.svc-panel + .svc-panel {
	margin-top: 72px;
}

.js .svc-panel {
	margin-top: 0;
}

.js .svc-panel[hidden] {
	display: none;
}

.svc-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 48px);
	margin-bottom: 36px;
}

.svc-intro h3 {
	font-size: clamp(30px, 3.4vw, 44px);
	margin-bottom: 16px;
}

.svc-intro p {
	margin: 0;
	color: var(--muted);
}

.includes-title {
	margin: 0 0 14px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 14px;
	color: var(--blue);
}

.includes li {
	position: relative;
	padding: 9px 0 9px 28px;
	border-bottom: 1px solid var(--line);
	font-size: 14.5px;
	line-height: 1.5;
}

.includes li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 15px;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--amber);
	border-bottom: 2px solid var(--amber);
	transform: rotate(-45deg);
}

.pkg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}

.pkg {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--ink);
	border: 1px solid var(--line);
}

.pkg-name {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.02em;
}

.pkg-name svg {
	width: 30px;
	height: 16px;
	color: var(--blue);
}

.pkg-specs {
	flex: 1;
	margin-bottom: 26px;
	font-size: 14.5px;
	color: var(--muted);
}

.pkg-specs li + li {
	margin-top: 4px;
}

.pkg-price {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(28px, 2.6vw, 36px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--amber);
}

.pkg-price small {
	display: block;
	margin-top: 8px;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0;
	color: var(--muted);
}

.svc-note {
	margin: 18px 0 0;
	padding: 16px 20px;
	border-radius: 14px;
	background: rgba(0, 155, 222, 0.1);
	border: 1px solid rgba(0, 155, 222, 0.28);
	font-size: 14.5px;
}

.svc-note + .svc-note {
	margin-top: 10px;
}

/* ---------- Contact ---------- */

.contact-panel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(32px, 5vw, 72px);
	padding: clamp(32px, 5vw, 72px);
	border-radius: var(--radius-lg);
	background: radial-gradient(110% 120% at 10% 0%, #ffcf33 0%, var(--amber) 28%, var(--amber-deep) 58%, #9a7000 100%);
	color: #111;
}

.contact-panel img {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.2);
	mix-blend-mode: multiply;
	opacity: 0.2;
}

.contact-panel h2 {
	font-size: clamp(42px, 6vw, 88px);
	line-height: 0.95;
	letter-spacing: -0.025em;
	margin-bottom: 26px;
}

.contact-panel .lead {
	max-width: 22ch;
	margin-bottom: 12px;
}

.contact-panel p {
	max-width: 44ch;
}

.contact-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-self: end;
}

.contact-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 16px 16px 24px;
	border-radius: 18px;
	background: #111;
	color: var(--text);
	transition: transform 0.2s ease;
}

a.contact-item:hover {
	transform: translateX(4px);
}

.contact-item span {
	display: block;
	font-size: 12.5px;
	color: var(--muted);
}

.contact-item strong {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(17px, 1.6vw, 21px);
	overflow-wrap: anywhere;
}

.contact-item .btn-arrow {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--amber);
	color: #111;
}

.contact-item svg {
	width: 16px;
	height: 16px;
}

/* ---------- Footer ---------- */

.site-footer {
	padding: 56px 0 40px;
	font-size: 14px;
	color: var(--muted);
}

.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

.footer-top img {
	height: 34px;
	width: auto;
}

.footer-top ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	font-family: var(--font-head);
	font-weight: 500;
	color: var(--text);
}

.footer-top a:hover {
	color: var(--amber);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 24px;
}

.footer-bottom p {
	margin: 0;
}

/* ---------- Inner pages (page.php / index.php) ---------- */

.page-hero {
	padding: 170px 0 70px;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	background: radial-gradient(90% 140% at 30% 0%, var(--amber) 0%, var(--amber-deep) 40%, #8a6400 78%, #2a1f02 100%);
}

.page-hero h1 {
	font-size: clamp(44px, 7vw, 96px);
	line-height: 0.95;
	letter-spacing: -0.025em;
}

.entry {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--gutter);
	font-size: 17px;
}

.entry h2 {
	font-size: 34px;
	margin: 1.6em 0 0.5em;
}

.entry h3 {
	font-size: 24px;
	margin: 1.4em 0 0.4em;
}

.entry a:not(.btn) {
	color: var(--amber);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry ul,
.entry ol {
	margin: 0 0 1em;
	padding-left: 1.3em;
	list-style: revert;
}

.entry img {
	border-radius: var(--radius);
}

.post-list {
	display: grid;
	gap: 18px;
}

.post-list article {
	padding: 28px;
	border-radius: var(--radius);
	background: var(--panel);
}

.post-list h2 {
	margin: 0 0 8px;
	font-size: 26px;
}

.post-list h2 a {
	color: var(--text);
	text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.hero-main,
	.split,
	.svc,
	.svc-intro,
	.contact-panel {
		grid-template-columns: 1fr;
	}

	.hero-aside {
		padding-bottom: 0;
	}

	.hero-photo {
		width: 100%;
		opacity: 0.6;
	}

	.cards,
	.values {
		grid-template-columns: 1fr;
	}

	.card {
		min-height: 360px;
	}

	.section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.svc-nav {
		position: static;
		flex-direction: row;
		overflow-x: auto;
		margin: 0 calc(var(--gutter) * -1);
		padding: 0 var(--gutter) 6px;
		scrollbar-width: none;
	}

	.svc-tab {
		flex: 0 0 auto;
		width: auto;
		white-space: nowrap;
		background: rgba(255, 255, 255, 0.05);
	}

	.strip .container {
		flex-direction: column;
		align-items: flex-start;
	}

	.strip-label {
		max-width: none;
	}

	.strip-list {
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	:root {
		--radius-lg: 34px;
	}

	.nav-toggle {
		display: block;
	}

	.nav {
		position: absolute;
		top: calc(100% - 6px);
		left: var(--gutter);
		right: var(--gutter);
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 22px;
		border-radius: var(--radius);
		background: #111;
		box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	}

	.nav.is-open {
		display: flex;
	}

	.nav ul {
		flex-direction: column;
		gap: 4px;
	}

	.nav li a {
		display: block;
		padding: 10px 4px;
		font-size: 18px;
	}

	.nav .btn {
		justify-content: space-between;
	}

	.hero {
		padding-top: 120px;
	}

	.hero-points {
		grid-template-columns: 1fr 1fr;
	}

	.split-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-top {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}
}
