/* HUMANOVA · home only */

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; overflow: clip; border-bottom: 1px solid var(--line-soft); }
.hero-art { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 13, 11, .55) 0%, rgba(18, 13, 11, .18) 34%, rgba(18, 13, 11, .30) 62%, var(--night) 100%),
    radial-gradient(90% 60% at 50% 30%, transparent 40%, rgba(18, 13, 11, .35) 100%);
}
.hero-in { position: relative; padding: 64px 0 0; }
.hero h1 { font-size: clamp(52px, 11.5vw, 118px); letter-spacing: -.015em; text-shadow: 0 4px 44px rgba(0, 0, 0, .45); }
.hero h1 .pulse-word { color: var(--coral); }
.hero-sub { margin-top: 18px; font-size: clamp(16px, 2.4vw, 19px); color: var(--cream); max-width: 54ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.hero-sub b { color: var(--amber); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ecg-wrap { position: relative; margin-top: 34px; }
#ecg { display: block; width: 100%; height: 110px; }
.ecg-cap { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-faint); padding: 6px 2px 0; }
.ecg-cap b { color: var(--coral); font-weight: 700; }

/* ---------- vitals band ---------- */
.vitals { border-bottom: 1px solid var(--line-soft); background: var(--ink-3); }
.vitals-in { display: grid; grid-template-columns: repeat(2, 1fr); }
.vital { padding: 18px 16px 16px; border-left: 1px solid var(--line-soft); min-width: 0; }
.vital:first-child { border-left: none; }
.vital .v-label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.vital .v-value { font-family: var(--mono); font-weight: 700; font-size: clamp(19px, 4.6vw, 27px); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 820px) { .vitals-in { grid-template-columns: repeat(4, 1fr); } }

/* ---------- board ---------- */
.board-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .board-grid { grid-template-columns: 1.25fr 1fr; } }
.gauge { height: 12px; border-radius: 999px; background: var(--ink-2); overflow: hidden; margin: 14px 0 8px; }
.gauge i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--amber), var(--coral)); border-radius: 999px; transition: width .8s ease; }
.gauge-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--cream-faint); }
.verdict-name { font-family: var(--disp); font-weight: 800; font-size: clamp(30px, 6vw, 42px); }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); font-size: 14.5px; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--cream-faint); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.kv .v { font-family: var(--mono); font-weight: 700; text-align: right; }
.phase-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.phase-chip {
  font-family: var(--mono); font-size: 12px; text-align: center; padding: 9px 2px;
  border: 1px solid var(--line-soft); border-radius: 10px; color: var(--cream-faint);
}
.phase-chip.on { border-color: var(--coral); color: var(--cream); background: var(--coral-dim); }

/* ---------- steps / rates ---------- */
.step-num { font-family: var(--disp); font-weight: 800; font-size: 34px; color: var(--coral); }
.rate-big { font-family: var(--disp); font-weight: 800; font-size: clamp(26px, 5vw, 34px); }
.rate-card p { color: var(--cream-dim); font-size: 14.5px; margin: 8px 0 0; }
.gold-card { border-color: rgba(242, 179, 61, .4); }
.gold-card .rate-big { color: var(--gold); }

/* ---------- specimen ---------- */
.specimen { display: grid; gap: 18px; align-items: center; }
@media (min-width: 820px) { .specimen { grid-template-columns: 340px 1fr; } }
.specimen figure { margin: 0; }
.specimen img { border-radius: var(--radius); border: 1px solid var(--line-soft); display: block; width: 100%; }
.specimen figcaption { font-family: var(--mono); font-size: 11.5px; color: var(--cream-faint); margin-top: 9px; letter-spacing: .06em; }

/* ---------- checker ---------- */
.checker { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.checker input {
  flex: 1 1 200px; background: var(--ink-3); border: 1px solid var(--line);
  border-radius: 999px; padding: 13px 20px; color: var(--cream);
  font-family: var(--mono); font-size: 15px;
}
.checker input:focus { outline: 2px solid var(--coral); outline-offset: 2px; }
#checker-out { margin-top: 14px; color: var(--cream-dim); font-size: 15px; min-height: 24px; }
#checker-out b { color: var(--cream); }
