/* HQ-only layout (v9): hero, fact cards, signature flow, chair drawing. Shared pieces live in base.css. */
.hero { position: relative; isolation: isolate; padding-block: clamp(2.4rem, 6vw, 4.8rem) clamp(1.6rem, 3vw, 2.6rem); }
/* soft copper and cyan glow over a dot grid, fading out downwards */
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0 clamp(8px, 1.4vw, 16px); border-radius: var(--radius-lg);
  background:
    radial-gradient(52% 62% at 86% 0%, color-mix(in srgb, var(--copper) 26%, transparent), transparent 72%),
    radial-gradient(44% 52% at 0% 0%, color-mix(in srgb, var(--cyan) 11%, transparent), transparent 72%),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--fg) 15%, transparent) 1px, transparent 1.6px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.hero > .wrap { position: relative; }
.hero:not(.hero-home) h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.3rem); max-width: 18ch; }
.hero-top { display: grid; gap: 1.5rem; }
.hero-top h1 { max-width: 19ch; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.3rem 0.85rem; border: 1px solid var(--line); border-radius: var(--pill);
  background: var(--card); font-family: var(--f-mono); font-size: var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 25%, transparent); }
.tagline { font-family: var(--f-mono); font-size: var(--label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.hero-grid > * { min-width: 0; }
.hero h1 em { color: var(--accent); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* hero figure: one chair, four cost layers (same drawing language as the product page) */
.figure { margin: 0; position: relative; --figbg: var(--surface); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 1.2rem 1.3rem 1.1rem; }
.figure::before { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--copper), transparent); }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { font-family: var(--f-mono); font-size: var(--label); letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; padding-top: 0.8rem; }
.hl { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hl-bahan { stroke: var(--copper); stroke-width: 2.6; }
.hl-tenaga { stroke: var(--silver); }
.hl-wait { stroke: var(--cyan); }
.hl-susut { stroke: var(--silver); stroke-dasharray: 3 5; }

/* illustrative cost stack under the chair */
.costbar { display: flex; gap: 3px; height: 12px; margin-top: 0.9rem; }
.costbar span { display: block; height: 100%; border-radius: var(--pill); }
.cb1 { background: var(--copper); } .cb2 { background: var(--silver); } .cb3 { background: var(--cyan); }
.cb4 { background: repeating-linear-gradient(45deg, var(--silver) 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px var(--silver); }
.costnote { font-family: var(--f-mono); font-size: var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 0.45rem; }

/* fact cards under the hero */
.facts { margin: clamp(1.4rem, 3vw, 2.2rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.facts > div { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 1rem 1.1rem 1.1rem; display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.facts dt { font-family: var(--f-mono); font-size: var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 0.95rem; line-height: 1.4; }
.facts dd.big { font-family: var(--f-display); font-weight: 700; font-size: 2.4rem; line-height: 1; letter-spacing: -0.03em; }
@media (max-width: 980px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .facts { gap: 8px; } .facts > div { padding: 0.85rem 0.9rem 0.95rem; } .facts dd { font-size: 0.9rem; } }

/* hero: experiment 01 card */
.exp-card { border: 1px solid color-mix(in srgb, var(--copper) 40%, var(--line)); background: color-mix(in srgb, var(--copper) 7%, transparent); border-radius: var(--radius); padding: 1rem 1.2rem 1.1rem; display: grid; gap: 0.55rem; max-width: 60ch; }
.exp-card .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.exp-card p:not(.eyebrow) { font-size: 0.93rem; line-height: 1.55; color: var(--muted); }

/* ---------- signature: From Complexity to Capability ---------- */
.flow { display: grid; gap: 1.2rem; }
.flow-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.flow-tabs button {
  background: none; border: 0; border-radius: 16px; color: var(--muted);
  padding: 0.8rem 0.95rem; text-align: left; cursor: pointer; font: inherit; display: grid; gap: 0.15rem; min-height: var(--tap);
  transition: background 180ms ease, color 180ms ease;
}
.flow-tabs .n { font-family: var(--f-mono); font-size: var(--label); letter-spacing: 0.1em; }
.flow-tabs .t { font-family: var(--f-display); font-weight: 650; font-size: 1.05rem; color: var(--fg); }
.flow-tabs button:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.flow-tabs button[aria-selected="true"] { background: var(--accent-fill); color: var(--on-accent); }
.flow-tabs button[aria-selected="true"] .t { color: var(--on-accent); }
@media (max-width: 640px) {
  .flow-tabs { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .flow-tabs button { grid-template-columns: 2.5rem 1fr; align-items: baseline; }
}
.flow-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--surface); }
.flow-panel > * { min-width: 0; }
.flow-panel figure { margin: 0; }
.flow-panel svg { width: 100%; height: auto; display: block; }
.flow-panel .k { font-family: var(--f-mono); font-size: var(--label); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.flow-panel[hidden] { display: none; }
@media (max-width: 760px) { .flow-panel { grid-template-columns: minmax(0, 1fr); } }

/* step drawings: soft fills, rounded joins */
.sx { fill: color-mix(in srgb, var(--silver) 8%, transparent); stroke: var(--silver); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sx-hi { fill: color-mix(in srgb, var(--copper) 12%, transparent); stroke: var(--copper); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.sx-sig { fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sx-fill { fill: var(--copper); stroke: none; }
.sx-txt { fill: var(--silver); font-family: var(--f-mono); font-size: 13px; }
.sx-txt-hi { fill: var(--soft-white); font-family: var(--f-mono); font-size: 13px; }
.flow-panel svg rect { rx: 7px; }

@media (prefers-reduced-motion: no-preference) {
  .flow-panel:not([hidden]) { animation: settle 420ms cubic-bezier(.2,.7,.2,1); }
  @keyframes settle { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

h2.h-entry { font-size: var(--step-1); font-weight: 650; line-height: 1.25; letter-spacing: -0.005em; }
th[scope="row"] { color: var(--fg); text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: 0.93rem; font-weight: 600; background: none; }

/* chair drawing: poles are a thick stroke with a thinner background-coloured stroke on top */
.ch-tube { fill: none; stroke: inherit; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.ch-core { fill: none; stroke: var(--figbg); stroke-width: 3.8; stroke-linecap: round; stroke-linejoin: round; }
.ch-rearlegs .ch-tube { stroke: var(--muted); opacity: 0.4; }
.ch-floor { fill: none; stroke: var(--line); stroke-width: 1.4; }
.ch-lead { fill: none; stroke: var(--cyan); stroke-width: 1.3; stroke-dasharray: 2 4; opacity: 0.8; }
.hl-tenaga .wv { fill: url(#hw); stroke: none; }
.hl-tenaga .wv-edge { fill: none; stroke: var(--silver); stroke-width: 1.6; }
.hl-susut { stroke-dasharray: none; stroke-width: 2.4; }
.hl-wait { stroke-width: 2.4; }
.ch-badge circle { fill: var(--figbg); stroke: currentColor; stroke-width: 1.6; }
.ch-badge text { fill: var(--fg); font: 500 13.5px var(--f-mono); }
.ch-b1 { color: var(--copper); } .ch-b2 { color: var(--silver); } .ch-b3 { color: var(--cyan); } .ch-b4 { color: var(--silver); }
.legend { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; font-family: var(--f-mono); font-size: var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); }
.legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.sw { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; font-weight: 500; font-size: 12px; }
.sw1 { color: var(--copper); } .sw2 { color: var(--silver); } .sw3 { color: var(--cyan); } .sw4 { color: var(--silver); }
