/* ==========================================================================
   DePauw Viewbook microsite – viewbook.css
   One stylesheet for all five pages.

   Portability: every rule is scoped under .vb and every class starts with
   vb-, so the pages can sit inside the depauw.edu (Bigtree) template
   without colliding with site CSS. Element defaults use :where() so they
   carry no extra specificity and component classes always win.

   1  Tokens          6  Header and nav      11 Breakpoints
   2  Base            7  Hero and bands      12 Print
   3  Themes          8  Components
   4  Layout          9  Campus map
   5  Type, buttons  10  Footer
   ========================================================================== */

/* Standalone build only – omit when the pages sit inside the depauw.edu template */
body { margin: 0; background: #ffffff; }


/* 1  TOKENS ---------------------------------------------------------------- */
.vb {
  /* Brand colors (DePauw Brand Guide 2024, web values) */
  --vb-teal: #16666F;          /* PMS 5473 */
  --vb-gold: #F2C75C;          /* PMS 141 – never as text on white (1.6:1) */
  --vb-ink: #111C24;           /* Black */
  --vb-gray: #63666A;          /* Cool Gray 10 */

  /* Neutrals derived for screen contrast */
  --vb-gray-dark: #3F4448;
  --vb-rule: #D5DADC;
  --vb-surface: #F3F5F5;
  --vb-white: #ffffff;

  /* Type. Brand web pair; for the print look swap --vb-serif to
     'Libre Caslon Text', Georgia, serif and load that family instead. */
  --vb-serif: 'Roboto Serif', Georgia, serif;
  --vb-sans: Montserrat, Arial, sans-serif;
  --vb-hand: 'Roboto Serif', Georgia, serif;   /* KG 11/04: Roboto Serif italic replaces the handwriting face; rules using it set font-style: italic */

  /* Space */
  --vb-max: 1280px;
  --vb-gutter: clamp(16px, 4vw, 40px);
  --vb-section-y: clamp(64px, 8vw, 104px);

  /* Context colors – themes below override these */
  --vb-heading: var(--vb-teal);
  --vb-em: inherit;
  --vb-eyebrow: var(--vb-ink);
  --vb-label: var(--vb-gray-dark);
  --vb-soft: inherit;
  --vb-accent: var(--vb-teal);
  --vb-link: var(--vb-teal);
  --vb-link-hover: var(--vb-ink);
  --vb-focus: var(--vb-teal);
  --vb-rule-c: var(--vb-rule);

  font-family: var(--vb-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vb-ink);
  background: var(--vb-white);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


/* 2  BASE ------------------------------------------------------------------ */
.vb *, .vb *::before, .vb *::after { box-sizing: border-box; }
.vb :where(h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol, address) { margin: 0; }
.vb :where(ul, ol) { padding: 0; list-style: none; }
.vb :where(img) { display: block; max-width: 100%; height: auto; }
.vb :where(a) { color: var(--vb-link); text-underline-offset: .2em; }
.vb :where(a:hover) { color: var(--vb-link-hover); }
.vb :where(:focus-visible) { outline: 3px solid var(--vb-focus); outline-offset: 3px; }
.vb :where(address) { font-style: normal; }

.vb-skip {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  padding: 10px 14px; background: var(--vb-ink); color: var(--vb-white);
  font-weight: 700;
}
.vb-skip:focus { top: 8px; color: var(--vb-white); }

.vb-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}


/* 3  THEMES (section backgrounds) ----------------------------------------- */
.vb-theme-surface { background: var(--vb-surface); }

.vb-theme-ink {
  background: var(--vb-ink); color: var(--vb-white);
  --vb-heading: var(--vb-white);
  --vb-em: var(--vb-gold);
  --vb-eyebrow: var(--vb-gold);
  --vb-label: #C9CED2;
  --vb-soft: #E4E8EA;
  --vb-accent: var(--vb-gold);
  --vb-link: var(--vb-white);
  --vb-link-hover: var(--vb-gold);
  --vb-focus: var(--vb-gold);
  --vb-rule-c: #3A4650;
}

.vb-theme-teal {
  background: var(--vb-teal); color: var(--vb-white);
  --vb-heading: var(--vb-white);
  --vb-em: var(--vb-gold);           /* large text only: 4.1:1 */
  --vb-eyebrow: var(--vb-white);
  --vb-label: var(--vb-white);
  --vb-soft: #EEF3F3;
  --vb-accent: var(--vb-gold);
  --vb-link: var(--vb-white);
  --vb-link-hover: var(--vb-gold);
  --vb-focus: var(--vb-gold);
  --vb-rule-c: #5A9398;
}


/* 4  LAYOUT ---------------------------------------------------------------- */
.vb-container { max-width: var(--vb-max); margin-inline: auto; padding-inline: var(--vb-gutter); }
.vb-section { padding-block: var(--vb-section-y); }
.vb-section--flush-bottom { padding-bottom: 32px; }

/* Vertical rhythm for stacked content */
.vb-flow > * + * { margin-top: 20px; }

/* Wrapping rows: columns sit side by side, then stack on narrow screens */
.vb-row { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.vb-row--end { align-items: flex-end; }
.vb-row--start { align-items: flex-start; }
.vb-row--center { align-items: center; }
.vb-col { flex: 1 1 440px; min-width: 0; }
.vb-col--narrow { flex: 1 1 300px; }
.vb-col--wide { flex: 1.4 1 480px; }
.vb-col--double { flex: 2 1 520px; }

/* Auto-fitting grids; the modifier sets the minimum column width */
.vb-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--vb-col, 280px)), 1fr)); }
.vb-grid--150 { --vb-col: 150px; gap: 36px 24px; }
.vb-grid--210 { --vb-col: 210px; }
.vb-grid--240 { --vb-col: 240px; gap: 14px; }
.vb-grid--250 { --vb-col: 250px; gap: 40px 32px; }
.vb-grid--270 { --vb-col: 270px; gap: 28px; }
.vb-grid--300 { --vb-col: 300px; }
.vb-grid--340 { --vb-col: 340px; gap: 24px; }
.vb-grid--380 { --vb-col: 380px; gap: 40px; }
.vb-grid--500 { --vb-col: 500px; }

/* Two-up photo mosaic; __wide spans both columns */
.vb-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.vb-mosaic__wide, .vb-span-all { grid-column: 1 / -1; }

.vb-divider { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--vb-rule-c); }
.vb-divider--lg { margin-top: 72px; padding-top: 56px; }
.vb-mt-sm { margin-top: 28px; }
.vb-mt { margin-top: 44px; }
.vb-mt-lg { margin-top: 64px; }


/* 5  TYPE AND BUTTONS ------------------------------------------------------ */
.vb-eyebrow {
  font-size: .8125rem; font-weight: 700; line-height: 1.2;
  letter-spacing: .2em; text-transform: uppercase; color: var(--vb-eyebrow);
}
.vb-eyebrow::after {
  content: ""; display: block; width: 44px; height: 2px;
  margin-top: 12px; background: var(--vb-gold);
}
.vb-eyebrow--plain::after { display: none; }
.vb-eyebrow--lg { font-size: .875rem; }

.vb-kicker {
  font-size: .8125rem; font-weight: 700; line-height: 1.3;
  letter-spacing: .16em; text-transform: uppercase;
}
.vb-theme-ink .vb-kicker { color: var(--vb-gold); }

.vb-title {
  font-family: var(--vb-serif); font-weight: 500; line-height: 1.06;
  color: var(--vb-heading);
}
.vb-title em { font-style: italic; color: var(--vb-em); }
.vb-title--display { font-size: clamp(2.875rem, 6.4vw, 5.5rem); line-height: 1.02; letter-spacing: -.01em; }
.vb-title--page { font-size: clamp(2.875rem, 5.6vw, 4.875rem); line-height: 1.02; }
.vb-title--section { font-size: clamp(2.375rem, 4.4vw, 3.75rem); }
.vb-title--medium { font-size: clamp(2.125rem, 3.8vw, 3.25rem); line-height: 1.1; }
.vb-title--sub { font-size: clamp(1.875rem, 3.2vw, 2.625rem); line-height: 1.1; }
.vb-title--narrow { max-width: 18em; }

.vb-card-title { font-family: var(--vb-serif); font-weight: 600; font-size: 1.625rem; line-height: 1.15; }
.vb-card-title--sm { font-size: 1.5rem; line-height: 1.2; }
.vb-card-title a { color: inherit; text-decoration: none; }
.vb-card-title a:hover { text-decoration: underline; }
.vb-card-title a.vb-card-link { text-decoration: underline; text-decoration-color: var(--vb-gold); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.vb-card-title a.vb-card-link:hover { text-decoration-color: currentColor; }

.vb-lede { font-size: 1.125rem; color: var(--vb-soft); }
.vb-prose { max-width: 36em; }
.vb-prose--narrow { max-width: 30em; }
.vb-prose--wide { max-width: 46em; }
.vb-soft { color: var(--vb-soft); }
.vb-small { font-size: .875rem; line-height: 1.5; color: var(--vb-label); }
.vb-fine { font-size: .8125rem; line-height: 1.55; color: var(--vb-soft); }
.vb-hand { font-family: var(--vb-hand); font-style: italic; font-weight: 400; color: var(--vb-accent); line-height: 1.25; }

/* Quotes */
.vb-quote { font-family: var(--vb-serif); font-style: italic; font-size: clamp(1.3125rem, 2vw, 1.625rem); line-height: 1.45; }
.vb-quote--sm { font-size: 1.25rem; line-height: 1.4; }
.vb-quote--rule, .vb-quote-fig { padding-left: 22px; border-left: 3px solid var(--vb-gold); }
.vb-quote-fig figcaption { margin-top: 8px; font-size: .875rem; color: var(--vb-label); }

/* Stats */
.vb-stats { display: flex; flex-wrap: wrap; gap: 28px 48px; }
.vb-stats--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 32px; }
.vb-stat { border-left: 3px solid var(--vb-teal); padding-left: 18px; }
.vb-stat__num { font-size: clamp(3.25rem, 5.4vw, 4.5rem); font-weight: 800; line-height: 1; color: var(--vb-teal); }
.vb-stat--lg .vb-stat__num { font-size: clamp(3.5rem, 6vw, 5rem); }
.vb-stat--md .vb-stat__num { font-size: clamp(3rem, 4.6vw, 4rem); }
.vb-stat__label { margin-top: 8px; max-width: 15em; font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.vb-stat .vb-hand { margin-top: 6px; font-size: 1.1875rem; }
.vb-stat__source { margin-top: 8px; max-width: 11em; font-size: .75rem; line-height: 1.4; color: var(--vb-label); }
.vb-sup { position: relative; top: -.8em; font-size: .45em; }
.vb-pre { position: relative; top: -.15em; margin-right: 6px; font-size: .3em; letter-spacing: .06em; }

/* Buttons */
.vb-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border: 2px solid transparent;
  font-family: var(--vb-sans); font-size: .9375rem; font-weight: 700; line-height: 1.2;
  letter-spacing: .02em; text-align: center; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.vb-btn--sm { min-height: 44px; padding: 0 20px; font-size: .875rem; }
.vb-btn--primary { background: var(--vb-teal); border-color: var(--vb-teal); color: var(--vb-white); }
.vb-btn--primary:hover { background: var(--vb-ink); border-color: var(--vb-ink); color: var(--vb-white); }
.vb-btn--outline { border-color: var(--vb-teal); color: var(--vb-teal); }
.vb-btn--outline:hover { background: var(--vb-teal); color: var(--vb-white); }
.vb-btn--gold { background: var(--vb-gold); border-color: var(--vb-gold); color: var(--vb-ink); }
.vb-btn--gold:hover { background: var(--vb-white); border-color: var(--vb-white); color: var(--vb-ink); }
.vb-btn--light { border-color: var(--vb-white); color: var(--vb-white); }
.vb-btn--light:hover { background: var(--vb-white); color: var(--vb-ink); }
.vb-link-strong { font-size: .9375rem; font-weight: 700; }
.vb-btn-row .vb-link-strong { display: inline-flex; align-items: center; min-height: 44px; }


/* 6  HEADER AND NAV -------------------------------------------------------- */
.vb-header { background: var(--vb-white); border-bottom: 1px solid #DDE1E3; }
.vb-header__inner { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.vb-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.vb-logo { display: block; line-height: 0; }
.vb-logo img { width: 168px; }
.vb-header__actions { gap: 10px; }

.vb-nav { position: relative; }
.vb-nav__list {
  display: flex; gap: 28px; white-space: nowrap;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vb-nav__list::-webkit-scrollbar { display: none; }
.vb-nav__link {
  display: inline-block; padding: 12px 0 9px; border-bottom: 3px solid transparent;
  font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--vb-gray-dark); text-decoration: none;
}
.vb-nav__link:hover { color: var(--vb-ink); border-bottom-color: var(--vb-rule); }
.vb-nav__link[aria-current="page"] { color: var(--vb-ink); font-weight: 700; border-bottom-color: var(--vb-gold); }

/* "On this page" jump links in chapter headers */
.vb-chapter { padding-block: clamp(48px, 6vw, 72px) clamp(40px, 5vw, 56px); }
.vb-jump { margin-top: 32px; }
.vb-jump__label { margin-bottom: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.vb-jump__list { display: flex; flex-wrap: wrap; gap: 10px; }
.vb-jump__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px;
  border: 1px solid #8FB8BC; color: var(--vb-white); text-decoration: none;
  font-family: var(--vb-serif); font-size: 1rem; line-height: 1.3;
}
.vb-jump__link:hover { background: var(--vb-white); color: var(--vb-teal); }


/* 7  HERO, SPLITS AND PHOTO BANDS ----------------------------------------- */
/* Fill: the image covers its box; set the crop per image with --vb-crop */
.vb-fill { position: relative; }
.vb-fill > img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--vb-crop, 50% 50%);
}

/* Fixed-ratio images; falls back to the photo's own ratio in old browsers */
.vb-img { width: 100%; height: auto; object-fit: cover; object-position: var(--vb-crop, 50% 50%); }
.vb-img--1x1 { aspect-ratio: 1 / 1; }
.vb-img--4x3 { aspect-ratio: 4 / 3; }
.vb-img--3x2 { aspect-ratio: 3 / 2; }
.vb-img--4x5 { aspect-ratio: 4 / 5; }
.vb-img--16x9 { aspect-ratio: 16 / 9; }
.vb-img--16x10 { aspect-ratio: 16 / 10; }
.vb-img--16x7 { aspect-ratio: 16 / 7; }
.vb-img--21x8 { aspect-ratio: 21 / 8; }

.vb-hero { display: flex; flex-wrap: wrap; }
.vb-hero__body {
  position: relative; flex: 1 1 440px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  padding: clamp(56px, 7vw, 104px) clamp(28px, 5vw, 76px);
}
.vb-hero__body::before {
  content: ""; position: absolute; top: 16px; right: 16px; bottom: 16px; left: 16px;
  border: 1px solid var(--vb-gold); pointer-events: none;
}
.vb-hero__media { flex: 1.25 1 480px; min-width: 0; min-height: 480px; }

.vb-band { height: clamp(220px, 26vw, 380px); }
.vb-band--tall { height: clamp(240px, 30vw, 420px); }

/* Split: photo beside text (student voices, section openers) */
.vb-split { display: flex; flex-wrap: wrap; }
.vb-split--reverse { flex-direction: row-reverse; }
.vb-split__media { flex: 1 1 420px; min-width: 0; min-height: 540px; }
.vb-split__media--short { min-height: 440px; }
.vb-split__media--wide { flex: 1.3 1 480px; }
.vb-split__body {
  flex: 1.2 1 460px; min-width: 0;
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(44px, 5vw, 80px) clamp(24px, 5vw, 72px);
}
.vb-split__body--center { flex: 1 1 440px; justify-content: center; }
.vb-split__body--compact { flex: 1 1 400px; gap: 18px; padding: clamp(32px, 4vw, 56px); }
.vb-split--card { background: var(--vb-white); }


/* 8  COMPONENTS ------------------------------------------------------------ */

/* At-a-glance stats band */
.vb-glance__inner { padding-block: 48px 64px; }
.vb-glance__list { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 40px 28px; }
.vb-glance__item { display: flex; flex-direction: column; gap: 6px; }
.vb-glance__label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.vb-glance__num { font-size: clamp(3rem, 4.8vw, 4.125rem); font-weight: 800; line-height: 1; }
.vb-glance__desc { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; }
.vb-glance__note { align-self: flex-start; padding-block: 8px; margin-top: -4px; font-family: var(--vb-hand); font-style: italic; font-size: 1.1875rem; line-height: 1.3; text-decoration-color: var(--vb-gold); }
.vb-glance__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vb-glance__list--4 .vb-glance__desc { hyphens: auto; overflow-wrap: break-word; }
.vb-glance__source { font-size: .875rem; line-height: 1.4; }
.vb-glance__num--word { font-size: clamp(1.75rem, 2.9vw, 2.5rem); line-height: 1.05; }

/* Question index cards (home) */
.vb-qcard { display: flex; flex-direction: column; background: var(--vb-surface); border-top: 4px solid var(--vb-teal); }
.vb-qcard__body { padding: 24px 24px 28px; }
.vb-qcard__tags { font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--vb-gray-dark); }
.vb-qcard .vb-card-title { margin: 10px 0 8px; font-size: 1.75rem; color: var(--vb-ink); }
.vb-qlist li { border-top: 1px solid var(--vb-rule); }
.vb-qlist a { display: block; padding: 11px 0; font-family: var(--vb-serif); font-size: 1.125rem; line-height: 1.35; color: var(--vb-teal); text-decoration: none; }
.vb-qlist a:hover { color: var(--vb-ink); text-decoration: underline; }

/* Short quote cards (home) */
.vb-minivoice { display: flex; flex-direction: column; gap: 18px; }
.vb-minivoice figcaption { display: flex; flex-direction: column; gap: 2px; }
.vb-minivoice__name { font-family: var(--vb-hand); font-style: italic; font-size: 1.875rem; line-height: 1.1; color: var(--vb-accent); }
.vb-minivoice__more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; font-size: .875rem; font-weight: 700; text-decoration-color: var(--vb-gold); }
.vb-avatar {
  width: 112px; height: 112px; border-radius: 50%; border: 3px solid var(--vb-gold);
  object-fit: cover; object-position: var(--vb-crop, 50% 30%);
}

/* Cards with a photo on top */
.vb-card { display: flex; flex-direction: column; gap: 14px; }
.vb-card .vb-card-title { margin-top: 4px; }
.vb-card p { font-size: 1rem; }
.vb-card--on-teal p { color: var(--vb-soft); }

/* Student voice profile */
.vb-voice__name { font-family: var(--vb-hand); font-style: italic; font-weight: 400; font-size: clamp(2.625rem, 4vw, 3.625rem); line-height: 1; color: var(--vb-accent); }
.vb-voice__name--sm { font-size: 2.25rem; }
.vb-voice__name--md { font-size: clamp(2.375rem, 3.6vw, 3.25rem); }
.vb-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px 32px; }
.vb-profile--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px 24px; }
.vb-profile--stack { display: flex; flex-direction: column; gap: 10px; }
.vb-profile__full { grid-column: 1 / -1; }
.vb-profile dt { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--vb-label); }
.vb-profile dd { margin-top: 3px; font-size: .9375rem; line-height: 1.5; }

/* Panels and callouts */
.vb-panel { padding: clamp(28px, 4vw, 44px); }
.vb-panel--outline { background: var(--vb-white); border: 2px solid var(--vb-teal); padding: clamp(24px, 3vw, 36px); }
.vb-panel--top-rule { border-top: 4px solid var(--vb-teal); }
.vb-callout { background: var(--vb-surface); padding: 18px 20px; }
.vb-callout p + p { margin-top: 6px; font-size: .9375rem; line-height: 1.55; }
.vb-stack { display: flex; flex-direction: column; gap: 24px; }
.vb-stack--sm { gap: 12px; }
.vb-stack--lg { gap: 36px; }

/* Ruled lists */
.vb-ruled li { padding: 10px 0; border-top: 1px solid var(--vb-rule-c); font-size: 1rem; line-height: 1.45; }
.vb-ruled li:last-child { border-bottom: 1px solid var(--vb-rule-c); }
.vb-ruled--serif li { padding: 14px 0; font-family: var(--vb-serif); font-size: 1.25rem; line-height: 1.35; }
.vb-ruled__note { font-family: var(--vb-sans); font-size: .875rem; font-weight: 700; color: var(--vb-teal); }

/* Areas of study */
.vb-key { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-size: .875rem; }
.vb-key__item { display: inline-flex; align-items: center; gap: 8px; }
.vb-subhead { margin-bottom: 14px; font-family: var(--vb-serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.vb-majors li { padding: 3px 0; font-size: 1rem; line-height: 1.5; break-inside: avoid; }
.vb-majors--columns { column-width: 250px; column-gap: 40px; }
.vb-tag {
  display: inline-block; margin-left: 4px; padding: 0 6px; border: 1px solid currentColor;
  font-size: .75rem; font-weight: 700; line-height: 1.45; vertical-align: 1px; white-space: nowrap;
}
.vb-tag--minor { color: var(--vb-gray-dark); border-color: var(--vb-gray); }
.vb-tag--interdisc { color: var(--vb-teal); }

/* Q&A */
.vb-qa { display: flex; flex-direction: column; gap: 32px; }
.vb-qa__q { font-family: var(--vb-serif); font-weight: 600; font-size: 1.5rem; line-height: 1.3; }
.vb-qa p { margin-top: 12px; }
.vb-qa p + p { margin-top: 14px; }

.vb-portrait { display: flex; flex-direction: column; gap: 16px; }
.vb-portrait figcaption { display: flex; flex-direction: column; gap: 4px; }
.vb-portrait__name { font-family: var(--vb-hand); font-style: italic; font-size: 2.125rem; line-height: 1.1; color: var(--vb-accent); }

/* Tables */
.vb-table-wrap { overflow-x: auto; }
.vb-table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.4; }
.vb-table caption { padding-bottom: 12px; text-align: left; }
.vb-table th, .vb-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--vb-rule-c); text-align: left; vertical-align: top; }
.vb-table thead th { border-bottom: 2px solid currentColor; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.vb-table--split th:last-child, .vb-table--split td:last-child { padding: 10px 0 10px 12px; text-align: right; }
.vb-table--split td:last-child { color: var(--vb-gray-dark); }
.vb-table--aid { font-size: 1rem; line-height: 1.45; }
.vb-table--aid thead th { border-bottom-color: var(--vb-gold); }
.vb-table--aid th[scope="row"] { font-weight: 700; white-space: nowrap; }
.vb-table--aid tbody th, .vb-table--aid tbody td { padding-block: 14px; }
.vb-table--aid tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 479px) { .vb-table--aid th[scope="row"] { white-space: normal; } } /* no sideways scroll at 320 px */

/* People (recent outcomes) */
.vb-person { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.vb-person img { width: 132px; height: 132px; margin-bottom: 6px; border-radius: 50%; border: 4px solid var(--vb-teal); object-fit: cover; }
.vb-person__name { font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.vb-person__role { font-size: .875rem; line-height: 1.4; color: var(--vb-gray-dark); }

/* Name clouds (employers, schools, destinations) */
.vb-names { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-family: var(--vb-serif); font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.35; }
.vb-names--accent { color: var(--vb-teal); }
.vb-names--sm { font-size: 1.375rem; }

/* Typical day */
.vb-day { display: flex; flex-direction: column; background: var(--vb-white); }
.vb-day__body { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); }
.vb-schedule { margin-top: 4px; border-top: 2px solid var(--vb-ink); }
.vb-schedule li { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--vb-rule); }
.vb-schedule time { flex: 0 0 64px; font-size: .875rem; font-weight: 700; line-height: 1.6; }
.vb-schedule__item { font-family: var(--vb-hand); font-style: italic; font-size: 1.125rem; line-height: 1.35; }

/* Polaroid wall */
.vb-polaroids { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 36px 28px; }
.vb-polaroid { background: var(--vb-white); padding: 10px 10px 4px; box-shadow: 0 6px 16px rgba(17, 28, 36, .28); transform: rotate(var(--vb-tilt, 0deg)); }
.vb-polaroids > li:nth-child(4n+1) .vb-polaroid { --vb-tilt: -2deg; }
.vb-polaroids > li:nth-child(4n+2) .vb-polaroid { --vb-tilt: 1.5deg; }
.vb-polaroids > li:nth-child(4n+3) .vb-polaroid { --vb-tilt: -1deg; }
.vb-polaroids > li:nth-child(4n+4) .vb-polaroid { --vb-tilt: 2deg; }
.vb-polaroid figcaption { padding: 10px 4px 8px; font-family: var(--vb-hand); font-style: italic; font-size: 1.25rem; line-height: 1.2; text-align: center; color: var(--vb-ink); }


/* 9  CAMPUS MAP ------------------------------------------------------------ */
/* The photo scrolls sideways on screens narrower than 900px; pins use --x/--y */
.vb-map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vb-map { position: relative; min-width: 900px; }
.vb-map > img { width: 100%; height: auto; }
.vb-pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--vb-teal); border: 2px solid var(--vb-white); color: var(--vb-white);
  font-size: .875rem; font-weight: 800;
}
.vb-pin--gold { background: var(--vb-gold); border-color: var(--vb-ink); color: var(--vb-ink); }
.vb-map-hint { display: none; margin: 0 var(--vb-gutter) 12px; font-size: .875rem; font-weight: 600; color: var(--vb-gray-dark); }

.vb-map-key { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 28px 32px; }
.vb-map-key > li { display: flex; gap: 14px; align-items: flex-start; }
.vb-map-key__num {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--vb-teal); color: var(--vb-white); font-size: .8125rem; font-weight: 800;
}
.vb-map-key__num--gold { background: var(--vb-gold); border: 1px solid var(--vb-ink); color: var(--vb-ink); }
.vb-map-key__name { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.vb-map-key__detail { margin-top: 4px; font-size: .875rem; line-height: 1.5; color: var(--vb-gray-dark); }
.vb-map-key__note { margin-top: 4px; font-family: var(--vb-hand); font-style: italic; font-size: 1.1875rem; line-height: 1.25; color: var(--vb-teal); }


/* 10  FOOTER --------------------------------------------------------------- */
.vb-footer__inner { padding-block: 56px 40px; }
.vb-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 64px; }
.vb-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.vb-footer__brand img { width: 200px; }
.vb-footer__address { font-size: .9375rem; line-height: 1.6; color: var(--vb-soft); }
.vb-footer__address a { display: inline-block; padding-block: 4px; }
.vb-footer__address a[href^="tel:"] { white-space: nowrap; }
.vb-footer__nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.vb-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 700; text-decoration-color: var(--vb-gold); }
.vb-footer__policies { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--vb-rule-c); display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: .8125rem; line-height: 1.5; }
.vb-footer__policies a { display: inline-flex; align-items: center; min-height: 32px; color: var(--vb-soft); text-decoration-color: var(--vb-gold); }
.vb-footer__sep { color: var(--vb-label); }
.vb-footer__legal { margin-top: 16px; padding-top: 0; border-top: 0; font-size: .75rem; line-height: 1.6; color: var(--vb-label); }


/* 11  BREAKPOINTS ---------------------------------------------------------- */
/* Fade on the right edge tells phone users the section nav scrolls */
@media (max-width: 960px) {
  .vb-nav::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 44px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff); pointer-events: none;
  }
  .vb-nav__list { padding-right: 44px; }
}

@media (max-width: 899px) {
  .vb-glance__list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vb-map-hint { display: block; }
}

/* Phones: shorter photo panels so the name and story show sooner */
@media (max-width: 760px) {
  .vb-split__media, .vb-split__media--short { min-height: 320px; aspect-ratio: 1 / 1; }
  .vb-hero__media { min-height: 280px; aspect-ratio: 4 / 3; }
  .vb-hero__body::before { top: 10px; right: 10px; bottom: 10px; left: 10px; }
  .vb-person img { width: 112px; height: 112px; }
  .vb-polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .vb-polaroid figcaption { font-size: 1.0625rem; }
  .vb-qa__q { font-size: 1.3125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vb-btn { transition: none; }
}


/* 12  PRINT ---------------------------------------------------------------- */
@media print {
  .vb-skip, .vb-header__actions, .vb-nav, .vb-jump, .vb-map-hint, .vb-footer__brand img { display: none !important; }
  .vb-theme-ink, .vb-theme-teal {
    background: none !important; color: var(--vb-ink) !important;
    --vb-heading: var(--vb-teal); --vb-em: inherit; --vb-eyebrow: var(--vb-ink);
    --vb-label: var(--vb-gray-dark); --vb-soft: var(--vb-ink); --vb-accent: var(--vb-teal);
    --vb-link: var(--vb-teal); --vb-rule-c: var(--vb-rule);
  }
  .vb-btn { background: none !important; border: 1px solid var(--vb-ink) !important; color: var(--vb-ink) !important; }
  .vb-split, .vb-qcard, .vb-card, .vb-day, .vb-polaroid, .vb-stat { break-inside: avoid; }
  .vb-polaroid { box-shadow: none; border: 1px solid var(--vb-rule); }
  .vb a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; font-weight: 400; }
}

/* v2: three header buttons (Request Info, Visit, Apply) on one row down to 320 px */
@media (max-width: 359px) {
  .vb-header__actions { gap: 8px; }
  .vb-header__actions .vb-btn--sm { padding: 0 12px; }
}
