/* ==========================================================================
   Ansoku Sanctuary — stylesheet
   Palet: warm beige, soft linen, muted stone, soft charcoal, aksen emas & sage.
   ========================================================================== */

:root {
  --cream: #f8f3ea;
  --cream-2: #fbf7f0;
  --linen: #efe7d8;
  --sand: #e4d8c4;
  --stone: #8c8377;
  --ink: #2c2a26;
  --ink-soft: #4a453c;
  --muted: #6b6459;
  --gold: #b98a3c;
  --gold-deep: #7d5a22;
  --gold-light: #dcc08a;
  --sage: #7a8b72;
  --sage-deep: #55654f;
  --card: rgba(255, 252, 245, 0.68);
  --card-strong: rgba(255, 253, 248, 0.86);
  --line: rgba(120, 104, 80, 0.16);
  --line-strong: rgba(120, 104, 80, 0.28);
  --shadow-sm: 0 10px 24px -18px rgba(64, 50, 28, 0.45);
  --shadow: 0 22px 48px -30px rgba(64, 50, 28, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --radius: 22px;
  --radius-sm: 14px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --player-h: 92px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  background-color: var(--cream);
  background-image:
    radial-gradient(1100px 620px at 12% -12%, rgba(255, 251, 240, 0.95), transparent 70%),
    radial-gradient(900px 520px at 92% -6%, rgba(233, 219, 196, 0.75), transparent 68%),
    radial-gradient(760px 620px at 78% 88%, rgba(196, 208, 190, 0.34), transparent 70%),
    radial-gradient(700px 520px at 6% 96%, rgba(226, 205, 172, 0.38), transparent 70%),
    linear-gradient(180deg, #f9f4eb 0%, #f4eee3 58%, #f2ece1 100%);
  background-attachment: fixed;
  padding-bottom: calc(var(--player-h) + 28px);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: clamp(1.18rem, 2.2vw, 1.4rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

strong { color: var(--ink); font-weight: 600; }

small { font-size: 0.84rem; }

:focus-visible {
  outline: 3px solid #8a6425;
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream-2);
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 180ms ease;
}
.skip-link:focus { top: 14px; color: var(--cream-2); }

/* --------------------------------------------------------------- Layout --- */

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.wrap-narrow { width: min(760px, calc(100% - 2.5rem)); margin-inline: auto; }

main { display: block; padding-block: 2.4rem 1rem; }

/* Atribut hidden harus selalu menang atas display milik komponen (.btn, .card, dll). */
[hidden] { display: none !important; }

.view[hidden] { display: none !important; }
.view.is-active { animation: viewIn 520ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.stack > * + * { margin-top: 1.35rem; }
.stack-lg > * + * { margin-top: 2.5rem; }

.section-gap { margin-top: clamp(2.2rem, 5vw, 3.6rem); }

/* ---------------------------------------------------------------- Header --- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(249, 244, 235, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav { min-width: 0; }
.nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.nav ul::-webkit-scrollbar { display: none; }
.nav a {
  scroll-snap-align: start;
  display: inline-block;
  white-space: nowrap;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.nav a:hover { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.nav a[aria-current="page"] {
  background: rgba(185, 138, 60, 0.12);
  border-color: rgba(185, 138, 60, 0.3);
  color: var(--gold-deep);
  font-weight: 600;
}

/* ------------------------------------------------------------------ Hero --- */

.hero {
  position: relative;
  text-align: center;
  padding-block: clamp(2rem, 6vw, 3.8rem) clamp(1.6rem, 5vw, 3rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 12% 40%;
  background: radial-gradient(closest-side, rgba(216, 184, 126, 0.32), transparent 78%);
  filter: blur(12px);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-logo {
  width: clamp(120px, 22vw, 168px);
  height: auto;
  margin: 0 auto 1.2rem;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(150, 111, 43, 0.22));
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}
.hero h1 { margin-bottom: 0.25em; }
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2.6vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--gold-deep);
  max-width: 32ch;
  margin: 0 auto 1.1rem;
  text-wrap: balance;
}
.hero-tagline::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(150, 111, 43, 0.45), transparent);
}
.hero-lede {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

/* ------------------------------------------------------- Perkenalan pendiri --- */

.founder {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 1.6rem);
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 253, 247, 0.9), rgba(246, 238, 226, 0.6));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px) saturate(118%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
}
.founder-mark { flex: 0 0 auto; }
.founder-logo {
  width: clamp(58px, 10vw, 74px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(150, 111, 43, 0.18));
}
.founder-body { min-width: 0; }
.founder-body .eyebrow { margin-bottom: 0.5rem; font-size: 0.66rem; letter-spacing: 0.22em; }
.founder-body .eyebrow::before,
.founder-body .eyebrow::after { width: 18px; }
.founder h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  margin-bottom: 0.2em;
}
.founder-role {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}
.founder .note { max-width: 58ch; margin-bottom: 0.85rem; }
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  min-height: 40px;
}
.founder-link svg { transition: transform 180ms ease; }
.founder-link:hover { color: var(--ink); }
.founder-link:hover svg { transform: translateX(3px); }

/* Poin praktik profesional */
.practice-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
  gap: 12px 20px;
}
.practice-points li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.practice-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(122, 139, 114, 0.18);
  border: 1.5px solid var(--sage-deep);
}
.practice-points strong { color: var(--ink); }

/* Halaman Tentang */
.about-hero {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 2.2rem);
  padding-block: clamp(0.5rem, 2vw, 1.5rem) 0;
}
.about-mark { flex: 0 0 auto; }
.about-logo {
  width: clamp(84px, 16vw, 124px);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(150, 111, 43, 0.2));
}
.about-intro h1 { margin-bottom: 0.35em; }
.about-role {
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  color: var(--gold-deep);
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}
.credential-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.credential-chips li {
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage-deep);
  background: rgba(196, 208, 190, 0.28);
  border: 1px solid rgba(122, 139, 114, 0.32);
}
.about-story p { max-width: 66ch; }
.about-signature {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: var(--gold-deep);
}

@media (max-width: 640px) {
  .founder { flex-direction: column; gap: 0.9rem; }
  .about-hero { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .about-intro h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
}

/* ------------------------------------------------------------------ Cards --- */

.card {
  position: relative;
  background:
    linear-gradient(158deg, rgba(255, 253, 247, 0.9), rgba(248, 241, 230, 0.62));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(118%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.card-quiet {
  background: rgba(255, 253, 248, 0.52);
  box-shadow: var(--shadow-sm);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
}
@media (min-width: 1080px) {
  .grid-cards:has(> :nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 260ms ease, border-color 260ms ease;
}
.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(185, 138, 60, 0.34);
  box-shadow: 0 28px 54px -32px rgba(64, 50, 28, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: inherit;
}
.quick-card h2 { font-size: 1.42rem; margin-bottom: 0.15em; }
.quick-card p { color: var(--muted); font-size: 0.95rem; }
.quick-card .card-foot {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.card-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(220, 192, 138, 0.34), rgba(255, 253, 247, 0.7));
  border: 1px solid rgba(185, 138, 60, 0.22);
  color: var(--gold-deep);
}

/* Badges & pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.badge--open {
  color: var(--sage-deep);
  background: rgba(122, 139, 114, 0.16);
  border-color: rgba(85, 101, 79, 0.28);
}
.badge--open .dot { box-shadow: 0 0 0 4px rgba(122, 139, 114, 0.2); animation: pulse 3.2s ease-in-out infinite; }
.badge--rest {
  color: #765426;
  background: rgba(196, 166, 112, 0.22);
  border-color: rgba(150, 111, 43, 0.26);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(122, 139, 114, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(122, 139, 114, 0.05); }
}

/* -------------------------------------------------------------- Sections --- */

.section-head { max-width: 62ch; margin-bottom: 1.6rem; }
.section-head p { color: var(--muted); }

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin-block: clamp(2rem, 5vw, 3rem);
}

blockquote {
  margin: 0;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--gold-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(239, 231, 216, 0.5);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.75;
}
blockquote footer {
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ----------------------------------------------------------------- Forms --- */

.field { display: block; margin-bottom: 1.15rem; }
.field > .label,
.field-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field-hint { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }

input[type="text"],
input[type="search"],
textarea,
select {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  min-height: 46px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
input[type="text"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(185, 138, 60, 0.18);
}
input::placeholder, textarea::placeholder { color: #a49b8c; }

/* Choice chips (radio) */
.choice-set {
  display: grid;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0 0 1.2rem;
}
.choice-set legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
  margin-bottom: 0.55rem;
}
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--ink-soft);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.choice:hover { border-color: rgba(185, 138, 60, 0.45); background: rgba(255, 253, 247, 0.85); }
.choice input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-content: center;
  transition: border-color 160ms ease;
}
.choice input::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 160ms ease;
  background: var(--gold-deep);
}
.choice input:checked { border-color: var(--gold-deep); }
.choice input:checked::after { transform: scale(1); }
.choice:has(input:checked) {
  border-color: rgba(185, 138, 60, 0.6);
  background: linear-gradient(150deg, rgba(233, 216, 184, 0.45), rgba(255, 253, 247, 0.9));
  box-shadow: 0 10px 22px -18px rgba(120, 90, 40, 0.6);
}
.choice input:focus-visible { outline: 3px solid #8a6425; outline-offset: 3px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row .choice { flex: 1 1 168px; }

.choice-skip { margin: 0.15rem 0 0; }
.choice-skip .btn-quiet {
  padding-inline: 0;
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(150, 112, 43, 0.4);
  text-underline-offset: 3px;
}
.choice-skip .btn-quiet:hover { background: transparent; text-decoration-color: var(--gold-deep); }

/* Buttons */
.btn {
  --btn-bg: linear-gradient(150deg, #c19347, #96702b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: #fffaf0;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 26px -18px rgba(120, 90, 40, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); color: #fffaf0; }
.btn:active { transform: translateY(0); }
.btn[disabled] { cursor: not-allowed; opacity: 0.55; transform: none; filter: grayscale(0.15); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.92); color: var(--ink); border-color: rgba(185, 138, 60, 0.5); }

.btn-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  box-shadow: none;
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  font-weight: 500;
}
.btn-quiet:hover { background: rgba(185, 138, 60, 0.1); color: var(--gold-deep); }

.btn-sm { min-height: 38px; padding: 0.42rem 0.95rem; font-size: 0.84rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.visually-hidden-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* -------------------------------------------------------------- Messages --- */

.status-line {
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 1.4rem;
}
.status-line[data-tone="ok"] { color: var(--sage-deep); }
.status-line[data-tone="warn"] { color: #8a5a2a; }
.status-line[data-tone="error"] { color: #9a4230; }

.note {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}
.note-soft {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 231, 216, 0.5);
  border: 1px solid var(--line);
}

details.disclosure {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  margin-top: 1.2rem;
  font-size: 0.86rem;
  color: var(--muted);
}
details.disclosure summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-soft);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 32px;
}
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.8rem;
  line-height: 1;
  color: var(--gold-deep);
}
details.disclosure[open] summary::before { content: "−"; }
details.disclosure p { margin-top: 0.6rem; }

/* ------------------------------------------------------------ Portal view --- */

.portal-status { display: grid; gap: 1.1rem; }
.portal-status .status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.portal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.portal-meta span strong { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* Pengingat portal dibuka */
.ingat-wrap { display: grid; gap: 0.5rem; justify-items: start; }
.ingat-status { margin: 0; font-size: 0.84rem; line-height: 1.6; }

/* Pemberitahuan pengingat (toast), tampil di semua ruang */
.ingat-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--player-h) + 16px);
  transform: translateX(-50%);
  z-index: 95;
  width: min(620px, calc(100% - 2rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(185, 138, 60, 0.42);
  box-shadow: 0 22px 44px -26px rgba(64, 50, 28, 0.55);
  /* Animasi hanya opacity: keyframe viewIn memakai transform dan akan
     menimpa translateX(-50%) sehingga toast bergeser keluar layar. */
  animation: ingatIn 320ms ease both;
}
@keyframes ingatIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ingat-toast-body { flex: 1 1 260px; min-width: 0; }
.ingat-toast-body strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.3;
}
.ingat-toast-body p { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.ingat-toast-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

/* Undangan Sesi Healing Online (Google Meet) — hanya hari Senin */
.meet-card {
  display: grid;
  gap: 1rem;
  border-color: rgba(185, 138, 60, 0.36);
  background:
    linear-gradient(150deg, rgba(233, 216, 184, 0.5), rgba(255, 253, 247, 0.82));
}
.meet-head { display: grid; gap: 0.35rem; }
.meet-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(220, 192, 138, 0.32);
  border: 1px solid rgba(185, 138, 60, 0.34);
}
.meet-card h2 { font-size: 1.4rem; margin: 0; }
.meet-when {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gold-deep);
  font-weight: 500;
}
.meet-body { margin: 0; max-width: 68ch; color: var(--ink-soft); font-size: 0.94rem; }

/* Hitung mundur sesi online */
.meet-count {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(185, 138, 60, 0.3);
}
.meet-count-value {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.meet-count-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gold-deep);
}
.meet-card[data-batal="1"] .meet-count {
  border-color: rgba(120, 104, 80, 0.24);
  background: rgba(239, 231, 216, 0.55);
}
.meet-card[data-batal="1"] .meet-count-label { color: var(--muted); }

/* Tautan kecil dari portal jarak jauh ke halaman sesi online */
.meet-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.meet-hint:hover,
.meet-hint:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(185, 138, 60, 0.4);
  color: inherit;
  box-shadow: 0 24px 48px -32px rgba(64, 50, 28, 0.5);
}
.meet-hint-body { flex: 1 1 auto; min-width: 0; display: grid; gap: 0.15rem; }
.meet-hint-body strong { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; color: var(--ink); }
.meet-hint-body span { font-size: 0.88rem; color: var(--muted); }
.meet-hint-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Undangan yang dibatalkan: nada tenang, bukan peringatan. */
.meet-card[data-batal="1"] {
  border-color: rgba(120, 104, 80, 0.22);
  background: linear-gradient(150deg, rgba(239, 231, 216, 0.55), rgba(255, 253, 247, 0.86));
}
.meet-card[data-batal="1"] .meet-badge {
  color: var(--muted);
  background: rgba(239, 231, 216, 0.6);
  border-color: rgba(120, 104, 80, 0.24);
}
.meet-card[data-batal="1"] .meet-when { color: var(--muted); }

/* Banner kecil di beranda */
.meet-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(140deg, rgba(233, 216, 184, 0.62), rgba(255, 253, 247, 0.9));
  border: 1px solid rgba(185, 138, 60, 0.36);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, transform 180ms ease;
}
.meet-banner:hover { border-color: rgba(185, 138, 60, 0.65); transform: translateY(-1px); color: var(--ink); }
.meet-banner[data-batal="1"] {
  border-color: rgba(120, 104, 80, 0.24);
  background: linear-gradient(140deg, rgba(239, 231, 216, 0.5), rgba(255, 253, 247, 0.9));
}
.meet-banner[data-batal="1"] .meet-banner-dot {
  background: radial-gradient(circle at 40% 35%, #f4efe4, #b8ae9c 65%, #8c8377 100%);
  box-shadow: 0 0 0 4px rgba(140, 131, 119, 0.16);
}
.meet-banner-dot {
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff6dd, #c9a267 65%, #96702b 100%);
  box-shadow: 0 0 0 4px rgba(202, 176, 122, 0.2);
}
.meet-banner-text { flex: 1 1 auto; min-width: 0; display: grid; gap: 0.1rem; }
.meet-banner-text strong { font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; }
.meet-banner-text span { font-size: 0.84rem; color: var(--muted); }
.meet-banner-cta {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Kalimat kehadiran (angka peserta sengaja tidak ditampilkan) */
.presence {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(140deg, rgba(196, 208, 190, 0.26), rgba(255, 253, 247, 0.6));
  border: 1px solid rgba(122, 139, 114, 0.24);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.presence-orb {
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff6dd, #c9a267 65%, #96702b 100%);
  box-shadow: 0 0 0 4px rgba(202, 176, 122, 0.18);
}

/* Daftar orang lain yang disertakan dalam doa */
.jiwa-set { margin-top: 0.4rem; }
.legend-optional { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.jiwa-list { display: grid; gap: 10px; margin-top: 0.4rem; }
.jiwa-list:empty { display: none; }
.jiwa-row {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  animation: viewIn 320ms ease both;
}
.jiwa-field { flex: 1 1 auto; min-width: 0; }
.jiwa-caption {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.jiwa-field input[type="text"] { min-height: 40px; padding: 0.5rem 0.7rem; }
.jiwa-remove { flex: 0 0 auto; color: #8a5233; }
.jiwa-remove:hover { background: rgba(154, 66, 48, 0.1); color: #7d3f28; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: start;
}

/* Timer */
.timer-wrap { display: grid; justify-items: center; gap: 0.4rem; padding-block: 0.6rem 0.2rem; }
.timer-ring { width: min(260px, 74vw); height: auto; transform: rotate(-90deg); }
.timer-ring .track { fill: none; stroke: rgba(120, 104, 80, 0.14); stroke-width: 8; }
.timer-ring .progress {
  fill: none;
  stroke: url(#timerGradient);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 900ms linear;
}
.timer-face { text-align: center; margin-top: -0.2rem; }
.timer-display {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.timer-caption { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.callin-block { margin-top: 1.2rem; }
.callin-block blockquote { font-size: 1.05rem; }
.guide-list {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.guide-list li { margin-bottom: 0.45rem; }
.guide-list li::marker { color: var(--gold); }

.completion {
  text-align: center;
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.completion .glow {
  width: 76px; height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: radial-gradient(closest-side, rgba(220, 192, 138, 0.7), rgba(255, 253, 247, 0.2));
  border: 1px solid rgba(185, 138, 60, 0.35);
}

/* ----------------------------------------------------------- Reflection --- */

.draw-stage {
  display: grid;
  place-items: center;
  padding-block: clamp(1rem, 3vw, 2rem);
}
.card-back {
  position: relative;
  width: min(280px, 74vw);
  aspect-ratio: 3 / 4.4;
  border-radius: 20px;
  border: 1px solid rgba(185, 138, 60, 0.35);
  background:
    radial-gradient(circle at 50% 34%, rgba(220, 192, 138, 0.5), transparent 46%),
    repeating-linear-gradient(115deg, rgba(120, 104, 80, 0.7) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, #f3e9d7, #e6d9c1);
  box-shadow: 0 26px 50px -30px rgba(64, 50, 28, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 500ms ease;
}
.card-back::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 253, 247, 0.55);
}
.card-back .orb {
  width: 42%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #fff6dd, #dcb268 58%, #b98a3c 100%);
  box-shadow: 0 0 44px rgba(220, 178, 104, 0.65);
}
.card-back.is-drawing { animation: drawShimmer 2s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes drawShimmer {
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  35% { transform: translateY(-10px) rotate(-2.5deg) scale(0.985); }
  70% { transform: translateY(6px) rotate(2deg) scale(1.01); opacity: 0.75; }
  100% { transform: translateY(0) rotate(0) scale(0.96); opacity: 0.2; }
}

.hexagram-card { display: grid; gap: 1.4rem; }
.hexagram-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.hex-glyph {
  width: 88px;
  height: 108px;
  flex: 0 0 auto;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(239, 231, 216, 0.9), rgba(255, 253, 247, 0.7));
  border: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 6px;
}
.hex-glyph .line { height: 6px; display: flex; gap: 7px; }
.hex-glyph .line i { flex: 1; border-radius: 3px; background: #b9a480; }
.hex-glyph .line.broken i:first-child,
.hex-glyph .line.broken i:last-child { flex: 1; }
.hex-glyph .line.broken { justify-content: space-between; }
.hex-glyph .line.broken::after { content: ""; width: 0; }

.hex-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.hex-title { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: 0.25rem; }
.hex-hanzi { font-size: 1.5rem; color: var(--stone); letter-spacing: 0.08em; }
.hex-archetype {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.hex-archetype strong { color: var(--gold-deep); }

.question-list { counter-reset: q; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.question-list li {
  position: relative;
  padding: 0.95rem 1.1rem 0.95rem 3rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.65;
}
.question-list li::before {
  counter-increment: q;
  content: counter(q);
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--gold-deep);
  background: rgba(220, 192, 138, 0.28);
  border: 1px solid rgba(185, 138, 60, 0.3);
}
.question-list .q-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

/* ------------------------------------------------------- Kebaikan Indonesia -- */

/* Narasi pembuka — dibaca seperti surat, bukan seperti pengumuman */
.narrative { max-width: 66ch; }
.narrative p {
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 1.05em;
  font-size: 0.99rem;
}
.narrative .narrative-lead {
  font-size: clamp(1.02rem, 2.2vw, 1.12rem);
  color: var(--ink);
}
.narrative-closing {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  max-width: 68ch;
  line-height: 1.85;
}

/* Tautan lanjutan setelah melimpahkan */
.reflection-links {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.reflection-links li {
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
}
.reflection-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--gold-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 28px;
}
.reflection-links a::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 180ms ease;
}
.reflection-links a:hover { color: var(--ink); }
.reflection-links a:hover::after { transform: translateX(3px); }
.reflection-links span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 720px) {
  .narrative p { font-size: 0.96rem; }
}


.kindness-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 12px 20px;
}
.kindness-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.kindness-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff6dd, #cfa863 70%, #a97c33);
  box-shadow: 0 0 0 3px rgba(202, 176, 122, 0.18);
}
.kindness-more {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.94rem;
  color: var(--muted);
}

.prayer-lead {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 62ch;
}
.prayer {
  font-size: clamp(1.1rem, 2.4vw, 1.32rem);
  line-height: 1.8;
  text-align: center;
  padding: 1.6rem 1.4rem;
  border-left: 0;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(closest-side at 50% 0%, rgba(220, 192, 138, 0.3), transparent 76%),
    rgba(239, 231, 216, 0.45);
  border: 1px solid rgba(185, 138, 60, 0.22);
}

.kindness-action {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
  text-align: center;
}
.btn-lg {
  min-height: 56px;
  padding: 0.95rem 1.9rem;
  font-size: 1rem;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  max-width: 34ch;
}
.btn-lg[disabled] { opacity: 0.72; }

.kindness-counter {
  margin-top: 1.8rem;
  padding: clamp(1.4rem, 4vw, 2.2rem) 1.2rem;
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(closest-side at 50% 10%, rgba(220, 192, 138, 0.34), transparent 78%),
    linear-gradient(160deg, rgba(255, 253, 247, 0.9), rgba(246, 238, 226, 0.62));
  border: 1px solid var(--line);
}
.kindness-number {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 9vw, 4.4rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.kindness-unit {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.kindness-meta {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.kindness-dot { margin-inline: 0.5rem; color: var(--line-strong); }
.kindness-today {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Kartu refleksi: seni orisinal + narasi */
.reflection-card {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: start;
}
.card-art {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 44px -32px rgba(64, 50, 28, 0.55);
  background: linear-gradient(160deg, #f3e9d7, #e6d9c1);
  aspect-ratio: 320 / 420;
}
.card-art svg { display: block; width: 100%; height: 100%; }
.reflection-title {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  margin-bottom: 0.2em;
}
.reflection-theme {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.reflection-narrative p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 0.9em;
}
.reflection-narrative p:last-child { margin-bottom: 0; }
.hexagram-card { display: grid; gap: 1.5rem; }

@media (max-width: 860px) {
  .reflection-card { grid-template-columns: 1fr; }
  .card-art { max-width: 300px; margin-inline: auto; }
}

/* Lima pasangan pertanyaan & jawaban refleksi */
.qa-list { display: grid; gap: 18px; }
.qa-item {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
}
.qa-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  cursor: pointer;
}
.qa-num {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--gold-deep);
  background: rgba(220, 192, 138, 0.28);
  border: 1px solid rgba(185, 138, 60, 0.3);
  margin-top: 1px;
}
.qa-answer { min-height: 84px; }

@media (max-width: 720px) {
  .qa-item { padding: 0.85rem 0.9rem 0.95rem; }
  .qa-label { font-size: 0.92rem; }
}

/* Batas satu kartu per hari */
.card-limit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.2rem auto 0;
  max-width: 46ch;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 231, 216, 0.55);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-align: left;
}
.card-limit[data-drawn="1"] {
  background: linear-gradient(140deg, rgba(220, 192, 138, 0.28), rgba(255, 253, 247, 0.7));
  border-color: rgba(185, 138, 60, 0.32);
}
.card-limit-mark { color: var(--gold-deep); font-size: 1rem; line-height: 1; }
.card-limit strong { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- Journal --- */

.journal-grid { display: grid; gap: 18px; }
.journal-hint { margin: 0; max-width: 62ch; }
.journal-q { display: grid; gap: 0.5rem; }
.journal-q .q-label { display: flex; gap: 0.7rem; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
.journal-q .q-num {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  color: var(--gold-deep);
  background: rgba(220, 192, 138, 0.28);
  border: 1px solid rgba(185, 138, 60, 0.3);
  font-size: 0.88rem;
}

.history-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.history-item {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
}
.history-item header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.history-item h3 { font-size: 1.05rem; margin: 0; }
.history-date { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); }
.history-body { font-size: 0.9rem; color: var(--ink-soft); white-space: pre-wrap; }
.history-actions { margin-top: 0.6rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.empty-state {
  padding: 1.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}

/* Jurnal Somatik: judul keadaan & subjudul */
.journal-title {
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}
.journal-subtitle {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--sans);
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}
.journal-note {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 231, 216, 0.5);
  border: 1px solid var(--line);
  margin-bottom: 1.1rem;
  max-width: 68ch;
}

/* ---------------------------------------------------------------- Player --- */

.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(250, 246, 237, 0.9);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -18px 40px -32px rgba(64, 50, 28, 0.55);
  padding-bottom: env(safe-area-inset-bottom);
}
.player-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--player-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.8rem;
}
.player-id { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.player-disc {
  position: relative;
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #fff6dd, #d9b06a 60%, #a97c33 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.55), 0 8px 18px -12px rgba(120, 90, 40, 0.9);
}
.player-disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 253, 247, 0.5);
  opacity: 0;
}
.player.is-playing .player-disc { animation: discPulse 6s linear infinite; }
.player.is-playing .player-disc::after { opacity: 1; animation: spin 14s linear infinite; }
@keyframes discPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.55), 0 8px 18px -12px rgba(120, 90, 40, 0.9), 0 0 0 0 rgba(220, 178, 104, 0.4); }
  50% { box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.55), 0 8px 18px -12px rgba(120, 90, 40, 0.9), 0 0 0 9px rgba(220, 178, 104, 0.03); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.player-meta { min-width: 0; }
.player-title {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-sub {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-controls { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }
.player-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.player-btn:hover { background: #fff; border-color: rgba(185, 138, 60, 0.5); transform: translateY(-1px); }
.player-btn svg { width: 20px; height: 20px; fill: currentColor; }
.player-btn--main {
  width: 54px; height: 54px;
  background: linear-gradient(150deg, #c19347, #96702b);
  border-color: transparent;
  color: #fffaf0;
  box-shadow: 0 14px 26px -18px rgba(120, 90, 40, 0.9);
}
.player-btn--main:hover { background: linear-gradient(150deg, #caa055, #a17a31); color: #fffaf0; }
.player-btn[aria-pressed="true"] { background: rgba(185, 138, 60, 0.16); border-color: rgba(185, 138, 60, 0.45); color: var(--gold-deep); }

.volume-wrap { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.music-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem 0.3rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  color: var(--ink-soft);
  cursor: pointer;
  min-height: 34px;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.music-toggle:hover { background: #fff; border-color: rgba(185, 138, 60, 0.5); }
.music-toggle input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 30px;
  height: 17px;
  margin: 0;
  border-radius: 999px;
  background: rgba(120, 104, 80, 0.28);
  cursor: pointer;
  transition: background 180ms ease;
  flex: 0 0 auto;
}
.music-toggle input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fffdf7;
  box-shadow: 0 1px 3px rgba(64, 50, 28, 0.35);
  transition: transform 180ms ease;
}
.music-toggle input:checked { background: var(--gold-deep); }
.music-toggle input:checked::after { transform: translateX(13px); }
.music-toggle input:focus-visible { outline: 3px solid #8a6425; outline-offset: 3px; }
.music-toggle:has(input:checked) { color: var(--ink); border-color: rgba(185, 138, 60, 0.42); }

.volume-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: clamp(80px, 14vw, 132px);
  height: 22px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
.volume-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-deep) var(--vol, 55%), rgba(120, 104, 80, 0.22) var(--vol, 55%));
}
.volume-wrap input[type="range"]::-moz-range-track {
  height: 4px; border-radius: 2px; background: rgba(120, 104, 80, 0.22);
}
.volume-wrap input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--gold-deep); }
.volume-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: #fdfaf3;
  border: 1.5px solid var(--gold-deep);
  box-shadow: 0 2px 6px rgba(64, 50, 28, 0.3);
}
.volume-wrap input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%;
  background: #fdfaf3; border: 1.5px solid var(--gold-deep);
}

/* ------------------------------------------------------------- Penutup --- */

.closing { max-width: 72ch; }
.closing p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1em;
}
.closing strong { color: var(--ink); }
.closing-actions { margin-top: 1.4rem; }
.closing .btn svg { flex: 0 0 auto; }
.closing-note {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  line-height: 1.7;
}

/* ---------------------------------------------------------------- Footer --- */

.site-foot {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-block: 2.4rem 2rem;
  border-top: 1px solid var(--line);
  background: rgba(240, 232, 219, 0.42);
  font-size: 0.88rem;
  color: var(--muted);
}
.foot-inner { display: grid; gap: 1rem; }
.foot-brand { font-family: var(--serif); font-size: 1.05rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; }
.foot-links a { color: var(--gold-deep); }
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 139, 114, 0.4);
  background: rgba(196, 208, 190, 0.28);
  color: var(--sage-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  min-height: 44px;
}
.wa-link:hover { background: rgba(196, 208, 190, 0.5); color: var(--sage-deep); }

/* ------------------------------------------------------------ Responsive --- */

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --player-h: 136px; }
  .head-inner { flex-wrap: wrap; gap: 0.5rem 1rem; padding-block: 0.6rem 0.35rem; }
  .brand-mark { width: 38px; height: 38px; }
  .nav { width: 100%; }
  .nav ul { gap: 0.15rem; padding-bottom: 0.2rem; }
  .nav a { font-size: 0.84rem; padding: 0.5rem 0.7rem; }
  .player-inner { flex-wrap: wrap; gap: 0.45rem 0.9rem; padding-block: 0.6rem; }
  .player-title { font-size: 0.95rem; }
  .player-sub { font-size: 0.68rem; }
  .player-controls { gap: 0.35rem; }
  .volume-wrap { order: 3; width: 100%; justify-content: space-between; }
  .volume-wrap { gap: 0.5rem; }
  .volume-wrap input[type="range"] { width: 100%; flex: 1; height: 18px; }
  .player-btn { width: 42px; height: 42px; }
  .player-btn--main { width: 48px; height: 48px; }
  blockquote { font-size: 1.04rem; padding: 1rem 1.1rem; }
  .question-list li { padding: 0.85rem 0.9rem 0.85rem 2.7rem; }
  .jiwa-row { padding: 0.5rem 0.6rem; gap: 0.45rem; }
  .kindness-list { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; max-width: none; }
  .jiwa-remove { min-width: 44px; padding-inline: 0.6rem; }
  .jiwa-remove-text { display: none; }
  .jiwa-caption { font-size: 0.7rem; }
  .hexagram-head { gap: 1rem; }
  .hex-glyph { width: 74px; height: 92px; }
  .ingat-toast {
    width: calc(100% - 1.5rem);
    bottom: calc(var(--player-h) + 10px);
    padding: 0.9rem 1rem;
    gap: 0.7rem;
  }
  .ingat-toast-actions { width: 100%; }
  .ingat-toast-actions .btn { flex: 1 1 auto; }
  .meet-hint { flex-wrap: wrap; gap: 0.75rem; }
  .meet-hint-body { flex: 1 1 100%; }
  .meet-hint-cta { flex: 1 1 100%; }
  .meet-banner { flex-wrap: wrap; gap: 0.6rem 0.8rem; }
  .meet-banner-text { flex: 1 1 100%; }
  .meet-banner-cta { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .brand-text .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .view.is-active { animation: none; }
}
