#home-explorer {
  --hx-ink: #2a0a14;
  --hx-muted: #66545a;
  --hx-gold: #956723;
  --hx-line: #e5dce0;
  background: #fff;
  color: var(--hx-ink);
  padding: clamp(56px, 7vw, 108px) 24px;
  font-family: 'DM Sans', sans-serif;
  isolation: isolate;
}
#home-explorer [hidden] { display: none !important; }
#home-explorer * { box-sizing: border-box; }
#home-explorer .hx-shell { max-width: 1200px; margin: 0 auto; }
#home-explorer .hx-intro { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; margin-bottom: 36px; }
#home-explorer .hx-eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--hx-gold); font-weight: 700; margin-bottom: 15px; }
#home-explorer h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.04; font-weight: 400; letter-spacing: -1.4px; margin: 0; }
#home-explorer h2 em { color: var(--hx-gold); font-weight: 400; }
#home-explorer .hx-intro-copy { color: var(--hx-muted); font-size: 15px; line-height: 1.85; max-width: 450px; }
#home-explorer .hx-instruction { font-size: 12px; color: var(--hx-muted); margin: 0 0 16px; line-height: 1.65; }
#home-explorer .hx-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 32px; }
#home-explorer .hx-pillar {
  position: relative; appearance: none; border: 1px solid var(--hx-line); border-radius: 12px; background: #fff;
  padding: 20px; text-align: left; color: var(--hx-ink); font: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; min-height: 178px;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
#home-explorer .hx-pillar:hover { border-color: #ad8a54; background: #fffdf8; transform: translateY(-3px); box-shadow: 0 10px 28px #2a0a140a; }
#home-explorer .hx-pillar[aria-pressed='true'] { background: #2a0a14; color: #fffdf8; border-color: #2a0a14; box-shadow: 0 10px 28px #2a0a1414; }
#home-explorer .hx-number { font-size: 11px; letter-spacing: 2px; color: var(--hx-gold); margin-bottom: 16px; }
#home-explorer .hx-pillar[aria-pressed='true'] .hx-number { color: #e1b87b; }
#home-explorer .hx-pillar strong { font-size: 15px; line-height: 1.4; font-weight: 600; max-width: 190px; }
#home-explorer .hx-pillar-cue { font-size: 12px; line-height: 1.6; color: var(--hx-muted); margin-top: 9px; }
#home-explorer .hx-pillar[aria-pressed='true'] .hx-pillar-cue { color: #e3ccd2; }
#home-explorer .hx-pillar::after { content: '↗'; position: absolute; right: 17px; top: 15px; font-size: 18px; color: var(--hx-gold); transition: transform .2s; }
#home-explorer .hx-pillar[aria-pressed='true']::after { content: '↓'; color: #e1b87b; }
#home-explorer .hx-pillar:hover::after { transform: translate(2px, -2px); }
#home-explorer .hx-stage { border: 1px solid var(--hx-line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 18px 60px #2a0a1408; }
#home-explorer .hx-stage-head { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding: 30px 32px 26px; }
#home-explorer .hx-stage-head h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 500; margin-bottom: 12px; }
#home-explorer .hx-summary { font-size: 14px; line-height: 1.8; color: var(--hx-muted); max-width: 690px; }
#home-explorer .hx-badge { flex-shrink: 0; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; border: 1px solid #d5c9bd; color: #6c5026; background: #fffdf8; padding: 8px 11px; border-radius: 30px; margin-top: 2px; }
#home-explorer .hx-board { background-color: #faf8f5; background-image: radial-gradient(#d4c8c3 0.7px, transparent 0.7px); background-size: 16px 16px; border-top: 1px solid var(--hx-line); border-bottom: 1px solid var(--hx-line); padding: 32px; }
#home-explorer .hx-board-label { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 28px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--hx-muted); }
#home-explorer .hx-board-label span:first-child::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #956723; margin-right: 8px; }
#home-explorer .hx-flow { position: relative; }
#home-explorer .hx-wires { position: absolute; top: 50%; left: 6%; width: 88%; height: 28px; transform: translateY(-50%); overflow: visible; pointer-events: none; }
#home-explorer .hx-wire-base { stroke: #b4a5a8; stroke-width: 1.5; }
#home-explorer .hx-wire-pulse { stroke: #956723; stroke-width: 3; stroke-dasharray: 7 193; stroke-dashoffset: 3.5; opacity: 0; }
#home-explorer.hx-running .hx-wire-pulse { opacity: 1; }
#home-explorer.hx-running .hx-node { transition: none; }
#home-explorer .hx-nodes { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
#home-explorer .hx-node { width: 100%; min-height: 148px; height: 100%; appearance: none; background: #fff; border: 1px solid #bdb0b4; border-radius: 12px; padding: 17px 12px; color: var(--hx-ink); font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 8px; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s; }
#home-explorer .hx-node:hover { transform: translateY(-3px); }
#home-explorer .hx-node[aria-pressed='true'] { border-color: var(--hx-ink); }
#home-explorer .hx-node[data-flow-active='true'] { border-color: var(--hx-gold); box-shadow: 0 0 0 3px #a8783026, 0 12px 24px #2a0a1410; background: #fffdf8; }
#home-explorer .hx-node-description { font-size: 12px; line-height: 1.65; color: var(--hx-muted); border-top: 1px solid var(--hx-line); padding-top: 12px; margin-top: 4px; visibility: hidden; opacity: 0; }
#home-explorer .hx-node[data-revealed='true'] .hx-node-description { visibility: visible; opacity: 1; transition: opacity .6s ease; }
#home-explorer .hx-node-number { color: var(--hx-gold); font-size: 11px; letter-spacing: 1px; margin-bottom: 6px; }
#home-explorer .hx-node strong { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
#home-explorer .hx-node-caption { font-size: 11px; color: var(--hx-muted); line-height: 1.5; }
#home-explorer .hx-trust { position: relative; border: 1px dashed #b7a280; border-radius: 9px; margin-top: 24px; padding: 13px 18px; font-size: 12px; line-height: 1.65; color: #654b28; background: #fffdf8e8; text-align: center; }
#home-explorer .hx-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
#home-explorer .hx-button { background: #fff; border: 1px solid #c7b9be; border-radius: 7px; color: var(--hx-ink); font: 500 12px 'DM Sans', sans-serif; padding: 11px 16px; cursor: pointer; min-height: 42px; }
#home-explorer .hx-button:hover { background: #f4eee6; border-color: var(--hx-gold); }
#home-explorer .hx-button[aria-pressed='true'] { color: #fff; background: #2a0a14; border-color: #2a0a14; }
#home-explorer .hx-controls-note { font-size: 11px; color: var(--hx-muted); margin-left: auto; }
#home-explorer .hx-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 32px; min-height: 265px; }
#home-explorer .hx-step { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--hx-gold); margin-bottom: 12px; }
#home-explorer .hx-detail h4 { font-size: 21px; font-weight: 500; line-height: 1.3; margin-bottom: 14px; }
#home-explorer .hx-detail p { color: var(--hx-muted); font-size: 14px; line-height: 1.85; }
#home-explorer .hx-detail h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; margin: 0 0 12px; }
#home-explorer .hx-checks { padding: 0; margin: 0; list-style: none; }
#home-explorer .hx-checks li { font-size: 13px; color: var(--hx-muted); line-height: 1.7; position: relative; padding-left: 19px; margin-bottom: 7px; }
#home-explorer .hx-checks li::before { content: '↳'; position: absolute; left: 0; color: var(--hx-gold); }
#home-explorer .hx-output { border-top: 1px solid var(--hx-line); margin-top: 16px; padding-top: 13px; color: var(--hx-ink); font-size: 12px; line-height: 1.6; }
#home-explorer .hx-output span:first-child { color: var(--hx-gold); font-weight: 700; margin-right: 5px; }
#home-explorer .hx-stage-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 32px; border-top: 1px solid var(--hx-line); }
#home-explorer .hx-text-link { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 9px 0; background: transparent; color: #714b19; font: 600 12px 'DM Sans', sans-serif; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; min-height: 40px; }
#home-explorer .hx-text-link::after { content: '↗'; font-size: 16px; }
#home-explorer .hx-closing { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; padding: 28px 0 0; }
#home-explorer .hx-closing h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 30px; margin-bottom: 8px; }
#home-explorer .hx-closing p { font-size: 13px; color: var(--hx-muted); line-height: 1.8; max-width: 700px; }
#home-explorer .hx-primary-link { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 7px; background: #2a0a14; color: #fffdf8; padding: 15px 22px; text-decoration: none; font-size: 12px; font-weight: 500; min-height: 46px; }
#home-explorer :is(button,a,summary):focus-visible { outline: 3px solid #926321; outline-offset: 5px; }
#home-explorer .hx-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#home-explorer .hx-fallback { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
#home-explorer .hx-fallback details { border: 1px solid var(--hx-line); padding: 20px; border-radius: 10px; }
#home-explorer .hx-fallback summary { cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.5; }
#home-explorer .hx-fallback p { font-size: 14px; color: var(--hx-muted); line-height: 1.8; margin-top: 14px; }
#home-explorer .hx-fallback a { color: #714b19; }
@media (max-width: 1000px) {
  #home-explorer .hx-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #home-explorer .hx-pillar { padding: 17px 14px; min-height: 190px; }
  #home-explorer .hx-stage-head { flex-direction: column; gap: 16px; }
  #home-explorer .hx-nodes { gap: 14px; }
  #home-explorer .hx-node { padding: 14px 9px; }
  #home-explorer .hx-node strong { font-size: 13px; }
  #home-explorer .hx-detail { gap: 28px; }
}
@media (max-width: 700px) {
  #home-explorer { padding: 50px 18px; }
  #home-explorer .hx-intro { grid-template-columns: 1fr; gap: 22px; }
  #home-explorer .hx-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #home-explorer .hx-pillar { min-height: 176px; }
  #home-explorer .hx-pillar strong { font-size: 14px; }
  #home-explorer .hx-stage-head, #home-explorer .hx-board, #home-explorer .hx-detail { padding: 23px 20px; }
  #home-explorer .hx-nodes { grid-template-columns: 1fr; gap: 22px; }
  #home-explorer .hx-nodes li { position: relative; }
  #home-explorer .hx-nodes li + li::before { content: '↓'; position: absolute; top: -23px; left: 50%; color: #956723; font-size: 17px; }
  #home-explorer .hx-node { display: grid; grid-template-columns: 28px 1fr; min-height: 80px; gap: 5px 12px; padding: 15px 18px; }
  #home-explorer .hx-node-number { grid-row: span 2; margin: 4px 0 0; }
  #home-explorer .hx-node strong { font-size: 15px; }
  #home-explorer .hx-node-caption { grid-column: 2; }
  #home-explorer .hx-node-description { grid-column: 1 / -1; }
  #home-explorer .hx-wires { display: none; }
  #home-explorer.hx-running .hx-node[data-flow-active='true']::after { content: ''; position: absolute; right: 15px; top: 14px; height: 5px; width: 5px; background: #956723; border-radius: 50%; }
  #home-explorer .hx-board-label { font-size: 9px; margin-bottom: 22px; }
  #home-explorer .hx-detail { grid-template-columns: 1fr; gap: 24px; }
  #home-explorer .hx-controls-note { margin-left: 0; flex-basis: 100%; }
  #home-explorer .hx-stage-footer { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px; }
  #home-explorer .hx-closing { flex-direction: column; align-items: flex-start; gap: 20px; }
  #home-explorer .hx-fallback { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #home-explorer *, #home-explorer *::before, #home-explorer *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #home-explorer .hx-pillar:hover, #home-explorer .hx-node:hover { transform: none; }
  #home-explorer .hx-node-description { visibility: visible; opacity: 1; }
}
