/* Halaman Contact — YUN Journal Layout
   Font mengikuti theme situs. Ubah warna/jarak lewat variabel di bawah. */
:root {
	--yjl-top: 5.25rem;
	--yjl-bg-top: #090f13;
	--yjl-bg-main: #0e1a20;
	--yjl-bg-end: #0a1318;
	--yjl-text: #98a4a9;
	--yjl-lead: #dde3e5;
	--yjl-strong: #ffffff;
	--yjl-label: #6a8c95;
	--yjl-line: #263238;
	--yjl-pill: rgba(255, 255, 255, 0.4);
	--yjl-gutter: clamp(1.25rem, 2.8vw, 4rem);
	--yjl-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

body.yjl-contact-active {
	background: var(--yjl-bg-top);
	overflow-x: clip;
}

main.yjl-c {
	position: relative;
	box-sizing: border-box;
	width: 100vw;
	max-width: none;
	margin: 0 0 0 calc(50% - 50vw);
	padding: 0;
	background: var(--yjl-bg-top) var(--yjl-noise);
	color: var(--yjl-text);
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}
.yjl-c *,
.yjl-c *::before,
.yjl-c *::after {
	box-sizing: border-box;
}
.yjl-c a {
	color: inherit;
	text-decoration: none;
}
.yjl-c .yjl-c-wrap {
	padding: 0 var(--yjl-gutter);
}
.yjl-c .yjl-c-label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--yjl-label);
}
.yjl-c-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Hero ---------- */
.yjl-c-hero {
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	padding: var(--yjl-top) 0 clamp(2.5rem, 6vh, 4.5rem);
}
.yjl-c-hero__inner {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.yjl-c-hero__lead {
	margin: auto 0;
}
.yjl .yjl-c-title,
.yjl-c .yjl-c-title {
	max-width: 18ch;
	margin: 0 0 1.4rem;
	padding: 0;
	font-size: clamp(2.1rem, 3.95vw, 3.4rem);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.02em;
	text-transform: none;
	color: var(--yjl-strong);
	text-wrap: balance;
}

.yjl-c a.yjl-c-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 1.9rem;
	padding: 0 0.85rem 0 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--yjl-strong);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.yjl-c-btn svg {
	width: 0.9rem;
	height: 0.9rem;
}
.yjl-c a.yjl-c-btn:hover {
	background: var(--yjl-strong);
	border-color: var(--yjl-strong);
	color: #0a1216;
}

.yjl-c-info {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	padding-top: 2rem;
}
.yjl-c-info__item {
	display: grid;
	gap: 0.9rem;
	align-content: start;
}
.yjl-c .yjl-c-info__val {
	font-size: 1rem;
	font-style: normal;
	font-weight: 300;
	line-height: 1.55;
	color: #c9d1d4;
	overflow-wrap: anywhere;
}
.yjl-c a.yjl-c-info__val:hover {
	color: var(--yjl-strong);
}

/* ---------- Form ---------- */
.yjl-c-form {
	padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
	background:
		linear-gradient(180deg, var(--yjl-bg-top) 0, rgba(9, 15, 19, 0) 7rem),
		linear-gradient(180deg, var(--yjl-bg-main) 0, var(--yjl-bg-end) 100%);
	background-color: var(--yjl-bg-main);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
	scroll-margin-top: 2rem;
}
.yjl-c-formgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3.4vw, 3.5rem);
	align-items: start;
}
.yjl-c-formgrid[hidden],
.yjl-c-thanks[hidden] {
	display: none;
}
.yjl-c-col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.yjl-c-field {
	position: relative;
	border-bottom: 1px solid var(--yjl-line);
}
.yjl-c-field--select {
	padding-top: 0;
}
.yjl-c-field--select .yjl-c-label {
	margin-bottom: 0.4rem;
}

.yjl-c .yjl-c-input {
	display: block;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 1.3rem 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: 300;
	line-height: 1.4;
	color: var(--yjl-strong);
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
}
.yjl-c .yjl-c-input::placeholder {
	color: var(--yjl-text);
	opacity: 1;
}
.yjl-c textarea.yjl-c-input {
	min-height: 7.2rem;
	resize: vertical;
}
.yjl-c-field:focus-within {
	border-bottom-color: var(--yjl-strong);
}
.yjl-c .yjl-c-input:-webkit-autofill {
	-webkit-text-fill-color: var(--yjl-strong);
	box-shadow: 0 0 0 1000px var(--yjl-bg-main) inset !important;
	caret-color: var(--yjl-strong);
}

.yjl-c-selectwrap {
	position: relative;
}
.yjl-c-selectwrap::after {
	content: "";
	position: absolute;
	right: 0.35rem;
	top: 50%;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: -0.38rem;
	border-right: 1.5px solid var(--yjl-text);
	border-bottom: 1.5px solid var(--yjl-text);
	transform: rotate(45deg);
	pointer-events: none;
}
.yjl-c select.yjl-c-input {
	padding-right: 2rem;
	padding-top: 0.6rem;
	cursor: pointer;
}
.yjl-c select.yjl-c-input option {
	background: #0e1a20;
	color: #fff;
}

.yjl-c-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Grup pil */
.yjl-c-group {
	margin: 0;
	padding: 1.6rem 0 1.8rem;
	min-width: 0;
	border: 0;
	border-bottom: 1px solid var(--yjl-line);
}
.yjl-c-group[hidden] {
	display: none;
}
.yjl-c-group legend {
	float: left;
	width: 100%;
	margin: 0 0 0.9rem;
	padding: 0;
	font-size: 0.8125rem;
	font-weight: 300;
	color: var(--yjl-text);
}
.yjl-c-pills {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}
.yjl-c-pill {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}
.yjl-c-pill input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.yjl-c-pill span {
	display: inline-flex;
	align-items: center;
	height: 2.3rem;
	padding: 0 1rem;
	border: 1px solid var(--yjl-pill);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 300;
	line-height: 1;
	color: var(--yjl-lead);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.yjl-c-pill:hover span {
	border-color: var(--yjl-strong);
}
.yjl-c-pill input:checked + span {
	background: var(--yjl-strong);
	border-color: var(--yjl-strong);
	color: #0a1216;
}
.yjl-c-pill input:focus-visible + span {
	outline: 2px solid var(--yjl-strong);
	outline-offset: 3px;
}

/* Kirim */
.yjl-c-submit {
	width: min(100%, 17.5rem);
	margin: 1.4rem 0 0 auto;
	display: grid;
	gap: 0.9rem;
}
.yjl-c-status {
	margin: 0;
	min-height: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--yjl-lead);
}
.yjl-c-status:empty {
	display: none;
}
.yjl-c-status.is-error {
	color: #f0a79b;
}
.yjl-c button.yjl-c-send {
	display: block;
	width: 100%;
	height: 2.9rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--yjl-pill);
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	font-family: inherit;
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--yjl-strong);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.yjl-c button.yjl-c-send:hover:not(:disabled) {
	background: var(--yjl-strong);
	border-color: var(--yjl-strong);
	color: #0a1216;
}
.yjl-c button.yjl-c-send:disabled {
	opacity: 0.5;
	cursor: progress;
}

/* Pesan sukses */
.yjl-c-thanks {
	max-width: 36rem;
	padding: 1rem 0 2rem;
	outline: 0;
}
.yjl-c .yjl-c-thanks__title {
	margin: 0 0 0.9rem;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--yjl-strong);
}
.yjl-c .yjl-c-thanks__text {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--yjl-lead);
}

.yjl-c a:focus-visible,
.yjl-c button:focus-visible,
.yjl-c select:focus-visible {
	outline: 2px solid var(--yjl-strong);
	outline-offset: 3px;
}

/* ---------- Responsif ---------- */
@media (max-width: 900px) {
	:root {
		--yjl-top: 4.75rem;
	}
	.yjl-c-info {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 2rem;
	}
	.yjl-c-formgrid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.yjl-c-submit {
		width: 100%;
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yjl-c * {
		transition: none !important;
	}
	html {
		scroll-behavior: auto !important;
	}
}
