/* ============================================================
   Real World AI Design — Assessment + Blueprint + Presentation
   Editorial cream theme matching the marketing site
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --cream:        #f7f6f2;
  --cream-soft:   #efece4;
  --hairline:     #e3e0d8;
  --hairline-strong: #d6d2c5;
  --navy:         #0c1824;
  --grey-mid:     #5a6478;
  --grey-light:   #8a8f9c;
  --orange:       #d97a3a;
  --orange-bright:#ed7b1f;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html, body {
  margin: 0; padding: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img, svg { max-width: 100%; height: auto; display: block; }

.advisor-shell {
  min-height: 100vh;
  background: var(--cream);
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7vw;
  border-bottom: 1px solid var(--hairline);
  background: rgba(247,246,242,0.92);
}
.topbar-light { /* used by talent_presentation - keep alias */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7vw;
  border-bottom: 1px solid var(--hairline);
}
.brand {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-size: 16px;
}
.pill {
  border: 1px solid var(--hairline-strong);
  padding: 7px 14px;
  color: var(--grey-mid);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cream);
}

/* Hero (assessment intro) */
.hero {
  padding: 64px 7vw 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin: 0 0 22px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--orange-bright); font-weight: 500; }
.hero p {
  color: var(--grey-mid);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 16px;
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding: 40px 6vw 20px; gap: 28px; }
}

/* Card (replaces glow-card) */
.glow-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 28px;
}
.glow-card h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 600;
}

/* Steps (assessment phase indicator) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
  border: 1px solid var(--hairline);
}
.step {
  padding: 14px 16px;
  background: var(--cream);
  color: var(--grey-mid);
  border-right: 1px solid var(--hairline);
  font-size: 13px;
  line-height: 1.45;
}
.step:last-child { border-right: none; }
.step strong {
  font-family: var(--serif);
  font-style: italic;
  color: var(--orange-bright);
  font-weight: 500;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

/* Assessment form */
.form-wrap {
  padding: 24px 7vw 80px;
}
.advisor-form {
  max-width: 1100px;
  margin: auto;
}
.section { display: none; }
.section.active { display: block; }
.section h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--navy);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } }

label {
  display: block;
  margin-bottom: 6px;
  color: var(--grey-mid);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline-strong);
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  background: #fff;
}
select option { background: #fff; color: var(--navy); }
textarea { min-height: 120px; line-height: 1.5; }

/* Buttons */
.actions, .actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  padding: 13px 22px;
  font-weight: 600;
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
  transition: all .18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn-primary:hover { background: #1d2c40; color: var(--cream); }
.btn-primary::after { content: "→"; transition: transform .18s; }
.btn-primary:hover::after { transform: translateX(3px); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--hairline-strong);
}
.btn-secondary:hover { border-color: var(--navy); }

/* Progress bar */
.progress {
  height: 4px;
  background: var(--hairline);
  margin: 20px 0 26px;
  position: relative;
  overflow: hidden;
}
.bar {
  height: 100%;
  width: 25%;
  background: var(--orange-bright);
  transition: width .3s ease;
}

.question { margin-bottom: 22px; }
.question h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--navy);
}

/* Field row alias */
.field { margin-bottom: 18px; }
.field label, label.req { color: var(--grey-mid); }

/* Char count + small text */
.char-count { font-size: 11px; color: var(--grey-light); margin-top: 4px; }
.disclaimer, .footer-note, .meta-note {
  font-size: 13px;
  color: var(--grey-mid);
  line-height: 1.65;
}

/* Errors */
.errors {
  background: #fdf2ed;
  border: 1px solid var(--orange);
  border-left: 3px solid var(--orange);
  padding: 12px 16px;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 18px;
}

/* ========== REPORT page styles ========== */
.report-grid, .form-wrap.report-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 6vw 80px;
  gap: 24px;
}

/* Dimension scoring grid */
.dim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.dim {
  display: grid;
  grid-template-columns: 1.4fr 2fr 60px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.dim:last-child { border-bottom: none; }
.dim-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.dim-bar {
  height: 6px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}
.dim-bar-fill {
  height: 100%;
  background: var(--orange-bright);
  transition: width .4s ease;
}
.dim-value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  text-align: right;
}

/* Phase / roadmap blocks */
.road-cols, .timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.phase, .phase-focus {
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 22px 26px;
}
.phase-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 10px;
}
.phase-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--orange-bright);
  font-size: 22px;
  font-weight: 500;
}
.phase-weeks {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.phase-milestones {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.7;
}

/* Use cases */
.uc {
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 18px 22px;
  margin-bottom: 10px;
}
.uc-name { font-weight: 600; color: var(--navy); margin-right: 6px; }
.uc-effort {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

/* Cost grid (blueprint) */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.cost-card {
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 20px;
}
.cost-card .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 6px;
}
.cost-card .value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--orange-bright);
}
.cost-commentary {
  font-size: 14px;
  color: var(--grey-mid);
  line-height: 1.65;
  font-style: italic;
}

/* Blueprint sections */
.bp-section {
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 28px 32px;
  margin-bottom: 18px;
}
.bp-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--navy);
}
.bp-grid { padding: 36px 6vw 80px; max-width: 980px; margin: 0 auto; }

/* Software vendor lists */
.sw-cat {
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 18px 22px;
  margin-bottom: 10px;
}
.sw-header { display: flex; justify-content: space-between; align-items: baseline; }
.sw-cat-name { font-weight: 600; color: var(--navy); }
.sw-cost { color: var(--orange-bright); font-family: var(--serif); font-style: italic; }
.sw-why, .sw-notes { font-size: 14px; color: var(--grey-mid); line-height: 1.6; margin-top: 8px; }
.vendor-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vendor-list span {
  font-size: 12px; padding: 3px 10px;
  border: 1px solid var(--hairline-strong);
  color: var(--navy);
}

/* Risks */
.risk {
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 18px 22px;
  margin-bottom: 10px;
}
.risk-title { font-weight: 600; color: var(--navy); }
.risk-mitigation { color: var(--grey-mid); font-size: 14px; line-height: 1.6; margin-top: 6px; }
.sev { font-size: 11px; padding: 2px 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.sev-high   { background: #fdf2ed; color: var(--orange-bright); border: 1px solid var(--orange); }
.sev-medium { background: var(--cream-soft); color: var(--navy); border: 1px solid var(--hairline-strong); }
.sev-low    { background: var(--cream); color: var(--grey-mid); border: 1px solid var(--hairline); }

/* Roles */
.role {
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 16px 20px;
  margin-bottom: 8px;
}
.role-name { font-weight: 600; color: var(--navy); }

/* Resource table */
.res-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
}
.res-table th, .res-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
}
.res-table th {
  font-weight: 600;
  color: var(--grey-mid);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Blueprint CTA */
.bp-cta-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start;
  background: var(--cream-soft);
  border: 1px solid var(--hairline);
  padding: 32px 36px;
  margin-top: 32px;
}
@media (max-width: 800px) { .bp-cta-grid { grid-template-columns: 1fr; } }
.bp-cta-eyebrow {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-bright); margin-bottom: 8px; font-weight: 600;
}
.bp-cta-list { padding-left: 18px; font-size: 14px; line-height: 1.7; }
.bp-cta-side { font-size: 14px; color: var(--grey-mid); line-height: 1.65; }
.bp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 6px 0 6px 24px; position: relative; font-size: 14.5px; line-height: 1.6; }
.check-icon { position: absolute; left: 0; top: 8px; color: var(--orange-bright); }

/* Prep box */
.prep-box {
  background: var(--cream-soft);
  border-left: 3px solid var(--orange-bright);
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.65;
  margin: 14px 0;
}

/* Contact line */
.contact-line { font-size: 14px; color: var(--grey-mid); }

/* Future / present states */
.future {
  border-left: 3px solid var(--hairline-strong);
  padding-left: 14px;
  color: var(--grey-mid);
}

/* ========== Talent Presentation page ========== */
.pres-hero {
  padding: 56px 7vw 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.pres-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.1;
  margin: 6px 0 8px;
  color: var(--navy);
  font-weight: 600;
}
.pres-hero .meta {
  color: var(--grey-mid);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.intro-card {
  background: var(--cream-soft);
  border-left: 3px solid var(--orange-bright);
  padding: 22px 28px;
  margin: 24px auto;
  max-width: 1180px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  color: var(--navy);
}

.candidate-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 24px auto;
  padding: 0 7vw;
}
.candidate-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 28px;
}
.candidate-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--navy);
}
.candidate-card .role { color: var(--grey-mid); font-size: 13px; margin-bottom: 14px; letter-spacing: 0.04em; }

.why-fit {
  background: var(--cream-soft);
  border-left: 3px solid var(--orange-bright);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy);
  font-style: italic;
  font-family: var(--serif);
}
.why-fit strong { font-style: normal; font-family: var(--sans); display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }

.candidate-section { margin-bottom: 16px; }
.candidate-section h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin: 0 0 6px;
  font-weight: 600;
}
.candidate-section ul { padding-left: 18px; margin: 4px 0; font-size: 14px; line-height: 1.65; color: var(--navy); }
.candidate-section ul li { margin-bottom: 3px; }
.candidate-section p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--navy); }

.skills-row span {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--navy);
  font-size: 11px;
  padding: 3px 9px;
  margin: 2px 3px 2px 0;
  font-weight: 500;
}

.next-step {
  max-width: 1180px;
  margin: 32px auto;
  padding: 32px 7vw;
  background: var(--cream-soft);
  border: 1px solid var(--hairline);
  text-align: center;
}
.next-step h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 10px; color: var(--navy); }
.next-step p { color: var(--grey-mid); font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.next-step a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--cream);
  padding: 13px 22px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background .18s;
}
.next-step a:hover { background: #1d2c40; color: var(--cream); }
.next-step a::after { content: "→"; }

.footer-note {
  max-width: 1180px;
  margin: 24px auto;
  padding: 0 7vw 48px;
  color: var(--grey-mid);
  font-size: 13px;
  text-align: center;
  font-style: italic;
  font-family: var(--serif);
}

/* ===== Thinking overlay (kept, retheme to cream) ===== */
.thinking-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(247,246,242,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.thinking-overlay.visible { opacity: 1; pointer-events: auto; }
.thinking-content {
  max-width: 520px;
  text-align: center;
  padding: 40px 30px;
}
.brain-wrap {
  width: 140px; height: 140px;
  margin: 0 auto 28px;
  position: relative;
  animation: thinkFloat 4s ease-in-out infinite;
}
.brain-wrap::before {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237,123,31,0.18), transparent 70%);
  animation: thinkPulse 2.4s ease-in-out infinite;
}
.brain-icon { width: 100%; height: 100%; position: relative; z-index: 1; color: var(--orange-bright); }
.brain-icon .synapse-nodes circle { animation: thinkSynapse 2s ease-in-out infinite; }
.brain-icon .synapse-nodes circle:nth-child(1) { animation-delay: 0s; }
.brain-icon .synapse-nodes circle:nth-child(2) { animation-delay: .25s; }
.brain-icon .synapse-nodes circle:nth-child(3) { animation-delay: .5s; }
.brain-icon .synapse-nodes circle:nth-child(4) { animation-delay: .75s; }
.brain-icon .synapse-nodes circle:nth-child(5) { animation-delay: 1s; }
.brain-icon .synapse-nodes circle:nth-child(6) { animation-delay: 1.25s; }
.brain-icon .synapse-nodes circle:nth-child(7) { animation-delay: 1.5s; }
.thinking-title {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 14px;
  color: var(--navy);
  font-weight: 600;
}
.thinking-title em { font-style: italic; color: var(--orange-bright); }
.thinking-status {
  color: var(--grey-mid);
  font-size: 16px;
  min-height: 24px;
  margin: 0 0 22px;
  transition: opacity .25s ease;
}
.thinking-bar {
  height: 3px;
  background: var(--hairline);
  overflow: hidden;
  margin: 0 auto 18px;
  max-width: 300px;
}
.thinking-bar-fill {
  height: 100%;
  width: 30%;
  background: var(--orange-bright);
  animation: thinkSlide 2.2s ease-in-out infinite;
}
.thinking-note { color: var(--grey-light); font-size: 13px; margin: 0; }

@keyframes thinkFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes thinkPulse {
  0%, 100% { transform: scale(1);    opacity: .55; }
  50%      { transform: scale(1.15); opacity: .85; }
}
@keyframes thinkSynapse {
  0%, 100% { opacity: .35; r: 2.5; }
  50%      { opacity: 1;    r: 3.5; }
}
@keyframes thinkSlide {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}
@media (prefers-reduced-motion: reduce) {
  .brain-wrap, .brain-wrap::before, .brain-icon .synapse-nodes circle, .thinking-bar-fill { animation: none; }
}

/* Step progress (assessment progress label) */
.step-progress {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  font-weight: 500;
}

/* Phase focus */
.phase-focus { background: var(--cream-soft); }

/* Row 2 */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .row-2 { grid-template-columns: 1fr; } }

/* Segment buttons */
.seg {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--hairline-strong);
  background: var(--cream);
  color: var(--grey-mid);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-right: 6px;
}
.seg.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }
