:root {
  color-scheme: light;
  --ink: #15171b;
  --soft-ink: #343a42;
  --muted: #626b76;
  --page: #f5f2eb;
  --paper: #ffffff;
  --paper-warm: #fbf7ee;
  --line: #d8d1c3;
  --red: #b51f29;
  --red-dark: #76171f;
  --sand: #d7b46a;
  --clay: #9a5635;
  --blue: #285f8f;
  --green: #1f765d;
  --shadow: 0 18px 42px rgba(21, 23, 27, 0.12);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 23, 27, 0.035) 1px, transparent 1px) 0 0 / 6rem 6rem,
    var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

a {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(21, 23, 27, 0.06);
}

.notice-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  align-items: center;
  padding: 0.42rem clamp(1rem, 4vw, 2.5rem);
  color: #fff;
  background: #282d33;
  font-size: 0.82rem;
  font-weight: 800;
}

.boundary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  padding: 0.08rem 0.58rem;
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(17rem, 23rem) minmax(0, 1fr) minmax(18rem, 30rem);
  gap: 1rem;
  align-items: center;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
}

.brand-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 950;
}

.brand-link strong,
.brand-link small {
  display: block;
}

.brand-link small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.primary-nav {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: thin;
}

.primary-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 0.68rem;
  color: var(--soft-ink);
  border-bottom: 3px solid transparent;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--red);
  border-color: var(--red);
}

.global-search {
  display: grid;
  gap: 0.28rem;
}

.global-search label,
.filters label {
  display: grid;
  gap: 0.4rem;
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

input,
select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  color: var(--ink);
  background: #fff;
}

.search-box input {
  border: 0;
  border-radius: 0;
}

button {
  border: 0;
  border-radius: 8px;
  padding: 0.76rem 1rem;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  cursor: pointer;
}

button:hover {
  background: var(--red-dark);
}

button.secondary {
  color: var(--ink);
  background: var(--sand);
}

button.secondary:hover {
  background: #cda14d;
}

h1,
h2,
h3,
h4,
p,
dl,
ol {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(3.8rem, 9vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.97;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  line-height: 1.15;
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.55rem;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: min(790px, calc(100vh - 5.5rem));
  overflow: hidden;
  background: #16191d;
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 20, 0.9) 0%, rgba(14, 16, 20, 0.62) 38%, rgba(14, 16, 20, 0.18) 72%),
    linear-gradient(0deg, rgba(14, 16, 20, 0.84) 0%, rgba(14, 16, 20, 0) 38%),
    url("https://www.rrcc.edu/sites/default/files/styles/max_width_1560/public/2024-11/homepage-hero-cover-launch-111524.jpg?itok=1yjEhH75") center/cover;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 9rem;
}

.hero-lede {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.65rem;
}

.hero-actions button {
  min-height: 3.3rem;
}

.hero-tray {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 2rem));
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.94);
}

.hero-tray div {
  min-height: 6rem;
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.hero-tray div:last-child {
  border-right: 0;
}

.tray-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-tray strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.pathway-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.25rem auto 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.pathway-band article {
  min-height: 14rem;
  padding: 1.3rem;
  background: var(--paper);
}

.pathway-band span {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--clay);
  font-weight: 950;
}

.pathway-band h2 {
  margin-bottom: 0.55rem;
  font-size: 1.55rem;
}

.pathway-band p,
.section-heading p,
.filter-note,
.service-list p,
.calendar-grid p,
.ops-layout p,
.migration-board p,
.metrics-grid p,
.site-footer p {
  color: var(--muted);
}

.content-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.25rem auto 0;
  padding: clamp(2rem, 5vw, 4.8rem);
  background: var(--paper);
  border: 1px solid var(--line);
}

.content-section:nth-of-type(2n) {
  background: var(--paper-warm);
}

.section-kicker {
  color: var(--red);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.program-stage {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(20rem, 1fr) minmax(18rem, 27rem);
  gap: 1rem;
  align-items: start;
}

.filters,
.program-detail,
.priority-service,
.calendar-proof,
.ops-scoreboard,
.role-grid article,
.migration-board article,
.metrics-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.filters {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.filter-note {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.program-results {
  min-width: 0;
}

.result-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.result-toolbar strong {
  color: var(--ink);
}

.program-list {
  display: grid;
  gap: 0.7rem;
}

.program-card {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
  min-height: 7.2rem;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: none;
}

.program-card:hover,
.program-card.is-selected {
  border-color: var(--red);
  background: #fff8f3;
}

.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card div {
  padding: 0.85rem 0.85rem 0.85rem 0;
}

.program-card small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.program-detail {
  position: sticky;
  top: 8rem;
  overflow: hidden;
}

.program-detail img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.detail-body {
  padding: 1.15rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.detail-grid div {
  padding: 0.75rem;
  background: #f7f4ed;
  border-left: 4px solid var(--sand);
}

.detail-grid strong {
  display: block;
  color: var(--red);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.detail-grid p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 850;
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--red);
}

.journey li {
  position: relative;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.journey li:last-child {
  border-right: 0;
}

.journey span,
.tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.52rem;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag.green {
  background: var(--green);
}

.tag.blue {
  background: var(--blue);
}

.tag.red {
  background: var(--red);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 31rem) minmax(0, 1fr);
  gap: 1rem;
}

.priority-service {
  min-height: 25rem;
  padding: 1.3rem;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(21, 23, 27, 0.82), rgba(21, 23, 27, 0.16)),
    url("https://www.rrcc.edu/sites/default/files/styles/max_width_780/public/2024-12/Student-accent-122624.jpg?itok=zk_ZppSY") center/cover;
}

.priority-service p,
.priority-service a {
  color: #fff;
}

.priority-service h3 {
  margin-top: 8rem;
  font-size: 2.2rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  padding: 1.05rem;
  background: #fff;
}

.calendar-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 1fr) minmax(18rem, 0.85fr);
  gap: 1rem;
}

.alerts,
.events {
  display: grid;
  gap: 0.8rem;
}

.feed-item,
.result-card {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calendar-proof {
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url("https://www.rrcc.edu/sites/default/files/styles/max_width_780/public/2025-07/academic-programs-Hero-070225.jpg?itok=w35ubj1I") center/cover;
}

.results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.library-table {
  display: grid;
  border: 1px solid var(--line);
  background: #fff;
}

.library-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(14rem, 2fr) minmax(8rem, 1fr) minmax(8rem, 1fr) minmax(8rem, 1fr);
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.library-table [role="row"]:last-child {
  border-bottom: 0;
}

.library-table .table-head {
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.ops-layout {
  display: grid;
  gap: 1rem;
}

.ops-scoreboard {
  padding: 1.2rem;
}

.ops-scoreboard dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.ops-scoreboard div {
  padding: 1rem;
  background: #fff;
}

dt {
  min-height: 2.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

dd {
  margin: 0;
  color: var(--red);
  font-size: 2rem;
  font-weight: 950;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.workflow span {
  padding: 0.9rem;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.role-grid,
.migration-board,
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.role-grid article,
.migration-board article,
.metrics-grid article {
  padding: 1.05rem;
}

meter {
  width: 100%;
  height: 0.8rem;
  margin: 0.6rem 0 0.8rem;
}

.metric {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--red);
  font-size: 2.45rem;
  line-height: 1;
  font-weight: 950;
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.25rem auto 2rem;
  padding: 1.1rem 1.3rem;
  color: #fff;
  background: #282d33;
  border-radius: 8px;
}

.site-footer p {
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    justify-content: start;
  }

  .program-stage,
  .service-layout,
  .calendar-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .program-detail {
    position: static;
  }

  .journey,
  .role-grid,
  .migration-board,
  .metrics-grid,
  .results,
  .ops-scoreboard dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .notice-bar {
    font-size: 0.78rem;
  }

  .primary-nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .hero-section {
    min-height: 760px;
  }

  .hero-background {
    background:
      linear-gradient(180deg, rgba(14, 16, 20, 0.72) 0%, rgba(14, 16, 20, 0.84) 72%),
      url("https://www.rrcc.edu/sites/default/files/styles/max_width_780/public/2024-11/homepage-hero-cover-launch-111524.jpg?itok=C1UHhTG4") center/cover;
  }

  h1 {
    font-size: 4rem;
  }

  .hero-content {
    padding: 3rem 0 19rem;
  }

  .hero-tray,
  .pathway-band,
  .journey,
  .service-list,
  .role-grid,
  .migration-board,
  .metrics-grid,
  .results,
  .ops-scoreboard dl {
    grid-template-columns: 1fr;
  }

  .hero-tray div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-tray div:last-child {
    border-bottom: 0;
  }

  .content-section {
    padding: 1.2rem;
  }

  .program-card {
    grid-template-columns: 4.4rem minmax(0, 1fr);
  }

  .library-table {
    overflow-x: auto;
  }

  .library-table [role="row"] {
    min-width: 680px;
  }

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