/* Website produk Kiuar · desain D "Buku Tamu" (sage) */
:root {
    --bg: #E7EBE3; --paper: #F6F7F3; --stage: #EDF1EA; --ink: #2E3830; --ink-2: #3A453C; --ink-3: #47534A;
    --muted: #5C6B5F; --green: #3F5A47; --green-dk: #2A3B2F; --mint: #DDE6DA; --line: #DCE2D8; --line-2: #C7D0C3;
    --warm: #8A6A3C; --dark: #1E2521;
    --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hand: 'Caveat', cursive; --mono: 'DM Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.kq { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
.kq img { max-width: 100%; }
.kq a { color: var(--green); }
.kq h1, .kq h2 { margin: 0; }
.kq button { font-family: var(--sans); }
.kq-mono { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.kq-hand { font-family: var(--hand); color: var(--green); line-height: 1.1; }
.kq-hand-sm { font-size: 24px; } .kq-hand-md { font-size: 26px; } .kq-hand-lg { font-size: 30px; }
.kq-btn { display: inline-block; text-decoration: none; background: var(--green); color: var(--paper) !important; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 17px; transition: background .2s; }
.kq-btn:hover { background: var(--green-dk); }
.kq-btn.sm { padding: 11px 18px; font-size: 15px; }
:focus-visible { outline: 3px solid #9DB8A2; outline-offset: 2px; }

/* Menu: tetap di atas, bar hitam transparan */
.kq-navwrap { position: sticky; top: 0; height: 0; z-index: 50; }
.kq-nav { position: absolute; top: 14px; left: 16px; right: 16px; margin: 0 auto; max-width: 1180px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: rgba(20,28,23,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 999px; padding: 8px 8px 8px 24px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.5); }
.kq-nav-logo { display: inline-flex; align-items: center; }
.kq-nav-logo img { display: block; width: 120px; height: auto; }
.kq-nav nav { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: 15px; font-weight: 600; }
.kq-pill { text-decoration: none; color: var(--ink) !important; background: rgba(246,247,243,.85); padding: 9px 14px; border-radius: 999px; }
.kq-pill:hover { background: var(--paper); }

/* Adegan pembuka */
.kq-hero { position: relative; height: 300vh; min-height: 2100px; }
.kq-stage { position: sticky; top: 0; height: 100vh; min-height: 700px; overflow: hidden; background: var(--stage); }
.kq-camera { position: absolute; inset: 0; will-change: transform; }
.kq-layer { position: absolute; inset: -30px; transition: transform .4s ease-out; }
.kq-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; max-width: none; }
.kq-dash { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 40px 12px 0; pointer-events: none; opacity: 0; }
.kq-laptop { width: min(1080px, 92vw); background: var(--ink); border-radius: 18px; padding: 12px; box-shadow: 0 40px 80px -40px var(--dark); }
.kq-screen { display: flex; background: #fff; border-radius: 8px; overflow: hidden; min-height: min(520px, 60vh); }
.kq-side { flex: 0 0 168px; background: var(--green); color: var(--paper); padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.kq-side img { display: block; width: 124px; height: auto; margin-bottom: 4px; }
.kq-side span { padding: 0 10px; font-size: 14px; color: #D5E0D6; }
.kq-side span.on { background: #6E8C76; border-radius: 8px; padding: 8px 10px; font-weight: 700; color: var(--paper); }
.kq-table { flex: 1 1 auto; min-width: 0; padding: 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.kq-table-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.kq-table-title { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 22px; }
.kq-table-title small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--green); }
.kq-live { width: 8px; height: 8px; border-radius: 50%; background: #3F8F5A; animation: kq-live 1.4s ease-in-out infinite; }
.kq-count { background: var(--mint); color: var(--green); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.kq-scroll { overflow-x: auto; }
.kq-grid { min-width: 520px; }
.kq-row { display: grid; grid-template-columns: 50px 1fr 110px 80px; gap: 12px; align-items: center; padding: 10px; border-bottom: 1px solid #EEF1EC; font-size: 15px; }
.kq-row-h { padding: 8px 10px; border-bottom: 1.5px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.kq-row .no, .kq-row .tm { color: var(--muted); }
.kq-row .tm { font-family: var(--mono); font-size: 13px; }
.kq-row .nm { font-weight: 700; }
.kq-row .st { justify-self: start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--green); }
.kq-row.off .nm, .kq-row.off .st { color: var(--muted); } .kq-row.off .st { background: #EEF1EC; }
.kq-row.new { animation: kq-newrow 2.4s ease-out both; }
.kq-caps { position: absolute; left: 24px; right: 24px; bottom: 96px; display: flex; justify-content: center; pointer-events: none; }
.kq-capbox { position: relative; width: 100%; max-width: 680px; height: 150px; }
.kq-cap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; gap: 10px; background: rgba(246,247,243,.92); border-radius: 18px; padding: 18px 22px; transition: opacity .4s, transform .4s; opacity: 0; transform: translateY(12px); }
.kq-cap.on { opacity: 1; transform: none; }
.kq-cap .kq-mono { font-size: 12px; }
.kq-cap h1, .kq-cap h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.06; letter-spacing: -1px; }
.kq-hero-foot { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 14px; align-items: center; }
.kq-hint { font-family: var(--hand); font-size: 24px; color: var(--ink); background: var(--paper); padding: 4px 14px; border-radius: 999px; animation: kq-bob 1.2s ease-in-out infinite alternate; transition: opacity .3s; }
.kq-hint.gone { opacity: 0; }
.kq-demo { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--green); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.kq-dots { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.kq-dots span { width: 8px; height: 8px; border-radius: 4px; background: #B7C3B4; transition: height .3s, background .3s; }
.kq-dots span.on { height: 26px; background: var(--green); }

/* Isi */
.kq-body { padding: 0 16px; }
.kq-bridge { max-width: 1120px; margin: 0 auto; padding: 120px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.kq-bridge .kq-hand { font-size: 30px; }
.kq-line { width: 1.5px; height: 56px; background: #B7C3B4; }

.kq-book { max-width: 1120px; margin: 0 auto; scroll-margin-top: 96px; display: flex; flex-wrap: wrap; background: var(--paper); border-radius: 6px; box-shadow: 0 30px 60px -40px #6B7A6A; }
.kq-page { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.kq-page-l { padding: 56px 48px; gap: 28px; border-right: 1px solid var(--line); }
.kq-page-l p { margin: 0; font-size: 19px; line-height: 1.65; color: var(--ink-3); }
.kq-page-l .kq-btn { align-self: flex-start; }
.kq-book-title { font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -1.5px; }
.kq-page-r { padding: 44px 36px 36px; gap: 14px; }
.kq-race { display: flex; flex-wrap: wrap; gap: 16px; }
.kq-col { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.kq-col-k { background: #fff; border-radius: 12px; padding: 0 10px; margin: -6px -6px 0 0; }
.kq-col-h { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.kq-col-k .kq-col-h { padding-top: 6px; border-bottom-color: var(--mint); color: var(--green); }
.warm { color: var(--warm); }
.kq-col-h b { font-weight: 400; }
.kq-slot { height: 44px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; overflow: hidden; }
.kq-col-k .kq-slot { border-bottom-color: #EEF1EC; gap: 8px; }
.kq-slot .n { font-family: var(--mono); font-size: 12px; color: var(--muted); flex: 0 0 20px; }
.kq-slot .ink { display: inline-block; font-family: var(--hand); font-size: 24px; color: #46524A; white-space: nowrap; animation: kq-write 2.3s steps(26) both; }
.kq-pw { position: relative; display: inline-block; }
.kq-pen { position: absolute; bottom: 0; margin-left: -4px; animation: kq-pen 2.3s linear both; }
.kq-pen svg { display: block; animation: kq-wob .2s ease-in-out infinite alternate; }
.kq-scanrow { flex: 1 1 auto; height: 44px; display: flex; align-items: center; gap: 8px; min-width: 0; border-radius: 6px; animation: kq-in .4s ease-out both, kq-flash 1s ease-out both; }
.kq-scanrow .nm { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kq-scanrow .ok { flex: 0 0 auto; font-family: var(--mono); font-size: 11px; color: var(--green); background: var(--mint); padding: 4px 8px; border-radius: 999px; animation: kq-pop .4s cubic-bezier(.3,1.4,.5,1) .1s both; }
.kq-tally { display: flex; align-items: baseline; gap: 8px; padding: 12px 0 10px; }
.kq-tally b { font-weight: 800; font-size: 34px; color: var(--green); }
.kq-tally b.warm { color: var(--warm); }
.kq-tally span { font-size: 14px; color: var(--muted); }
.kq-race-done { min-height: 34px; }
.kq-race-done span { animation: kq-fade .6s ease both; }

.kq-story { max-width: 1120px; margin: 0 auto; padding: 112px 0 48px; display: flex; flex-wrap: wrap; gap: 24px 64px; }
.kq-story aside { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; }
.kq-story aside .kq-hand { font-size: 28px; }
.kq-essay { flex: 999 1 560px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 24px; font-size: 21px; line-height: 1.7; color: var(--ink-2); }
.kq-essay p { margin: 0; }
.kq-essay blockquote { margin: 16px 0; font-family: var(--hand); font-size: 40px; line-height: 1.2; color: var(--green); }
.kq-src { font-size: 13px; letter-spacing: 0; text-transform: none; }

.kq-feat { scroll-margin-top: 72px; max-width: 1120px; margin: 0 auto; padding: 64px 0 112px; display: flex; flex-direction: column; gap: 40px; }
.kq-feat-head { display: flex; flex-wrap: wrap; gap: 8px 64px; align-items: baseline; }
.kq-feat-body { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.kq-list { flex: 1 1 380px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; min-width: 0; }
.kq-list li { border-top: 1px solid var(--line-2); }
.kq-item { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 18px 12px; border-radius: 6px; transition: background .4s; }
.kq-item.on { background: var(--paper); }
.kq-item:focus-visible { outline: 3px solid #9DB8A2; }
.kq-item-row { display: flex; gap: 16px; align-items: baseline; }
.kq-no { font-size: 14px; letter-spacing: 0; text-transform: none; flex: 0 0 34px; }
.kq-item-text { display: flex; flex-direction: column; gap: 6px; }
.kq-item-title { font-size: 22px; font-weight: 700; color: var(--ink); }
.kq-item-desc { font-size: 16px; line-height: 1.55; color: var(--ink-3); overflow: hidden; max-height: 0; opacity: 0; transition: max-height .5s ease, opacity .5s ease; }
.kq-item.on .kq-item-desc { max-height: 80px; opacity: 1; }
.kq-bar { display: block; height: 3px; background: var(--line); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.kq-bar span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 2px; }
.kq-item.fill .kq-bar span { width: 100%; transition: width var(--ms, 5000ms) linear; }
.kq-viewer { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.kq-slides { position: relative; height: 600px; }
.kq-slide { position: absolute; inset: 0; margin: 0; background: var(--paper); padding: 16px 16px 14px; border-radius: 4px; box-shadow: 0 24px 50px -30px var(--muted); display: flex; flex-direction: column; transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); opacity: 0; transform: rotate(1.5deg) translateY(18px) scale(.97); pointer-events: none; }
.kq-slide.on { opacity: 1; transform: rotate(-1.2deg); pointer-events: auto; }
.kq-slide figcaption { padding-top: 12px; }
.kq-frame { flex: 1 1 auto; min-height: 0; border-radius: 2px; overflow: hidden; position: relative; }
.kq-frame-flat { background: #E9EEE6; display: flex; align-items: center; justify-content: center; padding: 16px; }
.kq-frame-flat img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; box-shadow: 0 12px 30px -18px var(--ink-2); }
.kq-frame-phone { background: #E9EEE6; display: flex; align-items: center; justify-content: center; }
.kq-halo { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #DCE5D7; }
.kq-phone { position: relative; width: 236px; height: 488px; max-height: calc(100% - 24px); aspect-ratio: 236 / 488; background: var(--dark); border-radius: 46px; padding: 10px; box-shadow: 0 34px 50px -28px var(--ink), inset 0 0 0 2px #3A443E; }
.kq-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; }
.kq-phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.kq-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 12px; background: #111513; }
.kq-frame-standee { background: #DCE3D8; }
.kq-frame-standee > span { position: absolute; display: block; }
.kq-wall { left: 0; right: 0; top: 0; height: 62%; background: #E4EAE0; }
.kq-window { left: 6%; top: 8%; width: 30%; height: 34%; border-radius: 4px; background: #D3DCCF; }
.kq-desk { left: -4%; right: -4%; bottom: 0; height: 38%; background: #C7A57E; border-radius: 10px 10px 0 0; }
.kq-desk-edge { left: -4%; right: -4%; bottom: 0; height: 7%; background: #A8855F; }
.kq-acrylic { position: absolute; left: 50%; bottom: 26%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 1; }
.kq-acrylic-panel { position: relative; width: 236px; padding: 9px; background: #EEF3F1; border: 1px solid #fff; border-radius: 5px; box-shadow: inset 0 0 0 1px #C9D6D1, 0 18px 24px -18px #4A3A28; }
.kq-acrylic-panel img { width: 100%; height: auto; display: block; border-radius: 1px; }
.kq-glare { position: absolute; top: 0; left: 0; width: 46%; height: 100%; background: linear-gradient(105deg, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); border-radius: 5px 0 0 5px; }
.kq-acrylic-base { display: block; width: 262px; height: 20px; margin-top: -2px; background: #E2EBE8; border: 1px solid #fff; border-radius: 2px 2px 4px 4px; box-shadow: inset 0 -6px 0 #CBD8D3; }
.kq-paper { left: 13%; bottom: 14%; width: 120px; height: 82px; background: var(--paper); border-radius: 4px; transform: rotate(-8deg); box-shadow: 4px 4px 0 #E4E8E1, 8px 8px 0 #D8DDD5; }
.kq-pen-prop { right: 12%; bottom: 13%; width: 140px; height: 7px; background: linear-gradient(90deg, #2E3830 81%, #C9A15A 81%); border-radius: 4px; transform: rotate(18deg); }
.kq-ctrl { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.kq-sdots { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kq-sdots button { height: 10px; width: 10px; border: 0; padding: 0; cursor: pointer; border-radius: 5px; background: var(--line-2); transition: width .4s, background .4s; }
.kq-sdots button.on { width: 28px; background: var(--green); }
.kq-arrows { display: flex; gap: 8px; }
.kq-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 18px; cursor: pointer; }
.kq-arrows button.dark { border-color: var(--green); background: var(--green); color: var(--paper); }

.kq-close { max-width: 1120px; margin: 0 auto 64px; background: var(--paper); border-radius: 6px; padding: 64px 48px; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.kq-close img { display: block; width: min(280px, 70vw); height: auto; margin-bottom: 8px; }
.kq-close h2 { font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -1px; max-width: 720px; }
.kq-close p { margin: 0; font-size: 18px; color: var(--ink-3); }
.kq-foot { max-width: 1120px; margin: 0 auto; padding: 0 0 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.kq-foot span { display: flex; gap: 12px; align-items: center; }
.kq-foot img { display: block; width: 78px; height: auto; }

@media (max-width: 720px) {
    .kq-nav { padding: 6px 6px 6px 16px; top: 10px; left: 10px; right: 10px; }
    .kq-nav-logo img { width: 96px; }
    .kq-nav .kq-pill { display: none; }
    .kq-nav .kq-btn.sm { padding: 10px 14px; font-size: 14px; }
    .kq-side { display: none; }
    .kq-table { padding: 16px 14px; }
    .kq-grid { min-width: 0; }
    .kq-row { grid-template-columns: 28px 1fr 64px 48px; gap: 8px; padding: 9px 4px; font-size: 14px; }
    .kq-row .st { padding: 3px 8px; font-size: 11px; }
    .kq-row .tm { font-size: 12px; }
    .kq-table-title { font-size: 19px; }
    .kq-caps { left: 16px; right: 16px; bottom: 86px; }
    .kq-capbox { height: 130px; }
    .kq-dots { right: 10px; }
    .kq-bridge { padding-top: 80px; }
    .kq-bridge .kq-hand { font-size: 26px; }
    .kq-page-l { padding: 36px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
    .kq-page-r { padding: 28px 18px; }
    .kq-col-k { margin: 0; }
    .kq-page-l p { font-size: 17px; }
    .kq-story { padding-top: 72px; }
    .kq-essay { font-size: 18px; }
    .kq-essay blockquote { font-size: 32px; }
    .kq-feat { padding: 40px 0 72px; gap: 24px; }
    .kq-list { flex-basis: 100%; }
    .kq-item-title { font-size: 19px; }
    .kq-slides { height: 520px; }
    .kq-close { padding: 44px 22px; }
}
@media (max-width: 420px) {
    .kq-race { flex-direction: column; }
    .kq-acrylic-panel { width: 200px; } .kq-acrylic-base { width: 224px; }
}

@keyframes kq-bob { from { transform: translateY(0); } to { transform: translateY(6px); } }
@keyframes kq-live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes kq-newrow { 0% { opacity: 0; transform: translateY(-8px); background: var(--mint); } 30% { opacity: 1; transform: none; background: var(--mint); } 100% { opacity: 1; background: #fff; } }
@keyframes kq-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes kq-pen { 0% { left: 0%; opacity: 1; } 92% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes kq-wob { from { transform: translateY(0); } to { transform: translateY(-3px) rotate(-5deg); } }
@keyframes kq-in { 0% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
@keyframes kq-flash { 0% { background: var(--mint); } 100% { background: rgba(221,230,218,0); } }
@keyframes kq-pop { 0% { opacity: 0; transform: scale(.5); } 70% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes kq-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .kq *, .kq *::before, .kq *::after { animation: none !important; transition: none !important; }
    .kq-pen { display: none; }
}
