/* =====================================================================
   Karang Taruna Kecamatan Widodaren — Website Profil
   ===================================================================== */
:root {
  --primary: #fe9f43;
  --primary-600: #f07f12;
  --primary-700: #c9620a;
  --primary-50: #fff6ed;
  --navy: #0b1f3a;
  --navy-2: #092c4c;
  --ink: #1d2433;
  --muted: #5b6577;
  --line: #e7eaf0;
  --bg: #f6f7fb;
  --card: #ffffff;
  --green: #12b76a;
  --blue: #2e90fa;
  --red: #f04438;
  --violet: #7a5af8;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .14);
  --shadow-lg: 0 30px 80px -20px rgba(9, 44, 76, .35);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 14px; }
h1, h2, h3, h4 { letter-spacing: -.015em; }
.ico { width: 18px; height: 18px; flex: none; }
.ico-lg { width: 22px; height: 22px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px var(--font); border: 0; cursor: pointer; padding: 11px 18px; border-radius: 12px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(254, 140, 50, .9); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-navy:hover { background: var(--navy); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { border-color: #ffd2a8; color: var(--primary-600); }
.btn-wa { background: #12b76a; color: #fff; }
.btn-wa:hover { background: #079455; }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--primary-600); text-decoration: none; }
.link-arrow:hover { gap: 10px; }
.link-arrow, .link-arrow .ico { transition: gap .15s; }

/* ---------- Top bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), #ff5f3a); }
.topbar { position: sticky; top: 0; z-index: 60; backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); background: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; line-height: 1.15; }
.brand .logos { display: flex; align-items: center; gap: 8px; flex: none; }
.brand .logos img { height: 42px; width: auto; display: block; filter: drop-shadow(0 3px 6px rgba(11, 31, 58, .18)); }
.brand .logos img.gov { height: 40px; }
.brand .logos img + img { padding-left: 8px; border-left: 1px solid var(--line, #e7eaf0); }
.foot .brand .logos img { height: 50px; filter: none; }
.foot .brand .logos img + img { border-left-color: rgba(255, 255, 255, .15); }
.brand b { display: block; font-size: 15px; }
.brand small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.topbar nav { margin-left: auto; display: flex; gap: 2px; }
.topbar nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 10px; transition: background .15s, color .15s; }
.topbar nav a:hover { background: var(--primary-50); color: var(--primary-600); }
.topbar nav a.active { color: var(--primary-600); background: var(--primary-50); }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; color: var(--ink); }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, rgba(255, 140, 60, .55), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(46, 144, 250, .35), transparent 60%), linear-gradient(135deg, #e8590c 0%, #b8461a 28%, #4a2a2c 58%, var(--navy) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #5cf2a4; box-shadow: 0 0 0 4px rgba(92, 242, 164, .25); }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -.03em; margin: 18px 0; font-weight: 800; }
.hero h1 em { font-style: normal; display: block; background: linear-gradient(90deg, #ffd8b0, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 580px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; max-width: 620px; }
.hero-stats div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.hero-stats b { display: block; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.hero-stats span { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.hero-visual { position: relative; perspective: 1800px; }
.hero-visual .frame { transform: rotateY(-8deg) rotateX(3deg); transform-origin: left center; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .15); }
.floating { position: absolute; z-index: 3; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; max-width: 290px; line-height: 1.4; }
.floating b { display: block; font-size: 14px; }
.floating.f1 { left: -28px; bottom: -26px; }
.floating.f2 { right: -14px; top: -22px; }

/* ---------- Frame (gaya jendela browser) ---------- */
.frame { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #dfe3ea; box-shadow: var(--shadow); color: var(--ink); }
.frame .bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: linear-gradient(#f9fafb, #f1f3f6); border-bottom: 1px solid #e4e7ec; }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.frame .bar i:nth-child(2) { background: #febc2e; }
.frame .bar i:nth-child(3) { background: #28c840; }
.frame .bar .url { flex: 1; max-width: 360px; margin: 0 auto; height: 24px; border-radius: 8px; background: #fff; border: 1px solid #e4e7ec; display: flex; align-items: center; gap: 6px; padding: 0 10px; font: 600 12px var(--font); color: #667085; overflow: hidden; white-space: nowrap; }
.frame .bar .url svg { width: 12px; height: 12px; color: #12b76a; }
.frame .frame-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.agenda { padding: 18px 20px 8px; }
.agenda h4 { margin: 0 0 4px; font-size: 16px; }
.agenda > p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.agenda-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px dashed var(--line); }
.agenda-item .date { flex: none; width: 52px; text-align: center; border-radius: 12px; padding: 6px 0; background: var(--primary-50); color: var(--primary-700); line-height: 1.1; }
.agenda-item .date b { display: block; font-size: 19px; }
.agenda-item .date span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.agenda-item h5 { margin: 0 0 3px; font-size: 14.5px; line-height: 1.35; }
.agenda-item small { color: var(--muted); font-size: 12.5px; display: flex; align-items: center; gap: 4px; }

/* ---------- Page hero (halaman dalam) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 420px at 90% -20%, rgba(255, 140, 60, .55), transparent 60%), radial-gradient(700px 400px at -10% 130%, rgba(46, 144, 250, .3), transparent 60%), linear-gradient(135deg, #d9530c 0%, #9b3d1b 30%, #3f2630 60%, var(--navy) 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.page-hero .wrap { position: relative; padding-top: 56px; padding-bottom: 64px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: rgba(255, 255, 255, .9); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .ico { width: 14px; height: 14px; opacity: .7; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.page-hero p { margin: 0; max-width: 720px; color: rgba(255, 255, 255, .85); font-size: 17px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tight { padding: 56px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head .kicker, .kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-600); }
.sec-head h2 { margin: 4px 0 6px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.sec-head p { margin: 0; color: var(--muted); max-width: 680px; }
.chap-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.chap-no { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font: 800 18px var(--font); color: #fff; background: linear-gradient(135deg, var(--primary), #ff6a2b); box-shadow: 0 10px 24px -10px rgba(254, 110, 40, .9); }
.chap-head h2 { margin: 2px 0 6px; font-size: 30px; line-height: 1.2; }
.chap-head p { margin: 0; color: var(--muted); max-width: 820px; font-size: 16px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.card h4 { margin: 0 0 6px; font-size: 16.5px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .dot-ico { margin-bottom: 14px; }
.card-hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -24px rgba(16, 24, 40, .35); border-color: #ffd9b5; }
.dot-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.dot-ico .ico { width: 20px; height: 20px; }

.t-orange { background: #fff1e5; color: #e8590c; }
.t-green { background: #e7f8ef; color: #079455; }
.t-blue { background: #e8f2ff; color: #1570ef; }
.t-red { background: #fee9e7; color: #d92d20; }
.t-violet { background: #efebff; color: #6938ef; }
.t-navy { background: #e6ecf4; color: var(--navy-2); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill .ico { width: 13px; height: 13px; }
.pill-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 32px; font-size: 15.5px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 7px; background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f07f12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
ol.num-list { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; gap: 12px; }
ol.num-list li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
ol.num-list li::before { content: counter(n, decimal-leading-zero); flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 800 12px var(--font); color: #fff; background: var(--navy-2); }

.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid #ffd9b5; background: linear-gradient(135deg, #fff8f1, #fff); margin: 18px 0; font-size: 14.5px; }
.callout.info { border-color: #c8e0ff; background: linear-gradient(135deg, #f1f7ff, #fff); }
.callout.success { border-color: #b7ecd0; background: linear-gradient(135deg, #effcf5, #fff); }
.callout.danger { border-color: #fecdca; background: linear-gradient(135deg, #fff4f3, #fff); }
.callout .dot-ico { width: 32px; height: 32px; }
.callout p { margin: 0; }

.vision-card { position: relative; overflow: hidden; border-radius: 20px; padding: 30px; color: #fff; background: radial-gradient(500px 240px at 100% 0%, rgba(254, 159, 67, .45), transparent 60%), linear-gradient(135deg, var(--navy-2), var(--navy)); box-shadow: var(--shadow-lg); }
.vision-card .kicker { color: #ffc58f; }
.vision-card blockquote { margin: 10px 0 0; font-size: 21px; line-height: 1.5; font-weight: 700; letter-spacing: -.01em; }
.vision-card .quote { position: absolute; right: 22px; bottom: -10px; font: 800 140px/1 Georgia, serif; color: rgba(255, 255, 255, .07); }

/* ---------- Bidang ---------- */
.bidang-card { display: flex; flex-direction: column; gap: 4px; }
.bidang-card .count { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--primary-600); }

/* ---------- Month strip ---------- */
.month-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; margin: 8px 0 28px; }
.month-strip a, .month-strip span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: border-color .15s, transform .15s; }
.month-strip a:hover { border-color: #ffc58f; transform: translateY(-2px); }
.month-strip b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px; font-size: 13px; background: var(--bg); color: #98a2b3; }
.month-strip .has b { background: var(--primary-50); color: var(--primary-700); }
.month-strip .now { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(254, 159, 67, .2); color: var(--primary-700); }
.month-strip .now::after { content: "Bulan ini"; position: absolute; top: -9px; font-size: 10px; background: var(--primary); color: #fff; padding: 1px 7px; border-radius: 999px; }

/* ---------- Year tabs ---------- */
.year-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.year-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); transition: background .15s; }
.year-tabs a:hover { background: rgba(255, 255, 255, .22); }
.year-tabs a.on { background: #fff; color: var(--primary-700); border-color: #fff; }
.year-tabs a small { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.year-tabs a.on small { background: var(--primary-50); }
.year-tabs .live { width: 8px; height: 8px; border-radius: 50%; background: #5cf2a4; box-shadow: 0 0 0 3px rgba(92, 242, 164, .3); }

.year-summary { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: -48px; position: relative; z-index: 2; }
.year-summary .card { padding: 26px 28px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-row div { text-align: center; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.stat-row b { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.stat-row span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.progressbar { height: 10px; border-radius: 999px; background: #eef0f4; overflow: hidden; margin: 14px 0 6px; }
.progressbar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), #32d583); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--font); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; text-decoration: none; transition: all .15s; }
.chip:hover { border-color: #ffc58f; color: var(--primary-700); }
.chip.on { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.chip small { font-size: 11px; opacity: .75; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 12px; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, #f6b98a 0 8px, transparent 8px 14px); }
.tl-month { position: relative; display: flex; justify-content: center; margin: 34px 0 22px; scroll-margin-top: 100px; }
.tl-month:first-child { margin-top: 0; }
.tl-month span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; background: var(--navy-2); color: #fff; box-shadow: var(--shadow); }
.tl-month span small { font-weight: 600; opacity: .7; }
.tl-item { position: relative; width: 50%; padding: 0 44px 26px 0; }
.tl-item.r { margin-left: 50%; padding: 0 0 26px 44px; }
.tl-item::before { content: ""; position: absolute; top: 26px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: 0 0 0 5px rgba(254, 159, 67, .18); z-index: 1; }
.tl-item.r::before { right: auto; left: -9px; }
.tl-item.s-selesai::before { border-color: var(--green); box-shadow: 0 0 0 5px rgba(18, 183, 106, .16); }
.tl-item.s-rencana::before { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(46, 144, 250, .16); }
.tl-item.s-ditunda::before { border-color: var(--red); box-shadow: 0 0 0 5px rgba(240, 68, 56, .16); }
.tl-item.s-berjalan::before { animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(254, 159, 67, .25); } 50% { box-shadow: 0 0 0 11px rgba(254, 159, 67, .05); } }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.tl-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -26px rgba(16, 24, 40, .4); }
.tl-card .cover { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.tl-body { padding: 18px 20px 20px; display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.tl-date { width: 62px; text-align: center; border-radius: 14px; padding: 8px 0; background: var(--primary-50); color: var(--primary-700); line-height: 1.1; align-self: start; }
.tl-date b { display: block; font-size: 24px; letter-spacing: -.02em; }
.tl-date span { font-size: 11.5px; font-weight: 800; text-transform: uppercase; }
.tl-date em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; margin-top: 4px; opacity: .75; }
.tl-card h3 { margin: 4px 0 8px; font-size: 18px; line-height: 1.3; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.tl-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tl-meta .ico { width: 14px; height: 14px; color: #98a2b3; }
.tl-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-photos { display: flex; gap: 6px; margin-top: 12px; }
.tl-photos button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; width: 56px; height: 56px; cursor: zoom-in; position: relative; }
.tl-photos img { width: 100%; height: 100%; object-fit: cover; }
.tl-photos .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(9, 44, 76, .6); color: #fff; font-weight: 800; font-size: 13px; }
.tl-item.is-hidden { display: none; }

.tl-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.tl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tl-legend i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid; }

/* ---------- Mini timeline (beranda) ---------- */
.mini-tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.mini-tl::before { content: ""; position: absolute; left: 12px; right: 12px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, #f6b98a 0 8px, transparent 8px 14px); }
.mini-tl .item { position: relative; padding-top: 52px; }
.mini-tl .item::before { content: ""; position: absolute; top: 13px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: 0 0 0 5px rgba(254, 159, 67, .18); }
.mini-tl .item.s-selesai::before { border-color: var(--green); box-shadow: 0 0 0 5px rgba(18, 183, 106, .16); }
.mini-tl .item.s-rencana::before { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(46, 144, 250, .16); }
.mini-tl .card { height: 100%; }
.mini-tl .when { font-size: 12.5px; font-weight: 700; color: var(--primary-700); margin-bottom: 6px; display: block; }
.mini-tl h4 { font-size: 16px; line-height: 1.35; margin-bottom: 8px; }

/* ---------- Gallery ---------- */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry .ph { break-inside: avoid; margin: 0 0 16px; }
.ph { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #e9edf3; cursor: zoom-in; border: 0; padding: 0; width: 100%; text-align: left; box-shadow: var(--shadow); }
.ph img { width: 100%; height: auto; transition: transform .5s; }
.ph:hover img { transform: scale(1.05); }
.ph figcaption, .ph .cap { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; color: #fff; font-size: 13.5px; line-height: 1.4; background: linear-gradient(180deg, transparent, rgba(6, 14, 28, .82)); opacity: 0; transform: translateY(8px); transition: all .25s; }
.ph:hover figcaption, .ph:hover .cap, .ph:focus-visible .cap { opacity: 1; transform: none; }
.ph .cap b { display: block; font-size: 14.5px; }
.ph .cap small { opacity: .8; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.gallery-grid .ph { height: 100%; }
.gallery-grid .ph img { height: 100%; object-fit: cover; }
.gallery-grid .ph:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .ph:nth-child(6) { grid-column: span 2; }

/* ---------- Placeholder bergradasi (bila belum ada foto) ---------- */
.ph-empty { position: relative; display: grid; place-items: center; color: rgba(255, 255, 255, .92); background: radial-gradient(320px 200px at 80% 0%, rgba(255, 180, 110, .6), transparent 60%), linear-gradient(135deg, #f07f12, #9b3d1b 55%, var(--navy-2)); }
.ph-empty::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 28px 28px; }
.ph-empty svg { position: relative; width: 44px; height: 44px; opacity: .9; }
.ph-empty.v2 { background: radial-gradient(320px 200px at 10% 0%, rgba(92, 242, 164, .35), transparent 60%), linear-gradient(135deg, #079455, #0b5d4b 55%, var(--navy-2)); }
.ph-empty.v3 { background: radial-gradient(320px 200px at 90% 100%, rgba(122, 90, 248, .45), transparent 60%), linear-gradient(135deg, #1570ef, #253f8a 55%, var(--navy)); }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 56px 24px; border: 1px dashed #d0d5dd; border-radius: 18px; background: #fff; color: var(--muted); }
.empty .dot-ico { margin: 0 auto 14px; width: 56px; height: 56px; border-radius: 16px; }
.empty h4 { margin: 0 0 6px; color: var(--ink); font-size: 17px; }

/* ---------- Members ---------- */
.member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member-grid.lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.member { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: transform .2s, box-shadow .2s; }
.member:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -26px rgba(16, 24, 40, .4); }
.member .photo { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; background: #eef1f6; }
.member .avatar { aspect-ratio: 1 / 1; display: grid; place-items: center; font: 800 46px var(--font); letter-spacing: -.02em; color: #fff; }
.member .avatar.a0, .grad-0 { background: linear-gradient(135deg, #fe9f43, #e8590c); }
.member .avatar.a1, .grad-1 { background: linear-gradient(135deg, #2e90fa, #1849a9); }
.member .avatar.a2, .grad-2 { background: linear-gradient(135deg, #12b76a, #05603a); }
.member .avatar.a3, .grad-3 { background: linear-gradient(135deg, #7a5af8, #4a1fb8); }
.member .avatar.a4, .grad-4 { background: linear-gradient(135deg, #0b1f3a, #2e4a75); }
.member .body { padding: 16px 16px 18px; }
.member h4 { margin: 0 0 2px; font-size: 16px; line-height: 1.3; }
.member .role { font-size: 13.5px; font-weight: 700; color: var(--primary-700); }
.member .div { font-size: 13px; color: var(--muted); margin-top: 2px; }
.member .tags { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.member .social { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); text-decoration: none; margin-top: 8px; }
.member .social:hover { color: var(--primary-600); }
.member.compact { display: flex; text-align: left; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; }
.member.compact .photo, .member.compact .avatar { width: 64px; height: 64px; border-radius: 14px; flex: none; font-size: 20px; }
.member.compact .body { padding: 0; }

/* ---------- Org chart ---------- */
.org { display: grid; gap: 22px; justify-items: center; }
.org-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.org-node { width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-align: center; box-shadow: var(--shadow); position: relative; }
.org-node.lead { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border: 0; }
.org-node.lead small { color: #ffc58f; }
.org-node b { display: block; font-size: 14.5px; line-height: 1.3; }
.org-node small { display: block; font-size: 12px; font-weight: 700; color: var(--primary-700); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.org-node span { display: block; font-size: 12.5px; color: var(--muted); }
.org-connector { width: 2px; height: 22px; background: #f6b98a; margin: -22px auto 0; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -26px rgba(16, 24, 40, .4); }
.news-card .thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.news-card .ph-empty.thumb { display: grid; }
.news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.news-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-card .meta .ico { width: 14px; height: 14px; }
.news-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }
.news-card p { margin: 0 0 16px; font-size: 14.5px; color: var(--muted); }
.news-card .link-arrow { margin-top: auto; }
.news-feature { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; }
.news-feature .thumb { aspect-ratio: auto; height: 100%; min-height: 320px; }
.news-feature .body { padding: 32px; justify-content: center; }
.news-feature h3 { font-size: 26px; }

.searchbar { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); align-items: center; }
.searchbar input { flex: 1; border: 0; outline: 0; font: 500 15px var(--font); background: transparent; min-width: 0; }
.searchbar .ico { color: #98a2b3; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.article .cover { width: 100%; max-height: 520px; object-fit: cover; }
.article-body { padding: 34px 40px 40px; font-size: 17px; line-height: 1.8; color: #2b3445; }
.article-body h2, .article-body h3, .article-body h4 { color: var(--ink); line-height: 1.3; margin: 28px 0 12px; }
.article-body p { margin: 0 0 18px; }
.article-body img { border-radius: 14px; margin: 18px 0; }
.article-body a { color: var(--primary-600); }
.article-body blockquote { margin: 22px 0; padding: 16px 22px; border-left: 4px solid var(--primary); background: var(--primary-50); border-radius: 0 14px 14px 0; font-weight: 600; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; }
.article-body li { margin-bottom: 6px; }
.article-body pre { background: #0f1728; color: #e4e7ec; padding: 16px; border-radius: 12px; overflow: auto; font-size: 14px; }
.article-body .ql-align-center { text-align: center; }
.article-body .ql-align-right { text-align: right; }
.article-body .ql-align-justify { text-align: justify; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .85); margin-top: 16px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 20px 40px; border-top: 1px solid var(--line); background: #fbfcfe; font-size: 14px; font-weight: 700; }
.share a, .share button { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { color: var(--primary-600); border-color: #ffc58f; }
.side-sticky { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-news a { display: grid; grid-template-columns: 78px 1fr; gap: 12px; text-decoration: none; padding: 10px 0; border-top: 1px dashed var(--line); }
.side-news a:first-of-type { border-top: 0; }
.side-news img, .side-news .ph-empty { width: 78px; height: 64px; border-radius: 10px; object-fit: cover; }
.side-news .ph-empty svg { width: 22px; height: 22px; }
.side-news b { display: block; font-size: 14px; line-height: 1.35; }
.side-news small { color: var(--muted); font-size: 12px; }
.side-news a:hover b { color: var(--primary-600); }

/* ---------- Profil (layout ber-TOC seperti panduan) ---------- */
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 56px; padding-bottom: 80px; }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.toc h6 { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li a { counter-increment: toc; display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 14px; color: var(--muted); font-weight: 500; border-left: 2px solid transparent; }
.toc li a::before { content: counter(toc, decimal-leading-zero); font: 700 11px var(--font); color: #a0a8b8; }
.toc li a:hover { background: #fff; color: var(--ink); }
.toc li a.active { background: #fff; color: var(--primary-600); font-weight: 700; border-left-color: var(--primary); box-shadow: var(--shadow); }
.toc li a.active::before { color: var(--primary); }
.toc-card { margin-top: 18px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; font-size: 13px; }
.toc-card b { display: block; margin-bottom: 4px; }
.toc-card p { margin: 0 0 12px; color: rgba(255, 255, 255, .75); }
section.chapter { padding: 8px 0 60px; }
section.chapter + section.chapter { border-top: 1px dashed #d9dde6; padding-top: 52px; }
.prose { font-size: 16.5px; color: #344054; }
.prose p { margin: 0 0 16px; }

.years-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.year-card { display: block; text-decoration: none; position: relative; overflow: hidden; }
.year-card .y { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--navy-2); }
.year-card .theme { font-weight: 700; margin: 8px 0 4px; line-height: 1.35; }
.year-card .badge-live { position: absolute; top: 16px; right: 16px; }

/* ---------- Contact ---------- */
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.contact-card .avatar-sm, .contact-card .photo-sm { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font: 800 26px var(--font); color: #fff; margin-bottom: 10px; object-fit: cover; box-shadow: 0 0 0 5px var(--primary-50); }
.contact-card .role { font-size: 13px; font-weight: 700; color: var(--primary-700); }
.contact-card .note { font-size: 13.5px; color: var(--muted); margin: 6px 0 14px; }
.contact-card .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: auto; }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item b { display: block; font-size: 14.5px; }
.info-item span, .info-item a { font-size: 14.5px; color: var(--muted); text-decoration: none; }
.info-item a:hover { color: var(--primary-600); }
.map { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: 18px; box-shadow: var(--shadow); background: #e9edf3; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field label span { color: var(--red); }
.field input, .field textarea, .field select { width: 100%; font: 500 15px var(--font); color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid #d0d5dd; background: #fff; outline: 0; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(254, 159, 67, .18); }
.field.err input, .field.err textarea { border-color: #fda29b; }
.field .msg { display: block; color: #d92d20; font-size: 12.5px; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 26px; padding: 44px; color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: radial-gradient(600px 300px at 100% 0%, rgba(255, 140, 60, .6), transparent 60%), linear-gradient(135deg, var(--navy-2), var(--navy)); box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { margin: 6px 0 10px; font-size: 30px; line-height: 1.2; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0 0 22px; }
.cta-band .kicker { color: #ffc58f; }
.cta-contacts { display: grid; gap: 10px; }
.cta-contacts a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); text-decoration: none; transition: background .15s; }
.cta-contacts a:hover { background: rgba(255, 255, 255, .16); }
.cta-contacts .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); font-weight: 800; flex: none; overflow: hidden; }
.cta-contacts .av img { width: 100%; height: 100%; object-fit: cover; }
.cta-contacts b { display: block; font-size: 14.5px; }
.cta-contacts small { color: rgba(255, 255, 255, .7); }
.cta-contacts .go { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #12b76a; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 11px; display: grid; place-items: center; text-decoration: none; font-weight: 700; font-size: 14px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.pagination a:hover { border-color: #ffc58f; color: var(--primary-700); }
.pagination .on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Flash ---------- */
.flash-wrap { position: fixed; top: 86px; right: 20px; z-index: 90; display: grid; gap: 10px; max-width: 380px; }
.flash { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: 14px; animation: slidein .35s ease; }
.flash.success { border-left: 4px solid var(--green); }
.flash.danger { border-left: 4px solid var(--red); }
.flash.info { border-left: 4px solid var(--blue); }
.flash button { margin-left: auto; border: 0; background: none; cursor: pointer; color: #98a2b3; padding: 0; }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
footer.foot { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14.5px; margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.foot h5 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: rgba(255, 255, 255, .72); }
.foot a:hover { color: #fff; }
.foot .brand { color: #fff; margin-bottom: 16px; }
.foot .brand small { color: rgba(255, 255, 255, .6); }
.foot .contact-line { display: flex; gap: 10px; align-items: flex-start; }
.foot .contact-line .ico { margin-top: 3px; color: var(--primary); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.socials a:hover { background: var(--primary); border-color: var(--primary); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.foot-bottom b { color: #fff; }
.foot-bottom .credit { display: inline-flex; align-items: center; gap: 7px; }
.foot-bottom .credit img { width: 22px; height: 22px; border-radius: 6px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 28, .94); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 24px; }
.lb.open { display: flex; animation: fade .2s ease; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb .cap { color: #fff; margin-top: 16px; font-size: 15px; text-align: center; max-width: 900px; }
.lb .cap small { display: block; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.lb button { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: background .15s; }
.lb button:hover { background: rgba(255, 255, 255, .24); }
.lb .close { top: 14px; right: 18px; }
.lb .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb .count { position: absolute; top: 24px; left: 24px; color: rgba(255, 255, 255, .7); font: 700 13px var(--font); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-2); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s; text-decoration: none; }
.to-top.show { opacity: 1; pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Kemitraan ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.partner { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.partner .logo { height: 76px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.partner .logo img { max-width: 78%; max-height: 60px; object-fit: contain; }
.partner .logo .dot-ico { width: 52px; height: 52px; border-radius: 16px; margin: 0; }
.partner .logo .dot-ico .ico { width: 24px; height: 24px; }
.partner h4 { margin: 4px 0 0; font-size: 15.5px; line-height: 1.35; }
.partner p { font-size: 13.5px; }
.partner .meta { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

.marquee { --mq-gap: 16px; position: relative; overflow: hidden; padding: 6px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--mq-duration, 40s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: var(--mq-gap); padding: 0 var(--mq-gap) 0 0; margin: 0; list-style: none; }
.marquee-item { display: flex; align-items: center; gap: 14px; width: 300px; height: 92px; padding: 14px 18px 14px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.marquee-item:hover { border-color: #ffc58f; transform: translateY(-3px); }
.mq-logo { width: 62px; height: 62px; border-radius: 14px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--bg); }
.mq-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; filter: grayscale(.25); transition: filter .2s; }
.marquee-item:hover .mq-logo img { filter: none; }
.mq-logo b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.mq-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mq-text b { font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mq-text small { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marquee.dark .marquee-item { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: none; color: #fff; }
.marquee.dark .marquee-item:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.marquee.dark .mq-text small { color: rgba(255, 255, 255, .7); }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-band { padding: 34px 0 18px; background: #fff; border-bottom: 1px solid var(--line); }
.mq-band .kicker { display: block; margin-bottom: 14px; text-align: center; }

.collab-year { margin-bottom: 34px; }
.collab-year > h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 20px; }
.collab-year > h3 small { font-size: 13px; font-weight: 600; color: var(--muted); }
.collab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.collab { display: flex; flex-direction: column; gap: 8px; }
.collab .when { font-size: 12.5px; font-weight: 700; color: var(--primary-600); }
.collab h4 { margin: 0; }
.with { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.with b { font-weight: 700; color: var(--ink); }
.with .pill { white-space: normal; }

/* ---------- Error ---------- */
.error-box { text-align: center; padding: 100px 0 120px; }
.error-box .code { font-size: clamp(90px, 14vw, 160px); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--navy-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-box h1 { margin: 10px 0 8px; }
.error-box p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .topbar nav a { padding: 8px 9px; font-size: 13.5px; }
}
@media (max-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual .frame { transform: none; }
  .topbar nav { display: none; }
  .topbar .nav-cta { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav { display: block; position: fixed; inset: 70px 0 auto 0; z-index: 55; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 20px 20px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .2s; }
  .mobile-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-nav a { display: block; padding: 12px 10px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--ink); }
  .mobile-nav a.active { color: var(--primary-600); background: var(--primary-50); }
  .mobile-nav .btn { margin-top: 10px; width: 100%; }
  .layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .grid-4, .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-tl::before { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
  .year-summary { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid .ph:nth-child(6) { grid-column: auto; }
}
@media (max-width: 860px) {
  .grid-3, .news-grid, .member-grid.lg, .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collab-list { grid-template-columns: 1fr; }
  .news-feature { grid-column: span 2; grid-template-columns: 1fr; }
  .news-feature .thumb { min-height: 220px; }
  .split, .cta-band { grid-template-columns: 1fr; }
  .month-strip { grid-template-columns: repeat(6, 1fr); row-gap: 14px; }
  .timeline::before { left: 18px; }
  .tl-item, .tl-item.r { width: 100%; margin-left: 0; padding: 0 0 22px 46px; }
  .tl-item::before, .tl-item.r::before { left: 9px; right: auto; }
  .tl-month { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .news-grid, .form-grid, .foot-top, .mini-tl { grid-template-columns: 1fr; }
  .news-feature { grid-column: auto; }
  .member-grid, .member-grid.lg, .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .member .avatar { font-size: 34px; }
  .hero-stats, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .floating.f2 { display: none; }
  .floating.f1 { left: 10px; bottom: -30px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .tl-body { grid-template-columns: 1fr; }
  .tl-date { display: flex; gap: 6px; width: auto; justify-self: start; padding: 5px 12px; align-items: baseline; }
  .tl-date b { font-size: 16px; display: inline; }
  .tl-date em { display: inline; margin: 0; }
  .article-body { padding: 24px 20px; font-size: 16px; }
  .share { padding: 16px 20px; }
  .cta-band { padding: 28px 22px; }
  .chap-head { flex-direction: column; gap: 12px; }
  .lb { padding: 56px 12px 16px; }
  .lb .prev, .lb .next { top: auto; bottom: 16px; transform: none; }
  .flash-wrap { left: 12px; right: 12px; max-width: none; }
  .marquee-item { width: 250px; height: 80px; padding: 10px 14px 10px 10px; }
  .mq-logo { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; }
  .marquee-group[aria-hidden] { display: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .progress, .to-top, .lb, .mobile-nav, .flash-wrap, .toc { display: none !important; }
  .layout { display: block; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
