/* Menorah, arah "Lembar Analisis".
   Kertas off-white + tinta biru tua + aksen api (merah logo) hanya untuk aksi.
   Struktur: rail kiri (desktop) / dock bawah (mobile), kolom utama + kolom catatan pinggir. */

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Caveat";
	src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--paper: #f6f2e9;
	--paper-2: #eee7d8;
	--sheet: #fffdf8;
	--ink: #1d2b4f;
	--ink-soft: #46527a;
	--muted: #6b6659;
	--rule: #dcd3c1;
	--ruled: rgba(29, 43, 79, 0.09);
	--margin-red: rgba(225, 50, 58, 0.45);
	--flame: #d42a33;
	--flame-dark: #b01f28;
	--gold: #f3b71b;
	--mark: rgba(243, 183, 27, 0.42);
	--wa: #1c7a46;
	--red: #c9373a;
	--yellow: #d99a0b;
	--green: #2f8a55;
	--shadow: 0 1px 2px rgba(29, 43, 79, 0.08), 0 10px 30px -12px rgba(29, 43, 79, 0.25);
	--sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hand: "Caveat", "Figtree", cursive;
	--rail: 248px;
	--wrap: 1160px;
	--gut: clamp(16px, 4vw, 56px);
	--margin-col: 270px;
	--gap: clamp(28px, 4vw, 64px);
	--space: clamp(64px, 9vw, 128px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--flame); text-underline-offset: 0.2em; }
a:hover { color: var(--flame-dark); }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.12; letter-spacing: -0.015em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

mark {
	background: linear-gradient(100deg, transparent 0 1%, var(--mark) 2% 97%, transparent 98%) 0 72% / 100% 46% no-repeat;
	color: inherit;
	padding: 0 0.06em;
}

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 40em; }
.screen-reader-text,
.skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px; }

/* ---------- Kerangka: rail + halaman ---------- */

.rail { display: none; }
.topline { display: flex; align-items: center; padding: 18px var(--gut) 0; }
.topline__brand { display: inline-flex; align-items: center; gap: 10px; }
.topline__brand img:first-child { width: 30px; }
.topline__brand img:last-child { width: 108px; }

.shell { min-width: 0; }
.main { display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

@media (min-width: 1100px) {
	.topline { display: none; }
	.shell { margin-left: var(--rail); }
	.rail {
		position: fixed;
		inset: 0 auto 0 0;
		width: var(--rail);
		display: flex;
		flex-direction: column;
		gap: 36px;
		padding: 32px 28px 28px;
		border-right: 1px solid var(--rule);
		background: var(--paper);
		z-index: 20;
		overflow-y: auto;
	}
	.rail__brand { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
	.rail__mark { width: 56px; }
	.rail__word { width: 132px; }
	.rail__nav ul { list-style: none; display: grid; gap: 2px; }
	.rail__nav a {
		display: block;
		padding: 7px 0 7px 14px;
		margin-left: -14px;
		border-left: 2px solid transparent;
		text-decoration: none;
		font-weight: 560;
		color: var(--ink-soft);
	}
	.rail__nav a:hover { color: var(--ink); border-left-color: var(--rule); }
	.rail__nav a[aria-current] { color: var(--ink); border-left-color: var(--flame); font-weight: 700; }
	.rail__contact { margin-top: auto; display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
	.rail__label { margin: 0; font-size: 0.875rem; color: var(--muted); }
	.rail__number {
		display: inline-flex; align-items: center; gap: 8px;
		font-size: 1.15rem; font-weight: 750; text-decoration: none; color: var(--wa);
	}
	.rail__number .icon { width: 22px; height: 22px; }
	.rail__ig { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--muted); text-decoration: none; }
}

/* Kolom utama + catatan pinggir: garis merah tipis seperti margin buku tulis. */
.lay { display: grid; gap: 28px; }
.lay__margin { display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) {
	.lay { grid-template-columns: minmax(0, 1fr) var(--margin-col); gap: var(--gap); }
	.lay__margin { position: relative; padding-left: 28px; }
	.lay__margin::before {
		content: "";
		position: absolute;
		left: 0;
		top: 6px;
		bottom: 0;
		width: 1px;
		background: var(--margin-red);
	}
	.lay__margin--low { padding-top: 0.5rem; }
}

.mnote {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.5;
	color: var(--ink-soft);
	font-style: italic;
}

section, .pagehead, .chapter { scroll-margin-top: 24px; }
.main > section, .main > .wrap, .main > .band, .main > header { margin-top: var(--space); }
.main > :first-child { margin-top: clamp(28px, 5vw, 72px); }
.wrap > section + section,
.wrap > section + .faq,
.wrap > .faq + section { margin-top: var(--space); }

/* ---------- Tombol & tautan ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn .icon { width: 22px; height: 22px; flex: none; }
.btn--wa { background: var(--flame); color: #fff; }
.btn--wa:hover { background: var(--flame-dark); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1.5px solid var(--flame);
	padding-bottom: 2px;
}
.link .icon { width: 18px; height: 18px; transition: transform 0.15s; }
.link:hover .icon { transform: translateX(3px); }

.row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 26px 0 0; }

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

.hero { display: grid; gap: 32px; align-items: start; }
.hero__title { max-width: 17ch; margin: 0; font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
.hero .lead { margin: 0; }
.hero__direct { margin: 26px 0 0; }
@media (min-width: 900px) {
	.hero { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); grid-template-areas: "title title" "text spec"; column-gap: 48px; row-gap: 40px; }
	.hero__title { grid-area: title; }
	.hero__text { grid-area: text; padding-top: 12px; }
	.hero .specimen { grid-area: spec; }
}

.doors { display: grid; margin-top: 30px; border-top: 1px solid var(--rule); max-width: 34rem; }
.door {
	display: grid;
	gap: 2px;
	padding: 16px 0;
	border-bottom: 1px solid var(--rule);
	text-decoration: none;
}
.door__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.3rem; font-weight: 750; }
.door__title .icon { color: var(--flame); width: 24px; height: 24px; transition: transform 0.15s; }
.door:hover .door__title .icon { transform: translateX(4px); }
.door__text { color: var(--muted); font-size: 0.975rem; }
.door:hover { color: var(--ink); }

/* Lembar contoh tulisan */
.specimen { margin: 0; }
.specimen__svg { width: 100%; height: auto; overflow: visible; }
.specimen .paper { fill: var(--sheet); filter: drop-shadow(0 14px 22px rgba(29, 43, 79, 0.16)); }
.specimen .ruled { stroke: rgba(52, 96, 170, 0.16); stroke-width: 1.4; }
.specimen .margin-line { stroke: var(--margin-red); stroke-width: 1.6; }
.specimen .hand { font-family: var(--hand); font-size: 37px; font-weight: 500; fill: #22326b; }
.specimen .hand--small { font-size: 30px; fill: #3b4a82; }
.specimen .sig { fill: none; stroke: #22326b; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.specimen .sig--under { stroke-width: 2.2; }
.specimen .marks circle { fill: var(--gold); stroke: var(--ink); stroke-width: 1.5; }
.specimen .marks text { font: 800 19px var(--sans); fill: var(--ink); text-anchor: middle; }
.specimen .leaders path { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 3 5; opacity: 0.55; }
.specimen .label { font: 750 24px var(--sans); fill: var(--ink); }
.specimen .label__n { fill: var(--flame); }
.specimen .label__sub { font: 400 21px var(--sans); fill: var(--muted); }
.specimen__list { display: none; }
.specimen__cap { margin-top: 10px; font-size: 0.9rem; color: var(--muted); font-style: italic; }
.specimen.is-writing .sig { stroke-dasharray: 1; stroke-dashoffset: 1; animation: mn-write 1.5s 2.3s ease-in-out forwards; }
.specimen.is-writing .sig--under { animation-delay: 3.7s; animation-duration: 0.5s; }
.specimen.is-writing .marks,
.specimen.is-writing .leaders,
.specimen.is-writing .labels { opacity: 0; animation: mn-fade 0.5s 2.8s forwards; }
@keyframes mn-write { to { stroke-dashoffset: 0; } }
@keyframes mn-fade { to { opacity: 1; } }

@media (max-width: 699px) {
	.specimen { overflow: hidden; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
	.specimen__svg { width: 142%; max-width: none; margin-left: -2%; }
	.specimen .leaders, .specimen .labels { display: none; }
	.specimen__list {
		display: grid;
		gap: 6px;
		margin: 14px 0 0;
		padding-left: 1.4em;
		font-size: 0.975rem;
		color: var(--ink-soft);
	}
	.specimen__list li::marker { color: var(--flame); font-weight: 800; }
	.specimen__list strong { color: var(--ink); }
}

/* ---------- Foto "ditempel" ---------- */

.taped {
	position: relative;
	margin: 0;
	padding: 10px 10px 12px;
	background: var(--sheet);
	box-shadow: var(--shadow);
}
.taped img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.taped figcaption { padding: 10px 2px 0; font-size: 0.875rem; color: var(--muted); }
.taped::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 92px;
	height: 26px;
	translate: -50% 0;
	background: rgba(243, 222, 160, 0.72);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
	rotate: -3deg;
}
.taped--l { rotate: -1.6deg; }
.taped--r { rotate: 1.4deg; }

/* ---------- Apa itu grafologi ---------- */

.what h2 { max-width: 16ch; }

/* ---------- Daftar layanan bernomor ---------- */

.index__title { margin-bottom: 26px; }
.index__group { display: grid; gap: 8px; }
.index__group + .index__group { margin-top: 44px; }
.index__groupname { margin: 0; font-weight: 750; font-size: 1.05rem; }
.index__groupname a { text-decoration: none; border-bottom: 1.5px solid var(--flame); }
.index__list { list-style: none; border-top: 1.5px solid var(--ink); }
.row { border-bottom: 1px solid var(--rule); }
.row__head {
	width: 100%;
	display: grid;
	grid-template-columns: 3.2rem minmax(0, 1fr) 28px;
	gap: 4px 16px;
	align-items: baseline;
	padding: 20px 0;
	background: none;
	border: 0;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
}
.row__n { grid-row: span 2; font-size: 1.05rem; font-weight: 800; color: var(--flame); font-variant-numeric: tabular-nums; }
.row__name { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 750; letter-spacing: -0.015em; }
.row__sum { grid-column: 2; color: var(--muted); font-size: 0.975rem; }
.row__toggle { grid-column: 3; grid-row: 1; align-self: center; transition: rotate 0.2s; color: var(--ink-soft); }
.row__head[aria-expanded="true"] .row__toggle { rotate: 180deg; }
.row__head:hover .row__name { color: var(--flame-dark); }
.row__panel[hidden] { display: none; }
.row__panel { display: grid; gap: 26px; padding: 6px 0 34px calc(3.2rem + 16px); }
.row__panel .taped { max-width: 340px; align-self: start; }
.row__label { margin: 0 0 8px; font-size: 0.875rem; font-weight: 750; color: var(--muted); }
.row__body > p:not(.row__label):not(.row__actions) { max-width: 36em; }
.row__body .row__label:not(:first-child) { margin-top: 20px; }
@media (min-width: 900px) {
	.row__head { grid-template-columns: 4rem minmax(0, 0.9fr) minmax(0, 1.1fr) 28px; align-items: center; }
	.row__n { grid-row: auto; }
	.row__sum { grid-column: 3; }
	.row__toggle { grid-column: 4; }
	.row__panel { grid-template-columns: 300px minmax(0, 1fr); padding-left: calc(4rem + 16px); }
}
@media (max-width: 599px) {
	.row__panel { padding-left: 0; }
}

.ticks { list-style: none; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.42em;
	width: 15px;
	height: 8px;
	border-left: 2.2px solid var(--flame);
	border-bottom: 2.2px solid var(--flame);
	rotate: -45deg;
	border-radius: 1px;
}
.ticks--big li { font-size: 1.15rem; padding-block: 4px; }
.plain { list-style: none; display: grid; gap: 4px; color: var(--ink-soft); font-size: 0.975rem; }
.plain li::before { content: "– "; color: var(--flame); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font-size: 0.95rem; }

/* ---------- Contoh laporan HRD ---------- */

.band--sheet { background: var(--paper-2); padding-block: var(--space); border-block: 1px solid var(--rule); }
.report { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .report { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.report__sheet {
	position: relative;
	background: var(--sheet);
	box-shadow: var(--shadow);
	padding: 28px 28px 34px;
	rotate: -1.2deg;
	max-width: 440px;
	width: 100%;
	justify-self: center;
	font-size: 0.95rem;
}
.report__head { display: flex; justify-content: space-between; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-weight: 800; font-size: 0.9rem; }
.report__head span:last-child { font-weight: 500; color: var(--muted); }
.report__who { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.report__who dt { font-size: 0.8rem; color: var(--muted); }
.report__who dd { margin: 0; font-weight: 700; }
.report__traits { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; }
.report__traits li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--rule); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink-soft); }
.dots[data-v="1"] i:nth-child(-n+1),
.dots[data-v="2"] i:nth-child(-n+2),
.dots[data-v="3"] i:nth-child(-n+3),
.dots[data-v="4"] i:nth-child(-n+4),
.dots[data-v="5"] i { background: var(--ink); border-color: var(--ink); }
.report__concl { margin: 0 0 8px; font-weight: 800; }
.report__lights { display: flex; gap: 10px; margin: 0; }
.report__lights i { width: 30px; height: 30px; border-radius: 50%; opacity: 0.22; }
.report__lights .is-red { background: var(--red); }
.report__lights .is-yellow { background: var(--yellow); }
.report__lights .is-green { background: var(--green); }
.report__lights .is-on { opacity: 1; box-shadow: 0 0 0 4px rgba(47, 138, 85, 0.2); }
.report__stamp {
	position: absolute;
	right: 26px;
	bottom: 52px;
	margin: 0;
	padding: 4px 16px;
	border: 3px solid var(--green);
	border-radius: 6px;
	color: var(--green);
	font-weight: 900;
	font-size: 1.6rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	rotate: -12deg;
	opacity: 0.85;
}
.report__fake { position: absolute; left: 28px; bottom: 10px; margin: 0; font-size: 0.75rem; color: var(--muted); font-style: italic; }
.lights { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.lights li { display: flex; gap: 12px; align-items: baseline; }
.lights li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; translate: 0 2px; }
.lights strong { min-width: 4.2em; }
.lights__hijau::before { background: var(--green); }
.lights__kuning::before { background: var(--yellow); }
.lights__merah::before { background: var(--red); }

/* ---------- Cara kerja ---------- */

.steps__list { list-style: none; position: relative; display: grid; gap: 30px; margin-top: 32px; }
.steps__list::before {
	content: "";
	position: absolute;
	left: 23px;
	top: 26px;
	bottom: 26px;
	border-left: 2px dotted var(--ink-soft);
	opacity: 0.5;
}
.steps__list li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; }
.steps__n {
	grid-row: span 2;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border: 2px solid var(--ink);
	border-radius: 52% 48% 50% 46% / 48% 52% 46% 54%;
	background: var(--paper);
	font-weight: 800;
	font-size: 1.15rem;
}
.steps__list h3 { margin: 10px 0 4px; }
.steps__list p { margin: 0; color: var(--ink-soft); max-width: 34em; }

/* ---------- Training (beranda) + lembar kontak ---------- */

.training-teaser { display: grid; gap: 36px; }
@media (min-width: 900px) { .training-teaser { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; } }
.contact-sheet__strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	padding: 12px 12px 8px;
	background: #1d1d1f;
	border-radius: 2px;
}
@media (min-width: 700px) { .contact-sheet__strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-sheet__strip--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); rotate: 0.8deg; box-shadow: var(--shadow); }
@media (min-width: 700px) { .contact-sheet__strip--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-sheet__strip figure { margin: 0; }
.contact-sheet__strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.contact-sheet__strip figcaption { padding: 4px 0 2px; font-size: 0.7rem; font-weight: 700; color: #f0b429; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.contact-sheet h2 { margin-bottom: 24px; }

/* ---------- Testimoni: lembar kutipan ---------- */

.notes h2 { margin-bottom: 30px; }
.notes__board { display: grid; gap: 30px; }
@media (min-width: 700px) { .notes__board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; } }
@media (min-width: 1200px) { .notes__board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.note {
	position: relative;
	margin: 0;
	padding: 30px 26px 24px;
	background: var(--sheet);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 18px;
	background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ruled) 31px 32px);
	background-position: 0 14px;
}
.note p { margin: 0; font-size: 1.15rem; line-height: 32px; font-weight: 550; }
.note p::before { content: "\201C"; color: var(--flame); font-weight: 800; margin-right: 2px; }
.note p::after { content: "\201D"; color: var(--flame); font-weight: 800; }
.note footer { margin-top: auto; display: grid; font-size: 0.9375rem; }
.note footer span { color: var(--muted); }
.note--0 { rotate: -1deg; }
.note--1 { rotate: 0.8deg; background-color: #fff8e4; }
.note--2 { rotate: -0.4deg; }
.note::after {
	content: "";
	position: absolute;
	top: -10px;
	right: 28px;
	width: 70px;
	height: 22px;
	background: rgba(243, 222, 160, 0.75);
	rotate: 4deg;
}

/* ---------- Dr. Wendy ---------- */

.about-teaser { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-teaser { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }
.about-teaser .taped img { aspect-ratio: 832 / 642; }
.about-teaser__role { font-weight: 700; color: var(--flame-dark); margin-top: -6px; }

/* ---------- FAQ ---------- */

.faq__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.faq + .faq { margin-top: 56px; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item:first-of-type { border-top: 1.5px solid var(--ink); }
.faq__item summary {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 0;
	font-weight: 700;
	font-size: 1.1rem;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; transition: rotate 0.2s; color: var(--ink-soft); }
.faq__item[open] summary .icon { rotate: 180deg; }
.faq__a { padding: 0 0 20px; color: var(--ink-soft); max-width: 40em; }
.faq__a p:last-child { margin: 0; }
.jump { display: grid; gap: 6px; }
.jump a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.jump a:hover { color: var(--flame-dark); }
@media (min-width: 900px) { .jump { position: sticky; top: 28px; } }

/* ---------- Tulis pesan (WhatsApp) ---------- */

.composer {
	display: grid;
	gap: 32px;
	padding: clamp(26px, 4vw, 56px);
	background: var(--sheet);
	box-shadow: var(--shadow);
	background-image: repeating-linear-gradient(to bottom, transparent 0 39px, var(--ruled) 39px 40px);
	position: relative;
}
.composer::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: clamp(12px, 2vw, 28px);
	border-left: 1.5px solid var(--margin-red);
}
@media (min-width: 900px) { .composer { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.composer__intro h2 { max-width: 12ch; }
.composer__direct { margin-top: 18px; color: var(--muted); }
.composer__direct a { font-weight: 750; color: var(--wa); white-space: nowrap; }
.composer__form { display: grid; gap: 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.seg legend { width: 100%; margin-bottom: 8px; font-weight: 700; font-size: 0.95rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
	display: inline-block;
	padding: 10px 18px;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	font-weight: 650;
	background: var(--paper);
}
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: 3px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 0.95rem; }
.field em { font-weight: 400; color: var(--muted); }
.field select,
.field input,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--rule);
	border-bottom-color: var(--ink);
	border-radius: 4px 4px 0 0;
	background: var(--paper);
	font: inherit;
	color: inherit;
}
.field textarea { resize: vertical; min-height: 76px; }
.field select:focus,
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 2px 0 var(--flame); }
.composer__send { display: grid; gap: 8px; justify-items: start; }
.composer__hint { margin: 0; font-size: 0.875rem; color: var(--muted); }
.composer__preview { margin-top: 4px; }
.composer__bubble:empty { display: none; }
.composer__bubble {
	position: relative;
	margin: 0;
	max-width: 30em;
	padding: 12px 16px 14px;
	background: #e3f4d6;
	border-radius: 12px 12px 12px 2px;
	white-space: pre-line;
	font-size: 0.95rem;
	color: #1d3a24;
}

/* ---------- Kepala halaman dalam ---------- */

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: 0.875rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--rule); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pagehead h1 { max-width: 16ch; }
.pagehead .lay__margin { padding-top: 0.5rem; }
.pagehead__logo { width: 90px; margin-top: 28px; }

.toc { list-style: none; display: grid; gap: 0; margin-top: 30px; border-top: 1.5px solid var(--ink); max-width: 34rem; }
.toc a { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 650; }
.toc a span { color: var(--flame); font-weight: 800; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--flame-dark); }

/* ---------- Bab layanan ---------- */

.chapter { padding-top: 24px; }
.chapter + .chapter { border-top: 1px solid var(--rule); padding-top: calc(var(--space) * 0.6); margin-top: calc(var(--space) * 0.6) !important; }
.chapter__n { margin: 0 0 6px; font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 850; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--flame); }
.chapter h2 { max-width: 20ch; }
.chapter__cols { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 700px) { .chapter__cols { grid-template-columns: 1fr 1fr; gap: 36px; } }
.facts { display: grid; gap: 16px; margin: 0; }
.facts div { padding-left: 14px; border-left: 2px solid var(--gold); }
.facts dt { font-weight: 750; font-size: 0.9rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; }
.chapter > .lay__main > .facts { margin-top: 26px; max-width: 40em; }

.clients h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.clients__names { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 750; letter-spacing: -0.01em; }
.clients__names li { padding-bottom: 6px; border-bottom: 1px solid var(--rule); }

/* ---------- Training ---------- */

.curriculum__sheets { display: grid; gap: 22px; margin-top: 32px; }
@media (min-width: 800px) { .curriculum__sheets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.lvl { background: var(--sheet); box-shadow: var(--shadow); padding: 26px 24px 30px; }
.lvl h3 { display: flex; align-items: baseline; gap: 10px; }
.lvl:nth-child(1) h3::before { content: "I"; }
.lvl:nth-child(2) h3::before { content: "II"; }
.lvl:nth-child(3) h3::before { content: "III"; }
.lvl h3::before { color: var(--flame); font-weight: 850; }
@media (min-width: 800px) {
	.lvl:nth-child(1) { rotate: -1.2deg; z-index: 1; }
	.lvl:nth-child(2) { rotate: 0.6deg; translate: 0 14px; z-index: 2; }
	.lvl:nth-child(3) { rotate: -0.4deg; translate: 0 28px; z-index: 3; }
}
.curriculum .row__actions { margin-top: 56px; }

/* ---------- Tentang ---------- */

.prose { max-width: 40em; font-size: 1.125rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.3em; }
.prose li::marker { color: var(--flame); }
.values { display: grid; gap: 20px; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.value { padding-top: 16px; border-top: 2px solid var(--ink); }
.value p { color: var(--ink-soft); margin: 0; }

/* ---------- Kontak: kartu nama ---------- */

.cards { display: grid; gap: 26px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.namecard {
	position: relative;
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 28px 26px;
	background: var(--sheet);
	box-shadow: var(--shadow);
	aspect-ratio: auto;
}
.namecard:nth-child(1) { rotate: -0.8deg; }
.namecard:nth-child(2) { rotate: 0.7deg; }
.namecard__mark { width: 34px; position: absolute; top: 24px; right: 24px; }
.namecard__for { margin: 0; padding-right: 44px; font-weight: 800; font-size: 1.3rem; }
.namecard__text { color: var(--muted); margin: 0 0 10px; font-size: 0.975rem; max-width: 22em; }
.namecard__number { margin: 0 0 8px; white-space: nowrap; font-size: clamp(1.35rem, 1.9vw, 1.65rem); font-weight: 800; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.namecard .btn { justify-self: start; }
.namecard--plain p { margin: 0; }
.namecard--plain a, .namecard--plain p { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.namecard--plain .namecard__for { margin-bottom: 8px; }

/* ---------- Artikel ---------- */

.posts { list-style: none; border-top: 1.5px solid var(--ink); }
.post-row { border-bottom: 1px solid var(--rule); }
.post-row a { display: grid; gap: 6px 28px; padding: 24px 0; text-decoration: none; grid-template-columns: minmax(0, 1fr) 120px; }
.post-row__date { grid-column: 1 / -1; font-size: 0.875rem; color: var(--muted); }
.post-row__title { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 750; line-height: 1.25; letter-spacing: -0.015em; }
.post-row__ex { grid-column: 1; color: var(--ink-soft); }
.post-row__img { grid-column: 2; grid-row: 2 / span 2; }
.post-row__img img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.post-row a:hover .post-row__title { color: var(--flame-dark); }
@media (min-width: 900px) {
	.post-row a { grid-template-columns: 150px minmax(0, 1fr) 190px; }
	.post-row__date { grid-column: 1; grid-row: 1 / span 2; padding-top: 6px; }
	.post-row__title { grid-column: 2; }
	.post-row__ex { grid-column: 2; }
	.post-row__img { grid-column: 3; grid-row: 1 / span 2; }
	.post-row__img img { aspect-ratio: 3 / 2; }
}
.article h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 22ch; }
.article .taped { margin: 34px 0 40px; max-width: 760px; }
.article .taped img { aspect-ratio: 16 / 9; }
.nav-links { display: flex; gap: 12px; margin-top: 30px; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--rule); text-decoration: none; }
.nav-links .current { background: var(--ink); color: var(--paper); }

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

.foot {
	margin-top: var(--space);
	padding: clamp(48px, 7vw, 96px) var(--gut) 120px;
	border-top: 1px solid var(--rule);
	background: var(--paper);
	max-width: calc(var(--wrap) + 0px);
	margin-inline: auto;
}
.foot__ask { margin: 0; font-size: 1.15rem; color: var(--ink-soft); }
.foot__number {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 6px 0 18px;
	font-size: clamp(2.1rem, 6.4vw, 4.6rem);
	font-weight: 850;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.foot__number .icon { width: 0.8em; height: 0.8em; color: var(--wa); stroke-width: 1.5; }
.foot__number:hover { color: var(--flame-dark); }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-soft); }
.foot__links a, .foot__links span { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.foot__sign { position: relative; margin: 46px 0 28px; height: 90px; }
.foot__sign svg { position: absolute; inset: 0 90px 0 0; width: calc(100% - 90px); height: 100%; }
.foot__sign .sig { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.7; }
.foot__sign img { position: absolute; right: 8px; bottom: 6px; width: 56px; }
.foot__map { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 650; }
.foot__map a { text-decoration: none; }
.foot__map a:hover { text-decoration: underline; }
.foot__map--services { margin-top: 10px; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); }
.foot__legal { margin: 26px 0 0; font-size: 0.85rem; color: var(--muted); }
@media (min-width: 1100px) { .foot { padding-bottom: 56px; } }


/* ---------- Dock mobile + laci ---------- */

.dock {
	position: fixed;
	z-index: 30;
	left: 10px;
	right: 10px;
	bottom: calc(10px + env(safe-area-inset-bottom));
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px;
	padding: 6px;
	background: var(--ink);
	border-radius: 999px;
	box-shadow: 0 10px 30px -8px rgba(29, 43, 79, 0.55);
}
.dock__menu,
.dock__wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.dock__menu { background: transparent; color: var(--paper); }
.dock__wa { background: var(--flame); color: #fff; white-space: nowrap; }
.dock__menu { padding: 0 14px; }
.dock__wa:hover { color: #fff; background: var(--flame-dark); }
.dock .icon { width: 22px; height: 22px; }
@media (min-width: 1100px) { .dock { display: none; } }

.laci { position: fixed; inset: 0; z-index: 40; background: rgba(29, 43, 79, 0.4); display: flex; align-items: flex-end; }
.laci[hidden] { display: none; }
.laci__sheet {
	position: relative;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	padding: 30px var(--gut) calc(26px + env(safe-area-inset-bottom));
	background: var(--paper);
	border-radius: 18px 18px 0 0;
	animation: mn-up 0.22s ease-out;
}
@keyframes mn-up { from { translate: 0 30px; opacity: 0.4; } }
.laci__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
.laci__nav { list-style: none; display: grid; margin-bottom: 22px; }
.laci__nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.laci__nav a[aria-current] { color: var(--flame-dark); }
.laci__wa { display: grid; gap: 10px; }
body.is-laci { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition: none !important; }
}
