@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');
/* =====================================================================
   Stage 1: Empathize — Design Thinking Notebook
   A fillable "workshop notebook" on dot-grid paper.
   Signature: the Empathy Map as a 2x2 sticky-note board.
   ===================================================================== */
:root {
  /* Ink & paper */
  --ink: #1c1c24;
  --ink-soft: #5a5a66;
  --paper: #fbfbf6;
  --card: #ffffff;
  --line: #e5e4da;
  --dot: #dcdccf;
  /* Structural accent (indigo marker) */
  --accent: #2f2ac0;
  --accent-soft: #eeeefb;
  /* Sticky-note quadrants (richer, higher-contrast) */
  --say-1:   #fff1b0; --say-2:   #ffe08a; --say-bd:   #e6b800; --say-ink:   #7a5f00;
  --think-1: #d0e9ff; --think-2: #a9d4f5; --think-bd: #4a90c2; --think-ink: #1f5c86;
  --do-1:    #cdefd6; --do-2:    #a6e2b6; --do-bd:    #4caf6a; --do-ink:    #226237;
  --feel-1:  #ffd6d6; --feel-2:  #f7b0b0; --feel-bd:  #e07a7a; --feel-ink:  #9c3535;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(28,28,36,.05), 0 6px 20px rgba(28,28,36,.05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  /* Dot-grid paper */
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: -11px -11px;
  line-height: 1.55;
}
.notebook {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(20px, 5vw, 56px) clamp(16px, 4vw, 40px) 64px;
}
/* ============================ MASTHEAD ============================ */
.masthead { margin-bottom: 48px; }
.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.masthead__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 5.5rem);
  line-height: .92;
  letter-spacing: -.03em;
  margin: 0 0 18px;
}
.masthead__lede {
  max-width: 54ch;
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.meta-bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.meta-field { display: flex; flex-direction: column; gap: 6px; }
.meta-field__label {
  font-family: "Space Grotesk", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.meta-field input {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
/* ============================ BLOCKS ============================ */
.block {
  margin-top: 40px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.block__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.block__num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 6px 10px;
  line-height: 1;
  flex-shrink: 0;
}
.block__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -.01em;
  margin: 0 0 4px;
}
.block__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 60ch;
}
.block__note em { font-style: normal; color: var(--accent); font-weight: 600; }
/* ============================ FIELDS ============================ */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field__label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.field__hint {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.field--inline { margin-bottom: 20px; }
textarea, .field input {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
/* Focus — clear keyboard-visible state everywhere */
textarea:focus, input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
/* ==================== INTERVIEWS: who + questions ==================== */
.who-set {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  margin: 0 0 28px;
  background: var(--paper);
}
.who-set__legend {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: 2px 10px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
}
/* The question bank listed on top of the interviews */
.qbank {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: qb;
  display: grid;
  gap: 8px;
}
.qbank li {
  counter-increment: qb;
  position: relative;
  padding: 10px 12px 10px 46px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .97rem;
  color: var(--ink);
}
.qbank li::before {
  content: counter(qb);
  position: absolute;
  left: 10px;
  top: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .8rem;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  min-width: 26px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qlist {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.qcard {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
  background: var(--paper);
}
.qcard:last-child { margin-bottom: 0; }
.qcard__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.qcard__tag {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  color: #fff;
  background: var(--accent);
  border-radius: 7px;
  padding: 7px 10px;
  line-height: 1;
  flex-shrink: 0;
}
.qcard__tag--opt { background: var(--ink-soft); }
.qcard__question {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  background: var(--card);
}
.qcard__answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.answer { display: flex; flex-direction: column; gap: 5px; }
.answer__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.answer textarea { background: var(--card); }
/* ==================== SIGNATURE: EMPATHY MAP ==================== */
.empathy-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  position: relative;
  padding: 6px;
}
/* Center hub — nudged up and left so it clears the "Feel" label */
.empathy-map__hub {
  position: absolute;
  top: 41%;
  left: 43%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border: 5px solid var(--paper);
  border-radius: 50%;
  width: 138px;
  height: 138px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(28,28,36,.16), 0 12px 30px rgba(28,28,36,.22);
  background: var(--ink);
}
.empathy-map__hub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: 16px;
  border: 2px solid;
  min-height: 220px;
  box-shadow: 0 2px 4px rgba(28,28,36,.06), 0 12px 26px rgba(28,28,36,.10);
  transition: transform .15s ease, box-shadow .15s ease;
}
.note:hover {
  transform: translateY(-3px) rotate(-.5deg);
  box-shadow: 0 6px 10px rgba(28,28,36,.10), 0 18px 34px rgba(28,28,36,.16);
}
.note__label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -.01em;
}
.note__hint { font-size: .82rem; color: rgba(28,28,36,.62); margin-bottom: 6px; }
.note textarea {
  flex: 1;
  background: rgba(255,255,255,.72);
  border-color: rgba(28,28,36,.16);
}
.note textarea:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.75); border-color: rgba(28,28,36,.45); }
.note--say   { background: linear-gradient(158deg, var(--say-1),   var(--say-2));   border-color: var(--say-bd); }
.note--think { background: linear-gradient(158deg, var(--think-1), var(--think-2)); border-color: var(--think-bd); }
.note--do    { background: linear-gradient(158deg, var(--do-1),    var(--do-2));    border-color: var(--do-bd); }
.note--feel  { background: linear-gradient(158deg, var(--feel-1),  var(--feel-2));  border-color: var(--feel-bd); }
.note--say   .note__label { color: var(--say-ink); }
.note--think .note__label { color: var(--think-ink); }
.note--do    .note__label { color: var(--do-ink); }
.note--feel  .note__label { color: var(--feel-ink); }
/* ============================ FOOTER ============================ */
.foot {
  margin-top: 40px;
  text-align: center;
  font-size: .85rem;
  color: var(--ink-soft);
}
.foot strong { color: var(--ink); }
/* ============================ RESPONSIVE ============================ */
@media (max-width: 640px) {
  .grid--2,
  .qcard__answers,
  .empathy-map { grid-template-columns: 1fr; }
  .meta-bar { grid-template-columns: 1fr; }
  .empathy-map__hub { display: none; } /* stacked layout has no center */
}
/* ======================= REDUCED MOTION ======================= */
@media (prefers-reduced-motion: reduce) {
  .note, .note:hover { transition: none; transform: none; }
}
/* ============================ PRINT ============================ */
@media print {
  body {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .notebook { max-width: none; padding: 0; }
  .block, .meta-bar, .qcard, .who-set { box-shadow: none; break-inside: avoid; }
  .note { break-inside: avoid; }
  .foot { display: none; }
  textarea, input { border-color: #bbb; }
}
/* ============================================================
   Font override: Georgia for ALL fill-in fields.
   Placed last so it beats the earlier per-field font rules.
   ============================================================ */
input,
textarea,
.qcard__question,
.note textarea,
.field input,
.meta-field input {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* =====================================================================
   STATIC PRESENTATION LAYER  (added)
   Turns the fillable page into finished, read-only cards with color.
   Everything below is additive; it overrides earlier rules by order.
   ===================================================================== */

/* ---- Rotating accent palette. Each sets --c (line) + --c-bg (tint). ---- */
.p-indigo { --c:#3f39c9; --c-bg:#eeeefb; }
.p-amber  { --c:#bf7d10; --c-bg:#fbf0d9; }
.p-teal   { --c:#0e938e; --c-bg:#e0f4f2; }
.p-green  { --c:#3f9d5f; --c-bg:#e7f6ec; }
.p-coral  { --c:#d75f5f; --c-bg:#fce7e7; }
.p-pink   { --c:#c65b88; --c-bg:#fbe7f0; }
.p-blue   { --c:#3f86bf; --c-bg:#e6f1fb; }
.p-violet { --c:#7c53e6; --c-bg:#f0eafe; }

/* ---- Section-coded headers ---- */
.block--s1 { --c:#3f39c9; --c-bg:#eeeefb; }  /* Assumptions  · indigo */
.block--s2 { --c:#0e938e; --c-bg:#e0f4f2; }  /* Interviews   · teal   */
.block--s3 { --c:#3f9d5f; --c-bg:#e7f6ec; }  /* Observation  · green  */
.block--s4 { --c:#d75f5f; --c-bg:#fce7e7; }  /* Empathy      · coral  */
.block--s1 .block__num,
.block--s2 .block__num,
.block--s3 .block__num,
.block--s4 .block__num { color:var(--c); background:var(--c-bg); }
.block--s1 .block__head,
.block--s2 .block__head,
.block--s3 .block__head,
.block--s4 .block__head { border-bottom-color:var(--c); border-bottom-style:solid; }
.block--s1 .block__note em,
.block--s2 .block__note em,
.block--s3 .block__note em,
.block--s4 .block__note em { color:var(--c); }
/* section legends + question-bank numbers echo the section colour */
.block--s2 .who-set__legend,
.block--s3 .who-set__legend { color:var(--c); background:var(--c-bg); }
.block--s2 .qbank li::before { background:var(--c); }

/* ---- Read-only text: preserves the line breaks from the old textareas ---- */
.static-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-line;
  margin: 0;
}

/* ---- Filled (non-editable) value chips (meta bar + inline fields) ---- */
.static-input {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  display: block;
}

/* ---- Assumptions: each field becomes an accent card ---- */
.field--card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--c, var(--accent));
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  gap: 4px;
}
.field--card .field__label { color: var(--c, var(--ink)); }
.field--card .static-text {
  margin-top: 8px;
  background: var(--c-bg, var(--paper));
  border-radius: 8px;
  padding: 12px 14px;
}

/* ---- Interview / observation person blocks ---- */
.person { margin-bottom: 26px; }
.person:last-child { margin-bottom: 0; }
.person-head {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .98rem;
  color: var(--c, var(--accent));
  background: var(--c-bg, var(--accent-soft));
  border: 1px solid var(--c, var(--accent));
  border-radius: 8px;
  padding: 6px 12px;
  margin: 0 0 12px;
}
.person-head em { font-style: normal; opacity: .78; font-weight: 500; }

/* qcards inherit the person / rotation accent via --c */
.qcard { border-left: 4px solid var(--c, var(--accent)); background: var(--card); }
.qcard__tag { background: var(--c, var(--accent)); }

.static-question {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.35;
  margin: 3px 0 0;
}

.static-answer {
  margin-top: 12px;
  background: var(--c-bg, var(--accent-soft));
  border-left: 4px solid var(--c, var(--accent));
  border-radius: 8px;
  padding: 12px 14px;
}

/* ---- Observation: rainbow rotation across the 10 patterns ---- */
.qlist--rainbow .qcard:nth-child(8n+1) { --c:#3f39c9; --c-bg:#eeeefb; }
.qlist--rainbow .qcard:nth-child(8n+2) { --c:#bf7d10; --c-bg:#fbf0d9; }
.qlist--rainbow .qcard:nth-child(8n+3) { --c:#0e938e; --c-bg:#e0f4f2; }
.qlist--rainbow .qcard:nth-child(8n+4) { --c:#d75f5f; --c-bg:#fce7e7; }
.qlist--rainbow .qcard:nth-child(8n+5) { --c:#3f9d5f; --c-bg:#e7f6ec; }
.qlist--rainbow .qcard:nth-child(8n+6) { --c:#c65b88; --c-bg:#fbe7f0; }
.qlist--rainbow .qcard:nth-child(8n+7) { --c:#3f86bf; --c-bg:#e6f1fb; }
.qlist--rainbow .qcard:nth-child(8n+8) { --c:#7c53e6; --c-bg:#f0eafe; }

.inline-legend { display:inline-block; margin: 4px 0 12px; }

/* ---- Roster + source lists ---- */
.roster { margin: 8px 0 0; padding-left: 20px; line-height: 1.6; }
.source-url { font-size: .85rem; word-break: break-all; }

/* ---- Empathy map: read-only text keeps the sticky-note look ---- */
.note .static-text {
  flex: 1;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(28,28,36,.16);
  border-radius: 8px;
  padding: 11px 13px;
}

/* ---- Print niceties for the static cards ---- */
@media print {
  .field--card, .person, .qcard, .static-answer { break-inside: avoid; }
}

codecraft-web-project-footer {
    display: none !important;
}

/* ===================== MEET THE PEOPLE (added) ===================== */
.people {
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.person-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--c, var(--accent));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.person-card__img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}
.person-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
}
.person-card__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.05;
  color: var(--ink);
}
.person-card__meta {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: 6px;
}
.person-card__label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c, var(--accent));
  margin-top: 22px;
}
.person-card__vice {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  margin-top: 4px;
}
.person-card__tag {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c, var(--accent));
  background: var(--c-bg, var(--accent-soft));
  border: 1px solid var(--c, var(--accent));
  border-radius: 6px;
  padding: 3px 8px;
  vertical-align: middle;
  margin-left: 6px;
  white-space: nowrap;
}
.pc-green  { --c:#3f9d5f; --c-bg:#e7f6ec; }
.pc-coral  { --c:#d75f5f; --c-bg:#fce7e7; }
.pc-amber  { --c:#bf7d10; --c-bg:#fbf0d9; }
.pc-indigo { --c:#3f39c9; --c-bg:#eeeefb; }

@media (max-width: 640px) {
  .person-card { grid-template-columns: 1fr; }
  .person-card__img { min-height: 260px; }
  .person-card__name { font-size: 2rem; }
}