/* Studentship shared styles.
   Colors, fonts, section headers, and the footer take cues from focus.browning.edu
   (checked 2026-10-16). Navigation is Studentship's own: a red top bar on every
   page, plus a sticky pillar strip on grade pages.
   DRAFT: not approved for publication. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #E4002B;
  --red-dark: #C20025;      /* hover, and brand red for small text on white */
  --black: #111111;
  --offwhite: #F7F6F3;
  --lightgray: #EBEBEB;
  --white: #ffffff;
  --poppins: 'Poppins', sans-serif;
  --lora: 'Lora', serif;

  /* Pillar colors: "Warm complement" palette, chosen 2026-10-16 to sit alongside
     Browning Red. All pass 4.5:1 with white text (5.4 to 12.4). */
  --plan: #1D3557;     /* navy */
  --engage: #2A6F6F;   /* teal */
  --persist: #9A5B00;  /* amber */
  --adapt: #6D2E46;    /* wine */
  --reflect: #3F5E2B;  /* olive */

  --page-pad: 64px;
  --strip-h: 52px;
}

html { scroll-behavior: smooth; }
/* Leaves room for the sticky pillar strip when jumping to a pillar section. */
[id] { scroll-margin-top: calc(var(--strip-h) + 16px); }

body {
  font-family: var(--lora);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.topbar :focus-visible, .grade-tile:focus-visible, .cover :focus-visible { outline-color: var(--white); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 300;
  background: var(--white); color: var(--black);
  font-family: var(--poppins); font-weight: 600; padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

/* ─── TOP BAR ─── */
.topbar {
  background: var(--red); color: var(--white); position: relative; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--page-pad); min-height: 68px; border-bottom: 1px solid rgba(255,255,255,0.3);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--poppins); font-size: 20px; font-weight: 900; letter-spacing: 0.01em; }
.brand-sub {
  font-family: var(--poppins); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list > li { position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px;
  font-family: var(--poppins); font-size: 14px; font-weight: 600; color: var(--white);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  border-bottom: 3px solid transparent;
}
.nav-link:hover, .nav-toggle:hover { border-bottom-color: rgba(255,255,255,0.6); }
.nav-link[aria-current="page"] { border-bottom-color: var(--white); }
.chev { width: 10px; height: 10px; transition: transform 0.15s; }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }

/* Dropdown panel, used by the Grades menu and the grade switcher. */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: var(--white); color: var(--black); list-style: none;
  border-top: 3px solid var(--black); box-shadow: 0 10px 28px rgba(0,0,0,0.16); padding: 6px 0; z-index: 60;
}
.dropdown.align-right { left: auto; right: 0; }
.dropdown a {
  display: flex; justify-content: space-between; gap: 16px; padding: 10px 18px;
  font-family: var(--poppins); font-size: 14px; font-weight: 600; text-decoration: none;
}
.dropdown a:hover { background: var(--offwhite); }
.dropdown a[aria-current="page"] { color: var(--red-dark); }
.dropdown .division { font-weight: 500; font-size: 12px; color: #555; }

.menu-button {
  display: none; align-items: center; gap: 8px; background: none; border: 2px solid var(--white);
  color: var(--white); font-family: var(--poppins); font-size: 14px; font-weight: 700; padding: 6px 12px; cursor: pointer;
}

/* ─── PILLAR STRIP (grade pages) ─── */
.pillar-strip {
  position: sticky; top: 0; z-index: 40; background: var(--white);
  border-bottom: 1px solid var(--lightgray); box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex; align-items: stretch; justify-content: space-between; gap: 16px;
  padding: 0 var(--page-pad); min-height: var(--strip-h);
}
.pillar-tabs { display: flex; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pillar-tabs a {
  display: flex; align-items: center; height: 100%; padding: 0 16px; white-space: nowrap;
  font-family: var(--poppins); font-size: 13px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--pillar); text-decoration: none; border-bottom: 4px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.pillar-tabs a:hover { border-bottom-color: var(--pillar); }
.pillar-tabs a.is-current { background: var(--pillar); color: var(--white); border-bottom-color: var(--pillar); }
.grade-switch { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.grade-switch .nav-toggle { color: var(--black); font-size: 13px; border: 1px solid var(--lightgray); padding: 6px 12px; }
.grade-switch .nav-toggle:hover { border-color: var(--black); }
.label-short { display: none; }

/* ─── COVER (headline kept modest) ─── */
.cover { background: var(--red); padding: 72px var(--page-pad) 80px; color: var(--white); }
.cover-eyebrow {
  font-family: var(--poppins); font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 16px; display: block;
}
.cover-title { font-family: var(--poppins); font-size: 52px; font-weight: 900; line-height: 1.05; margin-bottom: 24px; }
.cover-title span { color: var(--black); }
.cover-desc { font-size: 18px; line-height: 1.7; max-width: 600px; }
.resume {
  margin-top: 28px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: rgba(0,0,0,0.18); padding: 12px 16px; font-family: var(--poppins); font-size: 14px;
}
.resume[hidden] { display: none; }
.resume a { font-weight: 700; }
.resume button {
  background: none; border: 0; color: var(--white); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer;
}

/* ─── SECTIONS AND HEADERS (from focus) ─── */
.section { padding: 72px var(--page-pad); border-bottom: 1px solid var(--lightgray); }
.section.alt { background: var(--offwhite); }
.section-header { margin-bottom: 36px; }
.section-header::before { content: ""; display: block; width: 44px; height: 3px; background: var(--red); margin-bottom: 18px; }
.section-eyebrow {
  font-family: var(--poppins); font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red-dark); margin-bottom: 10px; display: block;
}
.section-title { font-family: var(--poppins); font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.section-deck { font-size: 16px; line-height: 1.7; color: #555555; margin-top: 12px; max-width: 68ch; }

/* ─── LAUNCH PAD CARDS ─── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; list-style: none; }
.path-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--lightgray); border-top: 3px solid var(--red);
  padding: 24px; text-decoration: none; transition: box-shadow 0.15s, transform 0.15s;
}
.path-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); transform: translateY(-2px); }
.path-card h3 { font-family: var(--poppins); font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.path-card p { font-size: 16px; line-height: 1.6; color: #444; flex: 1; }
.path-card .go { font-family: var(--poppins); font-size: 13px; font-weight: 600; color: var(--red-dark); margin-top: 18px; }

/* ─── GRADE SELECTOR ─── */
.grade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; list-style: none; }
.grade-tile { display: block; background: var(--red); color: var(--white); text-decoration: none; padding: 22px 20px; transition: background 0.15s; }
.grade-tile:hover { background: var(--red-dark); }
.grade-division {
  font-family: var(--poppins); font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; display: block; margin-bottom: 6px;
}
.grade-name { font-family: var(--poppins); font-size: 26px; font-weight: 900; line-height: 1.1; }

/* ─── PILLARS ─── */
.pillar-plan    { --pillar: var(--plan); }
.pillar-engage  { --pillar: var(--engage); }
.pillar-persist { --pillar: var(--persist); }
.pillar-adapt   { --pillar: var(--adapt); }
.pillar-reflect { --pillar: var(--reflect); }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; list-style: none; }
.pillar-card { background: var(--white); border: 1px solid var(--lightgray); display: flex; flex-direction: column; }
.pillar-card h3 {
  font-family: var(--poppins); font-size: 18px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--white); padding: 14px 20px; background: var(--pillar);
}
.pillar-card p { font-size: 15px; line-height: 1.65; color: #333; padding: 18px 20px 22px; }
.pillar-closing { font-size: 18px; line-height: 1.7; margin-top: 32px; max-width: 68ch; font-style: italic; }

/* Home page: pillars sit at the top, overlapping the bottom of the red cover. */
.cover-pillars { padding-bottom: 150px; }
.pillars-top { padding: 0 var(--page-pad) 64px; border-bottom: 1px solid var(--lightgray); }
.pillar-grid-top { position: relative; margin-top: -110px; }
.pillar-grid-top .pillar-card { box-shadow: 0 10px 28px rgba(0,0,0,0.12); border: 0; }
.pillar-quote { margin-top: 44px; max-width: 72ch; border-left: 4px solid var(--red); padding-left: 22px; }
.pillar-quote p { font-size: 17px; line-height: 1.75; color: #333; }
.pillar-quote .pillar-closing { margin-top: 14px; color: var(--black); }

/* ─── GRADE PAGE ─── */
.grade-hero { background: var(--red); color: var(--white); padding: 48px var(--page-pad) 52px; }
.grade-hero .cover-title { font-size: 44px; margin-bottom: 12px; }
.pillar-section { padding: 64px var(--page-pad); border-top: 6px solid var(--pillar); }
.pillar-section:nth-of-type(even) { background: var(--offwhite); }
.pillar-section > h2 {
  font-family: var(--poppins); font-size: 32px; font-weight: 900; letter-spacing: 0.06em; color: var(--pillar);
}
.pillar-section .pillar-skills { font-family: var(--poppins); font-size: 14px; font-weight: 600; color: #444; margin: 6px 0 32px; }
/* Skill cards: one full-width card per skill, with three columns from the
   grade band's grouping table: what it looks like, what it doesn't, tools to help. */
.skill-grid { display: grid; grid-template-columns: 1fr; gap: 16px; list-style: none; margin-bottom: 28px; }
.skill-card { background: var(--white); border: 1px solid var(--lightgray); border-top: 4px solid var(--pillar); padding: 20px 22px 22px; }
.skill-card h3 { font-family: var(--poppins); font-size: 19px; font-weight: 700; color: var(--pillar); margin-bottom: 6px; }
.skill-def { font-size: 15px; line-height: 1.6; color: #444; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--lightgray); max-width: 80ch; }
.skill-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-col { padding-left: 14px; border-left: 3px solid var(--lightgray); }
.skill-col.col-looks { border-left-color: var(--pillar); }
.skill-col.col-doesnt { border-left-style: dashed; border-left-color: #B5B5B5; }
.skill-col.col-tools { border-left-color: var(--red); }
.skill-col ul, .skill-col ol { padding-left: 18px; }
.skill-col li { font-size: 15px; line-height: 1.6; color: #333; margin-bottom: 8px; }
.skill-col li strong { font-family: var(--poppins); font-weight: 600; color: var(--black); }
.skill-col .placeholder { font-size: 14px; }
.skill-card h4 {
  font-family: var(--poppins); font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #555; margin-bottom: 6px;
}
/* Proposed edits (review only). Toggle off with SHOW_PROPOSALS in tools/build_grades.py. */
ins.proposed { background: #FFF4CC; color: #5C4400; text-decoration: none; padding: 0 2px; border-bottom: 1px dashed #B08900; }
.skill-card.is-proposed { border: 2px dashed var(--pillar); background: #FFFDF5; }
.proposed-label {
  display: inline-block; font-family: var(--poppins); font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #5C4400; background: #FFF4CC; padding: 2px 8px; margin-bottom: 10px;
}
.proposed-why { font-size: 14px; line-height: 1.55; color: #555; font-style: italic; }
.proposal-legend {
  margin-top: 14px; font-family: var(--poppins); font-size: 13px; font-weight: 500; max-width: 60ch;
  background: rgba(255,255,255,0.95); color: var(--black); padding: 8px 12px; display: inline-block;
}
.answer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.answer h3 { font-family: var(--poppins); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.answer p { font-size: 16px; line-height: 1.65; color: #444; }
.answer.try { background: var(--white); border-left: 4px solid var(--pillar); padding: 18px 20px; }
.placeholder { color: #666; font-style: italic; }

/* "Try this week" checklist. Saved in this browser only; clears each week. */
.tried {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; cursor: pointer;
  font-family: var(--poppins); font-size: 14px; font-weight: 600; color: var(--pillar);
}
.tried input { width: 20px; height: 20px; accent-color: var(--pillar); cursor: pointer; }
.answer.try.is-done { background: var(--pillar); }
.answer.try.is-done h3, .answer.try.is-done p, .answer.try.is-done .tried { color: var(--white); }
.answer.try.is-done input { accent-color: var(--white); }
.tried-count {
  margin-top: 18px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: rgba(0,0,0,0.18); padding: 10px 16px; font-family: var(--poppins); font-size: 14px; font-weight: 600;
}
.tried-count[hidden] { display: none; }
.tried-dots { display: inline-flex; gap: 5px; }
.tried-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); }
.tried-dots i.on { background: var(--white); }
.tried-reset { background: none; border: 0; color: var(--white); font: inherit; font-weight: 500; font-size: 13px; text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .answer.try { transition: background 0.25s; }
  .tried-dots i.on { animation: pop 0.3s ease; }
  @keyframes pop { 50% { transform: scale(1.4); } }
}

/* ─── SECTION PAGES ─── */
.hero-deck { font-size: 18px; line-height: 1.6; max-width: 60ch; }
.prose { max-width: 70ch; }
.prose p { font-size: 17px; line-height: 1.75; color: #333; margin-bottom: 16px; }
.prose .lead { font-size: 20px; line-height: 1.65; color: var(--black); }
.pillar-summary { font-size: 19px; line-height: 1.7; max-width: 70ch; margin: 10px 0 28px; }
.list-label {
  font-family: var(--poppins); font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #555; margin-bottom: 10px;
}
.skill-list { list-style: none; max-width: 80ch; border-top: 1px solid var(--lightgray); }
.skill-list li { padding: 14px 0 14px 18px; border-bottom: 1px solid var(--lightgray); border-left: 4px solid var(--pillar); margin-top: -1px; font-size: 16px; line-height: 1.65; }
.skill-list strong { font-family: var(--poppins); font-weight: 700; color: var(--pillar); }
.skill-list .is-proposed-item { border-left-style: dashed; background: #FFFDF5; }
.skill-list .proposed-label { margin: 0 8px 0 0; }
.grade-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; font-family: var(--poppins); font-size: 14px; }
.grade-links span { font-weight: 600; color: #444; margin-right: 4px; }
.grade-links a {
  font-weight: 700; text-decoration: none; padding: 6px 12px; border: 1px solid var(--pillar, var(--red));
  color: var(--pillar, var(--red-dark));
}
.grade-links a:hover { background: var(--pillar, var(--red)); color: var(--white); }
.closing-band { background: var(--black); color: var(--white); }
.closing-band .pillar-closing { margin: 0 auto; text-align: center; color: var(--white); font-size: 20px; }
.resource-list { list-style: none; max-width: 80ch; }
.resource-list li { padding: 14px 0; border-bottom: 1px solid var(--lightgray); font-size: 17px; line-height: 1.6; }
.resource-list a, .resource-list cite { font-family: var(--poppins); font-weight: 700; font-style: normal; }
.resource-list span { display: block; color: #555; font-size: 15px; margin-top: 2px; }
.review-note {
  display: inline-block; background: #FFF4CC; color: #5C4400; font-family: var(--poppins);
  font-size: 13px; font-weight: 600; padding: 6px 12px; margin-bottom: 16px;
}
a.ext { text-underline-offset: 2px; }
.faq-list { max-width: 80ch; }
.faq-item { border-bottom: 1px solid var(--lightgray); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--poppins); font-size: 18px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 500; color: var(--red-dark);
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 22px; }
.faq-answer p { font-size: 17px; line-height: 1.7; color: #333; margin-bottom: 10px; }

/* ─── STRENGTHS CHECK-IN ─── */
.hero-actions { margin-top: 16px; }
.hero-link {
  display: inline-block; font-family: var(--poppins); font-size: 14px; font-weight: 700;
  color: var(--white); border: 2px solid var(--white); padding: 8px 14px; text-decoration: none;
}
.hero-link:hover { background: var(--white); color: var(--red-dark); }
.checkin { max-width: 760px; }
.ci-card, .ci-results { background: var(--white); border: 1px solid var(--lightgray); border-top: 4px solid var(--pillar, var(--red)); padding: 32px; }
.ci-title { font-family: var(--poppins); font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.ci-title:focus, .ci-question:focus { outline: none; }
.ci-note { font-size: 16px; line-height: 1.6; color: #444; margin-bottom: 18px; }
.ci-fieldset { border: 0; margin: 0 0 22px; }
.ci-fieldset legend, .ci-fieldset > legend { font-family: var(--poppins); font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.ci-choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--lightgray); margin-bottom: 10px; cursor: pointer; }
.ci-choice small { display: block; font-size: 14px; color: #555; margin-top: 2px; }
.ci-choice strong { font-family: var(--poppins); }
.ci-choice:has(input:checked), .ci-band:has(input:checked), .ci-option:has(input:checked), .ci-idea:has(input:checked) {
  border-color: var(--pillar, var(--red)); background: var(--offwhite); box-shadow: inset 4px 0 0 var(--pillar, var(--red));
}
.ci-choice input, .ci-band input, .ci-option input, .ci-idea input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--pillar, var(--red)); flex-shrink: 0; }
.ci-bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.ci-band { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--lightgray); cursor: pointer; font-family: var(--poppins); font-weight: 600; font-size: 14px; }
.ci-band input { margin-top: 0; }
.ci-hint { font-size: 14px; color: #555; margin-top: 10px; font-style: italic; }
.ci-error { color: var(--red-dark); font-family: var(--poppins); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.ci-button {
  font-family: var(--poppins); font-size: 15px; font-weight: 700; padding: 12px 22px; cursor: pointer;
  background: var(--red); color: var(--white); border: 2px solid var(--red);
}
.ci-button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.ci-button.ghost { background: var(--white); color: var(--black); border-color: var(--lightgray); }
.ci-button.ghost:hover { border-color: var(--black); }
.ci-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.ci-progress { height: 6px; background: var(--lightgray); margin-bottom: 14px; }
.ci-progress span { display: block; height: 100%; background: var(--pillar, var(--red)); transition: width 0.3s; }
.ci-count { font-family: var(--poppins); font-size: 13px; font-weight: 600; color: #555; }
.ci-pillar {
  display: inline-block; margin: 10px 0 16px; font-family: var(--poppins); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); background: var(--pillar); padding: 4px 10px;
}
.ci-question { font-family: var(--lora) !important; font-size: 22px !important; font-weight: 500 !important; line-height: 1.45; margin-bottom: 20px !important; }
.ci-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.ci-option { display: flex; gap: 10px; align-items: center; padding: 14px; border: 1px solid var(--lightgray); cursor: pointer; font-family: var(--poppins); font-weight: 600; font-size: 15px; }
.ci-option input { margin-top: 0; }
.ci-block { margin-top: 30px; }
.ci-block h3 { font-family: var(--poppins); font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.ci-bars { list-style: none; }
.ci-bars li { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; margin-bottom: 8px; }
.ci-bar-label { font-family: var(--poppins); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--pillar); }
.ci-bar { height: 14px; background: var(--lightgray); }
.ci-bar span { display: block; height: 100%; background: var(--pillar); }
.ci-list { list-style: none; }
.ci-list li { padding: 10px 0; border-bottom: 1px solid var(--lightgray); font-size: 17px; }
.ci-chip {
  display: inline-block; margin-left: 8px; font-family: var(--poppins); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--white); background: var(--pillar); padding: 2px 8px; vertical-align: middle;
}
.ci-growth-list { list-style: none; }
.ci-growth { border-left: 4px solid var(--pillar); padding: 4px 0 4px 18px; margin-bottom: 22px; }
.ci-growth h4 { font-family: var(--poppins); font-size: 17px; font-weight: 700; color: var(--pillar); margin-bottom: 4px; }
.ci-def { font-size: 15px; color: #555; margin-bottom: 10px; }
.ci-ideas { display: grid; gap: 8px; }
.ci-idea { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--lightgray); cursor: pointer; font-size: 16px; line-height: 1.5; }
.ci-plan { background: var(--offwhite); border: 2px solid var(--black); padding: 20px 22px; }
.ci-plan p { font-size: 17px; margin-bottom: 8px; }
.ci-link { font-family: var(--poppins); font-weight: 700; color: var(--red-dark); }
@media (max-width: 768px) {
  .ci-card, .ci-results { padding: 22px 18px; }
  .ci-question { font-size: 19px !important; }
}
@media print {
  .draft-banner, .grade-hero, .review-note, .ci-nav, .doc-footer, .ci-ideas label:not(:has(input:checked)) { display: none !important; }
  .section { padding: 0; }
}

/* ─── FOOTER (from focus) ─── */
.doc-footer {
  background: var(--black); padding: 48px var(--page-pad); display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2.2fr); gap: 28px 56px; align-items: start;
}
.footer-name { font-family: var(--poppins); font-size: 14px; font-weight: 700; color: var(--white); }
.footer-tagline { font-family: var(--poppins); font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.footer-meta p { font-family: var(--poppins); font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.75); margin-bottom: 10px; }

/* ─── DRAFT MARKERS ─── */
.draft-banner {
  background: #FFF4CC; color: var(--black); font-family: var(--poppins); font-size: 13px;
  font-weight: 600; padding: 8px var(--page-pad); border-bottom: 1px solid #E6D48A;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  :root { --page-pad: 40px; }
  .skill-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .topbar { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { width: 100%; }
  .site-nav[hidden] { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 6px; }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.25); }
  .site-nav .dropdown { position: static; box-shadow: none; border-top: 0; background: rgba(0,0,0,0.15); color: var(--white); }
  .site-nav .dropdown a:hover { background: rgba(0,0,0,0.15); }
  .site-nav .dropdown a[aria-current="page"] { color: var(--white); text-decoration: underline; }
  .site-nav .dropdown .division { color: rgba(255,255,255,0.85); }
}
@media (min-width: 901px) {
  /* The nav is always visible on wide screens, even if the mobile menu was closed. */
  .site-nav[hidden] { display: block; }
}
@media (max-width: 768px) {
  :root { --page-pad: 24px; }
  .cover { padding-top: 44px; padding-bottom: 52px; }
  .cover-title { font-size: 36px; }
  .cover-pillars { padding-bottom: 96px; }
  .pillar-grid-top { margin-top: -64px; }
  .grade-hero .cover-title { font-size: 32px; }
  .section, .pillar-section { padding-top: 44px; padding-bottom: 44px; }
  .section-title { font-size: 28px; }
  .doc-footer { grid-template-columns: 1fr; gap: 20px; }
  .pillar-strip { padding: 0 8px; gap: 6px; }
  .pillar-tabs a { padding: 0 7px; font-size: 11px; letter-spacing: 0.04em; }
  .skill-cols { grid-template-columns: 1fr; gap: 16px; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .grade-switch .nav-toggle { padding: 6px 8px; }
}
@media (max-width: 480px) {
  .cover-title { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .topbar, .pillar-strip, .skip-link, .resume { display: none !important; }
  *, *::before, *::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
