:root {
  --ink: #302925;
  --brown: #70594c;
  --cream: #f5ede5;
  --ivory: #fffdf9;
  --sand: #e6d4c5;
  --terracotta: #a96753;
  --sage: #728579;
  --sage-light: #dfe7e1;
  --danger: #8f463f;
  --shadow: 0 20px 60px rgba(66, 45, 33, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(20px, 5vw, 72px); background: rgba(255,253,249,.94); border-bottom: 1px solid var(--sand); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 50%; color: white; background: var(--terracotta); font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: var(--brown); font-size: 11px; }
.progress-summary { min-width: 210px; text-align: right; color: var(--brown); font-size: 13px; font-weight: 700; }
.progress-track { margin-top: 7px; height: 7px; overflow: hidden; border-radius: 99px; background: var(--sand); }
.progress-track span { display: block; width: 0; height: 100%; background: var(--sage); transition: width .35s ease; }
main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.4fr .8fr; gap: 64px; align-items: end; padding: 74px 0 54px; }
.eyebrow, .mini-label { margin: 0 0 14px; color: var(--terracotta); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.045em; }
.lead { max-width: 680px; margin: 28px 0; color: var(--brown); font-size: 22px; line-height: 1.45; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-meta span { padding: 8px 12px; border: 1px solid var(--sand); border-radius: 99px; color: var(--brown); font-size: 13px; font-weight: 700; }
.learning-goals { padding: 30px; border-radius: 22px; background: var(--sage); color: white; box-shadow: var(--shadow); }
.learning-goals .mini-label { color: var(--cream); }
.learning-goals ul { margin: 0; padding-left: 20px; line-height: 1.65; }
.learning-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; padding: 22px; border-radius: 28px; background: var(--ink); box-shadow: var(--shadow); }
.video-frame { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: #171310; }
video { display: block; width: 100%; max-height: 72vh; aspect-ratio: 16 / 9; object-fit: contain; background: black; }
.video-status { display: flex; justify-content: space-between; gap: 20px; padding: 14px 4px 0; color: var(--sand); font-size: 13px; }
.video-status span:first-child { color: white; font-weight: 700; }
.chapters { display: flex; flex-direction: column; gap: 8px; }
.chapters .mini-label { padding: 8px 10px 3px; color: var(--sand); }
.chapters button { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; width: 100%; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; color: white; background: rgba(255,255,255,.04); text-align: left; transition: .2s ease; }
.chapters button:hover, .chapters button.active { border-color: var(--terracotta); background: rgba(169,103,83,.22); }
.chapters button span { color: var(--terracotta); font-weight: 800; }
.chapters button b { font-size: 14px; }
.chapters button small { color: var(--sand); }
.checkpoint { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(24,18,15,.88); }
.checkpoint[hidden] { display: none; }
.checkpoint-card { width: min(560px, 100%); padding: 30px; border-radius: 20px; background: var(--ivory); box-shadow: var(--shadow); }
.checkpoint-card h2 { margin: 0 0 20px; font-size: 28px; }
.answer-list { display: grid; gap: 9px; }
.answer-list button { padding: 12px 14px; border: 1px solid var(--sand); border-radius: 10px; color: var(--ink); background: white; text-align: left; }
.answer-list button.selected { border-color: var(--sage); background: var(--sage-light); }
.lesson, .completion { margin: 42px 0; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--sand); border-radius: 28px; background: var(--cream); }
.lesson.tone { background: var(--ink); color: white; }
.section-heading { max-width: 780px; margin-bottom: 30px; }
.section-heading h2, .completion h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; }
.section-heading > p:last-child, .completion > p { color: var(--brown); font-size: 18px; line-height: 1.5; }
.tone .section-heading > p:last-child { color: var(--sand); }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.policy-grid label { display: flex; align-items: flex-start; gap: 13px; min-height: 110px; padding: 18px; border: 1px solid var(--sand); border-radius: 15px; background: var(--ivory); }
.policy-grid input { width: 20px; height: 20px; accent-color: var(--sage); }
.policy-grid b, .policy-grid small { display: block; }
.policy-grid small { margin-top: 7px; color: var(--brown); line-height: 1.35; }
.policy-grid .risk-choice { border-color: #d8aaa4; }
.primary, .secondary { min-height: 46px; padding: 12px 18px; border-radius: 10px; font-weight: 800; }
.primary { border: 0; color: white; background: var(--terracotta); }
.primary:disabled { opacity: .45; cursor: not-allowed; }
.secondary { border: 1px solid var(--brown); color: var(--ink); background: transparent; }
.tone .secondary { color: white; border-color: var(--sand); }
.feedback { min-height: 24px; margin: 14px 0 0; color: var(--danger); font-weight: 700; }
.feedback.success { color: var(--sage); }
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.channel-grid article { padding: 28px; border-radius: 18px; background: var(--cream); color: var(--ink); }
.channel-grid article:last-child { background: var(--sage-light); }
.channel-grid span { color: var(--terracotta); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.channel-grid h3 { margin: 15px 0 10px; font-size: 28px; }
.channel-grid p { color: var(--brown); line-height: 1.55; }
.callout { margin-top: 18px; padding: 17px; border-radius: 12px; background: var(--terracotta); text-align: center; font-weight: 800; }
.quiz { display: grid; gap: 20px; margin-bottom: 24px; }
.question { padding: 24px; border-radius: 16px; background: var(--ivory); }
.question fieldset { border: 0; margin: 0; padding: 0; }
.question legend { margin-bottom: 16px; font-size: 18px; font-weight: 800; }
.question label { display: block; margin: 10px 0; color: var(--brown); }
.question input { margin-right: 9px; accent-color: var(--sage); }
.completion { color: white; background: var(--sage); text-align: center; }
.completion .eyebrow, .completion > p { color: var(--cream); }
.completion-actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px max(28px, calc((100vw - 1180px)/2)); color: var(--sand); background: var(--ink); font-size: 13px; }
@media (max-width: 900px) {
  .hero, .learning-shell { grid-template-columns: 1fr; }
  .learning-goals { max-width: 620px; }
  .chapters { display: grid; grid-template-columns: repeat(2, 1fr); }
  .chapters .mini-label { grid-column: 1 / -1; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .topbar { align-items: flex-start; }
  .brand small, .progress-summary > span { display: none; }
  .progress-summary { min-width: 100px; }
  main { width: min(100% - 22px, 1180px); }
  .hero { padding-top: 44px; }
  .learning-shell { padding: 11px; border-radius: 18px; }
  .video-frame { min-height: 420px; }
  .chapters, .policy-grid, .channel-grid { grid-template-columns: 1fr; }
  .video-status, footer, .completion-actions { flex-direction: column; }
}

/* Interactive influencer masterclass */
.influencer-course-page { margin: 0; color: #111; background: #f5f5f5; font-family: Arial, Helvetica, sans-serif; --pink: #ff6688; --black: #101010; --gray: #e6e6e6; }
.influencer-course-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 12px clamp(18px, 4vw, 58px); color: #fff; background: rgba(16,16,16,.97); border-bottom: 4px solid var(--pink); }
.influencer-course-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.influencer-course-brand span { padding: 10px 12px; color: #111; background: var(--pink); font-size: 13px; font-weight: 950; letter-spacing: .09em; }
.influencer-course-brand strong { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.influencer-progress { min-width: 220px; text-align: right; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.influencer-progress > div { height: 7px; margin-top: 7px; background: #444; }
.influencer-progress span { display: block; width: 0; height: 100%; background: var(--pink); transition: width .3s ease; }
.influencer-course-main { width: min(1380px, calc(100% - 30px)); margin: 0 auto; }
.influencer-course-hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 690px; margin: 30px 0 70px; overflow: hidden; color: #fff; background: var(--black); box-shadow: 14px 14px 0 var(--pink); }
.influencer-course-hero > img { width: 100%; height: 100%; object-fit: cover; }
.influencer-course-hero > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 82px); }
.influencer-course-hero h1 { margin: 0; font-size: clamp(46px, 6vw, 82px); line-height: .92; letter-spacing: -.055em; }
.influencer-course-hero p:not(.influencer-kicker) { max-width: 580px; margin: 26px 0; color: #e9e9e9; font-size: 21px; line-height: 1.5; }
.influencer-kicker { margin: 0 0 12px; color: var(--pink); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.influencer-course-app { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 24px; align-items: start; margin-bottom: 70px; }
.influencer-course-sidebar { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow: auto; padding: 22px; color: #fff; background: var(--black); border: 2px solid #111; }
.influencer-course-sidebar nav { display: grid; gap: 8px; }
.module-heading { display: grid; grid-template-columns: 34px 1fr; gap: 8px; width: 100%; padding: 12px 8px; border: 0; color: #fff; background: transparent; text-align: left; }
.module-heading span { color: var(--pink); font-size: 12px; font-weight: 900; }
.module-heading b { font-size: 13px; line-height: 1.3; }
.module-lessons { display: grid; gap: 4px; margin: 0 0 8px 34px; }
.module-lesson { position: relative; padding: 9px 10px; border: 0; border-left: 2px solid #444; color: #cfcfcf; background: transparent; text-align: left; font-size: 12px; line-height: 1.35; }
.module-lesson:hover, .module-lesson.active { border-left-color: var(--pink); color: #fff; background: #242424; }
.module-lesson.complete::after { content: "✓"; position: absolute; right: 8px; color: var(--pink); font-weight: 900; }
.influencer-sidebar-tool { width: 100%; margin-top: 10px; padding: 12px; border: 1px solid var(--pink); color: #fff; background: transparent; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.influencer-sidebar-tool:hover { color: #111; background: var(--pink); }
.influencer-lesson-panel, .influencer-tool-panel { overflow: hidden; border: 2px solid #111; background: #fff; box-shadow: 8px 8px 0 #d8d8d8; }
.lesson-visual { border-bottom: 2px solid #111; background: #fff; }
.lesson-visual img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.lesson-copy, .influencer-tool-panel { padding: clamp(26px, 5vw, 64px); }
.lesson-copy h2, .tool-panel-heading h2 { max-width: 850px; margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: .97; letter-spacing: -.045em; }
.lesson-intro, .tool-panel-heading > p:last-child { max-width: 820px; color: #525252; font-size: 20px; line-height: 1.55; }
.lesson-copy section { max-width: 900px; margin-top: 42px; padding-top: 30px; border-top: 1px solid #d6d6d6; }
.lesson-copy h3, .gap-plan h3 { margin: 0 0 16px; font-size: 26px; }
.lesson-copy p, .lesson-copy li { font-size: 17px; line-height: 1.65; }
.lesson-copy ol { padding-left: 24px; }
.lesson-copy li { margin-bottom: 8px; }
.lesson-notes-label { display: block; margin: 25px 0 9px; font-weight: 900; }
.lesson-copy textarea { width: 100%; padding: 14px; border: 2px solid #111; resize: vertical; }
.lesson-check label { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: #fff0f4; font-weight: 800; }
.lesson-check input { width: 22px; height: 22px; accent-color: var(--pink); }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.influencer-outline-button { min-height: 50px; padding: 12px 20px; border: 2px solid #111; color: #111; background: #fff; font-weight: 900; text-transform: uppercase; }
.influencer-outline-button:disabled { opacity: .35; }
.influencer-course-page .influencer-button { border: 0; box-shadow: 6px 6px 0 #111; }
.influencer-feedback { min-height: 24px; color: #9d2343; font-weight: 800; }
.interactive-checklist { display: grid; gap: 10px; margin-top: 34px; }
.interactive-checklist fieldset { margin: 0; padding: 18px; border: 1px solid #ccc; }
.interactive-checklist legend { padding: 0 8px; font-weight: 900; }
.interactive-checklist fieldset > div { display: flex; flex-wrap: wrap; gap: 14px; }
.interactive-checklist label { font-size: 13px; }
.interactive-checklist input { accent-color: var(--pink); }
.audit-key { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.audit-key span { padding: 8px 10px; border: 1px solid #bbb; font-size: 12px; }
.audit-key b { color: #e33461; }
.audit-table-wrap { overflow-x: auto; margin-bottom: 24px; }
.influencer-audit-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.influencer-audit-table th, .influencer-audit-table td { padding: 13px; border: 1px solid #ccc; text-align: center; }
.influencer-audit-table thead th { color: #fff; background: #111; }
.influencer-audit-table tbody th { text-align: left; }
.influencer-audit-table select { min-width: 70px; padding: 8px; }
.influencer-audit-table input { width: 20px; height: 20px; accent-color: var(--pink); }
.gap-cell { color: #d32854; font-size: 20px; font-weight: 900; }
.audit-results { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 35px; }
.audit-score { padding: 22px; color: #fff; background: #111; }
.audit-score.pink { color: #111; background: var(--pink); }
.audit-score span, .audit-score strong { display: block; }
.audit-score span { margin-bottom: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.audit-score strong { font-size: 30px; }
.gap-plan { margin-top: 34px; padding: 28px; background: #f4f4f4; border-left: 8px solid var(--pink); }
.gap-plan ol { padding-left: 22px; }
.gap-plan li { margin: 14px 0; }
.gap-plan li b, .gap-plan li span { display: block; }
.gap-plan li span { margin-top: 4px; color: #555; }
.plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.plan-grid article { padding: 18px; background: #fff; border: 1px solid #ccc; }
.plan-grid span { color: #d32854; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.plan-grid p { line-height: 1.5; }
.influencer-next-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 70px 0 30px; }
.influencer-next-steps article { padding: clamp(28px, 5vw, 58px); color: #fff; background: #111; border: 2px solid #111; }
.influencer-next-steps article.community-step { color: #111; background: var(--pink); }
.influencer-next-steps h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1; }
.influencer-next-steps p { font-size: 17px; line-height: 1.6; }
.influencer-next-steps strong { display: block; margin: 20px 0 8px; color: var(--pink); font-size: 28px; }
.pending-action { display: block; color: #bbb; font-weight: 800; }
.influencer-next-steps small { display: block; margin-top: 28px; color: #aaa; line-height: 1.5; }
.influencer-disclaimer { margin: 0 0 60px; padding: 20px; border: 1px solid #ccc; color: #555; font-size: 13px; line-height: 1.55; }
@media (max-width: 980px) { .influencer-course-hero { grid-template-columns: 1fr; } .influencer-course-hero > img { aspect-ratio: 16 / 9; } .influencer-course-app { grid-template-columns: 1fr; } .influencer-course-sidebar { position: static; max-height: none; } .influencer-course-sidebar nav { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 700px) { .influencer-course-header { align-items: flex-start; } .influencer-progress { min-width: 115px; } .influencer-course-brand strong { display: none; } .influencer-course-hero { box-shadow: 7px 7px 0 var(--pink); } .influencer-course-sidebar nav, .audit-results, .plan-grid, .influencer-next-steps { grid-template-columns: 1fr; } .lesson-copy, .influencer-tool-panel { padding: 26px 20px; } }
@media print {
  body * { visibility: hidden; }
  #completion, #completion * { visibility: visible; }
  #completion { position: absolute; inset: 0; margin: 0; border: 0; border-radius: 0; min-height: 100vh; display: grid !important; place-content: center; }
  .completion-actions { display: none; }
}

/* BYOB portal and training library */
.portal-page { min-height: 100vh; background: var(--ivory); }
.portal-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--sand); background: rgba(255,253,249,.96); backdrop-filter: blur(12px); }
.portal-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.portal-brand span { display: grid; place-items: center; min-width: 58px; height: 42px; padding: 0 9px; border-radius: 9px; color: white; background: var(--ink); font-weight: 900; letter-spacing: .06em; }
.portal-brand strong { font-size: 13px; letter-spacing: .08em; }
.portal-nav { display: flex; gap: 7px; }
.portal-nav a { padding: 10px 14px; border-radius: 999px; color: var(--brown); text-decoration: none; font-size: 14px; font-weight: 800; }
.portal-nav a:hover, .portal-nav a.active { color: white; background: var(--terracotta); }
.portal-main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

/* Influencer training, matched to the supplied hot-pink, black and graffiti artwork */
.training-category-grid { display: grid; gap: 24px; }
.influencer-category-card { position: relative; overflow: hidden; color: #111; background: #fff; border-color: #ff6688; }
.influencer-category-card > img { width: 250px; align-self: stretch; object-fit: cover; }
.influencer-category-card .category-icon { color: #111; background: #ff6688; }
.influencer-category-card .card-arrow { color: #ff6688; }
.influencer-category-card .audience-tags span { color: #111; border-color: #ff6688; background: #fff0f4; }
.influencer-theme { --influencer-pink: #ff6688; --influencer-black: #101010; --influencer-gray: #ededed; background: #fff; color: var(--influencer-black); }
.influencer-theme .portal-header { border-color: #dedede; background: rgba(255,255,255,.96); }
.influencer-theme .portal-nav a:hover, .influencer-theme .portal-nav a.active { background: var(--influencer-pink); }
.influencer-main { width: min(1320px, calc(100% - 36px)); margin: 0 auto; }
.influencer-landing-hero { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 690px; margin: 26px 0 70px; overflow: hidden; border: 2px solid var(--influencer-black); background: var(--influencer-black); box-shadow: 14px 14px 0 var(--influencer-pink); }
.influencer-cover { min-height: 630px; background: #111; }
.influencer-cover img { width: 100%; height: 100%; object-fit: cover; }
.influencer-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 82px); color: #fff; }
.influencer-hero-copy .eyebrow { color: var(--influencer-pink); }
.influencer-hero-copy h1 { margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .93; letter-spacing: -.055em; }
.influencer-hero-copy .lead { margin: 26px 0; color: #eee; font-size: 21px; }
.influencer-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.influencer-meta span { padding: 8px 11px; border: 1px solid #565656; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.influencer-button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 50px; padding: 12px 22px; color: #111; background: var(--influencer-pink); font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; box-shadow: 6px 6px 0 #fff; }
.influencer-button.dark { color: #fff; background: #111; box-shadow: 6px 6px 0 var(--influencer-pink); }
.influencer-course-preview { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: start; margin: 0 0 80px; padding: clamp(32px, 6vw, 72px); border: 2px solid #111; background: #fff; }
.influencer-course-preview h2 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 62px); line-height: .98; letter-spacing: -.045em; }
.influencer-course-preview p { color: #4a4a4a; font-size: 18px; line-height: 1.6; }
.influencer-course-preview ol { margin: 0; padding: 0; list-style: none; }
.influencer-course-preview li { display: grid; grid-template-columns: 52px 1fr; align-items: center; padding: 17px 0; border-bottom: 1px solid #d6d6d6; font-size: 18px; font-weight: 800; }
.influencer-course-preview li span { color: var(--influencer-pink); font-size: 13px; letter-spacing: .08em; }
.influencer-course-preview .influencer-button { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .influencer-category-card > img { width: 180px; }
  .influencer-landing-hero, .influencer-course-preview { grid-template-columns: 1fr; }
  .influencer-cover { min-height: 0; }
  .influencer-cover img { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .influencer-category-card { display: block; }
  .influencer-category-card > img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .influencer-landing-hero { box-shadow: 7px 7px 0 var(--influencer-pink); }
  .influencer-hero-copy { padding: 34px 24px; }
}
.portal-hero { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: center; min-height: 610px; padding: 78px 0; }
.portal-hero h1, .training-intro h1, .category-hero h1 { margin: 0; max-width: 860px; font-size: clamp(46px, 7vw, 84px); line-height: .94; letter-spacing: -.05em; }
.portal-hero h1 em { color: var(--terracotta); font-style: normal; }
.portal-panel { padding: 34px; border-radius: 26px; color: white; background: var(--sage); box-shadow: var(--shadow); }
.portal-panel h2 { margin: 0 0 18px; font-size: 32px; }
.portal-panel .mini-label { color: var(--cream); }
.portal-panel ul { margin: 0; padding-left: 20px; line-height: 1.8; }
.portal-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 9px; padding: 12px 20px; border-radius: 10px; color: white; background: var(--terracotta); text-decoration: none; font-weight: 900; }
.portal-button:hover { background: #965744; }
.portal-section { padding: 58px 0 78px; }
.portal-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.portal-section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.04em; }
.portal-section-heading a { color: var(--terracotta); font-weight: 900; text-decoration: none; }
.category-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--sand); border-radius: 26px; color: var(--ink); background: var(--cream); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.category-card:hover { transform: translateY(-3px); border-color: var(--terracotta); }
.category-copy { display: flex; align-items: center; gap: 24px; }
.category-icon { display: grid; place-items: center; flex: 0 0 auto; width: 84px; height: 84px; border-radius: 22px; color: white; background: var(--sage); font-size: 19px; font-weight: 900; }
.category-card h2, .category-card h3 { margin: 0 0 9px; font-size: clamp(25px, 3vw, 36px); }
.category-card p { max-width: 780px; margin: 0; color: var(--brown); line-height: 1.55; }
.card-arrow { color: var(--terracotta); font-size: 38px; }
.portal-footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px max(28px, calc((100vw - 1180px)/2)); color: var(--sand); background: var(--ink); font-size: 13px; }
.training-intro { max-width: 960px; padding: 82px 0 28px; }
.training-intro .lead { max-width: 800px; }
.category-card-featured { min-height: 260px; background: linear-gradient(135deg, var(--cream), var(--sage-light)); }
.card-kicker { margin-bottom: 8px !important; color: var(--terracotta) !important; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.audience-tags, .course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.audience-tags span, .course-meta span, .course-count { padding: 7px 10px; border: 1px solid var(--sand); border-radius: 999px; color: var(--brown); background: var(--ivory); font-size: 12px; font-weight: 800; }
.breadcrumbs { display: flex; gap: 10px; padding-top: 34px; color: var(--brown); font-size: 13px; }
.breadcrumbs a { color: var(--terracotta); text-decoration: none; font-weight: 800; }
.category-hero { display: grid; grid-template-columns: 1.35fr .65fr; gap: 46px; align-items: end; padding: 62px 0 36px; }
.category-note { padding: 28px; border-left: 5px solid var(--terracotta); border-radius: 0 18px 18px 0; background: var(--cream); }
.category-note strong { font-size: 18px; }
.category-note p { margin: 10px 0 0; color: var(--brown); line-height: 1.55; }
.course-card { display: grid; grid-template-columns: minmax(320px, .9fr) 1.1fr; overflow: hidden; border: 1px solid var(--sand); border-radius: 28px; background: var(--cream); box-shadow: var(--shadow); }
.course-art { min-height: 420px; background: var(--ink); }
.course-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.course-card-body { padding: clamp(28px, 5vw, 54px); }
.course-card h3 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1; letter-spacing: -.04em; }
.course-card h3 a { color: var(--ink); text-decoration: none; }
.course-subtitle { margin: 15px 0 22px !important; color: var(--terracotta) !important; font-size: 19px; font-weight: 900; }
.course-card-body > p { color: var(--brown); line-height: 1.55; }

/* Membership */
.membership-preview { border-top: 1px solid var(--sand); }
.membership-preview-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; align-items: center; }
.membership-preview-grid img { display: block; width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.benefit-list { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.benefit-list li { position: relative; padding-left: 28px; color: var(--brown); font-weight: 700; }
.benefit-list li::before { content: "✓"; position: absolute; left: 0; color: var(--terracotta); font-weight: 900; }
.membership-page { --ink: #121212; --brown: #675d50; --cream: #f7f1e6; --ivory: #fffdf8; --sand: #dfcfb5; --terracotta: #d99a20; --sage: #242424; --sage-light: #f3e4bd; }
.membership-page .portal-nav a:hover, .membership-page .portal-nav a.active { color: #111; background: #f0b638; }
.membership-page .portal-button { color: #111; background: linear-gradient(135deg, #ffd166, #e89b16); box-shadow: 0 12px 26px rgba(226,157,28,.22); }
.membership-page .portal-button:hover { background: #f2b43d; }
.membership-hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: center; padding: 72px 0 56px; }
.membership-hero h1 { margin: 0; font-size: clamp(48px, 6.5vw, 82px); line-height: .94; letter-spacing: -.05em; }
.membership-hero h1 em { color: var(--terracotta); font-style: normal; }
.membership-hero-art { margin: 0; }
.membership-hero-art img { display: block; width: 100%; border: 1px solid #3c3327; border-radius: 26px; box-shadow: 0 28px 70px rgba(15,12,8,.22); }
.membership-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.text-link { color: var(--ink); font-weight: 900; text-decoration: none; }
.membership-value { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border: 1px solid #312a20; border-radius: 24px; color: white; background: #151515; box-shadow: var(--shadow); }
.membership-value article { min-height: 210px; padding: 28px 22px; border-right: 1px solid #393226; }
.membership-value article:last-child { border-right: 0; }
.membership-value span { color: #f0b638; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.membership-value h2 { margin: 48px 0 10px; font-size: 24px; }
.membership-value p { margin: 0; color: #d6cbb8; font-size: 14px; line-height: 1.55; }
.membership-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.membership-card-grid article { padding: 30px; border: 1px solid var(--sand); border-radius: 20px; background: var(--cream); }
.membership-card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #151515; background: #f0b638; font-weight: 900; }
.membership-card-grid h3 { margin: 24px 0 12px; font-size: 25px; }
.membership-card-grid p, .membership-card-grid li { color: var(--brown); line-height: 1.55; }
.membership-card-grid ul { margin: 18px 0 0; padding-left: 19px; }
.membership-fit { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; margin: 20px 0 80px; padding: clamp(32px, 5vw, 58px); border-radius: 28px; color: white; background: #161616; }
.membership-fit h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.membership-fit ul { display: grid; gap: 15px; margin: 0; padding-left: 22px; color: #ded2bf; line-height: 1.5; }
.membership-cta { margin: 0 0 80px; padding: clamp(38px, 6vw, 72px); border: 1px solid #d8b671; border-radius: 28px; background: radial-gradient(circle at top right, #fff1c8, var(--cream) 55%); text-align: center; }
.membership-cta h2 { margin: 0; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.05em; }
.membership-cta > p { max-width: 720px; margin: 18px auto; color: var(--brown); font-size: 18px; line-height: 1.55; }
.membership-cta small { display: block; max-width: 760px; margin: 22px auto 0; color: var(--brown); line-height: 1.45; }

@media (max-width: 820px) {
  .portal-hero, .category-hero, .course-card, .membership-preview-grid, .membership-hero, .membership-fit { grid-template-columns: 1fr; }
  .portal-hero { min-height: 0; }
  .course-art { min-height: 300px; }
  .membership-value { grid-template-columns: repeat(2, 1fr); }
  .membership-value article { border-bottom: 1px solid #393226; }
  .membership-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .portal-header { align-items: flex-start; }
  .portal-brand strong { display: none; }
  .portal-nav a { padding: 9px 11px; }
  .portal-main { width: min(100% - 22px, 1180px); }
  .category-copy { align-items: flex-start; flex-direction: column; }
  .card-arrow { display: none; }
  .portal-section-heading, .portal-footer { align-items: flex-start; flex-direction: column; }
  .membership-value, .membership-card-grid { grid-template-columns: 1fr; }
  .membership-value article { min-height: 0; border-right: 0; }
  .membership-value h2 { margin-top: 22px; }
  .membership-actions { align-items: flex-start; flex-direction: column; }
}

/* Clean, navigation-first BYOB home */
.home-clean { --home-black: #111; --home-gold: #e8a928; --home-gold-soft: #f8e7bd; --home-paper: #fbf8f1; background: var(--home-paper); color: var(--home-black); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; color: #111; background: #fff; }
.skip-link:focus { left: 8px; }
.home-header { border-bottom-color: #ded6c6; background: rgba(251,248,241,.97); }
.home-header .portal-brand span { color: #111; background: linear-gradient(135deg, #ffd166, var(--home-gold)); }
.home-nav { align-items: center; }
.home-nav a { color: #40382d; }
.home-nav a:hover, .home-nav a.active { color: #111; background: var(--home-gold-soft); }
.home-nav .nav-audit { color: #111; border: 1px solid var(--home-gold); background: #fff; }
.home-main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.home-hero { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(32px, 6vw, 76px); align-items: center; min-height: 620px; padding: 72px 0; }
.home-hero h1 { margin: 0; max-width: 640px; font-size: clamp(48px, 6vw, 78px); line-height: .94; letter-spacing: -.052em; }
.home-hero h1 em { color: #b97800; font-style: normal; }
.home-hero .lead { max-width: 610px; margin: 25px 0; color: #5e5548; font-size: clamp(18px, 2vw, 22px); }
.home-hero-art { margin: 0; }
.home-hero-art img { display: block; width: 100%; border: 1px solid #312b22; border-radius: 24px; box-shadow: 0 26px 65px rgba(20,16,10,.18); }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.home-clean .portal-button { color: #111; background: linear-gradient(135deg, #ffd166, var(--home-gold)); box-shadow: 0 12px 26px rgba(200,137,15,.2); }
.home-clean .portal-button:hover { background: #f3b83d; }
.home-text-link { color: #111; font-weight: 900; text-decoration: none; }
.home-text-link:hover { text-decoration: underline; text-decoration-color: var(--home-gold); text-decoration-thickness: 3px; }
.home-section { padding: 78px 0 88px; border-top: 1px solid #ded6c6; }
.home-section-heading { max-width: 760px; margin-bottom: 32px; }
.home-section-heading h2, .audit-banner h2, .membership-strip h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -.042em; }
.home-section-heading > p:last-child { margin: 16px 0 0; color: #62594c; font-size: 18px; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card { min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(25px, 3vw, 36px); border: 1px solid #d8cfbe; border-radius: 20px; color: #111; background: #fff; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.path-card:hover { transform: translateY(-4px); border-color: var(--home-gold); box-shadow: 0 18px 44px rgba(40,30,13,.1); }
.path-number { color: #a66d00; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.path-card h3 { margin: 0 0 12px; font-size: 31px; }
.path-card p { margin: 0; color: #62594c; line-height: 1.6; }
.path-card strong { color: #9b6600; }
.audit-banner { display: grid; grid-template-columns: 1fr auto; gap: 46px; align-items: center; margin: 0 0 82px; padding: clamp(32px, 5vw, 58px); border-radius: 24px; color: #fff; background: #151515; }
.audit-banner .eyebrow { color: #f5bf50; }
.audit-banner p:last-child { max-width: 760px; margin: 18px 0 0; color: #d9d1c5; font-size: 18px; line-height: 1.55; }
.audit-banner .portal-button { white-space: nowrap; }
.membership-strip { display: grid; grid-template-columns: 1fr 1fr auto; gap: 34px; align-items: center; padding: 46px 0 72px; border-top: 1px solid #ded6c6; }
.membership-strip h2 { font-size: clamp(30px, 4vw, 46px); }
.membership-strip > p { color: #62594c; line-height: 1.6; }
.home-footer { border-top: 4px solid var(--home-gold); }
@media (max-width: 1020px) {
  .home-header { align-items: flex-start; }
  .home-nav { max-width: 650px; justify-content: flex-end; flex-wrap: wrap; }
  .home-hero { grid-template-columns: 1fr; padding-top: 56px; }
  .home-hero-art { max-width: 880px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .membership-strip { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .home-header { position: static; display: block; padding: 16px 18px; }
  .home-header .portal-brand { margin-bottom: 14px; }
  .home-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; max-width: none; }
  .home-nav a { padding: 10px; border: 1px solid #ded6c6; border-radius: 9px; text-align: center; }
  .home-main { width: min(100% - 24px, 1180px); }
  .home-hero { min-height: 0; padding: 44px 0 56px; }
  .home-hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .home-actions { align-items: flex-start; flex-direction: column; }
  .audit-banner { grid-template-columns: 1fr; gap: 24px; }
  .audit-banner .portal-button { width: 100%; white-space: normal; text-align: center; }
}
.workspace-entry{display:grid;grid-template-columns:1.3fr 1fr;gap:45px;align-items:center;margin:0 0 55px;padding:38px;border:1px solid var(--sand);border-radius:24px;background:var(--cream)}
.workspace-entry h2{font-size:clamp(29px,4vw,42px);letter-spacing:-.035em;line-height:1.08;margin:0 0 18px}.workspace-entry p:not(.eyebrow){color:var(--brown);line-height:1.65;font-size:16px}.workspace-entry-actions{display:flex;flex-direction:column;gap:20px;align-items:flex-start}.workspace-entry small{color:var(--brown);font-size:12px;line-height:1.6}.course-workspace-link{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;margin:35px 0;padding:22px;border:1px solid var(--sand);border-radius:12px;background:var(--ivory);font-size:13px;line-height:1.6}.course-workspace-link a{font-weight:800;color:var(--ink)}.course-workspace-link span{color:var(--brown)}
@media(max-width:760px){.workspace-entry{grid-template-columns:1fr;padding:27px 23px;gap:20px}.workspace-entry .portal-button{width:100%;text-align:center}.workspace-entry-actions{align-items:stretch}}
