@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

.slide-logo {
  position: fixed;
  bottom: 25px;
  left: 30px;
  height: 80px;
  z-index: 9999;
  opacity: 0.55;
  pointer-events: none;
}

:root {
  --bg: #FAFBFC;
  --bg-alt: #F0F2F5;
  --bg-soft: #F3F6FA;
  --text: #24292F;
  --text-dim: #6E7781;
  --keyword: #CF222E;
  --string: #0550ae;
  --func: #8250DF;
  --number: #0A3069;
  --comment: #6E7781;
  --added: #1A7F37;
  --line-border: #D0D7DE;
  --gutter: #F6F8FA;

  --mono: "IBM Plex Mono", "SF Mono", "Cascadia Code", monospace;
  --sans: "IBM Plex Sans", -apple-system, sans-serif;
  --base-font-size: 32px;
}

html, body { background: var(--bg); }

.reveal {
  font-family: var(--sans);
  color: var(--text);
  position: relative;
}

.reveal .slides { text-align: left; }

.reveal .slides section {
  padding: 50px 70px;
  text-align: left;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 92% 12%, rgba(5, 80, 174, 0.08) 0, rgba(5, 80, 174, 0) 33%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(250, 251, 252, 0.95) 100%);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.two-col {
  display: grid;
  align-items: start;
}

.two-col.equal {
  grid-template-columns: 1fr 1fr;
}

.two-col.wide-left {
  grid-template-columns: 3fr 2fr;
}

.extras-grid {
  grid-template-columns: 1.6fr 1fr;
}

.split-sm { gap: 20px; }
.split-md { gap: 24px; }
.split-gap { gap: 28px; margin-top: 8px; }

.content-group h3 {
  margin-bottom: 12px;
}

.clean-list {
  margin: 0;
  padding: 0;
}

.clean-list li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.reveal .clean-list li::before {
  content: '•';
  color: #1f2937;
  margin-right: 10px;
}

.question-card {
  border: 1px solid var(--line-border);
  background: rgba(255, 255, 255, 0.62);
  padding: 14px 16px;
}

.question-card h3 {
  margin-bottom: 10px;
}

.aif-callout {
  margin: 4px 0 12px;
  padding: 10px 14px;
  border-left: 4px solid #b45309;
  background: rgba(180, 83, 9, 0.1);
  font-size: 12.8pt;
  line-height: 1.35;
}

.aif-limit {
  font-family: var(--mono);
  font-size: 10pt;
  color: var(--text-dim);
  margin-left: 8px;
}

.q5-card {
  margin-top: 12px;
}

#my-application .grade-list li {
  display: grid;
  grid-template-columns: auto 46px;
  align-items: center;
  border-bottom: 1px solid rgba(208, 215, 222, 0.6);
  padding: 5px 0;
  margin-bottom: 0;
  gap: 6px;
}

#my-application .grade-list li strong {
  font-family: var(--mono);
  font-size: 15pt;
  text-align: right;
}

#my-application .grade-list li::before {
  content: none;
}

#my-application .my-avg {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 2px solid var(--line-border);
  font-family: var(--mono);
  font-size: 13pt;
}

#my-application .my-avg span {
  color: #b45309;
  font-size: 24pt;
  font-weight: 700;
  margin-left: 6px;
}

#my-application .grade-list,
#my-application .my-avg {
  max-width: 350px;
}

#my-application .two-col {
  grid-template-columns: 0.78fr 1.22fr;
}

.social-warning {
  margin-top: 12px;
  font-size: 11pt;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
}

.social-cross {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #111827;
}

.social-cross .fa-ban {
  position: absolute;
  color: #cf222e;
  font-size: 16px;
}

.logo-cross img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-line {
  margin-top: 16px !important;
  font-family: var(--mono) !important;
  font-size: 14pt !important;
  color: var(--string) !important;
  letter-spacing: 0.01em;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.reveal h1, .reveal h2, .reveal h3 {
  font-family: var(--mono);
  text-transform: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.reveal h1 { font-size: 44pt; line-height: 1.1; margin: 0 0 16px; }
.reveal h2 { font-size: 26pt; line-height: 1.2; margin: 0 0 20px; }
.reveal h3 { font-size: 16pt; line-height: 1.3; margin: 0 0 8px; }

.reveal p, .reveal li {
  font-size: 15pt;
  line-height: 1.55;
  color: var(--text);
}

.reveal li { margin-bottom: 4px; }
.reveal ul { list-style: none; padding-left: 0; }
.reveal ul li::before {
  content: '>';
  font-family: var(--mono);
  color: var(--keyword);
  font-weight: 600;
  margin-right: 10px;
  font-size: 13pt;
}
.reveal strong { font-weight: 600; color: var(--string); }

/* ============================================
   COMMENT LABELS — like // code comments
   ============================================ */

.comment-label {
  font-family: var(--mono);
  font-size: 11pt;
  color: var(--comment);
  font-weight: 400;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.comment-label::before {
  content: '// ';
  color: var(--comment);
}

/* ============================================
   HERO SLIDE
   ============================================ */

.reveal .slides section.hero-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 60px 80px;
  position: relative;
  overflow: hidden;
}


.hero-slide .hero-comment {
  font-family: var(--mono);
  font-size: 12pt;
  color: var(--comment);
  margin-bottom: 6px;
}

.hero-slide h1 {
  font-size: 44pt;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 58%;
  white-space: normal;
}

.hero-slide h1 .kw { color: var(--keyword); }
.hero-slide h1 .str { color: var(--string); }
.hero-slide h1 .fn { color: var(--func); }
.hero-slide h1 .hero-emphasis { color: var(--string); }

.hero-slide .hero-meta {
  font-family: var(--mono);
  font-size: 11pt;
  color: var(--text-dim);
  border-top: 1px solid var(--line-border);
  padding-top: 16px;
  margin-top: 8px;
  max-width: 56%;
}

.hero-slide .hero-meta .kw { color: var(--keyword); font-weight: 600; }

.hero-visual {
  position: absolute;
  right: 76px;
  bottom: 64px;
  width: 35%;
  border: 1px solid rgba(208, 215, 222, 0.7);
  box-shadow: 0 10px 28px rgba(36, 41, 47, 0.12);
  overflow: hidden;
  border-radius: 10px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */

.reveal .slides section.section-divider {
  text-align: center !important;
  padding: 40px 60px;
}

.section-divider h1 {
  font-size: 38pt;
  margin-bottom: 12px;
}

.section-divider h1::before {
  content: '> ';
  color: var(--added);
  font-weight: 400;
}

.section-divider p {
  font-family: var(--mono);
  font-size: 12pt;
  color: var(--comment);
  max-width: 500px;
  margin: 0 auto;
}

.section-divider {
  background:
    radial-gradient(circle at 50% 40%, rgba(26, 127, 55, 0.06) 0, rgba(26, 127, 55, 0) 42%),
    linear-gradient(180deg, rgba(250, 251, 252, 0.95) 0%, rgba(244, 247, 250, 0.95) 100%);
}

/* ============================================
   CODE BLOCK SECTIONS — the main layout element
   ============================================ */

.code-block {
  background: var(--gutter);
  border: 1px solid var(--line-border);
  padding: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12pt;
}

.code-block .cb-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-border);
  padding: 8px 16px;
  font-size: 10pt;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-block .cb-header .dots {
  display: flex;
  gap: 5px;
}

.code-block .cb-header .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.code-block .cb-header .dots span:nth-child(1) { background: #FF5F57; }
.code-block .cb-header .dots span:nth-child(2) { background: #FEBC2E; }
.code-block .cb-header .dots span:nth-child(3) { background: #28C840; }

.code-block .cb-body {
  padding: 16px 20px;
  background: var(--bg);
}

.code-block .cb-body p,
.code-block .cb-body li {
  font-family: var(--mono);
  font-size: 12pt;
  line-height: 1.6;
  margin: 0 0 6px;
}

/* ============================================
   LINE-NUMBERED LISTS
   ============================================ */

.ln-list {
  counter-reset: ln;
  padding: 0;
  margin: 0;
}

.ln-list li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(208, 215, 222, 0.4);
  font-size: 14pt;
}

.ln-list li:last-child { border-bottom: none; }

.reveal .ln-list li::before {
  counter-increment: ln;
  content: counter(ln, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 10pt;
  color: var(--text-dim);
  min-width: 24px;
  margin-right: 0;
  font-weight: 400;
}

/* ============================================
   KEYWORD SPANS — syntax-style highlighting
   ============================================ */

.kw { color: var(--keyword); font-family: var(--mono); font-weight: 600; }
.str { color: var(--string); font-family: var(--mono); }
.fn { color: var(--func); font-family: var(--mono); }
.num { color: var(--number); font-family: var(--mono); font-weight: 600; }
.cm { color: var(--comment); font-style: italic; }
.added { color: var(--added); }

/* ============================================
   DIFF-STYLE ITEMS (for comparison slides)
   ============================================ */

.diff-add {
  border-left: 3px solid var(--added);
  padding: 7px 14px;
  margin-bottom: 8px;
  background: rgba(26, 127, 55, 0.04);
}

.diff-add::before {
  content: '+';
  font-family: var(--mono);
  color: var(--added);
  font-weight: 700;
  margin-right: 10px;
}

.diff-remove {
  border-left: 3px solid var(--keyword);
  padding: 7px 14px;
  margin-bottom: 8px;
  background: rgba(207, 34, 46, 0.04);
  color: var(--text-dim);
}

.diff-remove::before {
  content: '−';
  font-family: var(--mono);
  color: var(--keyword);
  font-weight: 700;
  margin-right: 10px;
  text-decoration: none;
  display: inline-block;
}

/* ============================================
   INDENT BLOCKS — for nested info
   ============================================ */

.indent {
  border-left: 2px solid var(--line-border);
  padding-left: 20px;
  margin-left: 8px;
}

.indent-highlight {
  border-left: 2px solid var(--string);
  padding-left: 20px;
  margin-left: 8px;
  margin-top: 8px;
}

/* ============================================
   ANNOTATION — bottom-of-slide note
   ============================================ */

.annotation {
  font-family: var(--mono);
  font-size: 10pt;
  color: var(--comment);
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-border);
}

.annotation::before {
  content: '/* ';
}

.annotation::after {
  content: ' */';
}

.short-note {
  margin-top: 10px;
  font-size: 9.5pt;
}

/* ============================================
   GRID SEPARATOR — vertical pipe between columns
   ============================================ */

.pipe-grid {
  display: grid;
  gap: 0;
  position: relative;
  align-items: stretch;
}

.pipe-grid > *:not(:last-child) {
  border-right: 1px solid var(--line-border);
  padding-right: 30px;
}

.pipe-grid > *:not(:first-child) {
  padding-left: 30px;
}

#program-overview .ln-list li,
#application-tips .ln-list li {
  font-size: 13.5pt;
}

#se-vs-cs h3,
#general-tips h3 {
  margin-bottom: 12px;
}

.compare-grid p {
  margin: 0;
  font-size: 14pt;
  line-height: 1.45;
}

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

#grades h3 {
  margin: 0 0 12px;
}

#grades .grades-grid {
  align-items: stretch;
}

#grades .grades-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-border);
  padding: 16px 20px 14px;
  min-height: 385px;
}

.courses-wrap {
  margin-top: 8px;
}

#grades .courses-wrap,
#grades .targets-wrap,
#grades .grades-body {
  margin-top: 0;
}

#grades .grades-card .indent {
  margin-left: 0;
  padding-left: 14px;
}

.course-list {
  margin: 0;
  padding: 0;
}

.course-list li {
  font-family: var(--mono);
  font-size: 13.2pt;
  line-height: 1.55;
  margin-bottom: 5px;
}

.reveal .course-list li::before {
  content: '';
  margin-right: 0;
}

.course-list .str {
  display: inline-block;
  width: 72px;
  font-weight: 500;
}

.targets-wrap {
  margin-top: 12px;
}

.targets-col {
  padding: 16px 20px 14px;
  min-height: 385px;
}

.pipe-grid > .targets-col {
  border-right: none;
}

.target-stat {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.target-value {
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1.05;
}

.target-value-major {
  font-size: 30pt;
  color: var(--string);
}

.target-value-min {
  font-size: 30pt;
  color: var(--keyword);
}

.target-note {
  font-family: var(--mono);
  font-size: 10pt;
  color: var(--comment);
}

.target-footnote {
  font-family: var(--mono);
  font-size: 11pt;
  color: var(--text-dim);
  margin-top: 18px;
  line-height: 1.5;
}

/* ============================================
   PROMPT ITEMS
   ============================================ */

.prompt-stack {
  margin-top: 8px;
}

.prompt-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.prompt-item::before {
  content: '$';
  font-family: var(--mono);
  color: var(--added);
  font-weight: 600;
  font-size: 13pt;
  flex-shrink: 0;
}

.prompt-item p {
  margin: 0;
  font-size: 13.8pt;
  line-height: 1.45;
  max-width: 1000px;
}

.prompt-item strong {
  display: inline-block;
  margin-right: 10px;
}

.prompt-item span {
  color: var(--text);
}

.prompt-item span::before {
  content: '— ';
  color: var(--text-dim);
}

#application-tips .app-tips-grid {
  margin-top: 6px;
}

.compact-list li {
  line-height: 1.45;
}

#application-tips .compact-list li {
  display: block;
  position: relative;
  padding-left: 38px;
}

#application-tips .compact-list li::before {
  position: absolute;
  left: 0;
  top: 9px;
}

#program-overview .content-group:first-child .indent,
#program-overview .content-group:last-child .indent {
  background: rgba(255, 255, 255, 0.45);
  padding-top: 6px;
  padding-bottom: 8px;
}

.program-banner {
  position: relative;
  margin: 2px 0 12px;
  border: 1px solid var(--line-border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

.program-banner img {
  display: block;
}

.program-banner > img:first-child {
  width: 100%;
  height: 118px;
  object-fit: contain;
  object-position: center;
  background: #f2cc4d;
}

.program-banner .uw-logo {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 96px;
  height: auto;
  opacity: 0.95;
}

#se-vs-cs .compare-grid {
  margin-bottom: 6px;
}

.campus-compare {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-tile {
  margin: 0;
  border: 1px solid var(--line-border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

.image-tile img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: cover;
}

.image-tile figcaption {
  font-family: var(--mono);
  font-size: 9.5pt;
  color: var(--text-dim);
  padding: 8px 10px 9px;
  line-height: 1.35;
}

#coop-deep-dive {
  padding-top: 30px;
  padding-bottom: 30px;
}

#coop-deep-dive h2 {
  margin-bottom: 12px;
}

#coop-deep-dive .coop-grid {
  grid-template-columns: 1fr 1fr;
}

#coop-deep-dive .question-card {
  padding: 10px 14px;
}

#coop-deep-dive .question-card h3 {
  margin-bottom: 6px;
}

#coop-deep-dive .clean-list li {
  font-size: 12pt;
  line-height: 1.3;
  margin-bottom: 4px;
}

.coop-chart-wrap {
  margin-top: 8px;
  border: 1px solid var(--line-border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.coop-chart-wrap img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

#coop-deep-dive .annotation {
  margin-top: 8px;
  padding-top: 6px;
}

#grades .course-list li,
#grades .target-footnote,
#grades .target-note {
  letter-spacing: 0.01em;
}

#general-tips .indent-highlight ul li {
  line-height: 1.4;
  margin-bottom: 8px;
}

#general-tips .indent-highlight ul li:last-child {
  margin-bottom: 0;
}

.first-year-banner {
  margin-top: 12px;
  border: 1px solid var(--line-border);
  border-radius: 8px;
  overflow: hidden;
}

.first-year-banner img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 85%;
}

#first-year-courses {
  padding-top: 52px;
  padding-bottom: 42px;
}

#first-year-courses h2 {
  margin-bottom: 22px;
}

#first-year-courses .two-col {
  gap: 22px;
}

#first-year-courses .question-card {
  padding: 14px 16px;
}

#first-year-courses .clean-list li {
  font-size: 13.6pt;
  line-height: 1.35;
  margin-bottom: 6px;
}

#first-year-courses .first-year-banner {
  margin-top: 16px;
}

#first-year-courses .first-year-banner img {
  height: 136px;
}

/* ============================================
   BEYOND CLASSES SLIDE
   ============================================ */

#beyond-classes {
  padding-top: 32px;
  padding-bottom: 28px;
}

#beyond-classes h2 {
  margin-bottom: 14px;
}

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.beyond-item {
  padding: 10px 14px;
  border: 1px solid var(--line-border);
  background: rgba(255, 255, 255, 0.6);
}

.beyond-tag {
  font-family: var(--mono);
  font-size: 10pt;
  font-weight: 600;
  color: var(--added);
  margin: 0 0 5px;
  line-height: 1.2;
}

.beyond-tag::before {
  content: '$ ';
  color: var(--text-dim);
  font-weight: 400;
}

.beyond-desc {
  font-size: 11.5pt;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
}

/* ============================================
   TAKEAWAY SLIDE (#general-tips)
   ============================================ */

#general-tips {
  padding-top: 32px;
  padding-bottom: 28px;
}

#general-tips h2 {
  margin-bottom: 16px;
}

.takeaway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line-border);
  background: rgba(255, 255, 255, 0.6);
}

.takeaway-num {
  font-family: var(--mono);
  font-size: 22pt;
  font-weight: 700;
  color: var(--line-border);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.takeaway-title {
  font-family: var(--mono);
  font-size: 13pt;
  font-weight: 600;
  color: var(--string);
  margin: 0 0 4px;
  line-height: 1.2;
}

.takeaway-body {
  font-size: 12pt;
  line-height: 1.4;
  color: var(--text-dim);
  margin: 0;
}

.takeaway-banner {
  margin-top: 12px;
  border: 1px solid var(--line-border);
  border-radius: 8px;
  overflow: hidden;
}

.takeaway-banner img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: center 60%;
}

/* ============================================
   REVEAL.JS OVERRIDES
   ============================================ */

.reveal .controls { color: var(--string); }

.reveal .progress {
  color: var(--string);
  height: 2px;
}

.reveal .slide-number {
  background: transparent;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 9pt;
  right: 16px;
  bottom: 16px;
}

.coop-stats-link {
  position: fixed !important;
  top: 12px !important;
  left: 16px !important;
  right: auto !important;
  display: none;
  z-index: 40;
  padding: 6px 10px;
  border: 1px solid var(--line-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--string);
  font-family: var(--mono);
  font-size: 8.5pt;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(36, 41, 47, 0.12);
}

.coop-stats-link:hover {
  background: #ffffff;
  border-color: #9fb5d4;
}

/* Subtle top line on content slides */
.reveal .slides section:not(.hero-slide):not(.section-divider)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-border);
  pointer-events: none;
}
