/* ===========================================================
   Claude Masterclass — Unit 1
   "Hire to Partner: The 7 Phases of Working With Claude"
   =========================================================== */

:root {
  /* Seton Catholic Prep brand palette */
  --seton-red: #B71234;
  --seton-red-deep: #8a0d27;
  --seton-red-soft: #fdecef;
  --seton-gold: #F0AB00;
  --seton-gold-deep: #b07f00;
  --seton-gold-soft: #fef3c7;

  --ink: #1a1a1a;
  --ink-soft: #3f3f46;
  --ink-mute: #71717a;
  --paper: #fafaf9;
  --card: #ffffff;
  --line: #e7e5e4;
  --line-soft: #f4f4f5;

  --accent: var(--seton-red);
  --accent-soft: var(--seton-gold-soft);
  --accent-ink: var(--seton-red-deep);

  --good: #15803d;
  --good-soft: #dcfce7;
  --bad: #b91c1c;
  --bad-soft: #fee2e2;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, .04), 0 1px 3px rgba(26, 26, 26, .06);
  --shadow-md: 0 4px 6px -1px rgba(26, 26, 26, .05), 0 10px 15px -3px rgba(26, 26, 26, .06);
  --shadow-lg: 0 20px 25px -5px rgba(26, 26, 26, .08), 0 10px 10px -5px rgba(26, 26, 26, .04);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --col: 720px;
  --sans: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', 'JetBrains Mono', Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Top bar ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--seton-red) 0%, var(--seton-red-deep) 100%);
  color: var(--seton-gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 14px;
}

.brand-name { color: var(--ink); }
.brand-unit {
  color: var(--ink-mute);
  font-weight: 500;
  border-left: 1px solid var(--line);
  padding-left: 14px;
  margin-left: 4px;
}

.progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-mute);
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--line-soft);
  border-radius: 99px;
  overflow: hidden;
  max-width: 320px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--seton-red) 0%, var(--seton-gold) 100%);
  width: 0;
  transition: width 360ms cubic-bezier(.2, .8, .2, 1);
  border-radius: 99px;
}

.progress-text { font-variant-numeric: tabular-nums; }

/* ===== Stage ===== */

.stage {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 28px 120px;
  min-height: calc(100vh - 60px);
}

.screen { display: none; animation: fade 320ms ease-out; }
.screen.active { display: block; }

@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.col { max-width: var(--col); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 22px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.2;
}

h1 { font-size: 44px; font-weight: 800; }
h2 { font-size: 32px; font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 17px; font-weight: 700; font-family: var(--sans); letter-spacing: 0; }

.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-family: var(--serif);
}

p { margin: 0 0 18px; color: var(--ink-soft); }
p strong { color: var(--ink); font-weight: 600; }

ul, ol { color: var(--ink-soft); padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 8px; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); }
a:hover { border-bottom-color: var(--accent); }

/* ===== Cards & sections ===== */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.callout {
  background: var(--accent-soft);
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 22px 0;
}

.callout h4 {
  color: var(--accent-ink);
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout p { color: var(--accent-ink); margin: 0; }
.callout p strong { color: var(--accent-ink); }

.muted {
  color: var(--ink-mute);
  font-size: 14px;
}

/* ===== Welcome screen ===== */

.welcome-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
}

.meta-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.meta-card .num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.meta-card .lbl {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ===== Map / Ladder ===== */

.ladder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 30px 0 20px;
}

.ladder-hint {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ladder-hint::before {
  content: '↓ ';
  color: var(--seton-red);
  font-weight: 700;
}

.rung-wrap { display: flex; flex-direction: column; }

.rung {
  display: grid;
  grid-template-columns: 64px 1fr auto 24px;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  font-family: var(--sans);
}

.rung:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--seton-gold);
}

.rung-chev {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--seton-red);
  font-size: 14px;
  transition: transform 240ms ease;
}

.rung[aria-expanded="true"] {
  border-color: var(--seton-red);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: var(--shadow-md);
}

.rung[aria-expanded="true"] .rung-chev {
  transform: rotate(180deg);
}

.rung-scenario {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(.2, .8, .2, 1);
  background: var(--seton-gold-soft);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.rung-scenario.open {
  grid-template-rows: 1fr;
  border-color: var(--seton-red);
  box-shadow: var(--shadow-md);
}

.rung-scenario-inner {
  min-height: 0;
  overflow: hidden;
}

.rung-scenario.open .rung-scenario-inner { padding: 22px 26px 24px; }

.rung-scenario h5 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seton-red-deep);
  font-weight: 800;
}

.rung-scenario p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.rung-scenario p + p { margin-top: 12px; }

.rung-scenario .scenario-who {
  font-weight: 700;
  color: var(--seton-red-deep);
}

.rung-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid #fde68a;
}

.rung-body h4 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -0.005em;
}

.rung-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-mute);
}

.rung-zone {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  background: var(--line-soft);
  padding: 6px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.zone-conv .rung-num { background: #dbeafe; border-color: #93c5fd; }
.zone-conf .rung-num { background: #fef3c7; border-color: #fde68a; }
.zone-auto .rung-num { background: #dcfce7; border-color: #86efac; }

/* ===== Zone band ===== */

.zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0;
}

.zone {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

.zone-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 12px;
}

.zone-1 .zone-tag { background: #dbeafe; color: #1e40af; }
.zone-2 .zone-tag { background: #fef3c7; color: #92400e; }
.zone-3 .zone-tag { background: #dcfce7; color: #166534; }

.zone h4 { margin: 0 0 8px; font-family: var(--serif); font-size: 19px; }
.zone p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ===== Phase deep-dive screens ===== */

.phase-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.phase-badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid #fde68a;
  flex-shrink: 0;
}

.phase-title-block .eyebrow { margin-bottom: 8px; }
.phase-title-block h2 { margin: 0; }

.phase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}

.phase-grid .card { margin: 0; }

.phase-grid h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 12px;
}

.phase-grid ul { margin: 0; padding-left: 18px; font-size: 15px; }

.try-now {
  background: linear-gradient(135deg, var(--seton-red-deep) 0%, var(--seton-red) 100%);
  color: #fafaf9;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 28px 0;
}

.try-now h4 {
  color: var(--seton-gold);
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.try-now p { color: #e7e5e4; margin: 0 0 14px; }

.prompt-block {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 14px;
  color: #fafaf9;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ===== Quiz / Assessment ===== */

.q-block { margin-bottom: 36px; }

.q-question {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 18px;
}

.q-options { display: flex; flex-direction: column; gap: 10px; }

.q-opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 140ms ease;
  text-align: left;
  font: inherit;
  color: var(--ink-soft);
  width: 100%;
}

.q-opt:hover {
  border-color: var(--ink-mute);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.q-opt-marker {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-mute);
  background: var(--paper);
}

.q-opt-text { flex: 1; padding-top: 2px; }

.q-opt.correct {
  border-color: var(--good);
  background: var(--good-soft);
}
.q-opt.correct .q-opt-marker {
  background: var(--good);
  border-color: var(--good);
  color: #fff;
}

.q-opt.wrong {
  border-color: var(--bad);
  background: var(--bad-soft);
}
.q-opt.wrong .q-opt-marker {
  background: var(--bad);
  border-color: var(--bad);
  color: #fff;
}

.q-opt.locked { cursor: default; opacity: .7; }
.q-opt.locked:hover { transform: none; box-shadow: none; }

.q-feedback {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.55;
  display: none;
}

.q-feedback.show { display: block; }
.q-feedback.right { background: var(--good-soft); color: #14532d; }
.q-feedback.wrong { background: var(--bad-soft); color: #7f1d1d; }
.q-feedback strong { font-weight: 700; }

/* ===== Reflection ===== */

.reflect {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}

.reflect h4 {
  color: var(--accent-ink);
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reflect .prompt {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin: 6px 0 14px;
  line-height: 1.4;
}

.reflect textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}

.reflect textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, .15);
}

.saved-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--good);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 200ms ease;
}
.saved-tag.show { opacity: 1; }

/* ===== Nav buttons ===== */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid var(--seton-red);
  background: var(--seton-red);
  color: #fafaf9;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 140ms ease;
  text-decoration: none;
  letter-spacing: -0.005em;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--ink);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { background: var(--line-soft); }

.btn-lg { padding: 16px 30px; font-size: 16px; }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===== Completion screen ===== */

.score-hero {
  text-align: center;
  padding: 40px 0 30px;
}

.score-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--pct, 0) * 1%), var(--line) 0);
  display: grid;
  place-items: center;
  position: relative;
}

.score-ring::before {
  content: '';
  position: absolute;
  inset: 10px;
  background: var(--paper);
  border-radius: 50%;
}

.score-ring span {
  position: relative;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
}

.takeaways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}

.take {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.take h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.take p { margin: 0; font-size: 14px; }

.next-unit {
  background: linear-gradient(135deg, var(--seton-red-deep) 0%, var(--seton-red) 100%);
  color: #fafaf9;
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  margin: 40px 0 0;
  text-align: center;
}

.next-unit h3 { color: var(--seton-gold); font-family: var(--serif); }
.next-unit p { color: #fef3c7; max-width: 480px; margin: 12px auto 24px; opacity: .92; }

/* ===== Helpers ===== */

.divider { height: 1px; background: var(--line); margin: 36px 0; }

.kbd {
  font-family: var(--mono);
  background: var(--line-soft);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 13px;
  border: 1px solid var(--line);
}

/* ===== Unit 2: RCTC ingredient cards ===== */

.ingredient {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--seton-red);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.ingredient-letter {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--seton-gold-soft);
  border: 1px solid var(--seton-gold);
  color: var(--seton-red-deep);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 26px;
}

.ingredient h4 { font-size: 18px; margin: 0 0 6px; }
.ingredient p { margin: 0 0 10px; font-size: 15px; }
.ingredient p:last-child { margin: 0; }

.ingredient .ex {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--line-soft);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  display: block;
  margin-top: 8px;
}

/* ===== Unit 2: Before / After comparison ===== */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.compare-side {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.compare-side.weak { border-top: 4px solid #cbd5e1; }
.compare-side.strong { border-top: 4px solid var(--seton-red); }

.compare-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
  display: block;
}

.compare-side.weak .compare-tag { color: var(--ink-mute); }
.compare-side.strong .compare-tag { color: var(--seton-red); }

.compare-prompt {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.6;
  background: var(--line-soft);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin: 10px 0;
  color: var(--ink);
  white-space: pre-wrap;
}

.compare-side.strong .compare-prompt { background: var(--seton-gold-soft); }

.compare-result {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.compare-result strong { color: var(--ink); }

/* ===== Unit 2: Common mistakes cards ===== */

.mistake {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.mistake-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mistake-x {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bad-soft);
  color: var(--bad);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.mistake-head h4 { margin: 0; font-size: 17px; }

.mistake-fix {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--good-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #14532d;
}

.mistake-fix strong { color: #14532d; }

/* ===== Unit 2: Sample project (hands-on) ===== */

.project {
  background: var(--card);
  border: 1px solid var(--seton-red);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}

.project-eyebrow {
  display: inline-block;
  background: var(--seton-red);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.project h3 { margin: 0 0 10px; font-size: 24px; }
.project .brief-setup { color: var(--ink-soft); font-size: 16px; margin: 0 0 18px; }

.brief-fields {
  display: grid;
  gap: 12px;
  margin: 16px 0 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
}

.field-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--seton-red-deep);
  padding-top: 12px;
}

.brief-fields textarea {
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font: inherit;
  font-size: 14.5px;
  resize: vertical;
  font-family: var(--sans);
  color: var(--ink);
}

.brief-fields textarea:focus {
  outline: none;
  border-color: var(--seton-red);
  box-shadow: 0 0 0 3px rgba(183, 18, 52, .12);
  background: #fff;
}

.project-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-secondary {
  background: var(--card);
  color: var(--seton-red);
  border-color: var(--seton-red);
}

.btn-secondary:hover { background: var(--seton-red-soft); }

.reveal {
  display: none;
  margin-top: 20px;
  padding: 22px;
  background: var(--seton-gold-soft);
  border: 1px solid var(--seton-gold);
  border-radius: var(--radius);
}

.reveal.show { display: block; animation: fade 280ms ease-out; }

.reveal h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seton-red-deep);
  margin: 0 0 12px;
  font-weight: 800;
}

.reveal .model-brief {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  border: 1px solid var(--seton-gold);
  margin-bottom: 14px;
}

.reveal .model-brief p { margin: 0 0 10px; color: var(--ink-soft); }
.reveal .model-brief p:last-child { margin: 0; }
.reveal .model-brief strong { color: var(--seton-red-deep); display: inline-block; min-width: 100px; }

.reveal .reveal-note { font-size: 14px; color: var(--ink-soft); margin: 0; }
.reveal .reveal-note strong { color: var(--ink); }

/* ===== Unit 2: Journey badge ===== */

.journey {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.journey-step {
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
}

.journey-step.from { background: var(--line-soft); color: var(--ink-mute); }
.journey-step.to { background: var(--seton-gold-soft); color: var(--seton-red-deep); border: 1px solid var(--seton-gold); }

.journey-step .num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 28px;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.journey-step .name {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.journey-arrow {
  font-size: 32px;
  color: var(--seton-red);
  font-weight: 800;
}

/* ===== Unit 3: Tax calculator ===== */

.tax-calc {
  background: linear-gradient(135deg, var(--seton-red-deep) 0%, var(--seton-red) 100%);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  color: #fafaf9;
  margin: 28px 0;
  box-shadow: var(--shadow-lg);
}

.tax-calc h4 {
  color: var(--seton-gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 18px;
}

.tax-rows {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.tax-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
}

.tax-row-label { font-size: 14px; color: rgba(255,255,255,.85); }
.tax-row-val {
  font-family: var(--mono);
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}

.tax-equals {
  text-align: center;
  font-size: 12px;
  color: rgba(254,243,199,.7);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 8px 0;
}

.tax-total {
  background: var(--seton-gold);
  color: var(--seton-red-deep);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
}

.tax-total-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.tax-total-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

/* ===== Unit 3: Mechanism cards (similar to ingredient but with 3) ===== */

.mechanism {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--seton-red);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.mechanism-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--seton-gold-soft);
  border: 1px solid var(--seton-gold);
  color: var(--seton-red-deep);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
}

.mechanism-body { display: flex; flex-direction: column; gap: 0; }

.mechanism-nick {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seton-red);
  font-weight: 800;
  margin-bottom: 4px;
}

.mechanism h4 { font-size: 19px; margin: 0 0 10px; }
.mechanism p { margin: 0 0 10px; font-size: 15px; }
.mechanism p:last-child { margin: 0; }

.mechanism-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.mechanism-meta div {
  padding: 10px 12px;
  background: var(--line-soft);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.mechanism-meta strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--seton-red);
  margin-bottom: 4px;
}

/* ===== Responsive ===== */

@media (max-width: 720px) {
  .stage { padding: 36px 18px 100px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .lede { font-size: 17px; }
  .welcome-meta { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr; }
  .phase-grid { grid-template-columns: 1fr; }
  .takeaways { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 52px 1fr 20px; padding: 14px 16px; gap: 12px; }
  .rung-zone { display: none; }
  .rung-scenario.open .rung-scenario-inner { padding: 18px 18px 20px; }
  .topbar-inner { padding: 12px 16px; gap: 12px; }
  .brand-unit { display: none; }
  .phase-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .compare { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 4px; }
  .field-label { padding-top: 0; }
  .journey { grid-template-columns: 1fr; }
  .journey-arrow { transform: rotate(90deg); justify-self: center; }
  .mechanism { grid-template-columns: 60px 1fr; gap: 14px; padding: 18px 18px; }
  .mechanism-icon { width: 60px; height: 60px; font-size: 24px; }
  .mechanism-meta { grid-template-columns: 1fr; }
  .tax-calc { padding: 22px; }
  .tax-total-num { font-size: 36px; }
}
