/* Refinement homepage 2026-11-03: konsep dan palet tetap, tata letak lebih rapi dan sederhana.
   Lapisan terakhir setelah home-palette.css; hanya menyetel ukuran, jarak dan elemen dekoratif. */

/* Satu skala teks: label 11px, body 15-16px. */
body.home-immersive .hp-main .im-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .16em; line-height: 1.5; }
body.home-immersive .hp-main h2 { letter-spacing: -.045em; }

/* Elemen dekoratif kecil yang membuat layout ramai. Semuanya aria-hidden atau berulang. */
body.home-immersive .im-image-coordinate,
body.home-immersive .im-crosshair,
body.home-immersive .im-nara-portrait figcaption > span:last-child { display: none; }

/* Hero mobile: video DNA full-bleed, copy ringkas di atas dasar krem. */
@media (max-width: 600px) {
  body.home-immersive .home-journey .background-word { display: none; }
  body.home-immersive .home-journey .scene .copy { left: 20px; right: 20px; width: auto; bottom: 76px; }
  body.home-immersive .home-journey .scene .eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: .16em; }
  body.home-immersive .home-journey .scene .journey-title--aesthetics,
  body.home-immersive .home-journey .scene .journey-title--peptides { font-size: clamp(38px, 10.8vw, 48px); line-height: 1; margin-bottom: 14px; }
  body.home-immersive .home-journey .journey-lead { margin-bottom: 8px; font-size: 16px; line-height: 1.45; }
  body.home-immersive .home-journey .scene .description { max-width: none; font-size: 14px; line-height: 1.6; }
  body.home-immersive .home-journey .journey-actions { margin-top: 20px; }
  body.home-immersive .home-journey .journey-learn { min-height: 54px; }
  body.home-immersive .home-journey .mobile-peptides-video,
  body.home-immersive .home-journey .scene-peptides .journey-poster img { object-fit: cover; object-position: 50% 0; }
  body.home-immersive .home-journey .scene-peptides .shade { background: linear-gradient(to bottom, rgba(250,249,246,.5), transparent 16%); }
  body.home-immersive .home-journey .copy-peptides::before { inset: -120px -20px -76px; background: linear-gradient(0deg, #faf9f6 0%, #faf9f6 56%, rgba(250,249,246,.9) 70%, rgba(250,249,246,.5) 86%, transparent); }
}
@media (max-width: 600px) and (max-height: 700px) {
  body.home-immersive .home-journey .scene .eyebrow { margin-bottom: 10px; }
  body.home-immersive .home-journey .scene .journey-title--aesthetics,
  body.home-immersive .home-journey .scene .journey-title--peptides { font-size: clamp(34px, 9.6vw, 40px); margin-bottom: 10px; }
  body.home-immersive .home-journey .journey-lead { font-size: 15px; line-height: 1.4; }
  body.home-immersive .home-journey .scene .description { font-size: 13px; line-height: 1.55; }
  body.home-immersive .home-journey .journey-actions { margin-top: 16px; }
  body.home-immersive .home-journey .journey-learn { min-height: 50px; }
}

/* Treatment Edit. */
body.home-immersive .im-studio { padding-block: clamp(64px, 8vw, 104px) clamp(48px, 6vw, 80px); }
body.home-immersive .im-studio-heading { margin-bottom: 36px; }
body.home-immersive .im-studio-heading > p { font-size: 15px; line-height: 1.65; }
body.home-immersive .im-tabs { margin-bottom: 16px; }
body.home-immersive .im-tab-label { font-size: 17px; }
body.home-immersive .im-tab-label small { margin-top: 4px; font-size: 12px; }
body.home-immersive .im-tab-num { font-size: 11px; }
body.home-immersive .im-panel { border-radius: 24px; }
body.home-immersive .im-panel-visual { border-radius: 16px; }
body.home-immersive .im-panel-content { padding: 40px 36px 28px 48px; }
body.home-immersive .im-panel-description { max-width: 420px; margin: 20px 0 28px; font-size: 15px; line-height: 1.7; }
body.home-immersive .im-treatment-label { margin-bottom: 12px; font-size: 11px; letter-spacing: .14em; }
body.home-immersive .im-treatment-links { gap: 10px; }
body.home-immersive .im-treatment-links a { min-height: 56px; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
body.home-immersive .im-panel-footer { gap: 0 22px; margin-top: 14px; }
body.home-immersive .im-panel-footer a { font-size: 13px; }
body.home-immersive .im-studio-caption { padding-top: 28px; }
body.home-immersive .im-studio-caption > span { font-size: 18px; }
body.home-immersive .im-studio-caption a { min-height: 50px; padding: 8px 20px; font-size: 13px; }

/* Marquee bersama (galeri klinik + awards). Tanpa JS tetap bisa digeser native. */
body.home-immersive .im-marquee { --marquee-bg: #faf9f6; --marquee-fade: 48px; position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
body.home-immersive .im-marquee::-webkit-scrollbar { display: none; }
body.home-immersive .im-marquee.is-marquee-ready { overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
body.home-immersive .im-marquee.is-dragging { cursor: grabbing; }
body.home-immersive .im-marquee::before,
body.home-immersive .im-marquee::after { content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; width: var(--marquee-fade); pointer-events: none; }
body.home-immersive .im-marquee::before { left: 0; background: linear-gradient(90deg, var(--marquee-bg), transparent); }
body.home-immersive .im-marquee::after { right: 0; background: linear-gradient(270deg, var(--marquee-bg), transparent); }
body.home-immersive .im-marquee-track { display: flex; align-items: stretch; width: max-content; gap: 16px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; will-change: transform; }
body.home-immersive .im-marquee img { -webkit-user-drag: none; }
body.home-immersive .im-marquee:focus-visible { outline: 2px solid #97723b; outline-offset: -2px; border-radius: 20px; }

/* About: satu intro dua kolom, galeri berjalan full-bleed, satu baris kunjungan. */
body.home-immersive .im-about { padding-block: clamp(72px, 9vw, 120px) clamp(48px, 6vw, 80px); }
body.home-immersive .im-about-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: clamp(40px, 7vw, 112px); margin-bottom: 0; }
body.home-immersive .im-about-copy .im-eyebrow { gap: 12px; margin-bottom: 24px; color: #80602e; }
body.home-immersive .im-about-copy .im-eyebrow > span { width: 26px; height: 1px; border-radius: 0; background: #b79558; }
body.home-immersive .hp-main .im-about-copy h2 { font-size: clamp(56px, 6.4vw, 92px); line-height: .94; letter-spacing: -.055em; color: #252525; }
body.home-immersive .im-about-copy h2::after { display: none; }
body.home-immersive .im-about-story { padding-bottom: 6px; }
body.home-immersive .im-about-lead { color: #2b2925; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.15; letter-spacing: -.035em; }
body.home-immersive .im-about-lead em { color: #80602e; font-size: 1.08em; line-height: 1.15; }
body.home-immersive .im-about-description { max-width: 480px; margin-top: 18px; color: #66625b; font-size: 16px; line-height: 1.75; }
body.home-immersive .im-about-description + .im-about-description { margin-top: 12px; }
body.home-immersive .im-clinic-gallery { margin-top: clamp(48px, 6vw, 72px); }
body.home-immersive .im-clinic-viewport { --marquee-fade: clamp(24px, 4vw, 72px); }
body.home-immersive .im-clinic-frame { flex: 0 0 auto; width: clamp(300px, 36vw, 540px); height: clamp(240px, 27vw, 400px); border-radius: 20px; scroll-snap-align: none; }
body.home-immersive .im-clinic-frame--wide { width: clamp(340px, 42vw, 640px); }
body.home-immersive .im-clinic-frame--detail { width: clamp(220px, 26vw, 400px); }
body.home-immersive .im-clinic-frame::after { inset: 55% 0 0; background: linear-gradient(transparent, rgba(16, 16, 14, .6)); }
body.home-immersive .im-clinic-frame figcaption { display: block; left: 24px; right: 24px; bottom: 20px; color: #fffdf7; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(16px, 1.65vw, 21px); font-style: italic; line-height: 1.2; letter-spacing: -.02em; }
body.home-immersive .im-about-visit { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; border-top: 1px solid #e3ddd2; }
body.home-immersive .im-about-address { display: block; margin: 0; color: #36332e; font-size: 16px; line-height: 1.55; }
body.home-immersive .im-about-address > span { display: block; margin-bottom: 6px; color: #80602e; font-size: 11px; font-weight: 500; letter-spacing: .16em; }
body.home-immersive .im-about-visit-link { flex-shrink: 0; gap: 18px; min-height: 54px; padding: 7px 7px 7px 24px; border: 0; border-radius: 999px; background: #252525; color: #f7efe0; font-size: 14px; font-weight: 500; transition: background .25s; }
body.home-immersive .im-about-visit-link > span { width: 40px; height: 40px; background: #e6c995; color: #24211b; font-size: 18px; }
body.home-immersive .im-about-visit-link:hover { background: #3b3326; }
body.home-immersive .im-about-visit-link:hover > span { background: #f0d8a9; color: #24211b; }

/* Dr. Nara. */
body.home-immersive .im-nara { padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 96px); }
body.home-immersive .im-nara-portrait { border-radius: 20px; }
body.home-immersive .im-nara-portrait figcaption { font-size: 11px; }
body.home-immersive .im-nara-copy .im-eyebrow { margin-bottom: 20px; }
body.home-immersive .im-nara-name { margin-top: 20px; font-size: clamp(24px, 2.4vw, 30px); }
body.home-immersive .im-nara-rule { margin-top: 28px; padding-top: 14px; font-size: 11px; letter-spacing: .12em; }
body.home-immersive .im-nara-bio { max-width: 460px; margin-top: 24px; font-size: 16px; line-height: 1.8; }
body.home-immersive .im-nara-link { margin-top: 26px; font-size: 14px; }

/* Awards + training: satu baris berjalan otomatis, kartu ringkas. */
body.home-immersive .im-awards { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); }
body.home-immersive .im-awards-header { display: block; margin-bottom: 28px; }
body.home-immersive .im-awards-header .im-eyebrow { margin: 0 0 12px; }
body.home-immersive .im-awards-header h3 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.1; }
body.home-immersive .im-awards-viewport { --marquee-bg: #ecebea; --marquee-fade: 40px; }
body.home-immersive .im-awards-reel { gap: 14px; }
body.home-immersive .im-award { display: flex; flex-direction: column; flex: 0 0 auto; width: 212px; margin: 0; padding: 0; overflow: hidden; border: 1px solid #ddd6ca; border-radius: 18px; background: #faf9f6; box-shadow: none; }
body.home-immersive .im-award-media { --award-pad: 18px; position: relative; height: 172px; background: radial-gradient(ellipse at 50% 40%, #fff, #f1eee8 80%); }
body.home-immersive .im-award--certificate .im-award-media { --award-pad: 14px; background: #fff; }
body.home-immersive .im-award-media img { position: absolute; inset: var(--award-pad); display: block; width: calc(100% - var(--award-pad) * 2); height: calc(100% - var(--award-pad) * 2); max-width: none; object-fit: contain; mix-blend-mode: normal; }
body.home-immersive .im-award figcaption { display: grid; flex: 1; align-content: start; gap: 4px; min-height: 0; margin: 0; padding: 14px 16px 16px; border-top: 1px solid #e6e0d6; }
body.home-immersive .im-award figcaption strong { color: #252525; font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
body.home-immersive .im-award figcaption span { color: #80602e; font-size: 12px; line-height: 1.4; }

/* Ajakan akhir. */
body.home-immersive .im-invitation { padding-block: clamp(48px, 6vw, 72px); }
body.home-immersive .hp-main .im-invitation h2 { font-size: clamp(40px, 4vw, 56px); }
body.home-immersive .im-invitation .im-eyebrow { margin-bottom: 10px; }
body.home-immersive .im-invitation-action > p { margin-top: 12px; font-size: 12px; }
body.home-immersive .im-invitation .im-button { min-height: 52px; padding-inline: 22px; border-radius: 999px; font-size: 14px; }

@media (max-width: 760px) {
  body.home-immersive .im-studio { padding-block: 56px 40px; }
  body.home-immersive .im-studio-heading { margin-bottom: 24px; }
  body.home-immersive .im-tabs a { min-height: 64px; padding: 12px 10px; }
  body.home-immersive .im-tab-label { font-size: 14px; }
  body.home-immersive .im-tab-label small { font-size: 11px; }
  body.home-immersive .im-tab-num { display: none; }
  body.home-immersive .im-panel { padding: 8px; border-radius: 20px; }
  body.home-immersive .im-panel-visual { height: clamp(240px, 62vw, 360px); border-radius: 14px; }
  body.home-immersive .im-panel-content { padding: 26px 14px 10px; }
  body.home-immersive .hp-main .im-panel-content h3 { font-size: clamp(34px, 9vw, 44px); }
  body.home-immersive .im-panel-description { margin: 14px 0 22px; font-size: 15px; }
  body.home-immersive .im-treatment-links a { padding: 12px; font-size: 13px; }
  body.home-immersive .im-studio-caption { gap: 14px; padding-top: 24px; }
  body.home-immersive .im-studio-caption > span { font-size: 17px; }
  body.home-immersive .im-about-layout { grid-template-columns: 1fr; align-items: start; gap: 24px; }
}
@media (max-width: 600px) {
  body.home-immersive .im-about { padding-block: 64px 44px; }
  body.home-immersive .im-about-copy .im-eyebrow { margin-bottom: 18px; }
  body.home-immersive .hp-main .im-about-copy h2 { font-size: clamp(48px, 13.5vw, 58px); }
  body.home-immersive .im-about-lead { font-size: 26px; }
  body.home-immersive .im-about-description { margin-top: 14px; font-size: 15px; line-height: 1.7; }
  body.home-immersive .im-clinic-gallery { margin-top: 36px; }
  body.home-immersive .im-marquee-track { gap: 12px; }
  body.home-immersive .im-clinic-frame { width: 74vw; height: 232px; border-radius: 16px; }
  body.home-immersive .im-clinic-frame--wide { width: 84vw; }
  body.home-immersive .im-clinic-frame--detail { width: 60vw; }
  body.home-immersive .im-clinic-frame figcaption { left: 18px; right: 18px; bottom: 16px; font-size: 17px; }
  body.home-immersive .im-about-visit { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 32px; padding-top: 24px; }
  body.home-immersive .im-about-address { font-size: 15px; }
  body.home-immersive .im-about-visit-link { justify-content: space-between; width: 100%; }
  body.home-immersive .im-nara { padding-block: 56px 48px; }
  body.home-immersive .im-nara-portrait { border-radius: 16px; }
  body.home-immersive .hp-main .im-nara-copy h2 { font-size: clamp(48px, 14vw, 58px); }
  body.home-immersive .im-nara-name { font-size: 24px; }
  body.home-immersive .im-nara-rule { margin-top: 22px; font-size: 10px; }
  body.home-immersive .im-nara-bio { margin-top: 18px; font-size: 15px; line-height: 1.75; }
  body.home-immersive .im-awards { margin-top: 48px; padding-top: 40px; }
  body.home-immersive .im-awards-header { margin-bottom: 22px; }
  body.home-immersive .im-awards-header h3 { font-size: 34px; }
  body.home-immersive .im-awards-viewport { --marquee-fade: 24px; margin-inline: -20px; }
  body.home-immersive .im-awards-reel { gap: 12px; }
  body.home-immersive .im-award { width: 172px; border-radius: 16px; }
  body.home-immersive .im-award-media { --award-pad: 14px; height: 140px; }
  body.home-immersive .im-award--certificate .im-award-media { --award-pad: 10px; }
  body.home-immersive .im-award figcaption { padding: 12px 13px 14px; }
  body.home-immersive .im-award figcaption strong { font-size: 13px; }
  body.home-immersive .im-invitation { padding-block: 48px; }
  body.home-immersive .im-invitation-action { flex-wrap: wrap; gap: 14px; margin-top: 20px; }
  body.home-immersive .im-invitation-action > p { max-width: none; margin: 0; font-size: 12px; }
}
@media (max-width: 360px) {
  body.home-immersive .im-award { width: 160px; }
}
@media (forced-colors: active) {
  body.home-immersive .im-award { border-color: CanvasText; }
  body.home-immersive .im-marquee::before,
  body.home-immersive .im-marquee::after { display: none; }
}
