/* =====================================================================
   Tavrik — Contact + Industry pack page styles
   ===================================================================== */

/* ---------- CONTACT FORM ---------- */
.vstage .tk-form {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.vstage .tk-form-body fieldset {
  border: 0;
  border-top: 1px solid var(--border-1);
  padding: 32px 0;
  margin: 0;
}
.vstage .tk-form-body fieldset:first-child { border-top: 0; padding-top: 0; }
.vstage .tk-form-body legend {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: baseline;
  width: 100%;
  padding: 0;
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.vstage .tk-form-body legend .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 400;
}

.vstage .tk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.vstage .tk-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.vstage .tk-field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.vstage .tk-field-label .req { color: var(--accent-deep); margin-left: 3px; }
.vstage .tk-field-sub {
  font-size: 12px;
  color: var(--fg-2);
  margin-bottom: 10px;
  font-style: italic;
}
.vstage .tk-field input,
.vstage .tk-field select,
.vstage .tk-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg-1);
  padding: 12px 14px;
  border: 1px solid var(--border-1);
  border-radius: 0;
  background: #FBF8F2;
  transition: border-color 120ms ease;
}
.vstage .tk-field input:focus,
.vstage .tk-field select:focus,
.vstage .tk-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}
.vstage .tk-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
}

.vstage .tk-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vstage .tk-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  padding: 8px 14px;
  border: 1px solid var(--border-1);
  background: var(--bg);
  color: var(--fg-1);
  cursor: pointer;
  transition: all 120ms ease;
}
.vstage .tk-chip:hover { border-color: var(--accent); }
.vstage .tk-chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.vstage .tk-form-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-1);
  align-items: flex-start;
}
.vstage .tk-form-foot-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
}

/* ---------- contact aside ---------- */
.vstage .tk-form-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 24px;
}
.vstage .tk-aside-card {
  border: 1px solid var(--border-1);
  background: #FBF8F2;
  padding: 28px;
}
.vstage .tk-aside-card .eyebrow {
  display: block;
  margin-bottom: 18px;
}
.vstage .tk-aside-quiet {
  background: var(--bg);
}
.vstage .tk-aside-quiet p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.vstage .tk-aside-list {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: aside;
}
.vstage .tk-aside-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border-1);
}
.vstage .tk-aside-list li:first-child { border-top: 0; padding-top: 0; }
.vstage .tk-aside-list .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--accent-deep);
}
.vstage .tk-aside-list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-1);
  margin-bottom: 4px;
}
.vstage .tk-aside-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
  text-wrap: pretty;
}
.vstage .tk-aside-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.vstage .tk-aside-dl > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border-1);
}
.vstage .tk-aside-dl > div:first-child { border-top: 0; padding-top: 0; }
.vstage .tk-aside-dl dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-2);
}
.vstage .tk-aside-dl dd {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-1);
  margin: 0;
}

/* ---------- contact confirmation ---------- */
.vstage .tk-confirm {
  border: 1px solid var(--border-1);
  background: #FBF8F2;
}
.vstage .tk-confirm-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 24px;
  border-top: 1px solid var(--border-1);
  align-items: center;
}
.vstage .tk-confirm-row:first-child { border-top: 0; }
.vstage .tk-confirm-row .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-2);
}
.vstage .tk-confirm-row .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-1);
}
.vstage .tk-confirm-row span:last-child:not(.mono) {
  font-size: 14px;
  color: var(--fg-1);
}

/* =====================================================================
   HEALTHCARE PACK
   ===================================================================== */

/* stats strip */
.vstage .va-statsstrip {
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  background: #FBF8F2;
  padding: 28px 0;
}
.vstage .va-statsstrip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.vstage .va-statsstrip-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 28px;
  border-left: 1px solid var(--border-1);
}
.vstage .va-statsstrip-item:first-child { border-left: 0; padding-left: 0; }
.vstage .va-statsstrip-item .num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-deep);
  line-height: 1.1;
}
.vstage .va-statsstrip-item .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-2);
}

/* policy pack grid */
.vstage .tk-pack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-1);
  border-left: 1px solid var(--border-1);
}
.vstage .tk-pack-card {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.vstage .tk-pack-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  margin-bottom: 22px;
}
.vstage .tk-pack-head .tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}
.vstage .tk-pack-head .frameworks {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-2);
}
.vstage .tk-pack-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0 0 14px;
}
.vstage .tk-pack-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}

/* framework mapping table */
.vstage .tk-fwmap {
  border: 1px solid var(--border-1);
  background: var(--bg);
  overflow-x: auto;
}
.vstage .tk-fwmap-head,
.vstage .tk-fwmap-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr 1fr 1.4fr;
  gap: 20px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-1);
  align-items: baseline;
}
.vstage .tk-fwmap-row:last-child { border-bottom: 0; }
.vstage .tk-fwmap-head {
  background: #FBF8F2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-2);
}
.vstage .tk-fwmap-row .col-name {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--fg-1);
  font-weight: 500;
}
.vstage .tk-fwmap-row .col-cell {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-1);
}
.vstage .tk-fwmap-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  margin-top: 16px;
}

/* reference deployment */
.vstage .tk-ref-section { padding-top: 80px; padding-bottom: 96px; }

.vstage .tk-ref-headline {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
  margin: 32px 0 56px;
}
.vstage .tk-ref-headline h2 {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--bone-50);
  text-wrap: balance;
}
.vstage .tk-ref-headline h2 .copper { color: var(--accent); display: block; }
.vstage .tk-ref-headline p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone-200);
  max-width: 42ch;
}

.vstage .tk-ref-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 246, 232, 0.14);
  border-bottom: 1px solid rgba(255, 246, 232, 0.14);
  margin-bottom: 56px;
}
.vstage .tk-ref-stats > div {
  padding: 32px 28px;
  border-left: 1px solid rgba(255, 246, 232, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vstage .tk-ref-stats > div:first-child { border-left: 0; padding-left: 0; }
.vstage .tk-ref-stats .num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.vstage .tk-ref-stats .num .sub {
  font-size: 28px;
  color: var(--bone-300);
  letter-spacing: -0.01em;
  margin-left: 2px;
}
.vstage .tk-ref-stats .lbl {
  font-size: 13px;
  line-height: 1.45;
  color: var(--bone-200);
  max-width: 22ch;
}

.vstage .tk-ref {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 246, 232, 0.14);
  background: transparent;
}
.vstage .tk-ref-col {
  padding: 36px 28px 8px 0;
  border-right: 1px solid rgba(255, 246, 232, 0.08);
}
.vstage .tk-ref-col + .tk-ref-col { padding-left: 28px; }
.vstage .tk-ref-col:last-child { border-right: 0; }
.vstage .tk-ref-col .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.vstage .tk-ref-col p,
.vstage .tk-ref-col li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bone-100);
  text-wrap: pretty;
}
.vstage .tk-ref-col p em {
  font-style: italic;
  color: var(--bone-50);
}
.vstage .tk-ref-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.vstage .tk-ref-col li {
  padding: 12px 0 12px 18px;
  position: relative;
  border-bottom: 1px dashed rgba(255, 246, 232, 0.10);
}
.vstage .tk-ref-col li:last-child { border-bottom: 0; }
.vstage .tk-ref-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}


/* other packs */
.vstage .tk-packs-other {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border-1);
  background: var(--bg);
}
.vstage .tk-pack-other {
  padding: 28px 22px 32px;
  border-right: 1px solid var(--border-1);
  display: flex;
  flex-direction: column;
}
.vstage .tk-pack-other:last-child { border-right: 0; }
.vstage .tk-pack-other-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.vstage .tk-pack-other-head .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--accent-deep);
}
.vstage .tk-pack-other-head .name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-1);
}
.vstage .tk-pack-other p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0 0 18px;
  flex: 1;
  text-wrap: pretty;
}
.vstage .tk-pack-other .frameworks {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--accent-deep);
  padding-top: 14px;
  border-top: 1px solid var(--border-1);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .vstage .va-statsstrip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .vstage .va-statsstrip-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .vstage .tk-form { grid-template-columns: 1fr; gap: 40px; }
  .vstage .tk-form-aside { position: static; }
  .vstage .tk-pack { grid-template-columns: repeat(2, 1fr); }
  .vstage .tk-packs-other { grid-template-columns: repeat(2, 1fr); }
  .vstage .tk-pack-other:nth-child(2n) { border-right: 0; }
  .vstage .tk-fwmap-head, .vstage .tk-fwmap-row {
    grid-template-columns: 1.6fr repeat(5, 1fr);
    font-size: 11px;
    gap: 12px;
    padding: 12px 16px;
  }
  .vstage .tk-ref { grid-template-columns: 1fr; }
  .vstage .tk-ref-col { border-right: 0; border-bottom: 1px solid var(--border-2); }
  .vstage .tk-ref-col:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .vstage .tk-grid-2 { grid-template-columns: 1fr; }
  .vstage .tk-pack { grid-template-columns: 1fr; }
  .vstage .tk-pack-card { border-right: 0; }
  .vstage .tk-form-body legend { grid-template-columns: 1fr; gap: 4px; }
}

.vstage .tk-form-foot-error {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid #c44;
  background: rgba(204, 68, 68, 0.06);
  color: #c44;
  font-size: 13px;
  font-family: var(--font-mono);
}
.vstage .tk-form-foot button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- INDUSTRY STUB PAGES ---------- */
.vstage .tk-stub-status {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  padding: 8px 0;
}
.vstage .tk-stub-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--accent-deep);
  background: rgba(224, 138, 74, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  width: fit-content;
}
.vstage .tk-stub-status-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 138, 74, 0.18);
  animation: tkStubPulse 2.4s ease-in-out infinite;
}
@keyframes tkStubPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.vstage .tk-stub-status-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--fg-1);
}
.vstage .tk-stub-status-body p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 14px;
  text-wrap: pretty;
  max-width: 62ch;
}
.vstage .tk-stub-status-body p:last-child { margin-bottom: 0; }

.vstage .tk-stub-policies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border-1);
  background: var(--bg);
}
.vstage .tk-stub-policy {
  padding: 30px 28px 32px;
  border-right: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  display: flex;
  flex-direction: column;
}
.vstage .tk-stub-policy:nth-child(2n) { border-right: 0; }
.vstage .tk-stub-policy:nth-last-child(-n+2) { border-bottom: 0; }
.vstage .tk-stub-policy:nth-last-child(1):nth-child(2n+1) {
  border-bottom: 0;
  border-right: 0;
}
.vstage .tk-stub-policy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.vstage .tk-stub-policy-head .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}
.vstage .tk-stub-policy-head .state {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  padding: 3px 8px;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
}
.vstage .tk-stub-policy h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--fg-1);
}
.vstage .tk-stub-policy p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}

.vstage .tk-stub-fws {
  border: 1px solid var(--border-1);
  background: var(--bg);
  padding: 36px 36px 32px;
}
.vstage .tk-stub-fws-line {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
  line-height: 1.55;
  margin: 0 0 18px;
}
.vstage .tk-stub-fws-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  max-width: 64ch;
  text-wrap: pretty;
}

/* available-now pack card highlight on stubs */
.vstage .tk-pack-other--ready { background: rgba(224, 138, 74, 0.04); }
.vstage .tk-pack-other--ready .frameworks {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .vstage .tk-stub-status { grid-template-columns: 1fr; gap: 24px; }
  .vstage .tk-stub-policies { grid-template-columns: 1fr; }
  .vstage .tk-stub-policy { border-right: 0; }
  .vstage .tk-stub-policy:last-child { border-bottom: 0; }
}
