/* =========================================================
   Portofolio Dosen — minimalist light + bold coral accent
   Fonts: Space Grotesk (display) + Inter (body)
   ========================================================= */

:root {
  --accent: #d6577f;
  --accent-2: #e78ba9;
  --accent-soft: #fbe6ee;
  --ink: #3a2233;
  --ink-2: #6e5361;
  --ink-3: #a58c98;
  --bg: #fdf6f8;
  --surface: #ffffff;
  --line: #f3e3ea;
  --sidebar-w: 320px;
  --radius: 20px;
  --shadow: 0 24px 60px -34px rgba(150, 40, 90, 0.4);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(120% 80% at 100% 0%, #fbe6ee 0%, transparent 42%),
    radial-gradient(90% 70% at 0% 100%, #f7ecf7 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--line);
  z-index: 60;
  overflow-y: auto;
}
.sidebar-inner {
  min-height: 100%;
  padding: 42px 34px 30px;
  display: flex; flex-direction: column;
}

.sb-profile { text-align: center; }
.sb-avatar {
  width: 130px; height: 130px; border-radius: 50%;
  margin: 0 auto 20px; object-fit: cover;
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 2px var(--accent), 0 10px 26px -12px var(--accent);
  background: var(--bg);
}
.sb-name {
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 700; line-height: 1.25;
  letter-spacing: -0.01em;
}
.sb-role {
  color: var(--accent); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px;
}
.sb-affil { color: var(--ink-3); font-size: 0.85rem; margin-top: 6px; }
.sb-loc { color: var(--ink-3); font-size: 0.8rem; margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; }
.sb-loc svg { width: 13px; height: 13px; color: var(--accent); }

.sb-nav { margin-top: 24px; display: flex; flex-direction: column; gap: 1px; }
.sb-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 7px 14px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500; font-size: 0.92rem;
  transition: background .2s, color .2s;
}
.sb-nav a .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line); transition: all .2s;
}
.sb-nav a:hover { background: var(--bg); color: var(--ink); }
.sb-nav a.active { background: var(--ink); color: #fff; }
.sb-nav a.active .dot { background: var(--accent); width: 8px; height: 8px; }

.sb-socials { margin-top: auto; padding-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.sb-socials a {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink-2); transition: all .2s;
}
.sb-socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.sb-socials svg { width: 18px; height: 18px; }

.sb-copy { color: var(--ink-3); font-size: 0.75rem; margin-top: 22px; }

/* ---------- Top bar (mobile) ---------- */
.topbar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  align-items: center; justify-content: space-between;
  padding: 14px 20px; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.topbar-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--accent); }
.menu-toggle { background: none; border: 0; width: 30px; height: 24px; position: relative; }
.menu-toggle span {
  position: absolute; left: 0; height: 2.5px; width: 100%; background: var(--ink);
  border-radius: 2px; transition: transform .3s, opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 2px; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 20px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.sidebar-scrim {
  position: fixed; inset: 0; background: rgba(20,20,20,.4); z-index: 55;
}

/* ---------- Main ---------- */
.main { margin-left: var(--sidebar-w); }
.section { padding: 60px clamp(24px, 6vw, 92px); max-width: 1180px; }
.section + .section { border-top: 1px solid var(--line); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); }

.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 34px;
}

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero.has-bg { background-size: cover; background-position: center right; background-repeat: no-repeat; }
.hero.has-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg,
    rgba(253,246,248,0.98) 0%,
    rgba(253,246,248,0.92) 32%,
    rgba(253,246,248,0.55) 56%,
    rgba(253,246,248,0.12) 80%,
    rgba(253,246,248,0) 100%);
}
.hero > #heroMount { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: 640px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; width: 100%;
}
.hero-greeting {
  font-family: var(--font-display); font-weight: 500; color: var(--ink-3);
  font-size: 1rem; letter-spacing: 0.02em; margin-bottom: 14px;
}
.hero-greeting b { color: var(--accent); font-weight: 700; }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.04; letter-spacing: -0.03em;
}
.hero-title .hl { color: var(--accent); font-style: italic; }
.hero-tagline { color: var(--ink-2); font-size: 1.08rem; margin-top: 22px; max-width: 46ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, #e07aa0 100%); color: #fff; box-shadow: 0 14px 30px -12px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.hero-stats { display: flex; gap: 30px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.1rem; letter-spacing: -0.02em; line-height: 1;
}
.hero-stat .num span { color: var(--accent); }
.hero-stat .lbl { color: var(--ink-3); font-size: 0.85rem; margin-top: 6px; }

.hero-portrait { position: relative; }
.hero-portrait::before {
  content: ""; position: absolute; inset: -14px -14px 24px 24px;
  border: 2px solid var(--accent); border-radius: 24px; z-index: 0;
}
.hero-portrait img {
  position: relative; z-index: 1; width: 100%; height: auto; border-radius: 22px;
  object-fit: contain; box-shadow: var(--shadow);
}

/* ---------- About ---------- */
.about-body { max-width: 62ch; }
.about-body p { color: var(--ink-2); margin-bottom: 18px; font-size: 1.05rem; text-align: justify; }

/* ---------- Expertise cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-index { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 0.9rem; }
.card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin: 12px 0 10px; }
.card p { color: var(--ink-2); font-size: 0.96rem; }

/* ---------- Timeline (education / experience) ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--accent);
}
.tl-period { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 0.82rem; letter-spacing: 0.04em; }
.tl-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 6px 0 2px; }
.tl-org { color: var(--ink-2); font-weight: 500; }
.tl-detail { color: var(--ink-3); font-size: 0.94rem; margin-top: 6px; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.pf-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pf-thumb { aspect-ratio: 3/2; overflow: hidden; background: var(--ink); }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pf-card:hover .pf-thumb img { transform: scale(1.06); }
.pf-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pf-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--ink-3); margin-bottom: 10px; }
.pf-tag { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.pf-body h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.pf-body p { color: var(--ink-2); font-size: 0.93rem; margin-bottom: 16px; flex: 1; }
.pf-link { font-weight: 600; color: var(--accent); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.pf-link svg { width: 15px; height: 15px; }

/* ---------- Publications ---------- */
.track-wrap {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 4vw, 40px); margin-bottom: 40px; box-shadow: var(--shadow);
}
.track-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: -0.01em; margin-bottom: 22px; text-align: center;
}
.track-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.track-card {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 20px; text-align: center; overflow: hidden;
}
.track-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.track-ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px;
}
.track-ico svg { width: 26px; height: 26px; }
.track-num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.track-lbl { color: var(--ink-3); font-size: 0.9rem; margin-top: 8px; font-weight: 500; }
.track-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.pub-list { display: flex; flex-direction: column; }.pub-item {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.pub-item:last-child { border-bottom: 1px solid var(--line); }
.pub-year { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1.05rem; }
.pub-main h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.pub-venue { color: var(--ink-3); font-size: 0.9rem; margin-top: 4px; }
.pub-go { color: var(--ink-3); transition: color .2s; }
.pub-item:hover .pub-go { color: var(--accent); }
.pub-go svg { width: 18px; height: 18px; }

/* ---------- Contact ---------- */
.contact-wrap {
  background: var(--ink); color: #fff; border-radius: 28px;
  padding: clamp(34px, 6vw, 68px); position: relative; overflow: hidden;
}
.contact-wrap::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: .5;
}
.contact-wrap .kicker { color: var(--accent); }
.contact-wrap .section-title { color: #fff; margin-bottom: 14px; }
.contact-sub { color: rgba(255,255,255,.72); max-width: 50ch; font-size: 1.05rem; }
.contact-list { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 34px; position: relative; z-index: 1; }
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-item svg { width: 20px; height: 20px; color: var(--accent); }
.contact-item a, .contact-item span { color: #fff; font-weight: 500; }
.contact-cta { margin-top: 34px; position: relative; z-index: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait { max-width: 380px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --sidebar-w: 300px; }
  .topbar { display: flex; }
  .sidebar {
    transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 0 60px rgba(0,0,0,.2);
  }
  body.menu-open .sidebar { transform: translateX(0); }
  .main { margin-left: 0; padding-top: 56px; }
  .section { padding: 48px 24px; }
  .hero { min-height: calc(100vh - 56px); }
  .hero.has-bg { background-position: center; }
  .hero.has-bg::before {
    background: linear-gradient(to bottom, rgba(253,246,248,0.9) 0%, rgba(253,246,248,0.82) 50%, rgba(253,246,248,0.9) 100%);
  }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .pub-item { grid-template-columns: 50px 1fr; }
  .pub-go { display: none; }
  .hero-stats { gap: 22px; }
  .track-stats { grid-template-columns: 1fr; }
}

@media (min-width: 861px) {
  .sidebar-scrim { display: none !important; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Articles (home teaser) ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ac-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--accent-soft); }
.ac-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .ac-thumb img { transform: scale(1.06); }
.ac-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.ac-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--ink-3); margin-bottom: 10px; }
.ac-cat { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ac-body h2, .ac-body h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; line-height: 1.25; margin-bottom: 8px; }
.ac-body p { color: var(--ink-2); font-size: 0.94rem; margin-bottom: 16px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-more { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.articles-cta { margin-top: 30px; }

/* ---------- Writing / reader pages ---------- */
.page-writing .writing-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px); background: rgba(253,246,248,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.back-home { font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.back-home:hover { color: var(--accent); }
.writing-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }

.writing-main { max-width: 1080px; margin: 0 auto; padding: 56px clamp(20px, 5vw, 48px) 100px; }
.writing-head { text-align: center; margin-bottom: 40px; }
.writing-head .kicker { justify-content: center; }
.writing-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
.writing-sub { color: var(--ink-2); margin-top: 10px; font-size: 1.05rem; }

.writing-controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.writing-search {
  flex: 1; min-width: 220px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-family: inherit; font-size: 0.95rem; background: var(--surface); color: var(--ink);
}
.writing-search:focus { outline: 2px solid var(--accent); }
.writing-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 0.85rem; transition: all .2s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.empty-note { text-align: center; color: var(--ink-3); padding: 60px 20px; font-size: 1rem; }

.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 50; transition: width .1s; }

/* Reader */
.reader { max-width: 760px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 40px) 100px; }
.reader-head { text-align: center; margin-bottom: 28px; }
.reader-cat { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.reader-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; margin: 14px 0 12px; }
.reader-meta { color: var(--ink-3); font-size: 0.9rem; }
.reader-cover { border-radius: 20px; overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); }
.reader-cover img { width: 100%; display: block; }

.prose { color: var(--ink); font-size: 1.1rem; line-height: 1.8; }
.prose p { margin: 0 0 1.3em; text-align: justify; }
.prose h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin: 1.6em 0 .5em; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.5em 0; padding: 14px 24px; border-left: 4px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 12px 12px 0; font-style: italic; color: var(--ink-2);
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; margin: 1.2em 0; }

.reader-footer { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.byline { display: flex; align-items: center; gap: 14px; }
.byline-badge { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--accent-soft);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.byline-badge img { width: 100%; height: 100%; object-fit: cover; }
.byline-who { display: flex; flex-direction: column; }
.byline-who b { font-family: var(--font-display); }
.byline-who span { color: var(--ink-3); font-size: 0.88rem; }

@media (max-width: 900px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------- Decorative graphics ---------- */
/* Soft ambient gradient orbs drifting behind the whole page */
body::before {
  content: ""; position: fixed; inset: -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 12% 22%, rgba(214, 87, 127, 0.16), transparent 72%),
    radial-gradient(closest-side at 88% 64%, rgba(160, 120, 210, 0.13), transparent 72%),
    radial-gradient(closest-side at 66% 10%, rgba(255, 176, 138, 0.12), transparent 72%);
  filter: blur(14px);
  animation: ambientDrift 28s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -3%, 0) scale(1.08); }
}

/* Elegant ornament centered on each section divider */
.section { position: relative; }
.section > div { position: relative; z-index: 1; }
.section + .section::after {
  content: ""; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px; border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px var(--bg), 0 6px 14px -4px var(--accent);
}

/* Decorative floating blooms in a few sections */
#tentang::before, #kontak::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 87, 127, 0.10), transparent 70%);
  z-index: 0; pointer-events: none;
}
#tentang::before { top: -80px; right: -60px; }
#kontak::before { bottom: -120px; left: -80px; }

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}
