/* ==========================================================================
   Empayar Intelek — gaya utama
   Palet: hijau zamrud (penerbitan pendidikan & KAFA) + kuning marigold (buku kanak-kanak)
   ========================================================================== */

/* Fon dihoskan sendiri (SIL Open Font License, lihat assets/fonts) */
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal; font-weight: 200 800; font-display: swap;
	src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Instrument Sans";
	font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Instrument Sans";
	font-style: italic; font-weight: 400 700; font-display: swap;
	src: url("../fonts/instrument-sans-latin-wght-italic.woff2") format("woff2-variations"), url("../fonts/instrument-sans-latin-wght-italic.woff2") format("woff2");
}

:root {
	--emerald: #0F4C43;
	--emerald-2: #17675A;
	--emerald-3: #0A3832;
	--mist: #E4EEEA;
	--paper: #F5F7F4;
	--white: #FFFFFF;
	--gold: #F0B429;
	--gold-ink: #7A5200;
	--ink: #13221F;
	--ink-2: #46594F;
	--line: rgba(19, 34, 31, .13);
	--line-inv: rgba(228, 238, 234, .2);

	--f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;
	--ease: cubic-bezier(.2, .75, .2, 1);
	--shadow-book: 0 30px 40px -18px rgba(8, 30, 26, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--emerald); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--emerald-2); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.muted { color: var(--ink-2); }
.ico { flex: none; }

/* ---------- Tipografi ---------- */
.display { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.022em; line-height: 1; font-variation-settings: "opsz" 96; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.025em; }
.h3 { font-size: 1.45rem; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 34em; }
.prose { max-width: 36em; }
.prose p { color: var(--ink-2); }
.prose-lg p { font-size: 1.12rem; }
.prose-lg p:first-child { font-size: 1.3rem; color: var(--ink); line-height: 1.55; }
.prose-page { margin-inline: auto; max-width: 42em; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* ---------- Butang ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .75em 1.25em; border-radius: var(--r-sm);
	font-weight: 600; font-size: 1rem; line-height: 1.2;
	text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .5em .9em; font-size: .92rem; }
.btn-lg { padding: .95em 1.55em; font-size: 1.05rem; }
.btn-solid { background: var(--emerald); color: var(--white); }
.btn-solid:hover { background: var(--emerald-2); color: var(--white); }
.btn-line { border-color: currentColor; color: var(--emerald); background: transparent; }
.btn-line:hover { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F7C552; color: var(--ink); }

.tag {
	display: inline-block; padding: .2em .65em; border-radius: 999px;
	background: var(--mist); color: var(--emerald); font-size: .8rem; font-weight: 600; letter-spacing: .01em;
}

/* ---------- Kepala laman ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(245, 247, 244, .88);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(8, 30, 26, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: auto; height: 46px; max-width: 120px; object-fit: contain; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.custom-logo { max-height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	display: block; padding: 8px 12px; border-radius: var(--r-sm);
	color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
	position: relative;
}
.site-nav .menu a:hover { background: var(--mist); color: var(--emerald); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--emerald); }
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 9px; cursor: pointer; }

/* ---------- Hero laman utama ---------- */
.hero {
	background:
		radial-gradient(1200px 520px at 78% 72%, rgba(240, 180, 41, .16), transparent 60%),
		radial-gradient(900px 600px at 10% 0%, rgba(23, 103, 90, .9), transparent 70%),
		var(--emerald);
	color: var(--white);
	padding: clamp(40px, 6vw, 72px) 0 0;
	overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.hero .display { color: var(--white); max-width: 11ch; }
.hero .lede { color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-solid { background: var(--gold); color: var(--ink); }
.hero .btn-solid:hover { background: #F7C552; }
.hero .btn-line { color: var(--white); }
.hero .btn-line:hover { background: var(--white); border-color: var(--white); color: var(--emerald); }

.facts {
	list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 26px 0 30px;
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line-inv);
}
.facts li { padding-inline: 20px; border-left: 1px solid var(--line-inv); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts strong { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.facts span { color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* ---------- Cincin buku 3D (hero) ---------- */
.ring-wrap { position: relative; }
.ring-stage {
	--r: 300px;
	position: relative; height: 500px;
	perspective: 1500px; perspective-origin: 50% 35%;
	cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
	outline: none;
}
.ring-stage:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); border-radius: var(--r-lg); }
.ring-stage.is-dragging { cursor: grabbing; }
.ring {
	position: absolute; left: 50%; top: 44%;
	width: 0; height: 0;
	transform-style: preserve-3d;
	transform: rotateX(-9deg) rotateY(var(--rot, 0deg));
}
.ring-item {
	position: absolute; left: 0; top: 0; width: 0; height: 0;
	padding: 0; border: 0; background: none; cursor: pointer;
	transform-style: preserve-3d;
	transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(0) scale(.6);
	opacity: 0;
	transition: transform 1.2s var(--ease) calc(var(--i) * 70ms), opacity .5s ease calc(var(--i) * 70ms);
}
.ring-stage.is-ready .ring-item {
	transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r)) scale(1);
	opacity: 1;
}
.ring-item .book3d { position: absolute; left: calc(var(--w) / -2); top: calc(var(--h) / -2); }
.ring-item:focus-visible { outline: none; }
.ring-item:focus-visible .b-front { outline: 3px solid var(--gold); outline-offset: 4px; }
.ring-floor {
	position: absolute; left: 50%; top: 76%; width: 82%; height: 120px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(240, 180, 41, .35), rgba(240, 180, 41, .08) 60%, transparent);
	filter: blur(6px); pointer-events: none;
}
.ring-caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -24px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* ---------- Buku 3D (kad & cincin) ---------- */
.book3d {
	--w: 160px;
	--h: calc(var(--w) * var(--ratio, 1.38));
	--d: calc(var(--w) * .085);
	position: relative; width: var(--w); height: var(--h);
	transform-style: preserve-3d;
}
.book-sm { --w: 128px; }
.book-lg { --w: clamp(220px, 26vw, 320px); }
.book3d.is-landscape { --w: 200px; --d: 12px; }
.book-sm.is-landscape { --w: 170px; }
.book-lg.is-landscape { --w: clamp(300px, 36vw, 440px); }
.vbook.is-landscape { --w: clamp(260px, min(36vw, 60vh), 460px); --d: 16px; }
.b-face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.b-front {
	inset: 0; transform: translateZ(calc(var(--d) / 2));
	border-radius: 2px 5px 5px 2px; overflow: hidden; background: var(--mist);
}
.b-front img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.b-front::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(255, 255, 255, .22) 1.8%, rgba(0, 0, 0, .08) 3.6%, transparent 7%),
		linear-gradient(118deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, 0) 38%);
}
.b-back {
	inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2));
	border-radius: 5px 2px 2px 5px;
	background: linear-gradient(160deg, var(--emerald-2), var(--emerald-3));
	display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px;
	padding: 14%; text-align: center; color: rgba(255, 255, 255, .85); font-size: calc(var(--w) * .07); line-height: 1.25;
}
.b-back img { width: 34%; height: auto; opacity: .9; margin-bottom: auto; margin-top: 18%; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.b-spine {
	top: 0; height: 100%; width: var(--d); left: calc(50% - var(--d) / 2);
	transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
	background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 45%, rgba(0,0,0,.3)), var(--cover) left center / auto 100% no-repeat, var(--emerald);
}
.b-edge { background-color: #F3F0E6; }
.b-edge-r {
	top: 3px; height: calc(100% - 6px); width: calc(var(--d) - 2px); left: calc(50% - var(--d) / 2 + 1px);
	transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px));
	background-image: repeating-linear-gradient(90deg, #FBFAF5 0 1px, #DCD8CB 1px 2px), linear-gradient(90deg, rgba(0,0,0,.12), transparent 30%, transparent 70%, rgba(0,0,0,.12));
}
.b-edge-t, .b-edge-b {
	left: 2px; width: calc(100% - 5px); height: calc(var(--d) - 2px); top: calc(50% - var(--d) / 2 + 1px);
	background-image: repeating-linear-gradient(0deg, #FBFAF5 0 1px, #DCD8CB 1px 2px);
}
.b-edge-t { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 3px)); }
.b-edge-b { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 3px)); background-color: #CFCABA; }

/* Kad katalog */
.bk { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.bk[hidden] { display: none; }
.bk-stage {
	position: relative; display: grid; place-items: center; width: 100%;
	padding: 26px 0 38px; border: 0; background: none; cursor: pointer;
	perspective: 1100px;
}
.bk-stage .book3d {
	transform: rotateY(var(--ry, -28deg)) rotateX(var(--rx, 5deg)) translateY(var(--ty, 0));
	transition: transform .7s var(--ease);
}
.bk-stage.is-tracking .book3d { transition: transform .12s linear; }
.bk-stage:hover .book3d, .bk-stage:focus-visible .book3d { --ry: -10deg; --rx: 3deg; --ty: -6px; }
.bk-stage::after {
	content: ""; position: absolute; left: 50%; bottom: 20px; width: 70%; height: 22px; transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(8, 30, 26, .32), transparent); pointer-events: none;
	transition: width .6s var(--ease), opacity .6s;
}
.bk-stage:hover::after { width: 60%; opacity: .75; }
.bk-stage:focus-visible { outline: none; }
.bk-stage:focus-visible .b-front { outline: 3px solid var(--gold); outline-offset: 4px; }
.bk-hint {
	position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 4px);
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	font-size: .8rem; font-weight: 600; color: var(--emerald);
	opacity: 0; transition: opacity .25s, transform .25s;
}
.bk-hint .ico { width: 16px; height: 16px; }
.bk-stage:hover .bk-hint, .bk-stage:focus-visible .bk-hint { opacity: 1; transform: translate(-50%, 0); }
.bk-meta { padding: 4px 6px 0; }
.bk-title { font-size: 1.08rem; margin: 8px 0 2px; letter-spacing: -.01em; }
.bk-title a { color: var(--ink); text-decoration: none; }
.bk-title a:hover { color: var(--emerald); text-decoration: underline; }
.bk-level { margin: 0; color: var(--ink-2); font-size: .9rem; }

/* ---------- Seksyen ---------- */
.sec { padding: 50px 0; }
.sec:not(.sec-tint):not(.sec-shelf) + .sec:not(.sec-tint) { padding-top: 0; }
.sec-tint { background: var(--mist); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 40px; }
.sec-head .h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 32em; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-top { align-items: start; }
.split-rev > :first-child { order: 0; }
.photo { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-tilt { box-shadow: 18px 18px 0 -2px var(--gold); margin-right: 18px; margin-bottom: 18px; }


.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.mv > div { border-top: 2px solid var(--emerald); padding-top: 12px; }
.mv h3 { font-size: .95rem; font-family: var(--f-body); font-weight: 600; color: var(--ink-2); margin-bottom: 4px; letter-spacing: 0; }
.mv p { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; margin: 0; }

/* Perkhidmatan */
.services {
	display: grid; gap: 16px; margin-top: 32px;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	grid-template-rows: 250px 250px;
}
.service {
	position: relative; overflow: hidden; border-radius: var(--r-md);
	color: var(--white); text-decoration: none; display: block; background: var(--emerald);
}
.service-lead { grid-row: span 2; }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.service:hover img { transform: scale(1.04); }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 56, 50, 0) 30%, rgba(10, 56, 50, .88)); }
.service-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 1; display: block; }
.service-title { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.service-text { display: block; max-width: 30em; color: rgba(255, 255, 255, .85); font-size: .98rem; margin-top: 4px; }
a.service:hover { color: var(--white); }

/* Rak & katalog */
.shelf, .catalog {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 8px 20px; margin-bottom: 36px;
}
.sec-shelf .shelf { margin-bottom: 40px; }
.sec-shelf { background: linear-gradient(var(--paper), var(--mist)); }

/* Garis masa */
.timeline { list-style: none; padding: 0; margin: 28px 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--mist); }
.sec-tint .timeline::before { background: rgba(15, 76, 67, .18); }
.timeline li { position: relative; padding-left: 36px; margin-bottom: 22px; }
.timeline li::before {
	content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
	background: var(--gold); box-shadow: 0 0 0 4px var(--paper);
}
.sec-tint .timeline li::before { box-shadow: 0 0 0 4px var(--mist); }
.tl-year { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--emerald); }
.timeline p { margin: 2px 0 0; color: var(--ink-2); }
.timeline-wide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.timeline-wide::before { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 2px; }
.timeline-wide li { padding: 36px 0 0; margin: 0; }
.timeline-wide .tl-year { font-size: 1.6rem; }

/* Pelanggan */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.client {
	display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center;
	height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md);
	background: var(--white); color: var(--ink); text-decoration: none;
	transition: border-color .2s, transform .2s;
}
a.client:hover { border-color: var(--emerald); color: var(--ink); }
.client-logo { grid-row: span 3; width: 56px; height: 56px; display: grid; place-items: center; }
.client-logo img { max-width: 56px; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.client:hover .client-logo img { filter: none; opacity: 1; }
.client-logo-text { border-radius: 50%; background: var(--mist); color: var(--emerald); font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .02em; }
.client-abbr { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.client-name { font-size: .85rem; color: var(--ink-2); line-height: 1.35; }
.client-count { font-size: .8rem; font-weight: 600; color: var(--gold-ink); margin-top: 2px; }

/* Seruan tindakan */
.cta { background: var(--emerald); color: var(--white); padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cta-title { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 20ch; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-line { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 500; }
.cta-line:hover { color: var(--gold); }

/* Kaki laman */
.site-footer { background: var(--emerald-3); color: rgba(255, 255, 255, .78); padding: 64px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: auto; height: 64px; margin-bottom: 14px; background: var(--white); border-radius: 10px; padding: 6px 10px; }
.footer-name { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--white); margin: 0; }
.footer-tag { margin: 4px 0 0; }
.footer-h { font-family: var(--f-body); font-size: .95rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; letter-spacing: 0; }
.footer-menu, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { margin-top: 3px; color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-inv); }
.footer-base { border-top: 1px solid var(--line-inv); padding: 20px 0 28px; font-size: .86rem; }
.footer-base p { margin: 0; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 40;
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	background: #1FA855; color: var(--white); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { color: var(--white); background: #198E47; }

/* ---------- Kepala halaman dalaman ---------- */
.page-head { position: relative; background: var(--emerald); color: var(--white); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }
.page-head::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 44px solid rgba(240, 180, 41, .14); pointer-events: none; }
.page-head-inner { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: var(--gold); text-decoration: underline; }
.page-title { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 .3em; }
.page-lede { max-width: 40em; font-size: 1.15rem; color: rgba(255, 255, 255, .84); }
.page-lede p:last-child { margin-bottom: 0; }
.agency-head { display: flex; align-items: center; gap: 16px; }
.agency-head img { width: 64px; height: 64px; object-fit: contain; background: var(--white); border-radius: 12px; padding: 6px; }
.agency-head p { margin: 0; }

/* ---------- Bar alat katalog ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: .45em .95em; border-radius: 999px; border: 1.5px solid var(--line);
	background: var(--white); cursor: pointer; font-weight: 600; font-size: .92rem;
	transition: background-color .2s, border-color .2s, color .2s;
}
.chip span { font-weight: 500; opacity: .6; font-size: .85em; }
.chip:hover { border-color: var(--emerald); }
.chip[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.toolbar-right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--mist); }
.seg button {
	border: 0; background: none; padding: .45em .85em; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-2);
}
.seg button[aria-pressed="true"] { background: var(--white); color: var(--emerald); box-shadow: 0 1px 3px rgba(8, 30, 26, .15); }
.search { position: relative; display: flex; align-items: center; }
.search .ico { position: absolute; left: 12px; color: var(--ink-2); width: 18px; }
.search input {
	padding: .6em .9em .6em 2.4em; border: 1.5px solid var(--line); border-radius: 10px;
	font: inherit; font-size: .95rem; width: 230px; background: var(--white);
}
.search input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(15, 76, 67, .15); }
.result-count { color: var(--ink-2); font-size: .92rem; margin: 6px 0 4px; }
.empty { padding: 40px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r-md); color: var(--ink-2); }

/* ---------- Kenali Kami ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.vm-card { display: grid; grid-template-columns: 42% 1fr; background: var(--white); border-radius: var(--r-md); overflow: hidden; }
.vm-card img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.vm-card > div { padding: 28px; align-self: center; }
.vm-card h3 { font-family: var(--f-body); font-size: .95rem; font-weight: 600; color: var(--gold-ink); letter-spacing: 0; }
.vm-card p { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0; }

.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.person { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.avatar {
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	background: var(--mist); color: var(--emerald); font-family: var(--f-display); font-weight: 700; font-size: 1.1rem;
}
.person-lead .avatar { background: var(--emerald); color: var(--gold); }
.person-role { margin: 0; font-size: .88rem; font-weight: 600; color: var(--gold-ink); }
.person-name { font-size: 1.2rem; margin: 2px 0 8px; }
.person-bio { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* ---------- Fokus Syarikat ---------- */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collage img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); background: var(--mist); }
.collage img:nth-child(even) { transform: translateY(36px); }

/* ---------- Hubungi Kami ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list p { margin: 0; }
.ci-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--emerald); }
.ci-label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.nav-apps { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.map { border-radius: var(--r-md); overflow: hidden; background: var(--mist); aspect-ratio: 16 / 11; }
.map iframe { width: 100%; height: 100%; border: 0; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); scroll-margin-top: 100px; }
.form { display: grid; gap: 16px; margin-top: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: .7em .85em; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); background: var(--white); box-shadow: 0 0 0 3px rgba(15, 76, 67, .15); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: var(--r-sm); font-weight: 500; margin: 16px 0 0; }
.alert-ok { background: #E3F4EA; color: #145A32; border-left: 4px solid #1FA855; }
.alert-err { background: #FDECEA; color: #8A1C12; border-left: 4px solid #D93025; }

/* ---------- Halaman buku ---------- */
.book-hero { background: radial-gradient(800px 500px at 25% 60%, rgba(240, 180, 41, .18), transparent 65%), var(--emerald); color: var(--white); padding: clamp(40px, 6vw, 80px) 0; }
.book-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.bk-stage-lg { padding: 40px 0 56px; }
.bk-stage-lg::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); }
.bk-stage-lg .bk-hint { color: var(--gold); opacity: 1; transform: translate(-50%, 0); font-size: .9rem; }
.book-hero .tag { background: rgba(255, 255, 255, .14); color: var(--white); }
.book-hero .page-title { margin-top: 12px; }
.book-hero .btn-solid { background: var(--gold); color: var(--ink); }
.book-hero .btn-line { color: var(--white); }
.book-hero .btn-line:hover { background: var(--white); color: var(--emerald); border-color: var(--white); }
.book-hero .prose p { color: rgba(255, 255, 255, .85); }

.v-facts { margin: 20px 0; display: grid; gap: 0; }
.v-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.v-facts > div:last-child { border-bottom: 1px solid var(--line); }
.v-facts dt { color: var(--ink-2); font-size: .9rem; }
.v-facts dd { margin: 0; font-weight: 500; }
.book-hero .v-facts > div { border-color: var(--line-inv); }
.book-hero .v-facts dt { color: rgba(255, 255, 255, .65); }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.post-thumb img { border-radius: var(--r-md); aspect-ratio: 16 / 10; object-fit: cover; }

/* ==========================================================================
   Pratonton 3D (dialog)
   ========================================================================== */
.viewer {
	width: min(1180px, 100vw - 32px); height: min(780px, 100dvh - 32px); max-width: none; max-height: none;
	padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden;
	background: var(--white); color: var(--ink);
	box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
}
.viewer::backdrop { background: rgba(6, 26, 23, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.viewer[open] { animation: v-in .4s var(--ease); }
@keyframes v-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.viewer-shell { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); height: 100%; }

.viewer-stage {
	position: relative; overflow: hidden;
	background:
		radial-gradient(60% 55% at 50% 58%, rgba(240, 180, 41, .22), transparent 70%),
		radial-gradient(100% 80% at 50% 0%, var(--emerald-2), var(--emerald-3));
	perspective: 1600px; perspective-origin: 50% 45%;
	cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
	display: grid; place-items: center;
}
.viewer-stage.is-dragging { cursor: grabbing; }
.viewer:fullscreen { width: 100vw; height: 100vh; border-radius: 0; }
.viewer-scene {
	--z: 1; --rx: -6deg; --ry: -30deg;
	transform-style: preserve-3d;
	transform: scale(var(--z)) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .9s var(--ease);
}
.viewer-stage.is-dragging .viewer-scene, .viewer-stage.is-spinning .viewer-scene { transition: none; }
.vbook {
	--w: clamp(200px, min(26vw, 40vh), 330px);
	--h: calc(var(--w) * var(--ratio, 1.38));
	--d: calc(var(--w) * .085);
	--open: 0deg;
	position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d;
}
.vb-face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.vb-cover {
	position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: left center;
	transform: translateZ(calc(var(--d) / 2)) rotateY(var(--open));
	transition: transform 1.1s var(--ease);
}
.vb-front { inset: 0; border-radius: 2px 6px 6px 2px; overflow: hidden; background: var(--mist); }
.vb-front img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vb-front::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .32) 0, rgba(255, 255, 255, .24) 1.6%, rgba(0, 0, 0, .08) 3.2%, transparent 6.5%),
		linear-gradient(118deg, rgba(255, 255, 255, var(--gloss, .22)) 0%, rgba(255, 255, 255, 0) 40%);
}
.vb-inside {
	inset: 0; transform: rotateY(180deg); border-radius: 6px 2px 2px 6px;
	background:
		radial-gradient(circle at 25% 25%, rgba(240, 180, 41, .28) 0 2px, transparent 3px) 0 0 / 22px 22px,
		radial-gradient(circle at 75% 75%, rgba(240, 180, 41, .18) 0 2px, transparent 3px) 0 0 / 22px 22px,
		var(--emerald);
}
.vb-page {
	inset: 3px 4px 3px 1px; transform: translateZ(calc(var(--d) / 2 - 1px));
	background: linear-gradient(90deg, #E8E4D8, #FBFAF5 6%, #FBFAF5);
	border-radius: 1px 4px 4px 1px;
	display: grid; place-items: center; text-align: center; padding: 12%;
}
.vb-page-inner { display: grid; justify-items: center; gap: 6px; }
.vb-page img { width: 26%; height: auto; margin-bottom: 10px; }
.vb-page-agency { font-size: calc(var(--w) * .045); color: var(--gold-ink); font-weight: 600; margin: 0; }
.vb-page-title { font-family: var(--f-display); font-weight: 700; font-size: calc(var(--w) * .085); line-height: 1.1; color: var(--ink); margin: 0; }
.vb-page-level { font-size: calc(var(--w) * .048); color: var(--ink-2); margin: 0; }
.vb-page-pub { font-size: calc(var(--w) * .038); color: var(--ink-2); margin: 18% 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
.vb-back {
	inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); border-radius: 6px 2px 2px 6px;
	background: linear-gradient(160deg, var(--emerald-2), var(--emerald-3));
	display: flex; flex-direction: column; align-items: center; justify-content: space-between;
	padding: 18% 14% 14%; color: rgba(255, 255, 255, .88); text-align: center;
	font-family: var(--f-display); font-weight: 600; font-size: calc(var(--w) * .06); line-height: 1.2;
}
.vb-back img { width: 34%; height: auto; }
.vb-spine {
	top: 0; height: 100%; width: var(--d); left: calc(50% - var(--d) / 2);
	transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
	background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.14) 45%, rgba(0,0,0,.3)), var(--cover) left center / auto 100% no-repeat, var(--emerald);
}
.vb-edge { background-color: #F3F0E6; }
.vb-edge-r {
	top: 3px; height: calc(100% - 6px); width: calc(var(--d) - 2px); left: calc(50% - var(--d) / 2 + 1px);
	transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 4px));
	background-image: repeating-linear-gradient(90deg, #FBFAF5 0 1px, #DCD8CB 1px 2px), linear-gradient(90deg, rgba(0,0,0,.12), transparent 30%, transparent 70%, rgba(0,0,0,.12));
}
.vb-edge-t, .vb-edge-b {
	left: 2px; width: calc(100% - 6px); height: calc(var(--d) - 2px); top: calc(50% - var(--d) / 2 + 1px);
	background-image: repeating-linear-gradient(0deg, #FBFAF5 0 1px, #DCD8CB 1px 2px);
}
.vb-edge-t { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 3px)); }
.vb-edge-b { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 3px)); background-color: #CFCABA; }
.vb-shadow {
	position: absolute; left: 50%; bottom: 9%; width: 46%; height: 50px; transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); pointer-events: none;
}
.viewer-hint { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .72); pointer-events: none; padding: 0 60px; text-align: center; }
.v-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .1); color: var(--white); display: grid; place-items: center; cursor: pointer;
	backdrop-filter: blur(6px); transition: background-color .2s;
}
.v-nav:hover { background: rgba(255, 255, 255, .24); }
.v-prev { left: 16px; }
.v-stage-tools { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; }
.v-tool {
	width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .1); color: var(--white); display: grid; place-items: center; cursor: pointer;
	backdrop-filter: blur(6px); transition: background-color .2s;
}
.v-tool:hover { background: rgba(255, 255, 255, .24); }
.viewer-panel .tag { align-self: flex-start; }
.vbook { transition: translate 1.1s var(--ease); }
.vbook.is-open { translate: calc(var(--w) * .5) 0; }
.v-next { right: 16px; }

.viewer-panel { position: relative; padding: 36px 32px 28px; overflow-y: auto; display: flex; flex-direction: column; }
.v-close {
	position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer;
}
.v-close:hover { background: var(--mist); }
.v-count { font-size: .85rem; color: var(--ink-2); margin: 0 0 14px; }
.v-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 10px 0 0; padding-right: 30px; }
.v-excerpt { color: var(--ink-2); }
.v-excerpt:empty { display: none; }
.v-controls { display: grid; gap: 12px; margin: 8px 0 24px; }
.v-controls .seg { display: flex; }
.v-controls .seg button { flex: 1; }
.v-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool {
	display: inline-flex; align-items: center; gap: 6px; padding: .5em .8em; border-radius: var(--r-sm);
	border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font-weight: 600; font-size: .88rem;
}
.tool:hover { border-color: var(--emerald); color: var(--emerald); }
.tool[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.v-actions { display: grid; gap: 10px; margin-top: auto; }
.v-actions .btn { justify-content: center; }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1080px) {
	.ring-stage { --r: 250px; height: 440px; }
	.book-sm { --w: 112px; }
	.timeline-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
	.timeline-wide::before { display: none; }
	.timeline-wide li { padding-top: 28px; }
	.timeline-wide li::before { top: 2px; }
}

@media (max-width: 900px) {
	.nav-toggle { display: grid; place-items: center; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px;
		padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -24px rgba(8, 30, 26, .5);
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 12px; font-size: 1.05rem; }
	.site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after { left: 12px; right: auto; width: 24px; }
	.header-cta { justify-content: center; }

	.hero-grid, .split, .sec-head, .cta-inner, .contact-grid, .book-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero .display { max-width: 14ch; }
	.ring-stage { --r: 220px; height: 400px; }
	.facts { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
	.facts li:nth-child(3) { padding-left: 0; border-left: 0; }
	.split-rev > .photo { order: -1; }
	.photo-tilt { box-shadow: 10px 10px 0 -2px var(--gold); margin-right: 10px; margin-bottom: 10px; }
	.services { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.service, .service-lead { grid-row: auto; min-height: 240px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.vm, .team { grid-template-columns: minmax(0, 1fr); }
	.collage img:nth-child(even) { transform: translateY(20px); }
	.book-hero-stage { order: 0; }

	.viewer { width: 100vw; height: 100dvh; border-radius: 0; }
	.viewer-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1.25fr) auto; }
	.viewer-panel { padding: 20px 20px 24px; max-height: 46dvh; }
	.vbook { --w: clamp(150px, 42vw, 230px); }
	.v-close { position: fixed; top: 12px; right: 12px; z-index: 5; background: rgba(255, 255, 255, .92); }
	.v-title { padding-right: 0; }
	.v-nav { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
	body { font-size: 1rem; }
	.ring-stage { --r: 165px; height: 300px; perspective: 1300px; }
	.sec-shelf .bk:nth-child(n+7) { display: none; }
	.ring-caption { margin-top: -12px; }
	.shelf, .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; }
	.bk-stage .book3d { --w: 124px; }
	.bk-stage .book-lg { --w: 200px; }
	.ring .book-sm { --w: 84px; }
	.field-row, .mv { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.toolbar-right, .search, .search input { width: 100%; }
	.vm-card { grid-template-columns: minmax(0, 1fr); }
	.vm-card img { min-height: 0; aspect-ratio: 16 / 9; }
	.timeline-wide { grid-template-columns: minmax(0, 1fr); }
	.brand-name { font-size: 1.05rem; }
	.viewer-hint { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

@media print {
	.site-header, .site-footer, .cta, .viewer, .ring-wrap, .toolbar { display: none !important; }
	body { background: #fff; }
}
