

/* -- PAGE-SPECIFIC OVERRIDES ----------------------------------- */
body { background: var(--off-white); }

/* ASSESSMENT HERO */
.assess-hero {
  background: var(--navy);
  padding: 130px 6% 70px;
  position: relative; overflow: hidden;
}
.assess-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.assess-hero-glow {
  position: absolute; top: -20%; right: -5%;
  width: 55vw; height: 130%;
  background: radial-gradient(ellipse, rgba(61,127,138,0.2), transparent 65%);
  pointer-events: none;
}
.assess-hero-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.assess-hero-badge {
  display: inline-block;
  background: rgba(200,184,154,0.12);
  border: 1px solid rgba(200,184,154,0.3);
  color: var(--sand); font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 2px; margin-bottom: 1.4rem;
  font-family: 'DM Sans', sans-serif;
}
.assess-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  color: white; font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
}
.assess-hero h1 em { font-style: italic; color: var(--sand); }
.assess-hero p {
  color: rgba(255,255,255,0.65); font-size: 1rem;
  line-height: 1.8; max-width: 480px;
}
.assess-hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.hero-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 1.4rem 1.2rem;
  text-align: center;
}
.hero-stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--sand);
  display: block; line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  line-height: 1.4; margin-top: 0.3rem; display: block;
}

/* DIMENSIONS STRIP */
.dims-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 6%;
}
.dims-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 0; align-items: stretch;
}
.dim-pill {
  flex: 1; text-align: center; padding: 0.9rem 0.5rem;
  position: relative;
  border-right: 1px solid var(--border);
}
.dim-pill:last-child { border-right: none; }
.dim-pill .dp-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: white;
  font-size: 0.72rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.dim-pill .dp-name {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--navy); line-height: 1.3;
}
.dim-pill .dp-q {
  display: block; font-size: 0.72rem; color: var(--text-light);
  margin-top: 0.1rem;
}
.dim-pill.active .dp-num { background: var(--teal); }
.dim-pill.active .dp-name { color: var(--teal); }
.dim-pill.done .dp-num { background: var(--green, #2e7d5e); }

/* QUIZ WRAP */
.quiz-wrap {
  max-width: 820px; margin: 3rem auto;
  padding: 0 6%;
}

/* INTRO CARD */
.intro-card {
  background: white; border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(26,39,68,0.08);
  overflow: hidden;
}
.intro-card-top {
  background: var(--navy); padding: 2.5rem 2.5rem 2rem;
  position: relative; overflow: hidden;
}
.intro-card-top::after {
  content: ''; position: absolute; bottom: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(61,127,138,0.18); pointer-events: none;
}
.intro-card-top h2 {
  font-family: 'Cormorant Garamond', serif;
  color: white; font-size: 1.8rem; margin-bottom: 0.6rem;
}
.intro-card-top p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.75; }
.intro-card-body { padding: 2rem 2.5rem; }
.intro-checklist { list-style: none; margin-bottom: 2rem; }
.intro-checklist li {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.7rem 0; border-bottom: 1px solid var(--mist);
  font-size: 0.93rem; color: var(--text-body);
}
.intro-checklist li:last-child { border: none; }
.ic-icon {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%; background: rgba(61,127,138,0.12);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.ic-icon svg { width: 11px; height: 11px; stroke: var(--teal); fill: none; stroke-width: 3; }
.intro-dims {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 2rem;
}
.intro-dim {
  background: var(--mist); border-radius: 6px; padding: 0.9rem 1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.intro-dim .id-num {
  width: 24px; height: 24px; min-width: 24px; border-radius: 50%;
  background: var(--navy); color: white;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.intro-dim .id-text h5 {
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  font-weight: 600; color: var(--navy); margin-bottom: 0.1rem;
}
.intro-dim .id-text span { font-size: 0.76rem; color: var(--text-light); }
.btn-begin {
  width: 100%; padding: 1rem;
  background: var(--teal); color: white;
  border: none; border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
}
.btn-begin:hover { background: var(--teal-light); transform: translateY(-1px); }

/* QUESTION CARD */
.q-card {
  background: white; border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(26,39,68,0.08);
  overflow: hidden;
  display: none;
}
.q-card.active { display: block; animation: fadeUp 0.35s ease both; }

/* PROGRESS */
.q-progress {
  padding: 1.4rem 2.5rem 0;
  background: white;
}
.q-progress-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.q-progress-top .prog-label {
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-light); letter-spacing: 0.06em; text-transform: uppercase;
}
.q-progress-top .prog-section {
  font-size: 0.78rem; font-weight: 700;
  color: var(--teal); letter-spacing: 0.04em; text-transform: uppercase;
}
.prog-track {
  height: 5px; background: var(--mist); border-radius: 3px; overflow: hidden;
}
.prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 3px; transition: width 0.5s cubic-bezier(.4,0,.2,1);
}

/* QUESTION BODY */
.q-body { padding: 2rem 2.5rem 1.5rem; }
.q-section-tag {
  font-size: 0.71rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.6rem;
}
.q-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 600; color: var(--navy);
  line-height: 1.3; margin-bottom: 0.5rem;
}
.q-hint {
  font-size: 0.87rem; color: var(--text-light);
  line-height: 1.65; margin-bottom: 1.8rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--border);
}
.options { display: grid; gap: 0.65rem; }
.opt {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 0.95rem 1.1rem; border-radius: 7px;
  border: 1.5px solid var(--border); background: var(--off-white);
  cursor: pointer; transition: all 0.18s;
  font-family: 'DM Sans', sans-serif;
}
.opt:hover { border-color: var(--teal); background: rgba(61,127,138,0.04); }
.opt.selected {
  border-color: var(--teal); background: rgba(61,127,138,0.08);
  box-shadow: 0 0 0 3px rgba(61,127,138,0.1);
}
.opt-radio {
  width: 20px; height: 20px; min-width: 20px; border-radius: 50%;
  border: 2px solid var(--border); background: white;
  position: relative; transition: all 0.18s; margin-top: 2px;
}
.opt.selected .opt-radio {
  background: var(--teal); border-color: var(--teal);
}
.opt-radio::after {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: white; opacity: 0; transition: opacity 0.18s;
}
.opt.selected .opt-radio::after { opacity: 1; }
.opt-label { font-size: 0.93rem; font-weight: 500; color: var(--navy); }
.opt-desc { font-size: 0.81rem; color: var(--text-light); line-height: 1.45; margin-top: 0.2rem; }

/* NAV */
.q-nav {
  padding: 1.4rem 2.5rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--mist);
}
.q-nav-left { display: flex; align-items: center; gap: 0.8rem; }
.btn-prev, .btn-next-q {
  padding: 0.7rem 1.6rem; border-radius: 5px;
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.btn-prev {
  background: var(--off-white); color: var(--text-body);
  border: 1px solid var(--border);
}
.btn-prev:hover { background: var(--mist); }
.btn-prev:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-next-q {
  background: var(--navy); color: white; border: none;
}
.btn-next-q:hover { background: var(--teal); }
.btn-next-q:disabled { opacity: 0.4; cursor: not-allowed; }
.q-counter {
  font-size: 0.8rem; color: var(--text-light); font-weight: 500;
}

/* RESULTS CARD */
.results-card {
  background: white; border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(26,39,68,0.08);
  overflow: hidden; display: none;
}
.results-card.active { display: block; animation: fadeUp 0.4s ease both; }

.results-top {
  padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
}
.results-top.l1 { background: linear-gradient(135deg, #1a2744 0%, #2d1515 100%); }
.results-top.l2 { background: linear-gradient(135deg, #1a2744 0%, #2d2415 100%); }
.results-top.l3 { background: linear-gradient(135deg, #1a2744 0%, #153d38 100%); }
.results-top.l4 { background: linear-gradient(135deg, #153d2a 0%, #1a2744 100%); }
.results-top::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(61,127,138,0.12); pointer-events: none;
}

.score-wrap {
  display: flex; align-items: center; gap: 2.5rem;
  flex-wrap: wrap; position: relative; z-index: 2;
}
.score-ring {
  width: 130px; height: 130px; min-width: 130px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.score-ring svg { position: absolute; top:0; left:0; transform: rotate(-90deg); }
.score-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 700; color: white;
  text-align: center; line-height: 1;
}
.score-num small {
  display: block; font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; color: rgba(255,255,255,0.45);
  font-weight: 400; margin-top: 2px;
}
.score-text {}
.score-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--sand); margin-bottom: 0.5rem;
}
.score-title {
  font-family: 'Cormorant Garamond', serif;
  color: white; font-size: 1.7rem; font-weight: 700;
  line-height: 1.2; margin-bottom: 0.6rem;
}
.score-summary {
  color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.75;
  max-width: 420px;
}

/* DIMENSION RESULTS */
.results-dims {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.results-dims h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; color: var(--navy); margin-bottom: 0.3rem;
}
.results-dims p { font-size: 0.86rem; color: var(--text-light); margin-bottom: 1.5rem; }
.dim-rows { display: grid; gap: 1rem; }
.dim-row {
  display: grid; grid-template-columns: 160px 1fr 80px;
  align-items: center; gap: 1rem;
}
.dim-row-label {
  font-size: 0.83rem; font-weight: 600; color: var(--navy);
}
.dim-bar-wrap {
  height: 8px; background: var(--mist); border-radius: 4px; overflow: hidden;
}
.dim-bar {
  height: 100%; border-radius: 4px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.dim-bar.c-low    { background: #c0392b; }
.dim-bar.c-mid    { background: #e67e22; }
.dim-bar.c-good   { background: var(--teal); }
.dim-bar.c-strong { background: #2e7d5e; }
.dim-row-pct {
  font-size: 0.83rem; font-weight: 700; text-align: right;
}
.dim-row-pct.c-low    { color: #c0392b; }
.dim-row-pct.c-mid    { color: #e67e22; }
.dim-row-pct.c-good   { color: var(--teal); }
.dim-row-pct.c-strong { color: #2e7d5e; }

/* RECOMMENDATIONS */
.results-recs {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.results-recs h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; color: var(--navy); margin-bottom: 1.2rem;
}
.rec-list { list-style: none; }
.rec-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--mist);
}
.rec-item:last-child { border: none; }
.rec-num {
  width: 32px; height: 32px; min-width: 32px; border-radius: 6px;
  background: var(--navy); color: white;
  font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.rec-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem;
}
.rec-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.rec-tag {
  display: inline-block; margin-top: 0.4rem;
  background: rgba(61,127,138,0.1); color: var(--teal);
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem; border-radius: 3px;
}

/* RESULTS CTA */
.results-cta-block {
  background: var(--navy);
  padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.results-cta-block h3 {
  font-family: 'Cormorant Garamond', serif;
  color: white; font-size: 1.45rem; margin-bottom: 0.3rem;
}
.results-cta-block p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.6; }
.rcta-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.rcta-primary {
  background: var(--teal); color: white;
  padding: 0.8rem 1.8rem; border-radius: 5px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: background 0.2s; white-space: nowrap; display: inline-block;
}
.rcta-primary:hover { background: var(--teal-light); }
.rcta-ghost {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
  padding: 0.8rem 1.8rem; border-radius: 5px;
  font-weight: 500; font-size: 0.9rem; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.rcta-ghost:hover { background: rgba(255,255,255,0.15); color: white; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(16px); }
  to   { opacity:1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.35s ease both; }

/* RESPONSIVE */
@media(max-width:860px){
  .assess-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .assess-hero-stats { display: none; }
  .dims-inner { flex-wrap: wrap; }
  .dim-pill { min-width: 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .intro-dims { grid-template-columns: 1fr; }
  .dim-row { grid-template-columns: 120px 1fr 60px; }
  .results-cta-block { flex-direction: column; }
  .score-wrap { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}
@media(max-width:600px){
  .quiz-wrap { padding: 0 4%; }
  .q-body, .q-nav, .q-progress, .results-top, .results-dims, .results-recs, .results-cta-block, .intro-card-body, .intro-card-top { padding-left: 1.5rem; padding-right: 1.5rem; }
  .dim-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .dim-row-pct { text-align: left; }
}
