/* bootcamp.css: only what bootcamp.html adds on top of site.css + cafe.css (the café look of index.html).
   Every rule starts with .bc (the body class), new classes carry the bc- prefix. */

.bc .bc-sec { padding: var(--section) var(--gutter); }
.bc .bc-sec > * { max-width: 1240px; margin-inline: auto; }
.bc .bc-sec > .pains__ask { display: table; margin-inline: auto 0; margin-left: max(0px, (100% - 1240px) / 2); }
.bc .bc-sec h3 { margin: 0; font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }

/* 1 · hero: text on the left, one character on the right */
.bc .bc-hero { padding: calc(var(--section) * .55 + 64px) var(--gutter) calc(var(--section) * .6); background: var(--ground); }
.bc .bc-hero__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1240px; margin: 0 auto; }
.bc .bc-hero__h { margin: 0; max-width: 13ch; font-size: clamp(44px, 5.8vw, 86px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
.bc .bc-hero__lede { margin: clamp(18px, 2.6vh, 28px) 0 0; max-width: 30ch; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.4; }
.bc .bc-hero__lede .hd__mk { font-weight: 700; }
.bc .bc-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: clamp(22px, 3.4vh, 34px) 0 0; padding: 0; list-style: none; }
.bc .bc-facts li { padding: 8px 14px 9px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 2px oklch(0.3 0.03 60 / .08), 0 6px 14px -8px oklch(0.3 0.04 60 / .25); font-size: 15px; line-height: 1.3; }
.bc .bc-facts b { font-weight: 600; }
.bc .bc-hero__btn { display: inline-flex; margin-top: clamp(26px, 4vh, 40px); padding: 18px 30px; font-size: clamp(16px, 1.3vw, 18px); }
.bc .bc-hero__fig { display: block; width: 100%; max-width: 520px; height: auto; justify-self: end; }

/* 2 · who it is for */
.bc .bc-who { background: var(--ground); }
.bc .bc-who__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(32px, 5vh, 56px); }
.bc .bc-who__col { padding: clamp(24px, 3vw, 40px); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-tile); }
.bc .bc-who__col--no { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.bc .bc-ticks { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.bc .bc-ticks li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.45; }
.bc .bc-ticks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: oklch(0.9 0.19 122)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%23231f1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.bc .bc-ticks--no li::before { background: var(--butter)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' fill='none' stroke='%23231f1c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* 3 · the authors: one big card per person, 3 + 2 */
.bc .bc-authors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; list-style: none; }
.bc .bc-author { grid-column: span 2; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-tile); }
.bc .bc-author:nth-child(4) { grid-column: 2 / span 2; }
.bc .bc-author__ph { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--butter-soft); }
.bc .bc-author__ph img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.bc .bc-author__ph--pix img { object-fit: contain; object-position: 50% 100%; }
.bc .bc-author__txt { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: clamp(20px, 2.2vw, 28px); }
.bc .bc-author h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.bc .bc-author__role { margin: 0; font-size: 15px; color: var(--peri-ink); font-weight: 500; }
.bc .bc-author__txt p { margin: 0; font-size: 16px; line-height: 1.45; }
.bc .bc-author__lead { margin-top: auto !important; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.bc .bc-author__lead span { display: block; font-family: var(--hand); font-size: 22px; line-height: 1.1; color: var(--peri-ink); }

/* 4 · what you leave with: three rows, the number large */
.bc .bc-out { background: var(--ground); }
.bc .bc-out__list { display: grid; margin: clamp(32px, 5vh, 56px) auto 0; padding: 0; list-style: none; counter-reset: out; }
.bc .bc-out__list li { counter-increment: out; display: grid; grid-template-columns: clamp(56px, 7vw, 96px) minmax(0, 22ch) minmax(0, 1fr); gap: 8px clamp(16px, 3vw, 48px); align-items: baseline;
  padding: clamp(22px, 3vh, 32px) 0; border-top: 1px solid var(--line-2); }
.bc .bc-out__list li:last-child { border-bottom: 1px solid var(--line-2); }
.bc .bc-out__list li::before { content: counter(out); font-size: clamp(40px, 5vw, 72px); font-weight: 600; line-height: .9; letter-spacing: -.04em; }
.bc .bc-out__list h3 { font-size: clamp(22px, 2.2vw, 30px); }
.bc .bc-out__list p { margin: 0; max-width: 56ch; font-size: 17px; line-height: 1.5; }

/* 5 · program: two parts on the wall, the weeks as a ruled list */
.bc .bc-prog { background: var(--butter); }
.bc .bc-prog__lede { margin-top: 16px; max-width: 56ch; margin-left: max(0px, (100% - 1240px) / 2); }
.bc .bc-prog__cols { display: grid; grid-template-columns: 5fr 3fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(32px, 5vh, 56px); align-items: start; }
.bc .bc-prog__part { padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-tile); }
.bc .bc-prog__part h3 { font-family: var(--hand); font-size: 32px; font-weight: 600; line-height: 1; color: var(--peri-ink); }
.bc .bc-weeks { margin: 14px 0 0; padding: 0; list-style: none; }
.bc .bc-weeks li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.bc .bc-weeks span { font-size: 14px; line-height: 1.7; color: oklch(0.42 0.02 60); }
.bc .bc-weeks p { margin: 0; }
.bc .bc-weeks b { font-weight: 600; }

/* 7 · terms: the café's letter board, the one dark band on the page */
.bc .bc-terms { background: var(--ground); }
.bc .bc-board { padding: clamp(32px, 5vw, 72px); border-radius: 20px; background: var(--felt); color: var(--chalk);
  background-image: repeating-linear-gradient(0deg, oklch(1 0 0 / .035) 0 1px, transparent 1px 14px); }
.bc .bc-board__h { margin: 0; max-width: 18ch; font-size: clamp(34px, 4.6vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; color: var(--chalk); }
.bc .bc-board__h span { color: oklch(0.9 0.19 122); }
.bc .bc-board__list { display: grid; gap: 12px; margin: clamp(24px, 4vh, 40px) 0 0; padding: 0; list-style: none; }
.bc .bc-board__list li { position: relative; padding-left: 30px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; }
.bc .bc-board__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 3px; border-radius: 2px; background: oklch(0.9 0.19 122); }
.bc .bc-board__list b { font-weight: 600; }
.bc .bc-board__dates { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(24px, 5vw, 72px); margin: clamp(28px, 4vh, 44px) 0 0;
  padding-top: clamp(20px, 3vh, 28px); border-top: 1px solid oklch(1 0 0 / .16); }
.bc .bc-board__dates dt { font-size: 14px; color: oklch(0.82 0.01 70); }
.bc .bc-board__dates dd { margin: 4px 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.bc .bc-board__pay { margin: 22px 0 0; font-size: 15px; color: oklch(0.82 0.01 70); }
.bc .bc-board__btn { margin-top: 24px; gap: 10px; background: oklch(0.9 0.19 122); color: var(--ink); }
.bc .bc-board__btn:hover { background: oklch(0.94 0.17 120); }
.bc .bc-board__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 9 · application form: the radio pills, the textarea */
.bc .bc-apply { padding-top: calc(var(--section) * .6); }
.bc .bc-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.bc .bc-pick legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; }
.bc .bc-pick label { position: relative; flex: 1 1 auto; }
.bc .bc-pick input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bc .bc-pick span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 12px; background: var(--ground);
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; transition: box-shadow .2s var(--ease-out); }
.bc .bc-pick input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); font-weight: 600; }
.bc .bc-pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.bc .field textarea { width: 100%; min-height: 120px; padding: 12px 14px; resize: vertical; font: inherit; line-height: 1.45; }
.bc .bc-form .join__form { display: grid; gap: 16px; }
.bc .bc-form .msg { margin: 0; }

::selection { background: oklch(0.9 0.19 122 / .6); color: var(--ink); }

@media (max-width: 900px) {
  .bc .bc-hero__in { grid-template-columns: 1fr; }
  .bc .bc-hero__fig { justify-self: start; max-width: 200px; grid-row: 1; margin-bottom: -8px; }
  .bc .bc-authors { grid-template-columns: 1fr 1fr; }
  .bc .bc-author, .bc .bc-author:nth-child(4) { grid-column: auto; }
  .bc .bc-who__cols, .bc .bc-prog__cols { grid-template-columns: 1fr; }
  .bc .bc-out__list li { grid-template-columns: 52px 1fr; }
  .bc .bc-out__list p { grid-column: 2; }
}
@media (max-width: 560px) {
  .bc .bc-authors { grid-template-columns: 1fr; }
  .bc .bc-author { flex-direction: row; }
  .bc .bc-author__ph { flex: none; width: 36%; aspect-ratio: auto; }
  .bc .bc-author__txt { padding: 16px; }
  .bc .bc-author__txt p { font-size: 15px; }
  .bc .bc-board__dates { grid-template-columns: 1fr 1fr; }
  .bc .bc-weeks li { grid-template-columns: 64px 1fr; }
}
