/* Lira Demo v2 — "Ruang praktik Lira"
   Font & skala ukuran mengikuti v1 (Newsreader + Hanken Grotesk, body 18px).
   Palet diambil dari foto ruang praktik: sage, linen, oak, ivory. */

@font-face {
  font-family: 'Newsreader'; font-style: normal; font-weight: 200 800;
  font-display: swap; src: url('/fonts/newsreader-5.2.10-latin-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader'; font-style: italic; font-weight: 200 800;
  font-display: swap; src: url('/fonts/newsreader-5.2.10-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900;
  font-display: swap; src: url('/fonts/hanken-grotesk-5.2.8-latin-normal.woff2') format('woff2');
}

/* ---------- Token ---------- */
:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --linen: #efe9df;
  --surface: #fffdf9;
  --sage: #56715f;
  --sage-deep: #475f51;
  --sage-text: #46604f;
  --sage-wall: #8fa698;
  --sage-tint: #e6ece6;
  --oak: #b58f63;
  --ink: #2a2824;
  --ink-soft: #5b5751;
  --ink-faint: #6b655c;
  --line: #ded7cc;
  --on-cta: #fbfaf6;
  --on-wall: #1b211d;
  --on-wall-soft: #242c27;
  --shadow-ink: 42 40 36;
  --shadow-cta: 94 122 108;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* skala v1, dalam rem (16px) */
  --fs-body: 1.125rem;                                   /* 18 */
  --fs-prose: clamp(1rem, 1.15vw, 1.15625rem);           /* 16–18.5 */
  --fs-h1: clamp(2.125rem, 5.6vw, 4.25rem);              /* 34–68 */
  --fs-h2: clamp(1.75rem, 3.8vw, 2.75rem);               /* 28–44 */
  --fs-h3: clamp(1.25rem, 2.2vw, 1.5rem);                /* 20–24 */
  --fs-h3-lg: clamp(1.375rem, 2.4vw, 1.625rem);          /* 22–26 */
  --fs-mirror: clamp(1.25rem, 3vw, 2.0625rem);           /* 20–33 */
  --fs-sub: clamp(1.03125rem, 1.5vw, 1.3125rem);         /* 16.5–21 */
  --fs-faq: clamp(1.0625rem, 1.9vw, 1.375rem);           /* 17–22 */
  --fs-closing: clamp(1.75rem, 4.4vw, 3.25rem);          /* 28–52 */
  --fs-brand: clamp(1.1875rem, 4.5vw, 1.375rem);         /* 19–22 */
  --fs-small: clamp(0.9375rem, 1.1vw, 1.0625rem);        /* 15–17 */
  --fs-ui: 0.90625rem;                                   /* 14.5 */
  --fs-meta: 0.875rem;                                   /* 14 */
  --fs-fine: 0.8125rem;                                  /* 13 */

  --gutter: 1rem;
  --maxw: 73.75rem;                                      /* 1180 */
  --section-y: clamp(3.5rem, 9vw, 7.5rem);
  --header-h: 4.25rem;
  --radius-photo: 1.25rem;
  --radius-panel: 1rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --cta-bar-h: 0px;
}
[data-theme='dark'] {
  color-scheme: dark;
  --paper: #1f1d1a;
  --linen: #27241f;
  --surface: #2c2925;
  --sage: #9db8a9;
  --sage-deep: #b3cbbe;
  --sage-text: #a9c3b4;
  --sage-wall: #35443d;
  --sage-tint: #2b342f;
  --oak: #c9a57c;
  --ink: #f1ece4;
  --ink-soft: #c4bcb1;
  --ink-faint: #a8a196;
  --line: #3a3630;
  --on-cta: #16201b;
  --on-wall: #f4f1ea;
  --on-wall-soft: #e1e8e3;
  --shadow-ink: 0 0 0;
  --shadow-cta: 0 0 0;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; text-wrap: pretty;
  padding-bottom: var(--cta-bar-h);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; }
button, summary { cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.22; }
p { overflow-wrap: break-word; }
strong { font-weight: 600; }
::selection { background: var(--sage-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
main:focus, section:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.band-linen { background: var(--linen); }
.band-tint { background: var(--sage-tint); }
.band-wall { background: var(--sage-wall); color: var(--on-wall); }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon-small { width: .95rem; height: .95rem; margin-left: .3em; }

.label { font: italic 400 1.0625rem/1.4 var(--serif); color: var(--sage-text); margin-bottom: 1rem; }
.band-wall .label { color: var(--on-wall-soft); }
.prose { font-size: var(--fs-prose); line-height: 1.75; color: var(--ink-soft); max-width: 60ch; }
.prose + .prose { margin-top: 1.1rem; }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 100%;
  color: var(--sage-text); font-weight: 600; font-size: var(--fs-ui);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .28em; text-decoration-thickness: 1.5px;
  transition: text-decoration-color .2s, color .2s;
}
.text-link:hover { text-decoration-color: currentColor; color: var(--ink); }
.band-wall .text-link { color: var(--on-wall); text-decoration-color: rgb(var(--shadow-ink) / .35); }
.band-wall .text-link:hover { text-decoration-color: currentColor; color: var(--on-wall); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.25rem; max-width: 100%;
  background: var(--sage); color: var(--on-cta); font-size: var(--fs-ui); font-weight: 600; line-height: 1.3;
  border-radius: 999px; text-align: center; white-space: nowrap;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.button .icon { width: 1.1rem; height: 1.1rem; }
.button:hover { background: var(--sage-deep); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-large { min-height: 3.5rem; padding: 1rem 1.6rem; font-size: clamp(0.96875rem, 1.4vw, 1.03125rem); box-shadow: 0 14px 32px -14px rgb(var(--shadow-cta) / .7); }
.button-large:hover { box-shadow: 0 22px 40px -16px rgb(var(--shadow-cta) / .75); transform: translateY(-2px); }
.button-small { background: transparent; color: var(--ink); border: 1px solid var(--line); min-height: 2.5rem; padding: .45rem 1rem; }
.button-small:hover { background: var(--sage-tint); border-color: var(--sage); color: var(--ink); transform: none; }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, background .2s;
}
.icon-button:hover { border-color: var(--sage); }

.skip-link { position: fixed; z-index: 100; top: -6rem; left: 1rem; padding: .75rem 1.25rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-meta); }
.skip-link:focus { top: .75rem; }

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

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper); border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
[data-scrolled='1'] .site-header {
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgb(var(--shadow-ink) / .6);
}
@supports not (color-mix(in oklab, red, blue)) { [data-scrolled='1'] .site-header { background: var(--paper); } }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; min-height: var(--header-h); padding-block: .5rem; }
.brand { display: inline-flex; flex-wrap: wrap; align-items: baseline; align-content: center; gap: .5rem; min-height: 44px; margin-right: auto; color: var(--ink); white-space: nowrap; }
.brand-name { font: 600 var(--fs-brand)/1 var(--serif); letter-spacing: -.01em; }
.brand-tag { font-size: var(--fs-fine); font-weight: 500; color: var(--ink-faint); }
.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.header-cta { display: none; }
.theme-moon, .theme-sun { display: inline-flex; }
.theme-sun { display: none; }
[data-theme='dark'] .theme-moon { display: none; }
[data-theme='dark'] .theme-sun { display: inline-flex; }

.mobile-menu { position: relative; }
.mobile-menu > summary { list-style: none; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu[open] > summary { background: var(--sage-tint); border-color: var(--sage); }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 1.05rem; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; }
.menu-lines::before { top: -5px; } .menu-lines::after { top: 5px; }
.mobile-menu[open] .menu-lines { background: transparent; }
.mobile-menu[open] .menu-lines::before { transform: translateY(5px) rotate(45deg); }
.mobile-menu[open] .menu-lines::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu nav {
  position: absolute; top: calc(100% + .6rem); right: 0; z-index: 50;
  width: min(20rem, calc(100vw - var(--gutter) * 2));
  display: grid; gap: .1rem; padding: .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel);
  box-shadow: 0 24px 50px -24px rgb(var(--shadow-ink) / .55);
  max-height: calc(100svh - var(--header-h) - 2rem); overflow: auto;
}
.mobile-menu nav a:not(.button) { display: flex; align-items: center; min-height: 3rem; padding: .5rem .85rem; border-radius: .6rem; font-size: 1rem; font-weight: 500; color: var(--ink); }
.mobile-menu nav a:not(.button):hover { background: var(--sage-tint); }
.menu-cta { margin: .5rem .25rem .25rem; white-space: normal; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: 0; }
.hero-wall { display: none; }
.hero-inner { display: grid; gap: 2.5rem; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; margin-bottom: clamp(1.25rem, 2.6vw, 1.75rem); }
.hero-sub { font-size: var(--fs-sub); line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: clamp(1.75rem, 3vw, 2.4rem); }
.hero-actions .button { white-space: normal; }
.hero-note { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--fs-meta); color: var(--ink-faint); line-height: 1.4; }
.dot { width: .4rem; height: .4rem; border-radius: 999px; background: var(--sage); flex: none; }

.hero-visual { position: relative; padding-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.hero-visual::before {
  content: ''; position: absolute; inset: 22% calc(-1 * var(--gutter)) 0; z-index: 0;
  background: var(--sage-wall); border-radius: 2.25rem 0 0 0;
}
.portrait { position: relative; z-index: 1; width: 100%; max-width: 32.5rem; margin-inline: auto; }
.portrait img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 57% 26%;
  border-radius: var(--radius-photo); background: var(--linen);
  box-shadow: 0 36px 70px -34px rgb(var(--shadow-ink) / .55);
}
.nameplate {
  position: relative; z-index: 1; margin-top: 1rem; width: fit-content; max-width: 100%;
  padding: .9rem 1.15rem 1rem; background: var(--paper); color: var(--ink);
  border-radius: .85rem; box-shadow: 0 18px 40px -24px rgb(var(--shadow-ink) / .5);
}
.nameplate-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .7rem; }
.nameplate-name strong { font: 500 1.375rem/1.2 var(--serif); letter-spacing: -.01em; }
.nameplate-name span { font-size: var(--fs-meta); color: var(--ink-soft); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin-top: .5rem; font-size: var(--fs-meta); color: var(--ink-soft); line-height: 1.5; }
.hero-facts li + li::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 999px; background: var(--sage); vertical-align: middle; margin-right: .6rem; }

/* ---------- Recognition ---------- */
.recognition-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.mirror-list, .mirror-out { max-width: 50rem; }
.recognition h2 { max-width: 20ch; }
.mirror-list li {
  font: 400 var(--fs-mirror)/1.34 var(--serif); color: var(--ink);
  padding-block: clamp(1.1rem, 2.6vw, 1.75rem); border-top: 1px solid var(--line);
}
.mirror-list li:last-child { border-bottom: 1px solid var(--line); }
.mirror-out { font: italic 400 clamp(1.125rem, 2vw, 1.375rem)/1.5 var(--serif); color: var(--ink-soft); margin-top: clamp(1.75rem, 4vw, 2.75rem); max-width: 42ch; }

/* ---------- Split layouts, foto ---------- */
.split { display: grid; gap: clamp(2.25rem, 5vw, 4.5rem); align-items: center; }
.photo img { width: 100%; object-fit: cover; border-radius: var(--radius-photo); background: var(--linen); box-shadow: 0 30px 60px -34px rgb(var(--shadow-ink) / .5); }
.photo figcaption { margin-top: 1rem; font-size: var(--fs-small); line-height: 1.55; color: var(--ink-soft); }
.photo figcaption span, .photo figcaption small { color: var(--ink-faint); }
.photo figcaption small { font-size: var(--fs-fine); }
.room-photo img { aspect-ratio: 4 / 3; }
.place-photo img { aspect-ratio: 5 / 3; }
.place-photo figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.25rem; }

/* ---------- Tentang ---------- */
.about h2 { margin-bottom: clamp(1.1rem, 2vw, 1.5rem); }
.cred { margin-top: clamp(1.6rem, 3vw, 2.1rem); padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .45rem 1.5rem; font-size: var(--fs-meta); }
.cred > div { display: flex; flex-wrap: wrap; gap: .1rem .6rem; }
.cred dt { color: var(--ink-faint); }
.cred dd { font-weight: 600; color: var(--ink); }
.about .text-link { margin-top: .9rem; }

/* ---------- Section head ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4.4vw, 3.75rem); }
.section-head h2 { max-width: 20ch; }
.section-head > p:not(.label) { font-size: var(--fs-sub); line-height: 1.55; color: var(--ink-soft); margin-top: 1rem; max-width: 46ch; }
.band-wall .section-head > p:not(.label) { color: var(--on-wall-soft); }

/* ---------- Topik ---------- */
.topics { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem) 2.5rem; }
.topic { padding-top: 1.1rem; position: relative; }
.topic::before { content: ''; position: absolute; top: 0; left: 0; width: 1.75rem; height: 2px; border-radius: 999px; background: var(--sage); }
.topic h3 { margin-bottom: .5rem; }
.topic p { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-soft); max-width: 36ch; }
.note {
  margin-top: clamp(2rem, 4vw, 3rem); max-width: 52rem;
  display: flex; gap: 1rem; padding: clamp(1.25rem, 2.6vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--sage-tint); border-radius: var(--radius-panel);
}
.note::before { content: ''; flex: none; width: 3px; align-self: stretch; border-radius: 999px; background: var(--sage); opacity: .7; }
.note p { font-size: var(--fs-small); line-height: 1.65; color: var(--ink); }

/* ---------- Langkah ---------- */
.steps { position: relative; max-width: 48rem; }
.steps::before { content: ''; position: absolute; left: 1.25rem; top: 1rem; bottom: 1rem; width: 1px; background: linear-gradient(var(--sage), transparent); opacity: .5; }
.steps li { display: flex; gap: clamp(1rem, 3vw, 2rem); position: relative; }
.steps li + li { margin-top: clamp(1.75rem, 3.6vw, 3rem); }
.step-num {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--sage); color: var(--sage);
  font: 500 1.125rem/1 var(--serif); position: relative; z-index: 1;
}
.step-body { padding-top: .3rem; }
.step-body h3 { margin-bottom: .5rem; }
.step-body h3 span { font-size: .82em; color: var(--ink-faint); font-style: italic; font-weight: 400; }
.step-body p { font-size: var(--fs-small); line-height: 1.7; color: var(--ink-soft); max-width: 54ch; }
.step-body .text-link { margin-top: .3rem; }

/* ---------- Prinsip ---------- */
.principles-grid { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.principles-grid article { position: relative; padding-top: 1.1rem; }
.principles-grid article::before { content: ''; position: absolute; top: 0; left: 0; width: 1.75rem; height: 2px; border-radius: 999px; background: var(--oak); }
.principles-grid h3 { font-size: var(--fs-h3-lg); margin-bottom: .65rem; }
.principles-grid p { font-size: var(--fs-small); line-height: 1.7; color: var(--on-wall); max-width: 40ch; }
.principles-grid .text-link { margin-top: .4rem; }
.band-wall :focus-visible { outline-color: var(--on-wall); }

/* ---------- Praktik ---------- */
.section-intro { font-size: var(--fs-sub); line-height: 1.55; color: var(--ink-soft); margin-top: 1rem; max-width: 40ch; }
.facts { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.facts > div { display: grid; gap: .2rem; padding-block: .95rem; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--fs-small); color: var(--ink-faint); }
.facts dd { font-size: var(--fs-small); font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts dd > span { font-weight: 400; color: var(--ink-soft); }
.facts dd small { display: block; font-weight: 400; font-size: var(--fs-fine); color: var(--ink-faint); line-height: 1.55; margin-top: .3rem; max-width: 40ch; }
.facts strong { font-weight: 600; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.faq-intro > p:not(.label) { font-size: var(--fs-sub); line-height: 1.55; color: var(--ink-soft); margin-top: 1rem; max-width: 34ch; }
.faq-intro .text-link { margin-top: .6rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; gap: 1rem; min-height: 3.5rem;
  padding-block: clamp(1rem, 2.2vw, 1.5rem);
  font: 500 var(--fs-faq)/1.35 var(--serif); color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { flex: 1; }
.faq-item summary .icon { color: var(--sage); transition: transform .3s var(--ease); }
.faq-item summary:hover { color: var(--sage-text); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 clamp(1.25rem, 2.4vw, 1.6rem); }
.faq-answer p { font-size: var(--fs-small); line-height: 1.7; color: var(--ink-soft); max-width: 62ch; }
.faq-item[open] .faq-answer { animation: faq-in .3s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Penutup ---------- */
.closing { text-align: center; }
.closing-inner { max-width: 48rem; display: flex; flex-direction: column; align-items: center; }
.closing h2 { font-size: var(--fs-closing); line-height: 1.1; letter-spacing: -.02em; max-width: 18ch; }
.closing-sub { font-size: var(--fs-sub); line-height: 1.55; color: var(--ink-soft); margin: 1.1rem 0 clamp(1.75rem, 3.4vw, 2.4rem); max-width: 48ch; }
.closing .button { white-space: normal; }
.closing-meta { margin-top: clamp(1.25rem, 2.4vw, 1.6rem); font-size: var(--fs-meta); color: var(--ink-faint); display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--linen); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 2.75rem); }
.footer-grid { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.footer-grid h2 { font: 600 var(--fs-fine)/1.4 var(--sans); color: var(--ink-faint); margin-bottom: .6rem; letter-spacing: .01em; }
.footer-grid p { font-size: var(--fs-meta); line-height: 1.65; color: var(--ink-soft); }
.footer-brand .brand { margin-bottom: .6rem; }
.footer-license { margin-top: .5rem; }
.contact-number { display: inline-flex; align-items: center; min-height: 44px; font: 500 clamp(1.375rem, 2.4vw, 1.625rem)/1.2 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.contact-number:hover { color: var(--sage-text); }
.crisis {
  margin-top: clamp(2rem, 4vw, 2.75rem); display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: var(--radius-panel);
  background: color-mix(in oklab, var(--oak) 12%, var(--paper)); border: 1px solid color-mix(in oklab, var(--oak) 35%, var(--line));
}
@supports not (color-mix(in oklab, red, blue)) { .crisis { background: var(--paper); border-color: var(--oak); } }
.crisis-dot { flex: none; width: .5rem; height: .5rem; border-radius: 999px; background: var(--oak); margin-top: .5rem; }
.crisis p { font-size: var(--fs-meta); line-height: 1.6; color: var(--ink); }
.demo-note { display: grid; gap: 1.25rem; margin-top: clamp(1.75rem, 3vw, 2.25rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.demo-note h2 { font: 600 1rem/1.4 var(--sans); margin-bottom: .5rem; }
.demo-note p { font-size: var(--fs-meta); line-height: 1.65; color: var(--ink-soft); }
.demo-note strong { color: var(--ink); }
.demo-offer p { color: var(--ink); }
.legal { margin-top: clamp(1.5rem, 3vw, 2rem); padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .35rem; font-size: var(--fs-fine); color: var(--ink-faint); }
.legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sage-text); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }

/* ---------- Popup disklaimer ---------- */
.notice {
  max-width: min(30rem, calc(100vw - 2 * var(--gutter))); width: 100%; margin: auto; padding: 0;
  border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 100px -30px rgb(var(--shadow-ink) / .6);
}
.notice::backdrop { background: rgb(26 30 27 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.notice[open] { animation: notice-in .4s var(--ease); }
.notice-inner { padding: clamp(1.5rem, 5vw, 2.25rem); }
.notice .label { margin-bottom: .6rem; }
.notice h2 { font-size: clamp(1.5rem, 4.5vw, 1.9rem); line-height: 1.15; margin-bottom: .8rem; }
.notice p:not(.label) { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-soft); }
.notice-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.notice-actions .button { white-space: normal; }
.notice-actions .button-small { min-height: 3rem; padding-inline: 1.25rem; }
@keyframes notice-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Bar CTA (mobile) ---------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  animation: bar-in .35s var(--ease);
}
@supports not (color-mix(in oklab, red, blue)) { .cta-bar { background: var(--paper); } }
.cta-bar .button { flex: 1 1 auto; max-width: 22rem; white-space: normal; }
.cta-bar-close { width: 2.5rem; height: 2.5rem; color: var(--ink-soft); }
@keyframes bar-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Momen muat halaman ---------- */
.hero-copy > *, .hero-visual { animation: rise .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-visual { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Breakpoint ---------- */
@media (max-width: 22.4375em) { /* < 359px */
  .brand-tag { display: none; }
  .hero-actions .button, .closing .button, .notice-actions .button { width: 100%; }
}
@media (min-width: 22.5em) { /* 360 */
  :root { --gutter: 1.25rem; }
}
@media (min-width: 37.5em) { /* 600 */
  :root { --gutter: 1.75rem; --header-h: 4.5rem; }
  .header-cta { display: inline-flex; }
  .menu-cta { display: none; }
  .hero-visual::before { inset: 18% calc(-1 * var(--gutter)) 0 clamp(-1.75rem, -3vw, -1rem); border-radius: 2.5rem 0 0 0; }
  .nameplate { margin-inline: auto; }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-note { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2.5rem; }
  .legal { grid-template-columns: 1fr auto; align-items: center; }
  .legal a { grid-column: 2; grid-row: 1 / 3; }
}
@media (min-width: 56.25em) { /* 900 */
  :root { --gutter: 2.5rem; --header-h: 4.75rem; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 1.75rem); margin-right: clamp(.5rem, 2vw, 1.5rem); }
  .desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-ui); font-weight: 500; color: var(--ink-soft); transition: color .2s; }
  .desktop-nav a:hover { color: var(--ink); }
  .mobile-menu { display: none; }
  .header-actions { gap: .75rem; }

  .hero { padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
  .hero { --hero-gap: 5rem; --wall-overlap: 3.5rem; }
  .hero-wall { display: block; position: absolute; top: 0; bottom: 0; right: 0; left: calc(50% + var(--hero-gap) / 2 + var(--wall-overlap)); background: var(--sage-wall); border-radius: 0 0 0 3rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--hero-gap); align-items: center; }
  .hero-visual { padding-bottom: 0; }
  .hero-visual::before { display: none; }
  .portrait { margin: 0; max-width: 27.125rem; } /* 434px: tinggi 4:5 = 543px, tetap tajam di layar 2x dari sumber 1086px */
  .portrait img { aspect-ratio: 4 / 5; }
  .nameplate { margin-left: calc(var(--wall-overlap) - 2rem); }

  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split-practical { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; }
  .principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; }
  .process .container { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 5rem; align-items: start; }
  .process .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
  .facts > div { grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; }
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 5rem; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .faq-answer { padding-right: 2.5rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr .8fr .9fr; }
  .cta-bar { display: none; }
}
@media (min-width: 75em) { /* 1200 */
  .hero { --hero-gap: 6rem; --wall-overlap: 4rem; }
}
@media (min-width: 100em) { /* 1600 */
  .hero { --wall-overlap: 6rem; }
}

/* ---------- Preferensi sistem ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .button, .icon-button, .step-num { border: 1px solid ButtonText; }
  .topic::before, .principles-grid article::before, .note::before, .dot, .crisis-dot { background: CanvasText; }
}
@media (hover: none) {
  .button:hover, .button-large:hover { transform: none; }
}
@media print {
  .site-header, .theme-toggle, .cta-bar, .notice, .skip-link, .hero-wall, .hero-visual::before { display: none !important; }
  :root { --paper: #fff; --linen: #fff; --sage-tint: #fff; --sage-wall: #fff; --ink: #000; --ink-soft: #222; --ink-faint: #444; --line: #bbb; --on-wall: #000; --on-wall-soft: #222; }
  body { padding-bottom: 0; }
  .section, .hero { padding-block: 1.5rem; }
  .photo img, .portrait img, .nameplate { box-shadow: none; }
  .button { border: 1px solid #000; background: none; color: #000; box-shadow: none; }
  details::details-content { content-visibility: visible; }
  .faq-item[open] summary .icon { transform: none; }
}
