/* ===== Atelier — premium fashion magazine theme, 3 variants (nova / kota / lawas) ===== */
:root { --wrap: 1240px; --r: 18px; }
body[data-v="nova"] {
  --bg: #120a22; --bg2: #1b1132; --card: #1e1438; --ink: #f6f1ff; --muted: #b6abd0; --line: rgba(255,255,255,.12);
  --p: #b69cff; --p2: #ff7a59; --p3: #7de2d1; --on-p: #140a26;
  --display: "Syne", sans-serif; --body: "Manrope", sans-serif;
  --ticker-bg: linear-gradient(90deg, #b69cff, #ff7a59); --ticker-ink: #140a26;
}
body[data-v="kota"] {
  --bg: #f5f2ea; --bg2: #ffffff; --card: #ffffff; --ink: #0f1530; --muted: #5a6078; --line: rgba(15,21,48,.12);
  --p: #1d3fd1; --p2: #7cc4ff; --p3: #ff8a3d; --on-p: #ffffff;
  --display: "Bodoni Moda", serif; --body: "Inter Tight", sans-serif;
  --ticker-bg: #0f1530; --ticker-ink: #f5f2ea;
}
body[data-v="lawas"] {
  --bg: #f2e8d2; --bg2: #faf4e6; --card: #fbf6ea; --ink: #1e2a22; --muted: #6a6752; --line: rgba(30,42,34,.16);
  --p: #0f5c45; --p2: #e0a526; --p3: #c4553a; --on-p: #faf4e6;
  --display: "DM Serif Display", serif; --body: "Work Sans", sans-serif;
  --ticker-bg: #0f5c45; --ticker-ink: #f2e8d2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body[data-v="lawas"]::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body[data-v="nova"]::before { content: ""; position: fixed; inset: -20% -10% auto auto; width: 70vw; height: 70vw; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(182,156,255,.18), transparent 60%); filter: blur(10px); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.01em; font-weight: 700; }
body[data-v="kota"] h1, body[data-v="kota"] h2, body[data-v="kota"] h3 { font-weight: 500; }
body[data-v="lawas"] h1, body[data-v="lawas"] h2, body[data-v="lawas"] h3 { font-weight: 400; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.wrap.narrow { max-width: 820px; }
.sr-only { position: absolute; left: -9999px; }
.sr-only:focus { left: 16px; top: 16px; z-index: 200; background: var(--p); color: var(--on-p); padding: 8px 14px; border-radius: 8px; }
.muted { color: var(--muted); } .sm { font-size: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; background: var(--p); color: var(--on-p); font-weight: 700; font-size: 15px; border: 2px solid var(--p); cursor: pointer; font-family: var(--body); transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--p); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--p); color: var(--p); box-shadow: none; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
body[data-v="kota"] .btn { border-radius: 4px; }
body[data-v="lawas"] .btn { border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
body[data-v="lawas"] .btn:hover { box-shadow: 6px 6px 0 var(--ink); }
body[data-v="lawas"] .btn.ghost { box-shadow: none; border-color: var(--ink); }

/* ---------- ticker ---------- */
.ticker { background: var(--ticker-bg); color: var(--ticker-ink); overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; position: relative; z-index: 2; }
.ticker-track { display: inline-flex; gap: 22px; padding: 10px 0; animation: tick 38s linear infinite; }
.ticker i { font-style: normal; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .badge-spin { animation: none !important; } }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand img { height: 44px; width: auto; }
.brand b { font-family: var(--display); font-size: 26px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 16px; border-radius: 99px; font-weight: 600; font-size: 15px; color: var(--muted); transition: .2s; }
.nav a:hover { color: var(--ink); }
.nav a.active { background: var(--p); color: var(--on-p); }
body[data-v="kota"] .nav a { border-radius: 0; padding: 9px 4px; margin: 0 12px; border-bottom: 2px solid transparent; }
body[data-v="kota"] .nav a.active { background: none; color: var(--p); border-color: var(--p); }
body[data-v="lawas"] .nav a.active { background: var(--ink); color: var(--bg); }
.head-tools { display: flex; gap: 6px; }
.ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.ic:hover { border-color: var(--p); color: var(--p); }
.burger { display: none; }
.search-panel { display: none; border-top: 1px solid var(--line); padding: 16px 0; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; }
.search-panel input { flex: 1; height: 52px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); padding: 0 22px; font: inherit; outline: none; }
.search-panel input:focus { border-color: var(--p); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--p); }
.eyebrow i { width: 34px; height: 2px; background: currentColor; }
.hero-title { font-size: clamp(48px, 8vw, 112px); margin: 18px 0 22px; line-height: .95; }
.hero-title span { display: inline-block; }
body[data-v="nova"] .hero-title { text-transform: uppercase; letter-spacing: -.03em; }
body[data-v="nova"] .hero-title .alt { color: transparent; -webkit-text-stroke: 2px var(--p); }
body[data-v="kota"] .hero-title .alt { font-style: italic; color: var(--p); }
body[data-v="lawas"] .hero-title .alt { font-style: italic; color: var(--p); position: relative; }
body[data-v="lawas"] .hero-title .alt::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; background: var(--p2); opacity: .55; z-index: -1; border-radius: 4px; }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 480px; justify-self: center; width: 100%; }
.arch { position: absolute; inset: 0; overflow: hidden; background: var(--bg2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
body[data-v="nova"] .arch { border-radius: 999px 999px 24px 24px; box-shadow: 0 0 0 10px rgba(182,156,255,.08), 0 0 80px -10px rgba(182,156,255,.45); }
body[data-v="kota"] .arch { border-radius: 2px; box-shadow: 22px 22px 0 var(--p); }
body[data-v="lawas"] .arch { border-radius: 260px 260px 16px 16px; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--p); }
body[data-v="lawas"] .hero-art::after { content: ""; position: absolute; inset: 12px; border-radius: 250px 250px 10px 10px; border: 1.5px dashed rgba(250,244,230,.8); pointer-events: none; }
.badge-spin { position: absolute; width: 150px; height: 150px; left: -48px; bottom: 34px; animation: spin 22s linear infinite; z-index: 3; }
.badge-spin text { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: .2em; fill: var(--on-p); }
.badge-spin .b-bg { fill: var(--p2); }
.badge-spin .b-star { fill: var(--on-p); }
body[data-v="kota"] .badge-spin .b-bg { fill: var(--p3); }
body[data-v="lawas"] .badge-spin .b-bg { fill: var(--p2); stroke: var(--ink); stroke-width: 3; }
body[data-v="lawas"] .badge-spin text, body[data-v="lawas"] .badge-spin .b-star { fill: var(--ink); }
body[data-v="nova"] .badge-spin text, body[data-v="nova"] .badge-spin .b-star { fill: #140a26; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-chip { position: absolute; z-index: 3; padding: 9px 16px; border-radius: 99px; background: var(--card); color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); border: 1px solid var(--line); animation: bob 5s ease-in-out infinite; }
.float-chip:hover { background: var(--p); color: var(--on-p); }
.float-chip.f1 { right: -18px; top: 12%; } .float-chip.f2 { right: -34px; top: 46%; animation-delay: -1.6s; } .float-chip.f3 { left: 18%; top: -14px; animation-delay: -3s; }
body[data-v="kota"] .float-chip { border-radius: 2px; }
body[data-v="lawas"] .float-chip { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-3deg); }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- sections ---------- */
.section { padding: 70px 0; }
.sec-head { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: end; margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sec-head .num { grid-row: span 2; font-family: var(--display); font-size: 64px; line-height: .8; color: var(--p); }
body[data-v="nova"] .sec-head .num { color: transparent; -webkit-text-stroke: 1.5px var(--p); }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); }
.sec-head p { margin: 4px 0 0; color: var(--muted); }
body[data-v="lawas"] .sec-head p { font-family: "Caveat", cursive; font-size: 24px; color: var(--p3); }

/* rubrik tiles */
.rubrik-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rubrik { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px; border-radius: var(--r); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.rubrik:hover { transform: translateY(-6px); }
.rubrik .r-num { font-family: var(--display); font-size: 54px; line-height: 1; opacity: .9; }
.rubrik h3 { font-size: 28px; margin: auto 0 10px; }
.rubrik p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; opacity: .85; }
.rubrik .r-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: 14px; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.rubrik .r-foot b { font-size: 20px; transition: transform .3s; }
.rubrik:hover .r-foot b { transform: translate(3px, -3px); }
body[data-v="nova"] .rubrik { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--line); }
body[data-v="nova"] .rubrik::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; filter: blur(30px); opacity: .55; }
body[data-v="nova"] .rubrik.r1::after { background: #b69cff; } body[data-v="nova"] .rubrik.r2::after { background: #ff7a59; }
body[data-v="nova"] .rubrik.r3::after { background: #7de2d1; } body[data-v="nova"] .rubrik.r4::after { background: #ffd166; }
body[data-v="nova"] .rubrik:hover { box-shadow: 0 30px 60px -30px rgba(182,156,255,.6); }
body[data-v="kota"] .rubrik { border-radius: 2px; color: #fff; }
body[data-v="kota"] .rubrik.r1 { background: #1d3fd1; } body[data-v="kota"] .rubrik.r2 { background: #0f1530; }
body[data-v="kota"] .rubrik.r3 { background: #7cc4ff; color: #0f1530; } body[data-v="kota"] .rubrik.r4 { background: #ffffff; color: #0f1530; border: 1px solid var(--line); }
body[data-v="kota"] .rubrik .r-num { font-size: 92px; font-style: italic; }
body[data-v="lawas"] .rubrik { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
body[data-v="lawas"] .rubrik::before { content: ""; position: absolute; top: -8px; left: 50%; width: 90px; height: 26px; margin-left: -45px; transform: rotate(-4deg); background: rgba(224,165,38,.75); }
body[data-v="lawas"] .rubrik.r1 .r-num { color: var(--p); } body[data-v="lawas"] .rubrik.r2 .r-num { color: var(--p3); }
body[data-v="lawas"] .rubrik.r3 .r-num { color: var(--p2); } body[data-v="lawas"] .rubrik.r4 .r-num { color: var(--ink); }
body[data-v="lawas"] .rubrik:nth-child(even) { transform: rotate(1deg); } body[data-v="lawas"] .rubrik:nth-child(odd) { transform: rotate(-1deg); }
body[data-v="lawas"] .rubrik:hover { transform: rotate(0) translateY(-6px); }

/* spotlight */
.spot { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.spot-img { min-height: 420px; background: var(--bg2); }
.spot-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transition: transform .6s; }
.spot:hover .spot-img img { transform: scale(1.04); }
.spot-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.spot-body h3 { font-size: clamp(28px, 3vw, 42px); }
.spot-body h3 a:hover { color: var(--p); }
.spot-body p { color: var(--muted); margin: 0; }
.spot-body .btn { align-self: flex-start; margin-top: 8px; }
body[data-v="kota"] .spot { border-radius: 2px; }
body[data-v="lawas"] .spot { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--p); }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--p); padding: 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--p) 14%, transparent); }
.meta { font-size: 14px; color: var(--muted); }
.mt { margin-top: 24px; }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-img { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--bg2); display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .ph { display: grid; place-items: center; height: 100%; font-family: var(--display); font-size: 64px; color: var(--p); }
.card h3 { font-size: 23px; }
.card h3 a:hover { color: var(--p); }
.card p { color: var(--muted); margin: 0; }
body[data-v="kota"] .card-img { border-radius: 2px; }
body[data-v="lawas"] .card-img { border: 2px solid var(--ink); }

/* manifesto */
.manifesto { padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.manifesto blockquote { font-family: var(--display); font-size: clamp(28px, 4.2vw, 54px); line-height: 1.18; margin: 18px auto; max-width: 1000px; }
.manifesto cite { font-style: normal; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.q-mark { width: 64px; fill: var(--p2); }
body[data-v="nova"] .manifesto { background: linear-gradient(120deg, #2a1650, #120a22 60%); border-block: 1px solid var(--line); }
body[data-v="nova"] .manifesto blockquote { background: linear-gradient(90deg, #f6f1ff, #b69cff 50%, #ff7a59); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-v="kota"] .manifesto { background: var(--p); color: #fff; }
body[data-v="kota"] .manifesto blockquote { font-style: italic; }
body[data-v="kota"] .q-mark { fill: var(--p2); }
body[data-v="lawas"] .manifesto { background: var(--p); color: var(--bg); }
body[data-v="lawas"] .manifesto::before, body[data-v="lawas"] .manifesto::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: radial-gradient(circle at 7px 0, var(--bg) 7px, transparent 7.5px) 0 0 / 14px 14px repeat-x; }
body[data-v="lawas"] .manifesto::before { top: 0; } body[data-v="lawas"] .manifesto::after { bottom: 0; transform: scaleY(-1); }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pr { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.pr-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--p); color: var(--on-p); font-size: 20px; margin-bottom: 18px; }
.pr h3 { font-size: 24px; margin-bottom: 8px; }
.pr p { margin: 0; color: var(--muted); }
body[data-v="kota"] .pr { border-radius: 2px; border-top: 4px solid var(--p); }
body[data-v="lawas"] .pr { border: 2px solid var(--ink); }
body[data-v="lawas"] .pr:nth-child(2) .pr-ico { background: var(--p3); } body[data-v="lawas"] .pr:nth-child(3) .pr-ico { background: var(--p2); color: var(--ink); }

/* list hero */
.list-hero { padding: 70px 0 50px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.list-hero h1 { font-size: clamp(42px, 6vw, 84px); margin: 14px 0 12px; }
.list-hero p { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0; }
body[data-v="kota"] .list-hero { background: linear-gradient(90deg, var(--p) 0 10px, transparent 10px); }
body[data-v="nova"] .list-hero::after { content: ""; position: absolute; right: -100px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,89,.25), transparent 65%); }
body[data-v="lawas"] .list-hero h1 { font-style: italic; }
.empty { text-align: center; padding: 70px 24px; border: 1.5px dashed var(--line); border-radius: var(--r); }
.empty h3 { font-size: 28px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.err-code { font-family: var(--display); font-size: 140px; line-height: 1; color: var(--p); }

/* pagination (shared partial) */
.pagination, nav[role=navigation] { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 99px; border: 1px solid var(--line); font-weight: 600; }
.pagination .active, .pagination [aria-current] span { background: var(--p); color: var(--on-p); border-color: var(--p); }

/* ---------- article ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--p), var(--p2)); }
.a-hero { padding: 54px 0 34px; text-align: center; }
.crumbs { display: flex; justify-content: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 20px; font-weight: 600; }
.crumbs a:hover { color: var(--p); }
.a-hero h1 { font-size: clamp(36px, 5.4vw, 66px); }
.dek { font-size: 21px; color: var(--muted); margin: 20px auto 0; max-width: 720px; line-height: 1.5; }
.byline { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; font-size: 15px; color: var(--muted); }
.byline .av, .cmt .av { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--p); color: var(--on-p); font-weight: 700; font-size: 14px; }
.byline b { color: var(--ink); }
.a-cover { margin: 0 auto 50px; }
.a-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r); }
.a-cover figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }
body[data-v="kota"] .a-cover img { border-radius: 2px; }
body[data-v="lawas"] .a-cover img { border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--p); }
.a-grid { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 60px; justify-content: center; }
.toc-wrap { position: relative; }
.toc { position: sticky; top: 110px; font-size: 14px; }
.toc h5 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; color: var(--p); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--p); border-color: var(--p); font-weight: 700; }
.prose { font-size: 18.5px; line-height: 1.8; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 2em; scroll-margin-top: 110px; }
.prose h3 { font-size: 24px; margin-top: 1.6em; }
.prose a { color: var(--p); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--p); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 2em 0; padding: 26px 30px; border-left: 5px solid var(--p); background: color-mix(in srgb, var(--p) 8%, transparent); border-radius: 0 var(--r) var(--r) 0; font-family: var(--display); font-size: 25px; line-height: 1.4; }
.prose img { border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: color-mix(in srgb, var(--p) 12%, transparent); font-weight: 700; }
.prose .box { padding: 24px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.prose .box h3 { margin-top: 0; }
body[data-v="lawas"] .prose .box { border: 2px solid var(--ink); }
.dropcap > p:first-of-type::first-letter { float: left; font-family: var(--display); font-size: 4.6em; line-height: .82; margin: .08em .12em 0 0; color: var(--p); }
.a-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 46px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.tags a:hover { border-color: var(--p); color: var(--p); }
.flash { padding: 12px 18px; border-radius: 12px; background: color-mix(in srgb, var(--p2) 18%, transparent); margin-bottom: 18px; font-weight: 600; }

/* comments */
.comments h2 { font-size: 32px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.comments .count { font-family: var(--body); font-size: 14px; padding: 3px 12px; border-radius: 99px; background: var(--p); color: var(--on-p); }
.cmt { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cmt .who { font-weight: 700; } .cmt .who span { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 6px; }
.cmt p { margin: 4px 0 0; }
.c-form { margin-top: 28px; padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; }
.c-form h3 { font-size: 26px; }
.c-form p { margin: -8px 0 0; }
.c-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.c-form input, .c-form textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 12px; padding: 13px 15px; font: inherit; font-weight: 400; outline: none; }
.c-form input:focus, .c-form textarea:focus { border-color: var(--p); }
.c-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
body[data-v="lawas"] .c-form { border: 2px solid var(--ink); }

/* ---------- footer ---------- */
.site-foot { margin-top: 40px; padding: 70px 0 28px; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.foot-big { font-family: var(--display); font-size: clamp(56px, 12vw, 180px); line-height: .9; letter-spacing: -.03em; margin-bottom: 50px; white-space: nowrap; }
body[data-v="nova"] .foot-big { color: transparent; -webkit-text-stroke: 1.5px rgba(182,156,255,.55); text-transform: uppercase; }
body[data-v="kota"] .site-foot { background: #0f1530; color: #f5f2ea; --muted: #a9aec4; --line: rgba(255,255,255,.14); }
body[data-v="kota"] .foot-big { font-style: italic; color: var(--p2); }
body[data-v="lawas"] .site-foot { background: #1e2a22; color: #f2e8d2; --muted: #c9bfa5; --line: rgba(242,232,210,.18); }
body[data-v="lawas"] .foot-big { color: var(--p2); font-style: italic; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-slogan { font-family: var(--display); font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
.foot-grid h5 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; color: var(--p2); }
body[data-v="nova"] .foot-grid h5 { color: var(--p); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--muted); } .foot-grid a:hover { color: inherit; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* reveal */
.rv { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s ease; }
.rv.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; translate: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .rubrik-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .a-grid { grid-template-columns: minmax(0, 760px); }
  .toc-wrap { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--bg2); z-index: 80; transform: translateX(100%); transition: transform .3s; padding: 100px 24px; justify-content: flex-start; visibility: hidden; }
  .nav-open .nav { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.25); }
  .nav ul { flex-direction: column; width: 100%; gap: 6px; }
  .nav a { font-size: 18px; padding: 12px 18px; }
  .head-row { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 380px; }
  .spot { grid-template-columns: 1fr; }
  .spot-img { min-height: 280px; }
  .spot-body { padding: 28px; }
  .grid-3, .principles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .head-row { height: 66px; }
  .brand img { height: 36px; }
  .hero { padding: 40px 0 20px; }
  .hero-lead { font-size: 17px; }
  .badge-spin { width: 110px; height: 110px; left: -12px; bottom: 16px; }
  .float-chip.f1 { right: 0; } .float-chip.f2 { right: 0; } .float-chip.f3 { left: 8%; }
  .rubrik-grid, .grid-4, .grid-3, .principles { grid-template-columns: 1fr; }
  .rubrik { min-height: 240px; }
  .section { padding: 50px 0; }
  .sec-head .num { font-size: 46px; }
  .prose { font-size: 17px; }
  .c-form .row { grid-template-columns: 1fr; }
  .c-form { padding: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn { height: 48px; padding: 0 22px; }
}
