/*
 * 888Devouv Quicklock / UIUX preview v1
 * Load AFTER styles.css. Screen-only: the existing print treatment is untouched.
 * Read mode: a branded frame around calm, continuously visible instructions.
 * No assets, fonts, content, metadata or section IDs are replaced here.
 */
@media screen {
  :root {
    --ground: #0b090b;
    --surface: #171216;
    --ink: #f5f3f4;
    --muted: #d0cbce;
    --quiet: #b7adb3;
    --rose: #ff8c9d;
    --red: #c91d32;
    --line: #3c3037;
    --photo-radius: 24px;
    --ql-control-radius: 16px;
    --ql-action-radius: 999px;
    --ql-well: #141013;
    --ql-line-strong: #73616b;
    --ql-control-line: #826975;
    --ql-glass: #251d23e8;
    --ql-action-hover: #ae182c;
    --ql-note: #21171d;
    --ql-caution: #ffc1cc;
    --ql-cut-surface: #35171f;
    --ql-cut-line: #975268;
    --ql-gap: 24px;
    --ql-section-space: 88px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --motion-fast: 160ms;
    --motion-base: 240ms;
    color-scheme: dark;
  }

  html {
    scrollbar-gutter: stable both-edges;
    scrollbar-color: #80616e var(--ground);
    scroll-padding-top: var(--header-height);
  }

  body {
    background: radial-gradient(ellipse 1000px 720px at 92% 0, #35151f 0%, #1b1017 45%, transparent 82%), var(--ground);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    caret-color: var(--rose);
  }

  ::selection { background: #822239; color: #fff; }
  :focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
  a { text-underline-offset: .24em; text-decoration-thickness: 1px; }
  a, button, summary { -webkit-tap-highlight-color: #ff8c9d26; }
  button, input, select, textarea { font-family: inherit; }
  button:disabled, .button:disabled { opacity: .42; cursor: default; }
  [aria-busy="true"] { cursor: progress; }
  [hidden] { display: none !important; }

  .wrap { width: min(1240px, calc(100% - 96px)); }
  .section { padding-block: var(--ql-section-space); }
  :is(.tutorial, .removal, .component-knowledge, .faq-section) { max-width: none; }
  :is(.hero-layout, .kit, .component-knowledge, .tutorial, .removal, .showcase, .video-section, .faq-section, .sweet-spot, .step, .removal-step) {
    scroll-margin-top: 16px;
  }

  h1, h2, h3 { color: var(--rose); text-wrap: balance; }
  h1 {
    font-size: clamp(3.75rem, 6.3vw, 5.5rem);
    font-weight: 740;
    line-height: 1.04;
    letter-spacing: -.04em;
  }
  h1 span { color: var(--rose); }
  h2 {
    font-size: clamp(2.125rem, 3.4vw, 3rem);
    font-weight: 640;
    line-height: 1.16;
    letter-spacing: -.035em;
  }
  h3 { font-size: 21px; font-weight: 620; line-height: 1.4; letter-spacing: -.02em; }
  p { max-width: 70ch; text-wrap: pretty; }
  li { text-wrap: pretty; }
  strong { font-weight: 630; }
  main :is(h1, h2, h3, p, li), .dialog-heading h2, .dialog-caption { overflow-wrap: break-word; }
  :is(.kit-copy, .step-copy, .sweet-copy, .showcase-copy, .knowledge-list, .video-layout > div) { min-width: 0; }

  /* Keep sticky positioning, reserved height, compact mode and JS lens geometry.
     In particular: never apply a transform to the masthead or navigation. */
  .glass-masthead {
    border: 1px solid #77616d;
    background: var(--ql-glass);
    box-shadow: 0 12px 34px #0005, inset 0 1px 0 #ffffff12;
  }
  .brand { color: var(--ink); font-weight: 720; }
  .brand .orbit { color: #e4dce1; }
  .product-name { color: var(--muted); }
  .nav-track a {
    color: #d6cdd2;
    font-weight: 530;
    border-radius: var(--ql-control-radius);
    transition: color var(--motion-fast), background var(--motion-fast);
  }
  .nav-track a:hover { color: #fff; background: #ffffff0b; }
  .nav-track a[aria-current] { color: #fff; }
  .nav-lens {
    border: 1px solid #a18090;
    border-radius: var(--ql-control-radius);
    background: linear-gradient(145deg, #ffffff1b, #ff8c9d0c);
    box-shadow: 0 4px 12px #0003, inset 0 1px 0 #ffffff1a;
  }
  .skip-link { border: 1px solid var(--rose); border-radius: var(--ql-control-radius); background: #63192b; }

  /* Shared action geometry; priority is expressed by fill, not by size. */
  .button {
    min-width: 0;
    min-height: 54px;
    padding: 14px 22px;
    gap: 10px;
    border: 1px solid var(--ql-control-line);
    border-radius: var(--ql-action-radius);
    background: #ffffff09;
    color: var(--ink);
    font-size: 15px;
    font-weight: 610;
    line-height: 1.45;
    text-align: center;
    white-space: normal;
    box-shadow: inset 0 1px 0 #ffffff0d;
    transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast);
  }
  .button .icon, .text-link .icon { width: 18px; height: 18px; }
  .button.primary {
    background: var(--red);
    color: #fff;
    border-color: #e95d72;
    box-shadow: 0 6px 18px #0003, inset 0 1px 0 #ffffff12;
  }
  .button.primary:hover { background: var(--ql-action-hover); border-color: var(--rose); }
  .glass-button { background: #ffffff0a; border-color: var(--ql-control-line); }
  .glass-button:hover { background: #ffffff14; border-color: #b493a2; }
  .button:active:not(:disabled) { filter: brightness(.94); }
  .icon-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
    border: 1px solid var(--ql-control-line);
    border-radius: var(--ql-control-radius);
    background: var(--ql-glass);
    color: var(--ink);
    box-shadow: 0 4px 12px #0003, inset 0 1px 0 #ffffff0d;
    transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast), opacity var(--motion-fast);
  }
  .icon-button .icon { width: 20px; height: 20px; }
  .icon-button:hover:not(:disabled) { background: #3a2a33; border-color: #bd96a8; color: #fff; }
  .text-link {
    min-height: 44px;
    gap: 10px;
    color: var(--ql-caution);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 560;
  }
  .text-link:hover { color: #fff; }
  .text-link .icon { flex-shrink: 0; }

  /* Hero: display:contents makes the existing overview's children grid items.
     Its kit and preparation move below BOTH columns, without changing the DOM. */
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-rows: max-content max-content minmax(54px, 1fr) auto auto;
    column-gap: clamp(36px, 5vw, 72px);
    row-gap: 24px;
    align-items: start;
    padding-top: 16px;
    margin-bottom: 0;
  }
  .hero-overview { display: contents; }
  .hero-overview > h1 { grid-column: 1; grid-row: 1; margin: 0; padding-top: 6px; }
  .hero-overview > .intro {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    max-width: 47ch;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
  }
  .hero-actions {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px 0 0;
    padding-bottom: 8px;
  }
  .hero-actions > .button { flex: 0 1 auto; font-size: 15px; }
  .hero-showcase {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: min(calc(100% - 48px), 340px);
    min-width: 0;
    margin: 0;
    justify-self: center;
    align-self: start;
  }
  .hero-stage { position: relative; }
  .hero-track {
    gap: 16px;
    border-radius: var(--photo-radius);
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
  }
  :is(.hero-slide, .gallery-slide) { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
  :is(.hero-photo, .gallery-photo, .step-photo) {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--ql-line-strong);
    border-radius: var(--photo-radius);
    background: var(--ql-well);
    box-shadow: none;
  }
  :is(.hero-photo, .gallery-photo) > img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .hero-caption { position: relative; padding: 16px 0 0; text-align: center; }
  .hero-caption h3 { font-size: 16px; font-weight: 600; line-height: 1.45; letter-spacing: -.015em; }
  .hero-caption p, body:not(.is-editing) .hero-caption p {
    position: static;
    width: auto;
    height: auto;
    margin: 6px auto 0;
    padding: 0;
    max-width: 40ch;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    color: var(--quiet);
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-pagination { padding-top: 2px; }
  .hero-pagination .carousel-dots { flex: 0 1 auto; }
  .hero-arrow { top: var(--hero-photo-mid, 212px); transform: translateY(-50%); }
  .hero-prev { left: -24px; }
  .hero-next { right: -24px; }
  :is(.hero-arrow, .carousel-controls .icon-button) {
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--ql-control-line);
    border-radius: var(--ql-control-radius);
    background: var(--ql-glass);
    color: var(--ink);
    box-shadow: 0 4px 12px #0003;
  }
  :is(.hero-arrow, .carousel-controls .icon-button):hover:not(:disabled) {
    border: 1px solid #bd96a8;
    background: #3a2a33;
    color: #fff;
    box-shadow: 0 4px 12px #0003;
  }
  :is(.hero-arrow, .carousel-controls .icon-button) .icon { width: 18px; height: 18px; stroke-width: 1.7; }
  :is(.hero-arrow, .carousel-controls .icon-button):disabled { opacity: .35; box-shadow: none; }

  /* Component knowledge is a three-column inventory, not three panel cards. */
  .kit {
    grid-column: 1 / -1;
    grid-row: 4;
    margin: 18px 0 0;
    padding-top: 36px;
    border-top: 1px solid var(--line);
  }
  .kit h2 { margin-bottom: 28px; font-size: 28px; line-height: 1.25; font-weight: 620; letter-spacing: -.025em; }
  .kit-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .kit-item { display: block; min-width: 0; }
  .kit-photo {
    width: min(100%, 144px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #d7d1d4;
    border-radius: var(--photo-radius);
    background: #fff;
  }
  .kit-photo img { width: 100%; height: 100%; padding: 10px; object-fit: contain !important; }
  .kit-copy h3 { margin: 20px 0 10px; font-size: 19px; line-height: 1.4; }
  .kit-copy h3 span { color: inherit; font-weight: 440; }
  .kit-copy p { max-width: 36ch; color: var(--muted); font-size: 16px; line-height: 1.75; }
  .preparation {
    grid-column: 1 / -1;
    grid-row: 5;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin: 12px 0 0;
    padding-block: 28px 36px;
    border-top: 1px solid var(--line);
  }
  .preparation p { max-width: 68ch; color: var(--muted); font-size: 16px; line-height: 1.75; }
  .preparation strong { color: var(--ink); font-weight: 630; }
  .preparation .button { flex-shrink: 0; padding-inline: 22px; white-space: normal; }
  .preview-notice { padding-block: 24px 32px; gap: 12px; color: var(--quiet); }
  .preview-notice p { font-size: 13px; line-height: 1.65; }
  .preview-notice strong { color: var(--ink); }
  body.is-embedded .hero-layout { margin-bottom: 0; }
  .hero-layout.has-no-media { grid-template-columns: minmax(0, 1fr); }
  .hero-layout.has-no-media .hero-overview { max-width: none; }

  /* Informational composition changes, while the reading voice stays the same. */
  .component-knowledge {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 80px;
    border-top: 1px solid var(--line);
  }
  .component-knowledge > div > p { max-width: 47ch; margin-top: 24px; color: var(--muted); }
  .knowledge-list { gap: 24px; }
  .knowledge-list article + article { padding-top: 24px; border-top: 1px solid var(--line); }
  .knowledge-list h3 { margin-bottom: 10px; font-size: 20px; }
  .knowledge-list p { color: var(--muted); font-size: 16px; line-height: 1.75; }
  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 32px 80px;
    margin-bottom: 36px;
  }
  .section-heading h2 { max-width: 18ch; }
  .section-heading p { max-width: 49ch; color: var(--muted); font-size: 16px; line-height: 1.75; }
  :is(.tutorial, .removal, .showcase, .video-section, .faq-section) { border-top: 1px solid var(--line); }
  .fit-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    border: 1px solid #725565;
    border-radius: var(--ql-control-radius);
    background: var(--ql-note);
    color: #ecdee5;
    font-size: 16px;
    line-height: 1.7;
    box-shadow: none;
  }
  .fit-note .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--ql-caution); }
  .fit-note p { max-width: 78ch; }
  .fit-note strong { font-weight: 630; }
  .step-list, .removal-list { margin-top: 16px; }
  :is(.step, .removal-step) {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 300px;
    align-items: start;
    column-gap: 36px;
    row-gap: 24px;
    padding-block: 44px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .step-number {
    padding-top: 1px;
    color: var(--rose);
    font-size: 48px;
    font-weight: 480;
    line-height: 1.05;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums lining-nums;
  }
  .step-copy { max-width: 64ch; padding-top: 3px; }
  .step-copy h3 { margin-bottom: 16px; font-size: 25px; font-weight: 620; line-height: 1.35; letter-spacing: -.025em; }
  .step-copy > p, .step-copy > ul { margin-top: 16px; color: #dedadc; font-size: 16px; line-height: 1.75; }
  .step-copy > p:first-of-type { margin-top: 0; }
  .step-copy > ul { padding-left: 22px; }
  .step-copy li + li { margin-top: 8px; }
  .step-copy strong { color: var(--ink); font-weight: 630; }
  .step-copy a, .faq-list details a { color: var(--ql-caution); }
  .step-copy a:hover, .faq-list details a:hover { color: #fff; }
  .step-copy .tip { max-width: 60ch; margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }
  .step-photo { grid-column: auto; max-width: none; justify-self: stretch; }
  .step-photo img { width: 100%; height: 100%; object-fit: contain !important; }
  .photo-zoom {
    right: 10px;
    bottom: 10px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--ql-control-line);
    border-radius: var(--ql-control-radius);
    background: var(--ql-glass);
    box-shadow: 0 4px 12px #0003;
  }
  .photo-zoom .icon { width: 18px; height: 18px; }
  .can-zoom, .can-zoom > img, .can-zoom .sweet-frame, .can-zoom .sweet-frame > img { cursor: zoom-in; }
  :is(.step, .removal-step):has(> .step-photo[hidden]) { grid-template-columns: 60px minmax(0, 1fr); }
  :is(.step, .removal-step):has(> .step-photo[hidden]) .step-copy { max-width: 72ch; }
  .step-copy .cut-note {
    display: inline-block;
    max-width: 100%;
    margin-top: 24px;
    padding: 14px 18px;
    border: 1px solid var(--ql-cut-line);
    border-radius: var(--ql-control-radius);
    background: var(--ql-cut-surface);
    color: #fff0f3;
    font-size: 16px;
    line-height: 1.6;
  }
  .step-copy .cut-note strong { color: #fff; }
  .step-copy .caution { margin-top: 20px; color: var(--ql-caution); font-size: 15px; line-height: 1.75; }
  .tutorial-followup { gap: 16px; margin-top: 32px; }

  /* ONLY the installation pair is equal-sized. Removal's text link stays a link. */
  #pemasangan > .tutorial-followup {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    width: min(100%, 760px);
    gap: 12px;
    margin-top: 36px;
  }
  #pemasangan > .tutorial-followup > .button { width: 100%; height: 100%; min-height: 54px; margin: 0; padding: 14px 20px; }
  #pemasangan > .tutorial-followup:has(> .button[hidden]) { grid-template-columns: minmax(0, 1fr); max-width: 374px; }

  .sweet-spot {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 64px;
    margin-top: 72px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
  }
  .sweet-copy h3 { margin-bottom: 18px; font-size: 30px; font-weight: 620; line-height: 1.25; letter-spacing: -.03em; }
  .sweet-copy p { max-width: 50ch; color: var(--muted); font-size: 16px; line-height: 1.75; }
  .sweet-copy .text-link { margin-top: 20px; }
  .sweet-photos { gap: 20px; }
  .sweet-frame { aspect-ratio: 1; border: 1px solid var(--ql-line-strong); border-radius: var(--photo-radius); background: var(--ql-well); }
  .sweet-frame img { width: 100%; height: 100%; object-fit: contain !important; }
  .sweet-photos figcaption { margin-top: 12px; color: var(--quiet); font-size: 14px; line-height: 1.55; }
  .sweet-spot.has-no-media { grid-template-columns: minmax(0, 1fr); }

  /* A second editorial split gives the shared gallery room without a tall tower. */
  .showcase-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-items: stretch;
    align-items: center;
    gap: 64px;
  }
  .showcase-copy { width: auto; max-width: 54ch; text-align: left; }
  .showcase-copy h2 { max-width: 21ch; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.2; }
  .showcase-copy > p { max-width: 49ch; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
  .showcase-copy .carousel-hint { margin-top: 16px; max-width: 49ch; color: var(--quiet); font-size: 14px; line-height: 1.6; }
  .showcase-copy .text-link { margin-top: 20px; }
  .gallery-carousel { width: min(100%, 360px); min-width: 0; justify-self: center; }
  .gallery-track { gap: 16px; border-radius: var(--photo-radius); scroll-padding: 0; }
  .gallery-caption { padding: 18px 0 0; text-align: center; }
  .gallery-caption h3 { font-size: 18px; font-weight: 600; line-height: 1.45; }
  .gallery-caption p { margin: 8px auto 0; max-width: 42ch; color: var(--quiet); font-size: 14px; line-height: 1.65; }
  .carousel-controls { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px 12px; margin-top: 8px; }
  .carousel-dots { gap: 0; min-height: 44px; padding: 0; overflow-x: auto; }
  .carousel-dots button, .hero-pagination .carousel-dots button {
    flex: 0 0 24px;
    width: 24px;
    min-width: 24px;
    height: 44px;
    min-height: 44px;
    border: 0;
    padding: 0;
    border-radius: 8px;
    background: transparent;
  }
  .carousel-dots button::before, .hero-pagination .carousel-dots button::before {
    width: 6px;
    height: 6px;
    border: 1px solid #a88998;
    background: #a88998;
    transition: background var(--motion-fast), border-color var(--motion-fast);
  }
  .carousel-dots button[aria-current="true"]::before {
    border-color: var(--rose);
    background: var(--rose);
    transform: none;
  }
  .carousel-dots button:hover:not(:disabled)::before { border-color: #fff; background: #fff; }
  .carousel-dots button:focus-visible { outline-offset: -4px; }
  .gallery-position, #dialog-position { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }

  .video-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .video-layout p { max-width: 51ch; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.75; }
  .video-layout strong { color: var(--ink); }
  .video-layout .button { margin-top: 28px; }
  .video-stage { width: min(100%, 320px); min-width: 0; justify-self: center; }
  .video-stage video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; border: 1px solid var(--ql-line-strong); border-radius: var(--photo-radius); background: var(--ql-well); }
  .video-error { margin-top: 14px; color: var(--ql-caution); font-size: 15px; }

  .faq-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 80px; }
  .faq-list { min-width: 0; }
  .faq-list details { border-bottom: 1px solid var(--line); }
  .faq-list details:first-child { border-top: 1px solid var(--line); }
  .faq-list summary {
    min-height: 76px;
    gap: 20px;
    padding: 22px 0;
    border-radius: 0;
    color: var(--rose);
    font-size: 17px;
    font-weight: 580;
    line-height: 1.55;
  }
  .faq-list summary:hover { color: #ffc1cc; }
  .faq-list summary .icon { width: 18px; height: 18px; color: var(--quiet); }
  .faq-list details[open] summary { color: #ffc1cc; }
  .faq-list details p { max-width: 64ch; padding: 0 36px 26px 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

  .closing {
    border-block: 1px solid #62404f;
    background: linear-gradient(110deg, #2d151f 0%, #1a1117 62%, #141013 100%);
  }
  .closing-inner { padding-block: 56px; align-items: center; gap: 40px; }
  .closing h2 { font-size: 34px; font-weight: 640; line-height: 1.2; }
  .closing p { max-width: 58ch; margin-top: 16px; color: var(--muted); font-size: 16px; }
  .closing .button { flex-shrink: 0; }
  .site-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-block: 36px; }
  .site-footer .brand { font-size: 21px; }
  .site-footer .orbit { width: 28px; height: 28px; }
  .site-footer p { color: var(--quiet); font-size: 13px; line-height: 1.6; }
  .back-top { min-height: 44px; gap: 9px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
  .back-top:hover { color: var(--ql-caution); }

  /* Native dialog stays in the top layer; no custom close lifecycle required.
     Captions remain content-driven: JS may hide empty/stale/filename captions. */
  .image-dialog {
    width: min(calc(100% - 48px), 1000px);
    max-height: calc(100dvh - 48px);
    padding: 20px 24px 24px;
    overflow: auto;
    border: 1px solid var(--ql-line-strong);
    border-radius: var(--photo-radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 24px 80px #000a;
  }
  .image-dialog::backdrop { background: #070508e8; backdrop-filter: none; }
  .dialog-heading { gap: 24px; margin-bottom: 18px; }
  .dialog-heading h2 { min-width: 0; font-size: 21px; font-weight: 620; line-height: 1.4; letter-spacing: -.02em; }
  .dialog-image-stage { height: min(66dvh, 720px); border: 1px solid var(--line); border-radius: var(--photo-radius); background: #0c090b; }
  .dialog-image-stage img { width: 100%; height: 100%; object-fit: contain; }
  .dialog-caption { max-width: 75ch; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }
  .dialog-gallery-controls { align-items: center; gap: 20px; margin-top: 20px; }
  .dialog-gallery-controls .button { min-height: 48px; padding: 12px 18px; font-size: 14px; }
  #dialog-position { white-space: nowrap; }
  .image-dialog[open] { animation: ql-dialog-open 220ms var(--ease) both; }
  @keyframes ql-dialog-open {
    from { opacity: .35; clip-path: inset(10px 0 0 round 24px); }
    to { opacity: 1; clip-path: inset(0 round 24px); }
  }

  /* One opening edge trace. JS adds .is-intro once, removes it after 900ms.
     Only this empty border overlay is clipped: the photograph is ALWAYS visible. */
  .hero-showcase.is-intro .hero-slide.is-active .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid var(--rose);
    border-radius: inherit;
    pointer-events: none;
    animation: ql-frame-trace 680ms var(--ease) both;
  }
  @keyframes ql-frame-trace {
    0% { opacity: .45; clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); }
    25% { opacity: 1; clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); }
    50% { opacity: 1; clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); }
    75% { opacity: 1; clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); }
    100% { opacity: 0; clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); }
  }

  @supports (backdrop-filter: blur(16px)) {
    .glass-masthead { background: linear-gradient(110deg, #ffffff0d, #ffffff03), #1c141bd6; backdrop-filter: blur(24px) saturate(125%); }
    .glass-button, .photo-zoom, .hero-arrow { backdrop-filter: blur(12px); }
  }

  @media (max-width: 1180px) {
    .wrap { width: calc(100% - 64px); }
    :root { --ql-section-space: 76px; }
    .hero-layout { column-gap: 40px; }
    h1 { font-size: clamp(3.5rem, 6.4vw, 4.75rem); }
    .kit-strip { gap: 32px; }
    .kit-photo { width: min(100%, 128px); }
    .preparation { flex-direction: row; align-items: center; gap: 28px; }
    .preparation p { max-width: 64ch; }
    .component-knowledge, .section-heading, .faq-layout { column-gap: 48px; }
    :is(.step, .removal-step) { grid-template-columns: 60px minmax(0, 1fr) 280px; column-gap: 28px; }
    :is(.step, .removal-step):has(> .step-photo[hidden]) { grid-template-columns: 60px minmax(0, 1fr); }
    .step-copy h3 { font-size: 24px; }
    .sweet-spot, .showcase-layout, .video-layout { gap: 48px; }
    .gallery-carousel { width: min(100%, 340px); }
  }

  @media (max-width: 940px) {
    .wrap { width: calc(100% - 48px); }
    :root { --ql-section-space: 64px; }
    .hero-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 32px; row-gap: 22px; }
    h1 { font-size: clamp(3.25rem, 7.2vw, 4.25rem); }
    h2 { font-size: 36px; }
    .hero-showcase { width: min(calc(100% - 48px), 340px); margin: 0; }
    .hero-actions { gap: 10px; }
    .hero-actions > .button { padding-inline: 17px; }
    .kit { margin-top: 18px; padding-top: 32px; }
    .kit-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .kit-item { display: block; }
    .kit-photo { width: min(100%, 112px); }
    .kit-photo img { height: 100%; padding: 8px; }
    .kit-copy h3 { margin-top: 18px; margin-bottom: 10px; font-size: 18px; }
    .kit-copy p { font-size: 16px; }
    .preparation { gap: 24px; }
    .component-knowledge { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px; }
    .section-heading { column-gap: 36px; }
    :is(.step, .removal-step) { grid-template-columns: 48px minmax(0, 1fr) 240px; column-gap: 24px; padding-block: 36px; }
    :is(.step, .removal-step):has(> .step-photo[hidden]) { grid-template-columns: 48px minmax(0, 1fr); }
    .step-number { font-size: 40px; }
    .step-copy h3 { font-size: 22px; }
    .sweet-spot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
    .sweet-photos { gap: 14px; }
    .sweet-copy h3 { font-size: 27px; }
    .showcase-layout, .video-layout, .faq-layout { gap: 36px; }
    .showcase-copy h2 { font-size: 33px; }
    .gallery-carousel { width: min(100%, 320px); }
    .video-stage { width: min(100%, 300px); }
    .site-footer { grid-template-columns: 1fr auto; gap: 12px 24px; }
    .site-footer p { grid-column: 1 / -1; grid-row: 2; }
    .back-top { grid-column: 2; grid-row: 1; justify-self: end; }
  }

  @media (max-width: 740px) {
    :root { --photo-radius: 18px; --ql-section-space: 56px; }
    .wrap { width: calc(100% - 40px); }
    h1 { font-size: clamp(3.25rem, 12vw, 4.5rem); line-height: 1.05; }
    h2 { font-size: clamp(2rem, 7.6vw, 2.5rem); line-height: 1.18; }
    h3 { font-size: 20px; }
    .hero-layout {
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: repeat(6, auto);
      gap: 24px;
      padding-top: 0;
    }
    .hero-overview > h1 { grid-column: 1; grid-row: 1; padding-top: 0; }
    .hero-overview > .intro { grid-column: 1; grid-row: 2; margin: 0; max-width: 56ch; font-size: 16px; }
    .hero-showcase { grid-column: 1; grid-row: 3; width: min(calc(100% - 48px), 264px, 36svh); margin: 4px 0 0; }
    .hero-actions { grid-column: 1; grid-row: 4; flex-direction: column; align-items: stretch; gap: 12px; margin: 0; padding: 0; }
    .hero-actions > .button { flex: 0 1 auto; width: 100%; padding: 14px 18px; font-size: 15px; }
    .button { min-height: 54px; padding: 14px 18px; font-size: 15px; }
    .hero-caption { padding-top: 14px; }
    .hero-caption h3 { font-size: 15px; }
    .hero-caption p, body:not(.is-editing) .hero-caption p { font-size: 13px; }
    .kit { grid-column: 1; grid-row: 5; margin-top: 12px; padding-top: 32px; }
    .kit h2 { margin-bottom: 28px; font-size: 26px; line-height: 1.25; }
    .kit-strip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .kit-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; }
    .kit-photo { width: 100%; border-radius: var(--photo-radius); }
    .kit-photo img { height: 100%; padding: 8px; }
    .kit-copy h3 { margin: 1px 0 10px; font-size: 18px; }
    .kit-copy p { max-width: 54ch; font-size: 16px; line-height: 1.7; }
    .kit-item.has-no-media { display: block; }
    .preparation { grid-column: 1; grid-row: 6; flex-direction: column; align-items: stretch; gap: 24px; margin-top: 8px; padding-block: 28px 32px; }
    .preparation p { max-width: 65ch; font-size: 16px; }
    .preparation .button { width: 100%; }
    .component-knowledge { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .component-knowledge > div > p { max-width: 65ch; margin-top: 20px; font-size: 16px; }
    .knowledge-list { gap: 24px; }
    .knowledge-list h3 { margin-bottom: 10px; font-size: 20px; }
    .section-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
    .section-heading h2 { max-width: none; }
    .section-heading p { max-width: 65ch; font-size: 16px; }
    .fit-note { padding: 18px; gap: 12px; border-radius: var(--ql-control-radius); }
    .fit-note .icon { width: 18px; height: 18px; margin-top: 4px; }
    .fit-note strong { display: block; margin-bottom: 5px; }
    .step-list, .removal-list { margin-top: 8px; }
    :is(.step, .removal-step), :is(.step, .removal-step):has(> .step-photo[hidden]) {
      grid-template-columns: 40px minmax(0, 1fr);
      column-gap: 16px;
      row-gap: 28px;
      padding-block: 36px;
    }
    .step-number { font-size: 34px; font-weight: 500; padding-top: 3px; }
    .step-copy { max-width: none; padding-top: 3px; }
    .step-copy h3 { font-size: 22px; margin-bottom: 14px; line-height: 1.35; }
    .step-copy > p, .step-copy > ul { font-size: 16px; line-height: 1.75; }
    .step-copy .tip { margin-top: 20px; font-size: 15px; line-height: 1.75; }
    .step-copy .cut-note { margin-top: 22px; padding: 13px 15px; font-size: 16px; }
    .step-copy .caution { margin-top: 20px; font-size: 15px; }
    .step-photo { grid-column: 1 / -1; width: 100%; max-width: 360px; justify-self: center; border-radius: var(--photo-radius); }
    .tutorial-followup { margin-top: 28px; gap: 16px; }
    .tutorial-followup > .text-link { width: auto; font-size: 15px; }
    #pemasangan > .tutorial-followup { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: none; gap: 12px; margin-top: 28px; }
    #pemasangan > .tutorial-followup > .button { min-height: 54px; padding: 14px 18px; font-size: 15px; }
    #pemasangan > .tutorial-followup:has(> .button[hidden]) { max-width: none; }
    .sweet-spot { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 48px; padding-top: 32px; }
    .sweet-copy h3 { margin-bottom: 18px; font-size: 27px; }
    .sweet-copy p { max-width: 65ch; font-size: 16px; }
    .sweet-copy .text-link { margin-top: 18px; font-size: 15px; }
    .sweet-photos { width: 100%; max-width: 520px; justify-self: center; gap: 16px; }
    .sweet-photos figcaption { margin-top: 10px; font-size: 14px; }
    .showcase-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; justify-items: center; }
    .showcase-copy { width: 100%; max-width: 60ch; text-align: center; }
    .showcase-copy h2 { max-width: none; font-size: clamp(1.875rem, 7.5vw, 2.5rem); }
    .showcase-copy > p { max-width: 55ch; margin: 20px auto 0; font-size: 16px; }
    .showcase-copy .carousel-hint { margin: 16px auto 0; font-size: 14px; }
    .showcase-copy .text-link { margin-top: 16px; font-size: 15px; }
    .gallery-carousel { width: min(100%, 320px); }
    .gallery-track { gap: 12px; }
    .gallery-photo { border-radius: var(--photo-radius); }
    .gallery-caption h3 { font-size: 17px; }
    .gallery-caption p { font-size: 14px; }
    .carousel-controls { gap: 4px 12px; margin-top: 8px; }
    .video-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .video-layout p { max-width: 65ch; margin-top: 20px; font-size: 16px; }
    .video-layout .button { width: 100%; margin-top: 24px; }
    .video-stage { width: min(100%, 320px); }
    .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .faq-list summary { min-height: 72px; gap: 18px; padding-block: 20px; font-size: 16px; }
    .faq-list details p { padding-right: 12px; padding-bottom: 24px; font-size: 16px; }
    .closing-inner { flex-direction: column; align-items: stretch; gap: 28px; padding-block: 40px; }
    .closing h2 { font-size: 29px; }
    .closing p { margin-top: 14px; font-size: 16px; }
    .closing .button { width: 100%; }
    .site-footer { grid-template-columns: 1fr auto; gap: 16px; padding-block: 28px; }
    .site-footer .brand { font-size: 20px; gap: 9px; }
    .site-footer p { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 13px; }
    .back-top { grid-column: 2; grid-row: 1; margin: 0; font-size: 13px; gap: 7px; }
    .image-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 14px; border-radius: var(--photo-radius); }
    .dialog-heading { gap: 14px; margin-bottom: 14px; }
    .dialog-heading h2 { font-size: 17px; line-height: 1.4; }
    .dialog-image-stage { height: min(60dvh, 600px); border-radius: var(--photo-radius); }
    .dialog-caption { margin-top: 14px; font-size: 13px; }
    .dialog-gallery-controls { gap: 10px; margin-top: 16px; }
    .dialog-gallery-controls .button { min-height: 48px; padding: 12px; gap: 6px; font-size: 13px; }
    .dialog-gallery-controls .icon { width: 17px; height: 17px; }
    #dialog-position { font-size: 13px; }
  }

  @media (max-width: 390px) {
    .wrap { width: calc(100% - 32px); }
    .hero-layout { row-gap: 22px; }
    h1 { font-size: clamp(3rem, 13vw, 3.5rem); }
    .kit-item { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
    .kit-copy h3 { font-size: 17px; }
    .kit-photo img { height: 100%; padding: 6px; }
    .fit-note { padding: 16px 14px; gap: 10px; }
    :is(.step, .removal-step), :is(.step, .removal-step):has(> .step-photo[hidden]) { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; }
    .step-number { font-size: 31px; }
    .step-copy h3 { font-size: 21px; }
    #pemasangan > .tutorial-followup > .button { padding-inline: 14px; }
    .sweet-photos { gap: 12px; }
    .site-footer { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .site-footer .brand { grid-row: 1; font-size: 20px; }
    .site-footer p { grid-column: 1; grid-row: 3; }
    .back-top { grid-column: 1; grid-row: 2; justify-self: start; margin: 0; font-size: 13px; }
    .dialog-gallery-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; }
    .dialog-gallery-controls .button { padding: 11px 8px; gap: 4px; font-size: 12px; }
    .dialog-gallery-controls .icon { width: 14px; height: 14px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .hero-showcase.is-intro .hero-slide.is-active .hero-photo::after { content: none; }
  }
}
