/* Holland hexagon explorer (homepage, RIASEC page) */

/* Hexagon explorer */
.hex-explorer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hex { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 1; margin: 0 auto; }
.hex__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hex__outer { fill: var(--hl-bg); stroke: var(--hl-border); }
.hex__inner { fill: none; stroke: var(--hl-border); stroke-dasharray: 3 3; }
.hex__bg line { stroke: var(--hl-border-soft); }
.hex__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--hl-muted); letter-spacing: .04em; text-transform: uppercase; }
.hex__node {
	position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
	width: 21%; aspect-ratio: 1 / 1; min-width: 72px; padding: 0; border-radius: 50%;
	border: 2px solid var(--hl-border); background: #fff; color: var(--ink);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	box-shadow: 0 1px 2px rgba(14, 40, 95, .06); transition: background .2s ease, box-shadow .2s ease;
}
/* Pressed state uses the darker ink so the small group name keeps 4.5:1 contrast on every letter. */
.hex__node[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 12px 24px -10px var(--c); }
.hex__node:hover { border-color: var(--c); }
.hex__key { font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1; }
.hex__name { font-size: clamp(12px, 1.1vw, 13px); font-weight: 600; line-height: 1.2; }
.hex__hint { margin: 16px auto 0; font-size: 14px; line-height: 1.55; color: var(--hl-muted); text-align: center; max-width: 420px; }
.hex-panel { border: 1px solid var(--hl-border); border-radius: var(--hl-radius-xl); background: var(--hl-bg); min-height: 420px; display: flex; flex-direction: column; padding: clamp(24px, 3.5vw, 40px); }
.hex-panel__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hex-panel__letter { width: 72px; height: 72px; border-radius: var(--hl-radius-lg); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 700; line-height: 1; color: var(--on); background: var(--c); flex: none; }
.hex-panel__name { font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--hl-navy); }
.hex-panel__en { font-size: 14px; color: var(--hl-muted); margin-top: 4px; }
.hex-panel__desc { font-size: 18px; line-height: 1.6; margin-bottom: 32px; }
.hex-panel .card__label { letter-spacing: .04em; margin-bottom: 12px; }
.hex-panel__acts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hex-panel__acts li { padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 15px; line-height: 1.4; }
.hex-panel__env { font-size: 16px; line-height: 1.6; }
.hex-panel__link { margin-top: auto; padding-top: 16px; }

.hex-panel__rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin-bottom: 8px; }
.hex-panel__rel > div { padding: 14px 16px; border-radius: var(--hl-radius); background: #fff; border: 1px solid var(--hl-border-soft); }
.hex-panel__rel .card__label { margin-bottom: 8px; }
.hex-panel__rel p { font-size: 15px; }
/* Model variant (RIASEC page): darker ink tiles with white text */
.hex-explorer--model .hex__node { color: var(--ink); }
.hex-explorer--model .hex__node[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px var(--ink); }
.hex-explorer--model .hex-panel { min-height: 0; }
.hex-explorer--model .hex-panel__letter { width: 64px; height: 64px; background: var(--ink); color: #fff; }
.hex-explorer--model .hex-panel__desc { font-size: 17px; margin-bottom: 20px; }
