/* ============================================================
   The Secret Revealed (Chapter 2) — style additions
   Loaded AFTER styles.css. Reuses the shared design system.
   ============================================================ */

/* Hero key motif reuses .glass-mark positioning */

/* ---- Recap bridge band ---- */
.bridge {
  background: var(--blue-tint); border-radius: 20px; padding: clamp(24px,4vw,38px);
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
}
@media (max-width: 620px){ .bridge { grid-template-columns: 1fr; gap: 14px; } }
.bridge .ic {
  width: 58px; height: 58px; border-radius: 16px; background: var(--blue); color: white;
  display: grid; place-items: center; flex: none;
}
.bridge .ic svg { width: 30px; height: 30px; }
.bridge p { margin: 0; color: var(--blue-deep); font-size: 17px; }
.bridge .from { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }

/* ---- Luminous callout (key reveal) ---- */
.lumin {
  text-align: center; padding: clamp(30px,5vw,56px) clamp(20px,4vw,40px);
  background:
    radial-gradient(120% 130% at 50% -20%, var(--blue-tint) 0%, transparent 60%),
    var(--card);
  border: 1px solid var(--hair); border-radius: 24px; box-shadow: var(--shadow-md);
}
.lumin .twin {
  display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: clamp(30px,5vw,52px);
  letter-spacing: -0.01em; line-height: 1.1;
}
.lumin .twin .w { color: var(--blue-deep); }
.lumin .twin .amp { color: var(--terra); font-style: italic; font-weight: 500; }
.lumin .twin .w small { display:block; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); margin-top: 6px; }
.lumin .sub { font-family: var(--serif); font-size: clamp(18px,2.4vw,22px); color: var(--ink-soft); max-width: 44ch; margin: 22px auto 0; line-height: 1.5; }

/* ---- Two ladders (climb from tidy shelf to inner freedom) ---- */
.ladders { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 820px){ .ladders { grid-template-columns: 1fr; gap: 40px; } }
.ladder h3 { display: flex; align-items: center; gap: 12px; }
.ladder h3 .badge {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: white;
}
.ladder.clean h3 .badge { background: var(--blue); }
.ladder.order h3 .badge { background: var(--terra); }
.ladder h3 .badge svg { width: 19px; height: 19px; }
.rungs { display: flex; flex-direction: column-reverse; gap: 0; margin-top: 16px; }
.rung {
  position: relative; padding: 16px 18px 16px 56px; border: 1px solid var(--hair); background: var(--card);
  box-shadow: var(--shadow-sm); border-radius: 12px; margin-top: 8px;
}
.rung .lv {
  position: absolute; left: 14px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 14px; color: white;
}
.ladder.clean .rung .lv { background: var(--blue); }
.ladder.order .rung .lv { background: var(--terra); }
.rung:nth-child(1) { opacity: 1; }
.rung .rt { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.2; }
.rung .rd { font-size: 14.5px; color: var(--ink-soft); margin-top: 3px; }
.rung.top { border-width: 2px; }
.ladder.clean .rung.top { border-color: var(--blue); background: var(--blue-tint); }
.ladder.order .rung.top { border-color: var(--terra); background: var(--terra-tint); }
.ladder .climb-note { text-align: center; font-size: 13px; color: var(--ink-faint); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 4px; display:flex; align-items:center; justify-content:center; gap:8px; }
.ladder .climb-note svg { width: 15px; height: 15px; }

/* ---- Practice cards (the training: chores as luminous practice) ---- */
.practice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media (max-width: 680px){ .practice-grid { grid-template-columns: 1fr; } }
.pcard {
  background: var(--card); border: 1px solid var(--hair); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  text-align: left; font: inherit; color: inherit; display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pcard .ph { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.pcard .ph .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; flex: none; }
.pcard .ph .ic svg { width: 22px; height: 22px; }
.pcard .ph .t { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.15; }
.pcard .ph .reframe { font-size: 12.5px; color: var(--terra); font-weight: 700; margin-top: 2px; }
.pcard .pbody { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 22px; }
.pcard.open .pbody { max-height: 320px; padding-bottom: 20px; }
.pcard .pbody p { font-size: 15px; color: var(--ink-soft); margin: 0 0 10px; }
.pcard .pbody .step { display: flex; gap: 10px; font-size: 14.5px; margin-bottom: 7px; }
.pcard .pbody .step b { color: var(--blue); flex: none; }
.pcard .ph .chev { margin-left: auto; color: var(--ink-faint); transition: transform 0.3s; flex: none; }
.pcard.open .ph .chev { transform: rotate(180deg); }

/* ---- 30-second reset timer widget ---- */
.reset30 {
  background: var(--blue-deep); border-radius: 20px; padding: clamp(26px,4vw,40px); color: oklch(0.95 0.015 250);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
@media (max-width: 640px){ .reset30 { grid-template-columns: 1fr; text-align: center; } }
.reset30 .dial {
  width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto;
  background: conic-gradient(var(--amber) var(--deg,0deg), oklch(0.4 0.06 260) 0deg);
  transition: --deg 0.2s;
}
.reset30 .dial .inner {
  width: 108px; height: 108px; border-radius: 50%; background: var(--blue-deep); display: grid; place-items: center;
  font-family: var(--serif); font-size: 40px; font-weight: 600; color: white;
}
.reset30 h3 { color: white; margin-bottom: 8px; }
.reset30 p { color: oklch(0.85 0.02 250); margin: 0 0 16px; font-size: 15.5px; }
.reset30 .btn {
  font: inherit; font-weight: 700; font-size: 15px; background: var(--amber); color: oklch(0.25 0.05 60);
  border: 0; border-radius: 999px; padding: 11px 24px; cursor: pointer; transition: transform 0.15s, filter 0.15s;
}
.reset30 .btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.reset30 .btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.reset30 .done-msg { font-weight: 700; color: var(--amber); margin-top: 12px; min-height: 22px; }

/* ---- Inline-progress note for series ---- */
.serieslink {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px;
  color: var(--blue); text-decoration: none; border-bottom: 2px solid transparent; transition: border-color 0.2s;
}
.serieslink:hover { border-color: var(--blue); }
.serieslink svg { width: 18px; height: 18px; }

/* ---- Chapter pill on teaser ---- */
.backline { display:flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.backline a {
  display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:14.5px; text-decoration:none;
  padding: 11px 18px; border-radius: 999px; transition: transform 0.15s, background 0.2s;
}
.backline a svg { width: 17px; height: 17px; }
.backline a.ghost { color: oklch(0.9 0.02 250); border: 1px solid oklch(0.7 0.04 250 / 0.4); }
.backline a.ghost:hover { background: oklch(0.7 0.04 250 / 0.15); transform: translateY(-1px); }
.backline a.solid { background: var(--amber); color: oklch(0.25 0.05 60); }
.backline a.solid:hover { transform: translateY(-1px); filter: brightness(1.05); }
