/* =========================================================
   OCTC AI Literacy Faculty Playbook
   Shared Site Styles
   ========================================================= */


/* =========================================================
   1. Design Tokens + Global Styles
   ========================================================= */

:root {
  --octc-blue: #00467f;
  --octc-blue-dark: #00345f;
  --octc-blue-soft: #eaf4fb;
  --octc-gold: #e7a614;
  --octc-gold-soft: #fff5dc;

  --ink: #17212b;
  --muted: #52606d;
  --surface: #ffffff;
  --surface-alt: #f5f8fb;
  --border: #d9e2ea;

  --shadow: 0 12px 28px rgba(0, 52, 95, 0.12);
  --radius: 14px;

  --content: 1180px;
  --reading: 860px;

  --font: Aptos, Calibri, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-alt);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--octc-blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--octc-blue-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--octc-gold);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* =========================================================
   2. Site Header + Main Navigation
   ========================================================= */

.site-header {
  background: linear-gradient(
    105deg,
    var(--octc-blue-dark),
    var(--octc-blue)
  );
  border-bottom: 4px solid rgba(231, 166, 20, 0.95);
}

.nav-shell {
  max-width: var(--content);
  min-height: 106px;
  margin: 0 auto;
  padding: 15px 24px;

  display: flex;
  align-items: center;
  gap: 30px;
}

.logo-link {
  display: block;
  flex: 0 0 285px;
}

.logo-link img {
  display: block;
  width: 285px;
}

.site-links {
  margin-left: auto;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.site-links a {
  position: relative;

  padding: 12px 10px;

  color: white;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
  white-space: nowrap;
}

.site-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;

  height: 3px;
  border-radius: 3px;

  background: transparent;
  transition: background 0.18s ease;
}

.site-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 7px;
}

.site-links a[aria-current="page"]::after {
  background: var(--octc-gold);
}
.site-links a:first-child::before {
  content: "◆";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);

  color: var(--octc-gold);
  font-size: 0.7rem;
}
.site-links a:first-child {
  margin-right: 12px;
}

/* Button-style nav link (WORKBOOK on playbook pages, PLAYBOOK on workbook pages) */
.site-links a.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-left: 10px;
  padding: 9px 16px;

  background: linear-gradient(180deg, #f6c24a, var(--octc-gold));
  color: var(--octc-blue-dark);
  border-radius: 8px;
  box-shadow:
    inset 0 -3px 0 #c98a07,
    0 4px 10px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.site-links a.nav-button::after {
  display: none;
}

.site-links a.nav-button .nav-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.site-links a.nav-button:hover,
.site-links a.nav-button:focus-visible {
  background: linear-gradient(180deg, #f6c24a, var(--octc-gold));
  color: var(--octc-blue-dark);
  transform: translateY(-2px);
  box-shadow:
    inset 0 -3px 0 #c98a07,
    0 8px 16px rgba(0, 0, 0, 0.25);
}

.site-links a.nav-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .site-links a.nav-button,
  .site-links a.nav-button:hover {
    transform: none;
    transition: none;
  }
}

/* =========================================================
   3. Homepage Hero
   ========================================================= */

.hero {
  background: #fff;
  border-bottom: 3px solid var(--octc-gold);
}

.hero-inner {
  max-width: var(--content);
  min-height: 560px;
  margin: 0 auto;
  padding: 58px 24px 48px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  min-width: 0;
}

.hero-art {
  width: 100%;
  min-width: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art img {
  display: block;

  /*
    Fluid book sizing:
    - large enough to retain visual weight on phones
    - scales naturally with viewport
    - capped on desktop
  */
  width: clamp(280px, 45vw, 600px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;

  filter: drop-shadow(0 14px 12px rgba(0, 52, 95, 0.11));
}

.title-lockup {
  display: block;
}

.hero h1 {
  margin: 0;

  color: var(--octc-blue-dark);

  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-title-rule {
  width: 550px;
  max-width: 90%;
  height: 6px;
  margin: 22px 0 18px;

  background: var(--octc-gold);
  border-radius: 6px;
}

.hero-subtitle {
  max-width: 580px;
  margin: 0;

  color: var(--octc-blue-dark);

  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.28;
  font-style: italic;
}

.hero-intro {
  max-width: 560px;
  margin: 34px 0 0;

  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-cta {
  margin-top: 30px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  padding: 14px 24px;
  border-radius: 8px;

  background: linear-gradient(
    90deg,
    var(--octc-blue-dark),
    var(--octc-blue)
  );

  color: #fff;
  text-decoration: none;
  font-weight: 800;

  box-shadow: 0 8px 18px rgba(0, 70, 127, 0.18);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 70, 127, 0.24);
}


/* =========================================================
   4. Homepage Framework Cards
   ========================================================= */

.section-shell {
  max-width: var(--content);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.framework-section {
  padding: 42px 0 36px;
  background: #fff;
}

.be-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.be-card {
  min-height: 380px;
  padding: 25px 20px 22px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  text-decoration: none;
  color: var(--ink);

  border: 1px solid var(--border);
  border-top: 2px solid var(--octc-gold);
  border-radius: 12px;

  background: #fff;

  box-shadow: 0 8px 22px rgba(0, 52, 95, 0.10);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.be-card:hover {
  color: var(--ink);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 52, 95, 0.16);
}

.icon-circle {
  width: 74px;
  height: 74px;

  display: grid;
  place-items: center;
  align-self: center;

  border-radius: 50%;

  font-size: 2.25rem;
  font-weight: 800;
}

.icon-circle.blue {
  background: #e4eff9;
  color: var(--octc-blue);
}

.icon-circle.gold {
  background: #fff1d1;
  color: var(--octc-gold);
}
.card-icon {
  width: 24px;
  height: 24px;
  color: var(--octc-blue);
}
.be-card h3 {
  width: 100%;
  margin: 18px 0 8px;

  color: var(--octc-blue-dark);

  text-align: center;
  font-size: 1.6rem;
  line-height: 1.2;
}

.mini-rule {
  display: block;

  width: 52px;
  height: 3px;
  margin: 0 auto 20px;

  border-radius: 3px;
  background: var(--octc-gold);
}

.be-card p {
  margin: 0;

  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

.be-card strong {
  margin-top: auto;
  padding-top: 24px;

  align-self: center;

  color: var(--octc-blue);
  text-align: center;
}


/* =========================================================
   5. Homepage Supporting Cards
   ========================================================= */

.support-section {
  padding: 0 0 42px;
  background: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.support-card {
  min-height: 230px;
  padding: 28px;

  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;

  border: 1px solid var(--border);
  border-radius: 12px;
}

.support-card.cool {
  background: linear-gradient(135deg, #f8fbff, #fff);
  border-color: #bdd5e8;
}

.support-card.warm {
  background: linear-gradient(135deg, #fffdf8, #fff7e7);
  border-color: var(--octc-gold);
}

.support-icon {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--octc-blue);
  color: white;

  font-size: 1.6rem;
}

.support-card.warm .support-icon {
  background: var(--octc-gold);
}

.support-card h2 {
  margin: 0 0 6px;

  color: var(--octc-blue-dark);

  font-size: 1.45rem;
}

.support-card .mini-rule {
  margin: 0 0 17px;
}

.support-card p {
  margin: 0;
}

.support-card a {
  display: inline-block;
  margin-top: 16px;

  font-weight: 800;
  text-decoration: none;
}

/* Links inside card text stay inline, like normal text links */
.support-card p a {
  display: inline;
  margin-top: 0;

  font-weight: inherit;
  text-decoration: underline;
}


/* =========================================================
   6. Interior Playbook Pages
   ========================================================= */

.playbook-page {
  max-width: var(--reading);
  margin: 36px auto 70px;
  padding: 0 24px;
}

.playbook-header {
  padding: 34px 36px;
  margin-bottom: 0;

  border-radius: var(--radius) var(--radius) 0 0;

  background: linear-gradient(
  135deg,
  var(--octc-blue-dark),
  var(--octc-blue)
);

  box-shadow: var(--shadow);
}
/* BE behavior hero symbols */

.playbook-header {
  position: relative;
  overflow: hidden;
}

.behavior-honest::after {
  content: "◇";

  position: absolute;
  top: 18px;
  right: 30px;

  color: rgba(255, 255, 255, 0.14);

  font-size: 10rem;
  font-weight: 400;
  line-height: 1;

  pointer-events: none;
}
.behavior-safe::after {
  content: "◆";

  position: absolute;
  top: 18px;
  right: 30px;

  color: rgba(255, 255, 255, 0.14);

  font-size: 10rem;
  font-weight: 400;
  line-height: 1;

  pointer-events: none;
}


.behavior-watermark {
  position: absolute;
  top: 30px;
  right: 40px;

  width: 130px;
  height: 130px;

  opacity: 0.14;
  z-index: 1;

  pointer-events: none;
}

.behavior-watermark circle,
.behavior-watermark line {
  stroke: #ffffff !important;
}
.behavior-responsible::after {
  content: "⚖";

  position: absolute;
  top: 18px;
  right: 30px;

  color: rgba(255, 255, 255, 0.14);

  font-size: 9rem;
  font-weight: 400;
  line-height: 1;

  pointer-events: none;
}
.behavior-reflective::after {
  content: "●";

  position: absolute;
  top: 18px;
  right: 30px;

  color: rgba(255, 255, 255, 0.14);

  font-size: 9rem;
  font-weight: 400;
  line-height: 1;

  pointer-events: none;
}









.playbook-label {
  margin-bottom: 5px;

  color: var(--octc-gold);

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.playbook-tagline {
  margin-bottom: 18px;

  color: #dceaf4;

  font-size: 0.9rem;
  font-style: italic;
}

.be-title {
  color: white;

  font-size: clamp(2.35rem, 7vw, 4rem);
  font-weight: 850;
  line-height: 1;
}

.be-subtitle {
  margin-top: 10px;

  color: var(--octc-gold);

  font-size: 1.12rem;
  font-weight: 800;
}

.ican-headline {
  margin-top: 18px;

  color: #e8f1f8;

  font-size: 0.98rem;
}

.ican-headline strong {
  color: white;
}

.behavior-bar {
  margin-bottom: 30px;
  padding: 11px 36px;

  border-radius: 0 0 var(--radius) var(--radius);

  background: linear-gradient(
    90deg,
    var(--octc-gold),
    #f0bd45
  );

  color: #17212b;

  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;

  box-shadow: var(--shadow);
}


/* =========================================================
   7. Introduction Pages
   ========================================================= */

/* Intro pages (Welcome, How to Use, appendices) borrow the home page's
   look: open layout, large navy title, long gold rule, italic subtitle,
   and a gold divider line. BE pages keep the navy card header.
   Gold stays an accent only. */

.intro-page .playbook-header {
  padding: 18px 0 8px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.intro-page .playbook-header::before,
.intro-page .playbook-header::after {
  display: none;
}

.intro-page .playbook-label {
  color: var(--octc-blue);
}

.intro-page .playbook-tagline {
  color: var(--muted);
}

.intro-page .be-title {
  color: var(--octc-blue-dark);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.intro-page .be-title::after {
  content: "";
  display: block;
  width: 460px;
  max-width: 80%;
  height: 6px;
  margin-top: 22px;
  background: var(--octc-gold);
  border-radius: 6px;
}

.intro-page .be-subtitle {
  margin-top: 18px;
  color: var(--octc-blue-dark);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
}

.intro-page .ican-headline {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.intro-page .ican-headline strong {
  color: var(--octc-blue-dark);
}

.intro-page .behavior-bar {
  margin-bottom: 34px;
  padding: 14px 0 12px;
  background: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  color: var(--octc-blue);
  box-shadow: none;
}


/* Appendix crosswalk table */

.crosswalk-wrap {
  overflow-x: auto;
}

.crosswalk {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.5;
}

.crosswalk th,
.crosswalk td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.crosswalk thead th {
  background: var(--octc-blue);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crosswalk tbody th {
  white-space: nowrap;
}

.crosswalk tbody th a {
  color: var(--octc-blue-dark);
  font-weight: 800;
}

.crosswalk tbody tr:nth-child(even) {
  background: var(--surface-alt);
}


/* =========================================================
   8. Interior Page Navigation
   ========================================================= */

.page-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 12px;
}

.page-nav {
  width: 58px;
  height: 58px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border-radius: 14px;

  background: var(--octc-gold);
  color: var(--octc-blue);

  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.page-nav:hover,
.page-nav:focus-visible {
  background: #f0b52b;
  color: var(--octc-blue);
  transform: translateY(-2px);
}


/* =========================================================
   9. Interior Content Components
   ========================================================= */

.purpose-box,
.example-note {
  border-left: 5px solid var(--octc-blue);
  border-radius: 0 10px 10px 0;

  background: var(--octc-blue-soft);
}

.purpose-box {
  padding: 22px 24px;
  margin-bottom: 34px;
}

.box-label {
  margin-bottom: 8px;

  color: var(--octc-blue);

  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purpose-box p {
  margin: 0 0 10px;
}

.purpose-box p:last-child {
  margin-bottom: 0;
}

.development-note,
.coaching-note {
  color: var(--octc-blue-dark);

  font-size: 0.92rem;
  font-weight: 750;
}

.coaching-note {
  font-style: italic;
}

.section {
  margin-bottom: 38px;
}

.section-title {
  display: block;

  margin-bottom: 17px;
  padding-bottom: 8px;

  border-bottom: 3px solid var(--octc-gold);

  color: var(--octc-blue-dark);

  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* Developmental progression */

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

.progression-card,
.bb-card {
  border: 1px solid var(--border);
  border-top: 5px solid var(--octc-blue);
  border-radius: 10px;

  background: var(--surface);

  box-shadow: 0 7px 20px rgba(0, 70, 127, 0.08);
}

.progression-card {
  padding: 18px;
}

.progression-card h4,
.bb-card h4 {
  margin: 0 0 4px;

  color: var(--octc-blue);

  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stage-sub {
  margin-bottom: 10px;

  color: var(--muted);

  font-size: 0.78rem;
  font-style: italic;
  font-weight: 700;
}

.progression-card p {
  margin: 0;
  font-size: 0.9rem;
}

.progression-note {
  margin-top: 10px;

  color: var(--muted);

  font-size: 0.84rem;
  font-style: italic;
}


/* Lists */

.ican-list,
.obs-list,
.fit-list,
.tips-list {
  list-style: none;
  padding: 0;
}

.ican-list li,
.obs-list li,
.fit-list li {
  position: relative;
  padding: 9px 0 9px 30px;
}

.ican-list li::before {
  content: "▶";
  position: absolute;
  left: 3px;

  color: var(--octc-gold);
}

.ican-list li strong {
  color: var(--octc-blue);
}

.obs-list li,
.fit-list li {
  border-bottom: 1px solid var(--border);
}

.obs-list li:last-child,
.fit-list li:last-child {
  border-bottom: 0;
}

.obs-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;

  color: var(--octc-blue);
  font-weight: 900;
}

.fit-list li::before {
  content: "→";
  position: absolute;
  left: 4px;

  color: var(--octc-blue);
  font-weight: 900;
}


/* Notes */

.example-note {
  padding: 13px 15px;
  margin-bottom: 16px;

  color: #394b5b;

  font-size: 0.9rem;
  font-style: italic;
}


/* Blackboard quick wins */

.bb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bb-card {
  padding: 18px;
}

.bb-idea {
  margin: 7px 0 12px;
  font-size: 0.9rem;
}

.bb-prompt-label {
  color: var(--octc-blue);

  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bb-prompt {
  margin-top: 6px;
  padding: 10px 12px;

  border-left: 3px solid var(--octc-gold);

  background: var(--octc-gold-soft);

  font-size: 0.85rem;
  font-style: italic;
}


/* Tips */

.tips-section {
  margin: 8px 0 38px;
  padding: 27px 30px;

  border-radius: var(--radius);

  background: var(--octc-blue-dark);
  color: white;
}

.tips-section .section-title {
  color: var(--octc-gold);
  border-bottom-color: rgba(231, 166, 20, 0.38);
}

.tips-list li {
  position: relative;

  padding: 9px 0 9px 22px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tips-list li:last-child {
  border-bottom: 0;
}

.tips-list li::before {
  content: "→";
  position: absolute;
  left: 0;

  color: var(--octc-gold);
  font-weight: 900;
}


/* Reflection prompts */

.reflection-list {
  list-style: none;
  padding: 0;
  counter-reset: reflection;
}

.reflection-list li {
  position: relative;

  padding: 12px 0 12px 42px;

  border-bottom: 1px solid var(--border);

  counter-increment: reflection;
}

.reflection-list li::before {
  content: counter(reflection);

  position: absolute;
  left: 0;
  top: 10px;

  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--octc-blue);
  color: white;

  font-size: 0.8rem;
  font-weight: 850;
}


/* Interior page footer */

.page-footer {
  margin-top: 35px;
  padding-top: 18px;

  border-top: 2px solid var(--border);

  color: var(--muted);

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-note {
  margin-bottom: 7px;

  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}


/* =========================================================
   10. Site Footer
   ========================================================= */

.site-footer {
  padding: 0;

  border-top: 4px solid var(--octc-gold);

  background: linear-gradient(
    105deg,
    var(--octc-blue-dark),
    var(--octc-blue)
  );

  color: white;
}

.footer-shell {
  max-width: var(--content);
  min-height: 132px;
  margin: 0 auto;
  padding: 28px 24px;

  display: grid;
  grid-template-columns: 290px 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-shell img {
  width: 270px;
}

.footer-shell p {
  margin: 0;

  color: rgba(255, 255, 255, 0.92);

  font-size: 0.9rem;
}

.footer-shell p:last-child {
  text-align: right;
  color: rgba(255, 255, 255, 0.75);
}

.footer-shell span {
  padding: 0 8px;
  color: var(--octc-gold);
}

/* Facilitator kit link: its own row, left-aligned under the logo */
.footer-shell p.footer-kit {
  grid-column: 1;
  margin-top: -14px;
  text-align: left;
  font-size: 0.85rem;
}
.footer-shell p.footer-kit a { color: rgba(255, 255, 255, 0.9); }


/* =========================================================
   11. Responsive — Tablet / Narrow Desktop
   ========================================================= */

@media (max-width: 1050px) {

  .nav-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* In a column, the 285px flex-basis became the logo's height; size it by its image instead */
  .logo-link {
    flex: 0 0 auto;
  }

  .site-links {
    width: 100%;
    margin-left: 0;

    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2px 6px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-art {
    margin: 0 auto;
  }

  .be-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-shell {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-shell img {
    margin: 0 auto;
  }

  .footer-shell p:last-child,
  .footer-shell p.footer-kit {
    text-align: center;
    margin-top: 0;
  }
}


/* =========================================================
   12. Responsive — Tablet / Small Screen
   ========================================================= */

@media (max-width: 820px) {

  .progression-grid,
  .bb-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .be-card-grid {
    grid-template-columns: 1fr;
  }

  .be-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .logo-link,
  .logo-link img {
    width: 250px;
    flex-basis: auto;
  }
}


/* =========================================================
   13. Responsive — Phone
   ========================================================= */

@media (max-width: 560px) {
.hero-art {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

.hero-art img {
  width: 85%;
  max-width: 360px;
  min-width: 0;
  margin: 0 auto;
}
  .nav-shell {
    padding: 12px 16px;
  }

  .logo-link,
  .logo-link img {
    width: 225px;
  }

  .site-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;
    gap: 2px;
  }

  .site-links a {
    padding: 10px 4px;

    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
  }

  .site-links a.nav-button {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 6px 0 0;
    padding: 10px 4px;
  }

  .hero-inner {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 36px 18px 30px;
}

.hero-copy {
  width: 100%;
  max-width: 100%;
}

.hero-art {
  width: 100%;
  max-width: 100%;
  margin: 30px auto 0;
}

.hero-art img {
  display: block;
  width: 85%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
}

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-title-rule {
    max-width: 100%;
  }

  .hero-intro {
    font-size: 1rem;
  }

  /*
    The book continues to use its fluid clamp() sizing.
    No separate phone width is needed.
  */

  .support-card {
    grid-template-columns: 1fr;
  }

  .playbook-page {
    margin-top: 20px;
    padding: 0 14px;
  }

  .playbook-header {
    padding: 28px 22px;
  }

  .be-title {
    font-size: 2.6rem;
    line-height: 1.05;
  }

  .behavior-bar {
    padding: 10px 22px;
  }

  .tips-section {
    padding: 24px 22px;
  }
}


/* Stage subtitles under Introduction / Exploration / Application
   (BE pages, Welcome, How to Use). Blue italic, regular weight,
   so it reads as context, not a second heading. */

.stage-sub.stage-context {
  color: var(--octc-blue);
  font-size: 0.84rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
}


/* How to Use: "Ask yourself" callout */

.example-note.ask-callout {
  margin: 20px 0;
  padding: 18px 22px;
}

.ask-callout .ask-label {
  display: block;
  margin-bottom: 6px;

  color: var(--octc-blue);

  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ask-callout p {
  margin: 0;

  color: var(--octc-blue-dark);

  font-size: 1.05rem;
  line-height: 1.6;
}


/* Mobile polish: hide the BE header watermark symbols on narrow screens,
   where they sit behind the page title. */

@media (max-width: 560px) {
  .behavior-safe::after,
  .behavior-honest::after,
  .behavior-responsible::after,
  .behavior-reflective::after,
  .behavior-watermark {
    display: none;
  }
}


/* =========================================================
   BE page sidebar: the playbook's pages plus "on this page"
   sections. Sticky on wide screens; an "On this page"
   button on phones and tablets. js/playbook.js highlights
   the current section and closes the panel on small screens.
   ========================================================= */
.pb-shell { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; }
.pb-shell > main.playbook-page { margin-top: 36px; }

.pb-side { align-self: stretch; border-right: 1px solid var(--border); background: var(--octc-blue-soft); }
.pb-side details { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; padding: 30px 18px 30px 22px; }
.pb-side summary { list-style: none; cursor: default; }
.pb-side summary::-webkit-details-marker { display: none; }
.pb-side .side-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--octc-blue); }
.pb-side .side-title { display: block; margin: 2px 0 18px; font-weight: 800; font-size: 1.02rem; line-height: 1.3; color: var(--octc-blue-dark); }
.pb-side .toggle { display: none; }
.pb-side ol { list-style: none; margin: 0; padding: 0; }
.pb-side li { margin: 2px 0; }
.pb-side .group { margin: 18px 0 6px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pb-side a.pg { display: block; padding: 7px 10px; border-radius: 8px; color: var(--octc-blue); font-size: .94rem; line-height: 1.35; text-decoration: none; }
.pb-side a.pg:hover { background: #fff; }
.pb-side a.pg[aria-current="page"] { background: #fff; color: var(--octc-blue-dark); font-weight: 800; box-shadow: inset 4px 0 0 var(--octc-gold); }
.pb-side .sections { margin: 4px 0 10px 14px; border-left: 2px solid var(--border); }
.pb-side .sections a { display: block; margin-left: -2px; padding: 4px 0 4px 12px; border-left: 2px solid transparent; color: var(--muted); font-size: .85rem; line-height: 1.35; text-decoration: none; }
.pb-side .sections a:hover { color: var(--octc-blue); }
.pb-side .sections a.on { color: var(--octc-blue-dark); font-weight: 700; border-left-color: var(--octc-gold); }
.pb-side .wb-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 8px 14px; border-radius: 8px; background: var(--octc-blue-dark); color: #fff; font-size: .85rem; font-weight: 800; text-decoration: none; }
.pb-side .wb-link:hover { color: #fff; background: var(--octc-blue); }
[id] { scroll-margin-top: 16px; }

/* Phones and tablets: the sidebar becomes an "On this page" button above the content */
@media (max-width: 900px) {
  .pb-shell { display: block; }
  .pb-side { border-right: 0; border-bottom: 1px solid var(--border); }
  .pb-side details { position: static; max-height: none; padding: 12px 16px; }
  .pb-side summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; }
  .pb-side .side-title { margin: 0; }
  .pb-side .toggle { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--octc-blue-dark); color: #fff; font-size: .8rem; font-weight: 800; }
  .pb-side details[open] .toggle .closed, .pb-side details:not([open]) .toggle .open { display: none; }
  .pb-side .panel { padding: 10px 0 6px; }
}

@media print {
  .pb-side { display: none; }
  .pb-shell { display: block; }
}
