:root {
  --bg: #f4f1e8;
  --paper: #fffdf7;
  --paper-2: #ebe6da;
  --ink: #14231f;
  --muted: #5f6964;
  --line: #d5d0c4;
  --accent: #e66d4d;
  --accent-dark: #a63f28;
  --green: #173f39;
  --green-2: #255e54;
  --yellow: #f1c95b;
  --blue: #c9dce6;
  --shadow: 0 18px 60px rgba(20, 35, 31, .10);
  --radius: 22px;
  --radius-sm: 13px;
  --max: 1440px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Charter, "Bitstream Charter", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 76px;
  padding: 12px clamp(18px, 3vw, 48px);
  border-bottom: 1px solid rgba(20, 35, 31, .12);
  background: rgba(244, 241, 232, .93);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 1px; }
.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 13px;
  border-radius: 10px;
}
.primary-nav a:hover, .primary-nav a.active { background: var(--paper-2); color: var(--ink); }
.saved-header-button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}
.saved-header-button > span:first-child { font-size: 18px; line-height: 1; }
.saved-header-button strong {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
}
.mobile-menu-button { display: none; border: 0; background: none; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.mobile-menu-button span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }
.mobile-nav {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  top: 76px;
  padding: 14px 18px 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mobile-nav a, .mobile-nav button {
  width: 100%;
  display: block;
  text-align: left;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-decoration: none;
  font-weight: 750;
}

.route { min-height: 70vh; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.button {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-2); }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-secondary:hover { background: var(--paper); }
.button-quiet { background: transparent; border-color: var(--line); color: var(--muted); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 850;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.text-link:hover span { transform: translateX(3px); }
.text-link span { transition: transform .18s ease; }

/* Home */
.hero-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 120px) clamp(20px, 5vw, 72px) clamp(70px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
}
.hero-copy h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7.3vw, 106px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 700;
}
.hero-copy h1 span { color: var(--accent); }
.hero-deck {
  max-width: 770px;
  margin: 30px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
  color: #33433d;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.source-note { max-width: 700px; margin: 19px 0 0; color: var(--muted); font-size: 12px; }
.hero-object {
  background: var(--green);
  color: white;
  border-radius: 34px;
  padding: clamp(26px, 4vw, 48px);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-object::before {
  content: "";
  width: 230px;
  height: 230px;
  position: absolute;
  right: -75px;
  top: 62px;
  border: 42px solid rgba(241,201,91,.9);
  border-radius: 50%;
}
.hero-object::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 42px;
  width: 88px;
  height: 88px;
  background: var(--accent);
  border-radius: 22px;
  transform: rotate(15deg);
}
.hero-object-top { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; letter-spacing: .11em; font-weight: 800; opacity: .8; }
.hero-object-number { position: relative; z-index: 1; margin-top: 105px; font-family: var(--serif); font-size: clamp(92px, 10vw, 150px); line-height: .7; letter-spacing: -.07em; }
.hero-object > p { position: relative; z-index: 1; font-size: 20px; max-width: 220px; line-height: 1.2; }
.hero-object dl { position: relative; z-index: 1; margin: 55px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hero-object dl div:last-child { grid-column: span 2; }
.hero-object dt { font-family: var(--serif); font-size: 30px; font-weight: 700; }
.hero-object dd { margin: 0; opacity: .75; font-size: 12px; }
.hero-object small { position: absolute; left: 48px; bottom: 25px; max-width: 260px; font-size: 10px; opacity: .64; z-index: 2; }

.pathways-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) clamp(90px, 10vw, 150px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pathway {
  position: relative;
  min-height: 520px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}
.pathway-explore { background: var(--paper); }
.pathway-guide { background: var(--blue); }
.pathway-number {
  position: absolute;
  top: 25px;
  right: 29px;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
  color: rgba(20, 35, 31, .11);
}
.pathway h2 { max-width: 570px; margin: 0; font-family: var(--serif); font-size: clamp(33px, 3.3vw, 52px); line-height: 1.03; letter-spacing: -.035em; }
.pathway > p:not(.eyebrow) { max-width: 600px; font-size: 17px; color: #43514c; }
.pathway ul { margin: 32px 0 45px; padding: 0; list-style: none; }
.pathway li { padding: 11px 0 11px 26px; position: relative; border-bottom: 1px solid rgba(20,35,31,.12); font-size: 14px; }
.pathway li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; }
.pathway .text-link { position: absolute; left: clamp(28px, 4vw, 52px); bottom: 40px; }
.promise-section {
  background: var(--green);
  color: white;
  padding: clamp(65px, 8vw, 120px) max(clamp(20px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 72px));
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(40px, 8vw, 110px);
}
.promise-section .eyebrow { color: #f4b5a4; }
.promise-section h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.18); }
.promise-grid article { background: var(--green); padding: 27px; }
.promise-grid strong { font-size: 16px; }
.promise-grid p { color: rgba(255,255,255,.72); font-size: 14px; margin-bottom: 0; }

/* Shared internal pages */
.page-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 104px) clamp(20px, 5vw, 72px) clamp(38px, 5vw, 70px);
}
.page-intro h1 { max-width: 1050px; margin: 0; font-family: var(--serif); font-size: clamp(47px, 7vw, 92px); line-height: .96; letter-spacing: -.05em; }
.page-intro > p:last-child { max-width: 830px; margin: 24px 0 0; color: #42514c; font-size: 18px; }

/* Explore */
.explore-toolbar-shell {
  position: sticky;
  top: 76px;
  z-index: 40;
  padding: 15px max(clamp(20px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 72px));
  background: rgba(244,241,232,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: end;
  gap: 12px;
}
.search-field { flex: 1; }
.search-field > label { display: block; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; color: var(--muted); }
.search-input-wrap { position: relative; }
.search-input-wrap svg { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-input-wrap input {
  width: 100%;
  height: 54px;
  padding: 0 50px 0 47px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 13px;
  outline: 0;
  font-size: 16px;
}
.search-input-wrap input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,63,57,.10); }
.search-input-wrap button { position: absolute; right: 9px; top: 8px; width: 38px; height: 38px; border: 0; background: var(--paper-2); border-radius: 9px; cursor: pointer; font-size: 22px; }
.filter-mobile-button { display: none; height: 54px; border: 1px solid var(--line); background: var(--paper); border-radius: 13px; padding: 0 15px; font-weight: 800; cursor: pointer; }
.filter-mobile-button strong { min-width: 21px; height: 21px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--green); color: white; font-size: 10px; }
.catalog-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px clamp(20px, 5vw, 72px) 100px;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 36px;
}
.filters-panel { align-self: start; position: sticky; top: 172px; max-height: calc(100vh - 190px); overflow: auto; padding: 0 14px 30px 0; scrollbar-width: thin; }
.filters-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filters-panel-head h2 { margin: 0; font-family: var(--serif); font-size: 28px; }
.filters-panel-head button { border: 0; background: none; color: var(--accent-dark); font-size: 12px; font-weight: 800; cursor: pointer; }
.filters-close { display: none; }
.filter-group { padding: 0 0 17px; }
.filter-group label { display: block; font-size: 12px; font-weight: 800; margin: 0 0 7px; }
.filter-group select, .sort-control select, .constraint-grid select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 0 36px 0 11px;
  outline: 0;
}
.filter-group select:focus, .sort-control select:focus, .constraint-grid select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,63,57,.09); }
.check-filter { display: flex; align-items: center; gap: 9px; padding: 8px 0 20px; font-size: 13px; font-weight: 750; cursor: pointer; }
.check-filter input { width: 18px; height: 18px; accent-color: var(--green); }
.filter-explainer { border-top: 1px solid var(--line); padding-top: 18px; }
.filter-explainer strong { font-size: 12px; }
.filter-explainer p { font-size: 12px; color: var(--muted); margin: 6px 0; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.results-head > div strong, .results-head > div span { display: block; }
.results-head > div strong { font-family: var(--serif); font-size: 27px; }
.results-head > div span { color: var(--muted); font-size: 12px; }
.sort-control { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); font-weight: 750; }
.sort-control select { width: 180px; min-height: 40px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.filter-chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 9px 6px 11px; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 750; }
.filter-chip button { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--paper-2); cursor: pointer; line-height: 1; padding: 0; }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.program-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 345px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.program-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(20,35,31,.08); border-color: #b5afa2; }
.card-topline { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.cluster-tag { display: inline-block; max-width: calc(100% - 44px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 999px; background: var(--paper-2); padding: 5px 9px; font-size: 10px; font-weight: 850; color: #47534e; }
.save-button { border: 0; background: none; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 23px; line-height: 1; display: grid; place-items: center; color: var(--green); }
.save-button:hover { background: var(--paper-2); }
.save-button.saved { color: var(--accent-dark); }
.program-card h2 { font-family: var(--serif); font-size: clamp(23px, 2.1vw, 30px); line-height: 1.04; letter-spacing: -.025em; margin: 18px 0 12px; overflow-wrap: anywhere; }
.program-card .institution-line { font-size: 13px; font-weight: 800; margin: 0; }
.program-card .faculty-line { font-size: 11px; color: var(--muted); margin: 5px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.meta-pill { border: 1px solid var(--line); border-radius: 8px; padding: 5px 7px; font-size: 10px; color: #46534e; background: #fff; }
.meta-pill.status-provisional { border-color: #d29b3f; background: #fff6d6; color: #6b4c14; }
.capacity-line { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; }
.card-actions button { min-height: 40px; border-radius: 10px; cursor: pointer; font-size: 12px; font-weight: 800; }
.detail-button { border: 0; background: var(--green); color: white; }
.compare-button { border: 1px solid var(--line); background: transparent; padding: 0 12px; }
.compare-button.selected { background: var(--paper-2); border-color: var(--green); }
.load-more { display: block; width: min(420px, 100%); margin: 28px auto 0; min-height: 48px; background: transparent; border: 1px solid var(--ink); border-radius: 12px; font-weight: 850; cursor: pointer; }
.empty-state { border: 1px dashed #a9a397; border-radius: 18px; padding: 60px 20px; text-align: center; background: rgba(255,255,255,.35); }
.empty-state > span { font-family: var(--serif); font-size: 70px; color: var(--accent); }
.empty-state h2 { font-family: var(--serif); font-size: 32px; margin: 8px 0; }
.empty-state p { color: var(--muted); }

/* Guide */
.guide-shell { max-width: 1220px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px) 110px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 45px; align-items: start; }
.guide-aside { position: sticky; top: 105px; background: var(--green); color: white; border-radius: 22px; padding: 24px; }
.guide-progress-label { display: flex; align-items: end; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.guide-progress-label strong { font-size: 12px; }
.guide-progress { height: 5px; background: rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; margin: 13px 0 25px; }
.guide-progress span { display: block; height: 100%; background: var(--yellow); transition: width .3s ease; }
.guide-step-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.guide-step-list li { position: relative; padding: 12px 0 12px 29px; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 13px; opacity: .48; }
.guide-step-list li::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 9px; }
.guide-step-list li.active { opacity: 1; font-weight: 800; }
.guide-step-list li.done { opacity: .72; }
.guide-aside-note { margin-top: 30px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.17); }
.guide-aside-note strong { font-size: 12px; }
.guide-aside-note p { font-size: 11px; color: rgba(255,255,255,.67); margin-bottom: 0; }
.guide-form { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(25px, 4vw, 52px); min-height: 680px; display: flex; flex-direction: column; }
.guide-step { flex: 1; }
.step-kicker { margin: 0 0 8px; color: var(--accent-dark); text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.guide-step h2 { margin: 0; max-width: 800px; font-family: var(--serif); font-size: clamp(34px, 4.2vw, 57px); line-height: 1.02; letter-spacing: -.035em; }
.step-description { max-width: 760px; color: var(--muted); font-size: 15px; margin: 17px 0 29px; }
.interest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.interest-grid label { position: relative; min-height: 118px; border: 1px solid var(--line); border-radius: 13px; padding: 14px; cursor: pointer; background: #fff; transition: border .16s ease, background .16s ease, transform .16s ease; }
.interest-grid label:hover { transform: translateY(-1px); border-color: #9b958a; }
.interest-grid input { position: absolute; opacity: 0; }
.interest-grid label:has(input:checked) { border-color: var(--green); background: #e3eee9; box-shadow: inset 0 0 0 1px var(--green); }
.interest-grid label > span { display: block; font-family: var(--serif); font-size: 24px; height: 33px; }
.interest-grid strong, .interest-grid small { display: block; }
.interest-grid strong { font-size: 13px; }
.interest-grid small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.form-error { color: #9d2f1e; background: #ffe9e2; border-radius: 9px; padding: 9px 11px; font-size: 12px; font-weight: 750; }
.tolerance-list { border-top: 1px solid var(--line); }
.range-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(180px, 1.1fr) 120px; gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.range-row strong, .range-row small { display: block; }
.range-row strong { font-size: 13px; }
.range-row small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.range-row input { width: 100%; accent-color: var(--green); }
.range-row output { font-size: 11px; font-weight: 800; color: var(--green); text-align: right; }
.choice-block { border: 0; padding: 0; margin: 0 0 30px; }
.choice-block legend { font-size: 13px; font-weight: 850; margin-bottom: 10px; }
.segmented-choice { display: grid; gap: 9px; }
.segmented-choice.three { grid-template-columns: repeat(3, 1fr); }
.segmented-choice label { position: relative; }
.segmented-choice input { position: absolute; opacity: 0; }
.segmented-choice span { display: block; min-height: 100px; border: 1px solid var(--line); border-radius: 13px; padding: 15px; background: white; cursor: pointer; }
.segmented-choice strong, .segmented-choice small { display: block; }
.segmented-choice strong { font-size: 13px; }
.segmented-choice small { font-size: 10px; color: var(--muted); margin-top: 7px; }
.segmented-choice label:has(input:checked) span { border-color: var(--green); background: #e3eee9; box-shadow: inset 0 0 0 1px var(--green); }
.universal-note { margin-top: 32px; border-left: 4px solid var(--accent); padding: 8px 0 8px 17px; max-width: 760px; }
.universal-note strong { font-size: 13px; }
.universal-note p { color: var(--muted); font-size: 12px; margin: 5px 0 0; }
.constraint-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.constraint-grid label { font-size: 12px; font-weight: 800; }
.constraint-grid select { display: block; margin-top: 7px; min-height: 49px; font-weight: 500; }
.privacy-note { display: flex; gap: 12px; align-items: center; padding: 15px; background: #e3eee9; border-radius: 12px; margin-top: 28px; }
.privacy-note > span { width: 34px; height: 34px; border: 2px solid var(--green); border-radius: 50%; display: grid; place-items: center; }
.privacy-note p { margin: 0; font-size: 11px; color: #40504a; }
.privacy-note strong { display: block; color: var(--ink); }
.guide-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); }
.guide-results { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px) 120px; }
.guide-results-head { border-top: 1px solid var(--line); padding-top: 65px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.guide-results-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.04em; }
.guide-results-head > div > p:last-child { max-width: 760px; color: var(--muted); }
.guide-result-section { margin-top: 70px; }
.result-section-heading { display: grid; grid-template-columns: 64px 1fr; gap: 15px; max-width: 850px; margin-bottom: 24px; }
.result-section-heading > span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: white; font-family: var(--serif); }
.result-section-heading h3 { font-family: var(--serif); font-size: 34px; margin: 0; }
.result-section-heading p { color: var(--muted); margin: 4px 0 0; font-size: 13px; }
.guided-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guided-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 21px; min-height: 430px; display: flex; flex-direction: column; }
.guided-score { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.guided-score span:first-child { font-size: 10px; font-weight: 850; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .08em; }
.score-meter { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.score-meter i { display: block; width: 54px; height: 5px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.score-meter i::before { content: ""; display: block; height: 100%; width: var(--score); background: var(--green); }
.guided-card h4 { font-family: var(--serif); font-size: 27px; line-height: 1.03; margin: 20px 0 8px; letter-spacing: -.025em; }
.guided-card .guided-cluster { font-size: 11px; color: var(--muted); margin: 0; }
.guided-card .guided-summary { font-size: 12px; color: #43514c; margin: 16px 0; }
.reason-list, .caution-list { margin: 0; padding: 0; list-style: none; }
.reason-list li, .caution-list li { position: relative; padding: 5px 0 5px 20px; font-size: 11px; }
.reason-list li::before { content: "+"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.caution-list { margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line); }
.caution-list li::before { content: "!"; position: absolute; left: 2px; color: var(--accent-dark); font-weight: 900; }
.guided-offerings { margin-top: auto; padding-top: 18px; font-size: 10px; color: var(--muted); }
.guided-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.guided-card-actions button { min-height: 39px; border-radius: 9px; font-size: 11px; font-weight: 850; cursor: pointer; }
.guided-explore { border: 0; background: var(--green); color: white; }
.guided-save { width: 42px; border: 1px solid var(--line); background: transparent; font-size: 19px !important; }
.no-guided-results { padding: 50px; background: var(--paper); border: 1px dashed var(--line); border-radius: 18px; text-align: center; }

/* Methodology */
.method-layout { max-width: 1220px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px) 120px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 75px; }
.method-toc { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.method-toc a { text-decoration: none; padding: 9px 0 9px 16px; color: var(--muted); font-size: 12px; }
.method-toc a:hover { color: var(--ink); border-left: 2px solid var(--accent); margin-left: -1px; }
.method-content section { position: relative; padding: 0 0 75px; margin: 0 0 75px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.method-content section:last-child { border-bottom: 0; }
.method-number { position: absolute; right: 0; top: -10px; font-family: var(--serif); font-size: 75px; color: rgba(20,35,31,.09); }
.method-content h2 { margin: 0 0 19px; font-family: var(--serif); font-size: clamp(35px, 4vw, 52px); letter-spacing: -.035em; }
.method-content > section > p { max-width: 760px; color: #42514c; font-size: 16px; }
.method-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.method-facts div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.method-facts strong, .method-facts span { display: block; }
.method-facts strong { font-family: var(--serif); font-size: 38px; }
.method-facts span { color: var(--muted); font-size: 10px; }
.definition-list { margin-top: 28px; border-top: 1px solid var(--line); }
.definition-list > div { display: grid; grid-template-columns: 210px 1fr; gap: 30px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.definition-list strong { font-size: 13px; }
.definition-list p { margin: 0; color: var(--muted); font-size: 13px; }
.warning-box { margin-top: 28px; background: #fff1ca; border-radius: 14px; padding: 22px; max-width: 780px; }
.warning-box strong { font-size: 13px; }
.warning-box p { margin-bottom: 0; font-size: 12px; color: #5d5133; }
.method-list { padding: 0; list-style: none; max-width: 800px; }
.method-list li { border-top: 1px solid var(--line); padding: 17px 0; font-size: 14px; color: #43514c; }
.method-list strong { color: var(--ink); }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 27px; }
.download-grid a { text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; transition: transform .18s ease, border .18s ease; }
.download-grid a:hover { transform: translateY(-2px); border-color: var(--green); }
.download-grid strong, .download-grid span { display: block; }
.download-grid strong { font-size: 13px; }
.download-grid span { margin-top: 5px; font-size: 10px; color: var(--muted); }

/* Dialogs and persistent bars */
.compare-bar {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(880px, calc(100vw - 28px));
  background: var(--green);
  color: white;
  border-radius: 17px;
  padding: 11px 13px 11px 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  gap: 15px;
}
.compare-bar > div:first-child strong, .compare-bar > div:first-child span { display: block; white-space: nowrap; }
.compare-bar > div:first-child strong { font-size: 12px; }
.compare-bar > div:first-child span { color: rgba(255,255,255,.65); font-size: 9px; }
.compare-mini { flex: 1; min-width: 0; display: flex; gap: 6px; overflow: hidden; }
.compare-mini span { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 5px 7px; font-size: 9px; }
.compare-bar .button-primary { background: var(--yellow); color: var(--ink); min-height: 39px; }
.compare-clear { border: 0; background: none; color: rgba(255,255,255,.75); font-size: 10px; cursor: pointer; }
.modal {
  width: min(960px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: auto;
}
.modal::backdrop { background: rgba(9,20,17,.68); backdrop-filter: blur(5px); }
.modal-close { position: sticky; z-index: 4; float: right; top: 16px; right: 16px; margin: 16px 16px 0 0; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; font-size: 24px; }
.modal-heading { padding: 45px clamp(22px, 4vw, 48px) 25px; }
.modal-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(35px, 5vw, 54px); line-height: 1; }
.modal-heading > p:last-child { color: var(--muted); font-size: 12px; }
#detail-content { padding: 35px clamp(22px, 5vw, 55px) 55px; }
.detail-head .cluster-tag { margin-bottom: 17px; }
.detail-head h2 { font-family: var(--serif); font-size: clamp(38px, 6vw, 62px); line-height: .98; letter-spacing: -.04em; margin: 0; }
.detail-head .detail-institution { font-size: 17px; font-weight: 800; margin: 20px 0 4px; }
.detail-head .detail-faculty { color: var(--muted); font-size: 13px; margin: 0; }
.detail-summary { margin: 28px 0; padding: 22px; border-radius: 14px; background: #e3eee9; }
.detail-summary strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.detail-summary p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.detail-grid > div { padding: 17px 10px 17px 0; border-bottom: 1px solid var(--line); }
.detail-grid dt { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.detail-grid dd { margin: 5px 0 0; font-size: 14px; font-weight: 750; }
.detail-note { margin: 25px 0 0; color: var(--muted); font-size: 11px; }
.detail-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-links a, .detail-links button { min-height: 43px; border-radius: 10px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 12px; font-weight: 850; cursor: pointer; }
.detail-links a:first-child { background: var(--green); color: white; border: 0; }
.detail-links a { border: 1px solid var(--line); background: transparent; }
.detail-links button { border: 1px solid var(--line); background: transparent; }
.compare-table-wrap { padding: 0 clamp(14px, 3vw, 38px) 45px; overflow-x: auto; }
.compare-table { border-collapse: collapse; min-width: 700px; width: 100%; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--line); padding: 13px; text-align: left; vertical-align: top; font-size: 11px; }
.compare-table th:first-child { width: 145px; color: var(--muted); font-weight: 700; }
.compare-table thead th { font-family: var(--serif); font-size: 19px; line-height: 1.05; }
.compare-table a { color: var(--green); font-weight: 800; }
.saved-modal { width: min(820px, calc(100vw - 28px)); }
#saved-content { padding: 0 clamp(20px, 4vw, 44px) 45px; }
.saved-list { display: grid; gap: 9px; }
.saved-row { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.saved-row h3 { margin: 0; font-family: var(--serif); font-size: 21px; }
.saved-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.saved-row-actions { display: flex; gap: 6px; }
.saved-row-actions button { min-height: 36px; border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 0 10px; cursor: pointer; font-size: 10px; font-weight: 800; }
.saved-empty { padding: 45px 10px; text-align: center; color: var(--muted); }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: white; padding: 10px 14px; border-radius: 999px; font-size: 11px; font-weight: 750; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.filter-backdrop { position: fixed; inset: 0; z-index: 109; background: rgba(9,20,17,.55); }

.site-footer {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  padding: 45px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  color: var(--muted);
}
.site-footer strong { color: var(--ink); }
.site-footer p { max-width: 600px; font-size: 12px; }
.site-footer > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 18px; align-items: start; }
.site-footer a { font-size: 12px; font-weight: 750; }
.site-footer small { grid-column: 1 / -1; font-size: 10px; }
.back-to-top.is-enhanced { position: fixed; z-index: 120; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); min-width: 52px; min-height: 52px; display: grid; place-items: center; padding: 10px 13px; border: 1px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; }
.back-to-top.is-enhanced.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.back-to-top.is-enhanced:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1080px) {
  .hero-shell { grid-template-columns: 1fr 360px; gap: 45px; }
  .hero-object { min-height: 470px; }
  .results-grid { grid-template-columns: 1fr; }
  .guided-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-header { min-height: 68px; padding: 10px 18px; }
  .brand small { display: none; }
  .primary-nav, .saved-header-button { display: none; }
  .mobile-menu-button { display: block; margin-left: auto; }
  .mobile-nav { top: 68px; }
  .hero-shell { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-object { transform: none; min-height: 430px; max-width: 520px; }
  .pathways-shell { grid-template-columns: 1fr; }
  .promise-section { grid-template-columns: 1fr; }
  .explore-toolbar-shell { top: 68px; }
  .filter-mobile-button { display: inline-flex; align-items: center; gap: 7px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel {
    position: fixed;
    z-index: 110;
    top: 0;
    right: 0;
    width: min(390px, 92vw);
    height: 100vh;
    max-height: none;
    padding: 25px 22px 50px;
    background: var(--paper);
    transform: translateX(105%);
    transition: transform .25s ease;
    box-shadow: var(--shadow);
  }
  .filters-panel.open { transform: translateX(0); }
  .filters-close { display: inline-block !important; font-size: 24px !important; }
  .guide-shell { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
  .guide-step-list, .guide-aside-note { display: none; }
  .method-layout { grid-template-columns: 1fr; gap: 20px; }
  .method-toc { position: static; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
  .method-toc a { white-space: nowrap; padding: 8px 12px; }
}

@media (max-width: 640px) {
  .brand strong { font-size: 13px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero-copy h1 { font-size: clamp(47px, 15vw, 70px); }
  .hero-deck { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-object { min-height: 420px; padding: 26px; }
  .hero-object-number { margin-top: 90px; }
  .hero-object small { left: 27px; }
  .pathway { min-height: 550px; }
  .promise-grid { grid-template-columns: 1fr; }
  .page-intro h1 { font-size: 49px; }
  .page-intro > p:last-child { font-size: 15px; }
  .explore-toolbar-shell { align-items: stretch; padding-left: 14px; padding-right: 14px; }
  .search-field > label { display: none; }
  .search-input-wrap input { height: 50px; }
  .filter-mobile-button { height: 50px; padding: 0 12px; }
  .catalog-layout { padding: 22px 14px 90px; }
  .results-head { align-items: end; }
  .results-head > div strong { font-size: 22px; }
  .sort-control { display: block; }
  .sort-control select { width: 135px; display: block; margin-top: 3px; }
  .program-card { min-height: 325px; padding: 17px; }
  .program-card h2 { font-size: 27px; }
  .interest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-form { padding: 22px 17px; }
  .guide-step h2 { font-size: 38px; }
  .range-row { grid-template-columns: 1fr; gap: 7px; padding: 15px 0; }
  .range-row output { text-align: left; }
  .segmented-choice.three { grid-template-columns: 1fr; }
  .segmented-choice span { min-height: 75px; }
  .constraint-grid { grid-template-columns: 1fr; }
  .guide-actions .button { flex: 1; padding-left: 9px; padding-right: 9px; }
  .guide-results-head { display: block; }
  .guide-results-head .button { margin-top: 18px; }
  .guided-card-grid { grid-template-columns: 1fr; }
  .result-section-heading { grid-template-columns: 48px 1fr; }
  .result-section-heading > span { width: 42px; height: 42px; }
  .method-facts { grid-template-columns: 1fr; }
  .definition-list > div { grid-template-columns: 1fr; gap: 5px; }
  .download-grid { grid-template-columns: 1fr; }
  .method-number { font-size: 55px; }
  .compare-bar { bottom: 8px; padding: 9px 10px; }
  .compare-mini, .compare-bar > div:first-child span, .compare-clear { display: none; }
  .compare-bar > div:first-child { flex: 1; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div { padding-right: 0; }
  .saved-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
