/* =====================================================================
   Stage 3: Ideate — Design Thinking Notebook
   Matches Stage 1/2 style: dark ink, indigo accent, Space Grotesk
   headings, Inter body, Georgia typing fields, dot-grid paper.
   Signature sections: SVG Mind Map + Priority Venn.
   ===================================================================== */
: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;
  /* Branch palette (mind map + venn + methods) */
  --branch-1: #3b9ae1;
  --branch-2: #45b877;
  --branch-3: #9a6fd6;
  --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);
  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: 56ch;
  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: 62ch;
}
.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-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
textarea,
.field input {
  font: inherit;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  resize: vertical;
}
textarea:focus,
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
/* ==================== SIGNATURE: MIND MAP ==================== */
.canvas {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--paper);
  padding: 10px;
  box-shadow: var(--shadow);
}
.canvas svg { display: block; width: 100%; height: auto; }
.mm-link {
  fill: none;
  stroke: var(--line);
  stroke-width: 2.5;
}
.mm-joint { fill: var(--accent); }
.mm-hub { fill: url(#hubGrad); }              /* gradient-filled center hub */
.mm-hub-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  fill: #ffffff;
  text-anchor: middle;
}
.mm-hmw-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 16px;
  fill: #ffffff;
  text-anchor: middle;
}
.mm-hmw1 { fill: var(--branch-1); }
.mm-hmw2 { fill: var(--branch-2); }
.mm-hmw3 { fill: var(--branch-3); }
.mm-stub {
  fill: #ffffff;
  stroke-width: 2;
}
.mm-stub1 { stroke: var(--branch-1); }
.mm-stub2 { stroke: var(--branch-2); }
.mm-stub3 { stroke: var(--branch-3); }
.mm-stub-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  fill: var(--ink);
  text-anchor: middle;
}
/* Idea bubbles lift on hover, like sticky notes */
.mm-bubble {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .15s ease;
  cursor: default;
}
.mm-bubble:hover { transform: translateY(-4px); }
.mm-bubble:hover .mm-stub {
  filter: drop-shadow(0 6px 10px rgba(28,28,36,.16));
}
.legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: .85rem;
  color: var(--ink-soft);
}
.legend__chip {
  width: 26px;
  height: 15px;
  border-radius: 5px;
  border: 2px solid var(--branch-1);
  background: #fff;
  flex: none;
}
/* ==================== SIGNATURE: PRIORITY VENN ==================== */
.venn-label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-anchor: middle;
}
.venn-label--innov { fill: var(--branch-1); font-size: 24px; }
.venn-label--feas  { fill: var(--branch-2); font-size: 24px; }
.venn-label--sweet { fill: var(--accent);   font-size: 24px; }
.venn-sub {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  fill: var(--ink-soft);
  text-anchor: middle;
}
.venn-idea {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  fill: var(--ink);
  text-anchor: middle;
}
.venn-idea--sweet { fill: var(--accent); font-weight: 600; }
.venn-circle-l { fill: rgba(59,154,225,.16); stroke: var(--branch-1); stroke-width: 2.5; }
.venn-circle-r { fill: rgba(69,184,119,.16); stroke: var(--branch-2); stroke-width: 2.5; }
/* ==================== PICKS (chosen ideas) ==================== */
.picks { margin-top: 22px; display: grid; gap: 18px; }
/* ==================== VALUE PROP: METHOD CARDS ==================== */
.method {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--paper);
  padding: 20px clamp(16px, 2.5vw, 24px);
}
.method__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.method__tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 4px 8px;
}
.method__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  margin: 0;
}
.method__goal {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: .9rem;
  max-width: 64ch;
}
/* ==================== FILL-IN-BLANK BUILDER ==================== */
.fillin {
  background: var(--accent-soft);
  border: 1px solid #d9d8f4;
  border-radius: 12px;
  padding: 20px 22px;
  margin-top: 20px;
}
.fillin__label {
  font-family: "Space Grotesk", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.fillin__sentence {
  font-family: Georgia, "Times New Roman", serif;   /* one readable serif */
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
}
.fillin__blank {
  font: inherit;
  border: none;
  border-bottom: 2px dashed var(--accent);
  background: rgba(255,255,255,.6);
  color: var(--ink);
  padding: 2px 8px;
  min-width: 120px;
  border-radius: 4px 4px 0 0;
}
.fillin__blank::placeholder { color: #9a97d6; font-style: italic; }
.fillin__blank:focus { outline: none; background: #fff; border-bottom-color: var(--ink); }
.fillin__done {
  font-weight: 400;      /* same weight as the sentence */
  color: inherit;        /* same color as the sentence  */
}
/* ============================ RESPONSIVE ============================ */
@media (max-width: 680px) {
  .grid--2 { grid-template-columns: 1fr; }
  .meta-bar { grid-template-columns: 1fr; }
  .fillin__sentence { line-height: 1.85; }
}
/* ======================= REDUCED MOTION ======================= */
@media (prefers-reduced-motion: reduce) {
  .mm-bubble, .mm-bubble:hover { transition: none; transform: none; }
  .field--card, .field--card:hover { transition: none; transform: none; }
}
/* ============================================================
   Typing font: Georgia for every fill-in field.
   Placed last so it wins over any per-field font rules above.
   ============================================================ */
input,
textarea,
.field input,
.meta-field input,
.fillin__blank {
  font-family: Georgia, "Times New Roman", serif;
}
/* =====================================================================
   STATIC PRESENTATION LAYER  (added)
   Turns the fillable fields into finished, read-only cards with color.
   Carried over from Stage 1 so the cards match. Additive; 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; }
/* ---- 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) ---- */
.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;
}
/* ---- Each field becomes an accent card (with hover lift) ---- */
.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;
  transition: transform .15s ease, box-shadow .15s ease;
}
.field--card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(28,28,36,.10), 0 18px 34px rgba(28,28,36,.14);
}
.field--card .field__label {
  color: var(--c, var(--ink));
  text-transform: none;          /* let the label read like Empathize */
  letter-spacing: normal;
  font-size: 1rem;
}
.field--card .static-text {
  margin-top: 8px;
  background: var(--c-bg, var(--paper));
  border-radius: 8px;
  padding: 12px 14px;
}
/* ---- Print niceties for the static cards ---- */
@media print {
  .field--card, .static-answer { break-inside: avoid; }
}

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