/* 7 Virtues Test — quiz surface (parchment + iron ink + wax seal) */

.vt-app { text-align: left; color: #231A12; }
.vt-app button:focus-visible { outline: 2px solid #B84322; outline-offset: 3px; }
.vt-app .vt-screen { padding: 2px 0; }

/* ------------------------------------------------------------- intro --- */
.vt-app [data-vt-intro] { max-width: 560px; }
.vt-kicker {
  margin: 0 0 12px;
  color: #B84322;
  font: 600 12px/1.4 "Inter", sans-serif;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.vt-title {
  margin: 0 0 12px;
  max-width: 23ch;
  color: #231A12;
  font-family: "Fraunces", Georgia, serif;
  font-size: 33px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.018em;
}
.vt-sub {
  margin: 0 0 4px;
  max-width: 46ch;
  color: #685847;
  font-size: 15px;
  line-height: 1.6;
}
.vt-note {
  margin: 20px 0 0;
  max-width: 48ch;
  color: #685847;
  font-size: 12.5px;
  line-height: 1.65;
}

/* wax-seal primary action — the one dominant control on the first screen */
.vt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(35, 26, 18, .18);
  border-radius: 8px;
  background: transparent;
  color: #685847;
  font: 500 13.5px/1 "Inter", sans-serif;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, transform .05s;
}
.vt-btn:hover { border-color: #B84322; color: #B84322; }
.vt-btn:active { transform: translateY(1px); }

.vt-btn-primary {
  width: auto;
  max-width: 260px;
  height: auto;
  min-height: 48px;
  margin: 24px 0 0;
  padding: 0 24px;
  border: 1px solid #A83C24;
  border-radius: 8px;
  background: #B84322;
  color: #FFFDF8;
  font: 600 16px/1.2 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .01em;
  text-align: center;
  text-shadow: none;
  box-shadow: 0 1px 2px rgba(35, 26, 18, .08);
  transform: none;
  transition: background .15s, border-color .15s, transform .05s;
}
.vt-btn-primary:hover {
  background: #A83C24;
  border-color: #8E2F16;
  transform: none;
}
.vt-btn-primary:active { transform: translateY(1px); }

/* -------------------------------------------------------------- quiz --- */
.vt-progress {
  height: 2px;
  margin: 4px 0 22px;
  border-radius: 99px;
  background: rgba(35, 26, 18, .12);
  overflow: hidden;
}
.vt-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #C89238;
  transition: width .2s;
}
.vt-qnum {
  margin: 0 0 10px;
  color: #B84322;
  font: 600 12px/1.4 "Inter", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.vt-statement {
  margin: 0 0 26px;
  max-width: 30ch;
  color: #231A12;
  font-family: "Fraunces", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.012em;
}
.vt-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  max-width: 620px;
}
.vt-scale-btn {
  min-width: 0;
  min-height: 78px;
  padding: 12px 6px 10px;
  border: 1px solid rgba(35, 26, 18, .14);
  border-radius: 8px;
  background: #FFFDF8;
  color: #231A12;
  font: 500 12px/1.35 "Inter", sans-serif;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .05s;
}
.vt-scale-btn:hover { border-color: #B84322; }
.vt-scale-btn:active { transform: translateY(1px); }
.vt-scale-btn.selected {
  border-color: #B84322;
  background: #B84322;
  color: #FFFDF8;
}
.vt-scale-btn .vt-n {
  display: block;
  margin-bottom: 5px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
}
.vt-scale-btn .vt-l { display: block; color: #685847; }
.vt-scale-btn .vt-l-short { display: none; }
.vt-scale-btn.selected .vt-l { color: rgba(255, 253, 248, .82); }
.vt-hint {
  margin: 18px 0 0;
  color: #685847;
  font-size: 12.5px;
  line-height: 1.6;
}

/* ----------------------------------------------------------- results --- */
.vt-app [data-vt-results] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  column-gap: 44px;
  align-items: start;
}
.vt-top {
  grid-column: 1;
  grid-row: 1;
  padding-top: 22px;
  border-top: 1px solid rgba(35, 26, 18, .12);
}
.vt-top-label {
  margin: 0 0 8px;
  color: #B84322;
  font: 600 12px/1.4 "Inter", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.vt-top-name {
  margin: 0 0 6px;
  color: #231A12;
  font-family: "Fraunces", Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.vt-halo {
  display: inline-block;
  background: linear-gradient(transparent 76%, rgba(200, 146, 56, .34) 76%);
  padding: 0 2px;
}
.vt-top-short {
  margin: 0 0 12px;
  color: #B84322;
  font: 600 12px/1.4 "Inter", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.vt-top-desc {
  margin: 0 0 4px;
  max-width: 52ch;
  color: #685847;
  font-size: 15px;
  line-height: 1.65;
}

.vt-bars {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: none;
  margin: 30px 0 24px;
  border-top: 1px solid rgba(35, 26, 18, .12);
}
.vt-bar-row {
  margin: 0;
  padding: 11px 0 12px;
  border-bottom: 1px solid rgba(35, 26, 18, .12);
}
.vt-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
  color: #231A12;
  font-size: 14px;
}
.vt-bar-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
}
.vt-bar-score {
  color: #685847;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.vt-bar-track {
  height: 2px;
  border-radius: 99px;
  background: rgba(35, 26, 18, .12);
  overflow: hidden;
}
.vt-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #C89238, #B84322);
}

.vt-shadow {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  margin: 0;
  padding: 20px 22px;
  border-left: 3px solid #B84322;
  border-radius: 0 8px 8px 0;
  background: #F6EFE4;
}
.vt-shadow-title {
  margin: 0 0 8px;
  color: #B84322;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
}
.vt-shadow-text {
  margin: 0;
  color: #231A12;
  font-size: 14px;
  line-height: 1.6;
}
.vt-shadow-text strong { font-weight: 600; }

.vt-disclaimer {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0 0 18px;
  max-width: 60ch;
  color: #685847;
  font-size: 12px;
  line-height: 1.6;
}
.vt-app [data-vt-restart] {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: start;
}

/* ------------------------------------------------------------- mobile --- */
@media (max-width: 760px) {
  .vt-title { font-size: 27px; }
  .vt-sub { font-size: 14.5px; }
  .vt-btn-primary { width: auto; max-width: 240px; height: auto; min-height: 46px; padding: 0 22px; font-size: 15.5px; margin-top: 22px; }
  .vt-statement { font-size: 22px; margin-bottom: 22px; }
  .vt-scale { gap: 5px; }
  .vt-scale-btn { min-height: 72px; padding: 10px 3px 8px; }
  .vt-scale-btn .vt-n { font-size: 15px; margin-bottom: 3px; }
  .vt-scale-btn .vt-l { display: none; }
  .vt-scale-btn .vt-l-short { display: block; font-size: 12px; color: #685847; }
  .vt-scale-btn.selected .vt-l-short { color: rgba(255, 253, 248, .82); }

  .vt-app [data-vt-results] { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .vt-top,
  .vt-shadow,
  .vt-bars,
  .vt-disclaimer,
  .vt-app [data-vt-restart] { grid-column: 1 / -1; grid-row: auto; }
  .vt-shadow { margin-top: 26px; }
  .vt-top-name { font-size: 38px; }
  .vt-bars { margin-top: 26px; }
}
