/* ═══════════════════════════════════════════════════════════════
   YOUTHWORK.AI — Part 03: AI For Your Work
   Part-specific styles. Requires youthworkai.css loaded first.
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   HERO — PAIN POINT GRID
   ═══════════════════════════════════════════════════════════════ */
.hero-light {
  background: var(--paper);
}
.hero-light .hero-left {
  background: var(--paper);
}
.hero-light .hero-h1 { color: var(--ink); }
.hero-light .hero-lead { color: var(--ink-80); }

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 60px 48px 60px 40px;
  height: 100%;
  align-content: center;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 20px 20px 18px;
  opacity: 0;
  transform: translateY(16px);
}
.pain-card.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pain-card:nth-child(1).in { transition-delay: 0.1s; }
.pain-card:nth-child(2).in { transition-delay: 0.2s; }
.pain-card:nth-child(3).in { transition-delay: 0.3s; }
.pain-card:nth-child(4).in { transition-delay: 0.4s; }
.pain-card:nth-child(5).in { transition-delay: 0.5s; }
.pain-card:nth-child(6).in { transition-delay: 0.6s; }
.pain-card:hover { background: var(--paper-2); }
.pain-icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}
.pain-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.pain-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.pain-note {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-40);
  padding: 0 40px 48px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   DISCLAIMER STRIP
   ═══════════════════════════════════════════════════════════════ */
.disclaimer-strip {
  background: var(--amber-bg);
  border-top: 1px solid rgba(196,125,14,0.2);
  border-bottom: 1px solid rgba(196,125,14,0.2);
  padding: 28px var(--section-pad-h);
  text-align: center;
}
.disclaimer-text {
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: var(--amber);
  max-width: 820px;
  margin: 0 auto;
}
.disclaimer-text strong { font-weight: 600; font-style: normal; }

/* ═══════════════════════════════════════════════════════════════
   PROMPT CODE BLOCKS (.pblock) — used across all sections
   ═══════════════════════════════════════════════════════════════ */
.pblock-wrap {
  position: relative;
  margin: 24px 0;
}
.pblock-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  background: #111;
  padding: 8px 16px;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pblock {
  background: #1A1917;
  border-radius: 0 0 4px 4px;
  padding: 20px 20px 44px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  white-space: pre-wrap;
  word-break: break-word;
  position: relative;
}
.pblock .br { color: var(--teal-lt); font-weight: 600; } /* [BRACKETS] */
.pblock-copy {
  position: absolute;
  bottom: 10px; right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.pblock-copy:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.pblock-copy.copied {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  pointer-events: none;
}

/* OUTPUT BLOCKS (.oblock) */
.oblock {
  border-left: 3px solid var(--teal);
  background: var(--paper-2);
  border-radius: 0 4px 4px 0;
  padding: 16px 20px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.75;
  color: var(--ink-80);
  font-weight: 300;
  margin: 0 0 24px;
}
.oblock strong { font-weight: 600; font-style: normal; color: var(--teal-mid); }

/* ═══════════════════════════════════════════════════════════════
   GRANT WRITING — 4-STEP VERTICAL FLOW
   ═══════════════════════════════════════════════════════════════ */
.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}
.step-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-bg);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-mid);
  flex-shrink: 0;
  z-index: 1;
}
.step-line {
  width: 2px;
  flex: 1;
  min-height: 36px;
  background: var(--teal);
  opacity: 0.25;
  margin: 4px 0;
}
.step-row:last-child .step-line { display: none; }
.step-content {
  padding: 6px 0 32px;
}
.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.step-sub {
  font-size: 12px;
  color: var(--ink-40);
  font-weight: 300;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   DARK ACCENT STRIP — KEY PRINCIPLE
   ═══════════════════════════════════════════════════════════════ */
.principle-strip {
  background: var(--ink);
  padding: 40px var(--section-pad-h);
  text-align: center;
}
.principle-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.45;
}
.principle-text em {
  font-style: normal;
  color: var(--teal-lt);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION BODY TEXT — shared prose style for main sections
   ═══════════════════════════════════════════════════════════════ */
.section-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-80);
  font-weight: 300;
  margin-bottom: 22px;
}
.section-body p:last-child { margin-bottom: 0; }
.section-body strong { font-weight: 600; color: var(--ink); }

.subsection-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ═══════════════════════════════════════════════════════════════
   PLANNING — FEATURE CARDS (3 col)
   ═══════════════════════════════════════════════════════════════ */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-card-top {
  height: 4px;
  flex-shrink: 0;
}
.feature-card-top.teal   { background: var(--teal); }
.feature-card-top.amber  { background: var(--amber); }
.feature-card-top.coral  { background: #F09580; }
.feature-card-body { padding: 32px 28px; flex: 1; }
.fc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-40);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.fc-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}
.fc-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-80);
  font-weight: 300;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   WORKED EXAMPLE CHAIN
   ═══════════════════════════════════════════════════════════════ */
.chain-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-40);
  font-weight: 300;
}
.chain-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.chain-block {
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.chain-block-top {
  background: #1A1917;
  padding: 16px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}
.chain-block-top .cb-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 8px;
  display: block;
}
.chain-block-top .br { color: var(--teal-lt); }
.chain-block-bottom {
  background: var(--paper-2);
  padding: 14px 18px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-80);
  font-weight: 300;
  border-top: 1px solid var(--rule);
}
.chain-block-bottom .cb-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 6px;
  display: block;
  font-style: normal;
}
.chain-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
}
.chain-arrow-line {
  width: 32px; height: 2px;
  background: var(--teal);
  opacity: 0.5;
}
.chain-arrow-head {
  font-size: 14px;
  color: var(--teal);
}
.chain-arrow-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   COMMUNICATION — 2-COLUMN LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.comms-layout {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 60px;
}
.comms-divider {
  background: var(--rule);
  align-self: stretch;
}
.comms-col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 40px;
}
.comms-item {
  margin-bottom: 52px;
}
.comms-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.comms-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.comms-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.comms-item-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-80);
  font-weight: 300;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   WORKING WITH YOUNG PEOPLE — MODE CARDS
   ═══════════════════════════════════════════════════════════════ */
.youth-section {
  background: var(--ink);
  padding: var(--section-pad-v) var(--section-pad-h);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.youth-inner { max-width: var(--inner-max); margin: 0 auto; }
.youth-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 72px;
}
.youth-label::after { content:''; flex:1; height:1px; background:rgba(255,255,255,0.08); }

.youth-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  margin-bottom: 72px;
}
.youth-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: 28px;
}
.youth-h2 em { font-style: italic; font-weight: 400; color: var(--teal-lt); }
.youth-lead {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}
.youth-distinction {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 20px 24px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}
.youth-distinction strong { color: var(--teal-lt); font-weight: 600; }

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mode-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 32px 28px;
  transition: border-color 0.25s, background 0.25s;
  cursor: default;
}
.mode-card:hover {
  border-color: var(--teal);
  background: rgba(14,138,104,0.06);
}
.mode-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 10px;
}
.mode-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  line-height: 1.15;
}
.mode-body {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-bottom: 20px;
}
.mode-list-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
}
.mode-list li {
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  margin-left: 16px;
  margin-bottom: 5px;
}

/* ═══════════════════════════════════════════════════════════════
   COMMON MISTAKES — FULL DISPLAY (no accordion)
   Redefined here so part03.html is self-contained
   ═══════════════════════════════════════════════════════════════ */
.mistake-pairs { display: flex; flex-direction: column; gap: 2px; }
.mistake-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.mp-mistake {
  padding: 32px 36px;
  background: #FDF0EF;
  border-right: 1px solid rgba(240,149,128,0.25);
  position: relative;
}
.mp-fix { padding: 32px 36px; background: var(--teal-bg); }
.mp-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mp-mistake .mp-label { color: #C0503A; }
.mp-fix    .mp-label { color: var(--teal-mid); }
.mp-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(192,80,58,0.35);
  position: absolute;
  top: 14px; right: 18px;
}
.mp-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}
.mp-mistake .mp-title { color: #C0503A; }
.mp-fix    .mp-title { color: var(--teal-mid); }
.mp-body { font-size: 13.5px; line-height: 1.7; font-weight: 300; }
.mp-mistake .mp-body { color: rgba(192,80,58,0.85); }
.mp-fix    .mp-body { color: var(--teal-mid); }

/* ═══════════════════════════════════════════════════════════════
   TEAL QUOTE SECTION (redefined for self-contained file)
   ═══════════════════════════════════════════════════════════════ */
.teal-quote-section {
  padding: 100px var(--section-pad-h);
  background: var(--teal);
  text-align: center;
}
.teal-quote-inner { max-width: 820px; margin: 0 auto; }
.teal-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: rgba(255,255,255,0.3);
  line-height: 0.5;
  margin-bottom: 32px;
  display: block;
}
.teal-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(19px, 2.6vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: rgba(255,255,255,0.95);
  margin-bottom: 36px;
}
.teal-quote-cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — tablet (≤1100px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .chain-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .chain-arrow { flex-direction: row; padding: 14px 0; gap: 8px; }
  .chain-arrow-line { width: 24px; height: 2px; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .youth-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — mobile (≤900px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .pain-grid { padding: 40px 24px 20px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pain-note { padding: 0 24px 40px; }
  .comms-layout { grid-template-columns: 1fr; gap: 0; }
  .comms-divider { display: none; }
  .comms-col { padding-bottom: 0; }
  .feature-cards { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
  .mistake-pair { grid-template-columns: 1fr; }
  .mp-mistake { border-right: none; border-bottom: 1px solid rgba(240,149,128,0.25); }
  .mp-num { display: none; }
  .youth-section { padding: 80px 32px; }
  .disclaimer-strip { padding: 24px 32px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — small phones (≤480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain-card { padding: 16px; }
  .pblock { font-size: 11.5px; padding: 16px 16px 40px; }
  .mp-mistake, .mp-fix { padding: 24px 20px; }
  .mode-card { padding: 24px 20px; }
  .feature-card-body { padding: 24px 20px; }
  .steps-flow { margin-top: 24px; }
}
