@charset "utf-8";

/*
 * Department pages only.
 * Every rule is scoped by a kwu-dept class so main.css, sub.css and
 * unrelated reference pages are not changed.
 */

.kwu-dept,
.kwu-dept-content {
  --kwu-ink: #17211b;
  --kwu-muted: #5f6c64;
  --kwu-line: #dce6df;
  --kwu-soft: #f2f7f3;
  --kwu-accent: #116e37;
  --kwu-accent-dark: #0a4725;
  --kwu-accent-rgb: 17, 110, 55;
  --kwu-secondary: #65519a;
  color: var(--kwu-ink);
}

.kwu-dept .sub-breadcrumb {
  margin-bottom: 34px;
}

.kwu-dept .sub-page-head {
  margin-bottom: clamp(42px, 6vw, 78px);
}

.kwu-dept .sub-page-title {
  max-width: 1080px;
  text-wrap: balance;
}

.kwu-dept__mid {
  margin: 12px 0 0;
  color: #78827c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.kwu-dept__article {
  min-width: 0;
}

.kwu-dept-content {
  min-width: 0;
  padding-bottom: clamp(84px, 9vw, 132px);
}

.kwu-dept-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  min-height: 560px;
  margin-bottom: clamp(78px, 9vw, 132px);
  overflow: hidden;
  color: #fff;
  background: var(--kwu-accent-dark);
  box-shadow: 0 30px 76px rgba(19, 55, 36, 0.16);
  isolation: isolate;
}

.kwu-dept-cover::before,
.kwu-dept-cover::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.kwu-dept-cover::before {
  top: -165px;
  left: -135px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.kwu-dept-cover::after {
  bottom: -245px;
  left: 100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 81, 154, 0.45), rgba(101, 81, 154, 0) 68%);
}

.kwu-dept-cover__copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  padding: clamp(42px, 5vw, 74px);
}

.kwu-dept-cover__title {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(38px, 4.8vw, 70px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.kwu-dept-cover__media {
  position: relative;
  z-index: 0;
  min-height: 560px;
  overflow: hidden;
}

.kwu-dept-cover__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 71, 37, 0.28), transparent 35%),
    linear-gradient(0deg, rgba(8, 27, 17, 0.25), transparent 42%);
  pointer-events: none;
}

.kwu-dept-cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.kwu-dept-cover:hover .kwu-dept-cover__media img {
  transform: scale(1.025);
}

.kwu-dept-rich {
  color: #3e4a43;
  font-size: 17px;
  line-height: 1.88;
}

.kwu-dept-rich > :first-child {
  margin-top: 0;
}

.kwu-dept-rich > :last-child {
  margin-bottom: 0;
}

.kwu-dept-rich p {
  margin: 0 0 20px;
}

.kwu-dept-rich h2,
.kwu-dept-rich h3,
.kwu-dept-rich h4 {
  margin: 28px 0 14px;
  color: var(--kwu-ink);
  font-family: var(--font-title);
}

.kwu-dept-rich ul,
.kwu-dept-rich ol {
  display: grid;
  gap: 11px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  counter-reset: rich-list;
}

.kwu-dept-rich li {
  position: relative;
  padding-left: 28px;
}

.kwu-dept-rich ul > li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kwu-accent);
}

.kwu-dept-rich ol > li {
  min-height: 26px;
  padding-left: 42px;
  counter-increment: rich-list;
}

.kwu-dept-rich ol > li::before {
  content: counter(rich-list, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--kwu-accent);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
}

.kwu-dept-rich strong {
  color: var(--kwu-ink);
  font-weight: 700;
}

/* Shared accordion component */

.kwu-dept-courses {
  border-top: 2px solid var(--kwu-ink);
}

.kwu-dept-course {
  border-bottom: 1px solid var(--kwu-line);
  background: #fff;
}

.kwu-dept-course[open] {
  background: var(--kwu-soft);
}

.kwu-dept-course__summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 8px;
  cursor: pointer;
  list-style: none;
}

.kwu-dept-course__summary::-webkit-details-marker {
  display: none;
}

.kwu-dept-course__number {
  color: var(--kwu-accent);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
}

.kwu-dept-course__name {
  color: var(--kwu-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.kwu-dept-course__toggle {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(var(--kwu-accent-rgb), 0.09);
}

.kwu-dept-course__toggle::before,
.kwu-dept-course__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--kwu-accent);
  transform: translate(-50%, -50%);
}

.kwu-dept-course__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.kwu-dept-course[open] .kwu-dept-course__toggle::after {
  transform: translate(-50%, -50%);
}

.kwu-dept-course__body {
  padding: 0 48px 28px 80px;
  color: var(--kwu-muted);
  font-size: 15px;
  line-height: 1.8;
}

.kwu-dept-course__body p {
  margin: 0;
}

/* Layout 1: image-backed story panels */

.kwu-panel-story {
  display: grid;
  gap: 32px;
}

.kwu-panel-story__scene {
  --kwu-panel-image: none;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 650px;
  overflow: hidden;
  background-image: var(--kwu-panel-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.kwu-panel-story__scene::after {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.kwu-panel-story__scene-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 41, 22, 0.94), rgba(7, 41, 22, 0.72) 48%, rgba(7, 41, 22, 0.15) 82%),
    linear-gradient(0deg, rgba(6, 25, 14, 0.68), transparent 62%);
}

.kwu-panel-story__scene-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: clamp(54px, 7vw, 96px);
  color: #fff;
}

.kwu-panel-story__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.kwu-panel-story__scene .kwu-panel-story__title,
.kwu-panel-story__scene .kwu-dept-rich,
.kwu-panel-story__scene .kwu-dept-rich strong {
  color: #fff;
}

.kwu-panel-story__scene .kwu-dept-rich {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.kwu-panel-story__panel {
  position: relative;
  padding: clamp(52px, 7vw, 88px);
  overflow: hidden;
  border: 1px solid var(--kwu-line);
  background: #fff;
}

.kwu-panel-story__panel--1 {
  background: var(--kwu-soft);
}

.kwu-panel-story__panel--2 {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(130, 104, 196, 0.55), transparent 28%),
    linear-gradient(125deg, var(--kwu-accent-dark), #172d22 74%);
}

.kwu-panel-story__panel--2 .kwu-panel-story__title,
.kwu-panel-story__panel--2 .kwu-dept-rich,
.kwu-panel-story__panel--2 .kwu-dept-rich strong {
  color: #fff;
}

.kwu-panel-story__panel--2 .kwu-dept-rich {
  color: rgba(255, 255, 255, 0.9);
}

.kwu-panel-story__panel--3 {
  border-top: 5px solid var(--kwu-accent);
  background:
    linear-gradient(90deg, rgba(var(--kwu-accent-rgb), 0.045) 1px, transparent 1px),
    #fff;
  background-size: 48px 100%;
}

.kwu-panel-story__section-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 38px;
}

.kwu-panel-story__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #fff;
  background: var(--kwu-accent);
  font-size: 24px;
}

.kwu-panel-story__panel--2 .kwu-panel-story__icon {
  color: var(--kwu-accent-dark);
  background: #fff;
}

.kwu-panel-story__symbols {
  position: absolute;
  right: -20px;
  bottom: -30px;
  display: flex;
  gap: 16px;
  color: rgba(var(--kwu-accent-rgb), 0.055);
  font-size: 132px;
  pointer-events: none;
}

.kwu-panel-story__panel--2 .kwu-panel-story__symbols {
  color: rgba(255, 255, 255, 0.05);
}

.kwu-panel-story__panel--courses {
  background: #fff;
}

.kwu-panel-story__panel--courses .kwu-panel-story__title {
  color: var(--kwu-ink);
}

/* Layout 2: responsive information tables */

.kwu-data-layout {
  display: grid;
  gap: clamp(66px, 8vw, 108px);
}

.kwu-data-table-wrap,
.kwu-course-table-wrap {
  overflow-x: auto;
  border-top: 3px solid var(--kwu-ink);
}

.kwu-profile-table,
.kwu-course-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.kwu-profile-table th,
.kwu-profile-table td {
  padding: clamp(24px, 3vw, 38px);
  border-bottom: 1px solid var(--kwu-line);
  text-align: left;
  vertical-align: top;
}

.kwu-profile-table th {
  width: 28%;
  color: var(--kwu-accent);
  background: var(--kwu-soft);
  font-family: var(--font-title);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.kwu-profile-table td {
  background: #fff;
}

.kwu-profile-table__major th {
  color: #fff;
  background: var(--kwu-accent-dark);
  font-size: clamp(28px, 3vw, 42px);
}

.kwu-data-heading {
  margin: 0 0 26px;
  color: var(--kwu-ink);
  font-family: var(--font-title);
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.2;
}

.kwu-course-table thead th {
  padding: 17px 20px;
  color: #fff;
  background: var(--kwu-accent-dark);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
}

.kwu-course-table thead th:first-child {
  width: 76px;
  border-left: 0;
  text-align: center;
}

.kwu-course-table thead th:nth-child(2) {
  width: 28%;
}

.kwu-course-table tbody td,
.kwu-course-table tbody th {
  padding: 24px 20px;
  border-bottom: 1px solid var(--kwu-line);
  text-align: left;
  vertical-align: top;
}

.kwu-course-table tbody td:first-child {
  color: var(--kwu-accent);
  font-family: var(--font-title);
  font-weight: 700;
  text-align: center;
}

.kwu-course-table tbody th {
  color: var(--kwu-ink);
  font-size: 16px;
  line-height: 1.55;
}

.kwu-course-table tbody td:last-child {
  color: var(--kwu-muted);
  font-size: 14px;
  line-height: 1.72;
}

.kwu-course-table tbody td p {
  margin: 0;
}

.kwu-course-table tbody tr:nth-child(even) {
  background: rgba(var(--kwu-accent-rgb), 0.035);
}

/* Layout 3: icon field guide and plain lists */

.kwu-field-guide {
  position: relative;
  display: grid;
  gap: clamp(64px, 8vw, 112px);
}

.kwu-field-guide__icon-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: rgba(var(--kwu-accent-rgb), 0.045);
  pointer-events: none;
}

.kwu-field-guide__icon-field i {
  position: absolute;
  font-size: 130px;
}

.kwu-field-guide__icon-field i:nth-child(1) {
  top: 30px;
  right: 4%;
  font-size: 220px;
}

.kwu-field-guide__icon-field i:nth-child(2) {
  top: 36%;
  left: 2%;
}

.kwu-field-guide__icon-field i:nth-child(3) {
  top: 61%;
  right: 8%;
  font-size: 90px;
}

.kwu-field-guide__icon-field i:nth-child(4) {
  bottom: 2%;
  left: 6%;
  font-size: 170px;
}

.kwu-field-guide__section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.3fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 104px);
  padding: clamp(42px, 6vw, 72px) 0;
  border-top: 1px solid var(--kwu-line);
}

.kwu-field-guide__section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.kwu-field-guide__heading {
  align-self: start;
  padding-left: 24px;
  border-left: 4px solid var(--kwu-accent);
}

.kwu-field-guide__heading > span {
  display: block;
  margin-bottom: 14px;
  color: var(--kwu-accent);
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kwu-field-guide__heading h3 {
  margin: 0;
  color: var(--kwu-ink);
  font-family: var(--font-title);
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.22;
}

.kwu-field-guide__prose {
  position: relative;
  z-index: 1;
}

.kwu-field-guide__section--courses {
  display: block;
}

.kwu-field-guide__section--courses .kwu-field-guide__heading {
  max-width: 620px;
  margin-bottom: 30px;
}

.kwu-field-course-list {
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--kwu-ink);
  list-style: none;
}

.kwu-field-course-list > li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--kwu-line);
}

.kwu-field-course-list__number {
  color: var(--kwu-accent);
  font-family: var(--font-title);
  font-size: 23px;
  font-weight: 700;
}

.kwu-field-course-list__content h4 {
  margin: 0 0 10px;
  color: var(--kwu-ink);
  font-size: 18px;
  line-height: 1.45;
}

.kwu-field-course-list__content div {
  color: var(--kwu-muted);
  font-size: 15px;
  line-height: 1.76;
}

.kwu-field-course-list__content p {
  margin: 0;
}

/* Layout 4: modular card grid */

.kwu-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.kwu-card-grid__section {
  position: relative;
  min-width: 0;
  padding: clamp(36px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--kwu-line);
  border-radius: 22px 4px 22px 4px;
  background: #fff;
  box-shadow: 0 15px 44px rgba(30, 45, 36, 0.07);
}

.kwu-card-grid__section:nth-child(3n + 1) {
  grid-column: 1 / -1;
  background:
    linear-gradient(145deg, rgba(var(--kwu-accent-rgb), 0.1), transparent 48%),
    #fff;
}

.kwu-card-grid__section:nth-child(3n + 2) {
  background: var(--kwu-soft);
}

.kwu-card-grid__section:nth-child(3n) {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.16), transparent 31%),
    var(--kwu-accent-dark);
}

.kwu-card-grid__heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.kwu-card-grid__heading > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px 2px 14px 2px;
  color: #fff;
  background: var(--kwu-accent);
  font-family: var(--font-title);
  font-weight: 700;
}

.kwu-card-grid__heading h3 {
  margin: 5px 0 0;
  color: var(--kwu-ink);
  font-family: var(--font-title);
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.24;
}

.kwu-card-grid__section:nth-child(3n) .kwu-card-grid__heading h3,
.kwu-card-grid__section:nth-child(3n) .kwu-dept-rich,
.kwu-card-grid__section:nth-child(3n) .kwu-dept-rich strong {
  color: #fff;
}

.kwu-card-grid__section:nth-child(3n) .kwu-dept-rich {
  color: rgba(255, 255, 255, 0.86);
}

.kwu-card-grid__section--courses {
  grid-column: 1 / -1;
  color: var(--kwu-ink);
  background: #fff;
}

.kwu-course-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.kwu-course-card {
  position: relative;
  min-width: 0;
  padding: 28px 24px;
  border: 1px solid var(--kwu-line);
  background: #fff;
}

.kwu-course-card__number {
  display: block;
  margin-bottom: 18px;
  color: var(--kwu-accent);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
}

.kwu-course-card h4 {
  margin: 0 0 14px;
  color: var(--kwu-ink);
  font-size: 17px;
  line-height: 1.45;
}

.kwu-course-card > div {
  color: var(--kwu-muted);
  font-size: 14px;
  line-height: 1.72;
}

.kwu-course-card p {
  margin: 0;
}

/* Layout 5: sticky index and long-form stack */

.kwu-index-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.26fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: start;
}

.kwu-index-layout__aside {
  position: sticky;
  top: 130px;
  padding: 26px;
  border-top: 4px solid var(--kwu-accent);
  background: var(--kwu-soft);
}

.kwu-index-layout__aside ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kwu-index-layout__aside a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 4px;
  color: var(--kwu-muted);
  border-bottom: 1px solid var(--kwu-line);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.kwu-index-layout__aside a:hover,
.kwu-index-layout__aside a:focus-visible {
  color: var(--kwu-accent);
}

.kwu-index-layout__aside span {
  color: var(--kwu-accent);
  font-family: var(--font-title);
  font-weight: 700;
}

.kwu-index-layout__content {
  min-width: 0;
}

.kwu-index-section {
  padding: clamp(50px, 7vw, 88px) 0;
  border-top: 1px solid var(--kwu-line);
}

.kwu-index-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.kwu-index-section__heading {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 32px;
}

.kwu-index-section__heading > span {
  color: var(--kwu-accent);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
}

.kwu-index-section__heading h3 {
  margin: 0;
  color: var(--kwu-ink);
  font-family: var(--font-title);
  font-size: clamp(29px, 3.4vw, 46px);
  line-height: 1.2;
}

.kwu-index-section__body {
  padding-left: 78px;
}

.kwu-index-courses {
  border-top: 3px solid var(--kwu-ink);
}

.kwu-index-courses article {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  padding: 28px 0;
  border-bottom: 1px solid var(--kwu-line);
}

.kwu-index-courses h4 {
  margin: 0;
  color: var(--kwu-ink);
  font-size: 17px;
  line-height: 1.48;
}

.kwu-index-courses article > div {
  color: var(--kwu-muted);
  font-size: 15px;
  line-height: 1.76;
}

.kwu-index-courses p {
  margin: 0;
}

/* Independent palettes. Any palette can be combined with any layout class. */

.kwu-dept-theme-hospitality {
  --sub-accent: #8a5d3b;
  --sub-accent-soft: rgba(138, 93, 59, 0.1);
  --kwu-ink: #2f2823;
  --kwu-muted: #736a62;
  --kwu-line: #e7ddd2;
  --kwu-soft: #fbf6f0;
  --kwu-accent: #8a5d3b;
  --kwu-accent-dark: #3e3026;
  --kwu-accent-rgb: 138, 93, 59;
  --kwu-secondary: #7c7151;
}

.kwu-dept-theme-technical {
  --sub-accent: #244f67;
  --sub-accent-soft: rgba(36, 79, 103, 0.1);
  --kwu-ink: #142733;
  --kwu-muted: #5d6e78;
  --kwu-line: #d8e1e6;
  --kwu-soft: #f1f6f8;
  --kwu-accent: #244f67;
  --kwu-accent-dark: #0d2737;
  --kwu-accent-rgb: 36, 79, 103;
  --kwu-secondary: #67569a;
}

.kwu-dept-theme-creative {
  --sub-accent: #79528f;
  --sub-accent-soft: rgba(121, 82, 143, 0.1);
  --kwu-ink: #2d2332;
  --kwu-muted: #756a7a;
  --kwu-line: #e5dce9;
  --kwu-soft: #faf5fb;
  --kwu-accent: #79528f;
  --kwu-accent-dark: #3b2448;
  --kwu-accent-rgb: 121, 82, 143;
  --kwu-secondary: #c16b62;
}

.kwu-dept-theme-wellness {
  --sub-accent: #2f7f77;
  --sub-accent-soft: rgba(47, 127, 119, 0.1);
  --kwu-ink: #19312f;
  --kwu-muted: #617572;
  --kwu-line: #d6e6e3;
  --kwu-soft: #eff8f6;
  --kwu-accent: #2f7f77;
  --kwu-accent-dark: #174e49;
  --kwu-accent-rgb: 47, 127, 119;
  --kwu-secondary: #688c4c;
}

.kwu-dept-theme-hospitality .kwu-dept-cover {
  display: block;
  min-height: 690px;
  border-radius: 28px 4px 28px 4px;
}

.kwu-dept-theme-hospitality .kwu-dept-cover__media {
  position: absolute;
  inset: 0;
  min-height: 690px;
}

.kwu-dept-theme-hospitality .kwu-dept-cover__media::after {
  background:
    linear-gradient(90deg, rgba(46, 34, 25, 0.88), rgba(46, 34, 25, 0.45) 55%, rgba(46, 34, 25, 0.08)),
    linear-gradient(0deg, rgba(46, 34, 25, 0.6), transparent 55%);
}

.kwu-dept-theme-hospitality .kwu-dept-cover__copy {
  min-height: 690px;
}

.kwu-dept-theme-technical .kwu-dept-cover {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  box-shadow: 16px 20px 0 #e4edf1;
}

.kwu-dept-theme-technical .kwu-dept-cover::before {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 38px 38px;
}

.kwu-dept-theme-technical .kwu-dept-cover__copy {
  order: 2;
}

.kwu-dept-theme-technical .kwu-dept-cover__media {
  order: 1;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.kwu-dept-theme-creative .kwu-dept-cover {
  margin-inline: clamp(0px, 2vw, 28px);
  overflow: visible;
  border-radius: 34px;
  box-shadow: -22px 24px 0 rgba(121, 82, 143, 0.12);
}

.kwu-dept-theme-creative .kwu-dept-cover__media {
  margin: 28px 28px 28px 0;
  min-height: 504px;
  border-radius: 22px;
}

.kwu-dept-theme-wellness .kwu-dept-cover {
  color: var(--kwu-ink);
  background: var(--kwu-soft);
  box-shadow: 0 28px 70px rgba(32, 86, 80, 0.12);
}

.kwu-dept-theme-wellness .kwu-dept-cover__title {
  color: var(--kwu-ink);
}

.kwu-dept-theme-wellness .kwu-dept-cover__media {
  margin: 42px;
  min-height: 476px;
  border-radius: 50% 50% 8px 50%;
}

@media (max-width: 1100px) {
  .kwu-dept-cover {
    grid-template-columns: 1fr;
  }

  .kwu-dept-cover__media {
    min-height: 440px;
    order: -1;
  }

  .kwu-dept-cover__copy {
    min-height: 360px;
  }

  .kwu-dept-theme-technical .kwu-dept-cover__copy {
    order: 2;
  }

  .kwu-dept-theme-technical .kwu-dept-cover__media {
    order: 1;
    clip-path: none;
  }

  .kwu-dept-theme-wellness .kwu-dept-cover__media {
    order: 0;
    margin: 28px;
    min-height: 430px;
  }

  .kwu-course-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .kwu-field-guide__section {
    grid-template-columns: 1fr;
  }

  .kwu-card-grid {
    grid-template-columns: 1fr;
  }

  .kwu-card-grid__section,
  .kwu-card-grid__section:nth-child(3n + 1) {
    grid-column: auto;
  }

  .kwu-card-grid__section--courses {
    grid-column: auto;
  }

  .kwu-index-layout {
    grid-template-columns: 1fr;
  }

  .kwu-index-layout__aside {
    position: static;
  }

  .kwu-index-layout__aside ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }
}

@media (max-width: 640px) {
  .kwu-dept .sub-breadcrumb {
    margin-bottom: 24px;
  }

  .kwu-dept-cover {
    min-height: 0;
    margin-inline: -20px;
    border-radius: 0;
    box-shadow: none;
  }

  .kwu-dept-cover__copy {
    min-height: 0;
    padding: 36px 24px 40px;
  }

  .kwu-dept-cover__media {
    min-height: 320px;
  }

  .kwu-dept-theme-hospitality .kwu-dept-cover,
  .kwu-dept-theme-hospitality .kwu-dept-cover__copy,
  .kwu-dept-theme-hospitality .kwu-dept-cover__media {
    min-height: 590px;
    border-radius: 0;
  }

  .kwu-dept-theme-hospitality .kwu-dept-cover__copy {
    align-items: flex-end;
    background: linear-gradient(0deg, rgba(46, 34, 25, 0.88), rgba(46, 34, 25, 0.08) 80%);
  }

  .kwu-dept-theme-technical .kwu-dept-cover {
    box-shadow: 8px 10px 0 #e4edf1;
  }

  .kwu-dept-theme-creative .kwu-dept-cover {
    margin-inline: -20px;
    border-radius: 0;
  }

  .kwu-dept-theme-creative .kwu-dept-cover__media,
  .kwu-dept-theme-wellness .kwu-dept-cover__media {
    margin: 0;
    min-height: 320px;
    border-radius: 0;
  }

  .kwu-dept-rich {
    font-size: 16px;
  }

  .kwu-panel-story {
    margin-inline: -20px;
    gap: 16px;
  }

  .kwu-panel-story__scene {
    min-height: 570px;
  }

  .kwu-panel-story__scene::after {
    inset: 12px;
  }

  .kwu-panel-story__scene-overlay {
    background: linear-gradient(0deg, rgba(7, 41, 22, 0.94), rgba(7, 41, 22, 0.25) 88%);
  }

  .kwu-panel-story__scene-content,
  .kwu-panel-story__panel {
    padding: 42px 26px;
  }

  .kwu-panel-story__section-head {
    align-items: flex-start;
  }

  .kwu-panel-story__icon {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }

  .kwu-dept-course__summary {
    grid-template-columns: 44px minmax(0, 1fr) 26px;
    gap: 8px;
  }

  .kwu-dept-course__body {
    padding: 0 18px 24px 54px;
  }

  .kwu-profile-table,
  .kwu-profile-table tbody,
  .kwu-profile-table tr,
  .kwu-profile-table th,
  .kwu-profile-table td {
    display: block;
    width: 100%;
  }

  .kwu-profile-table tr {
    border-bottom: 1px solid var(--kwu-line);
  }

  .kwu-profile-table th,
  .kwu-profile-table td {
    border-bottom: 0;
  }

  .kwu-profile-table th {
    padding: 20px 22px 12px;
  }

  .kwu-profile-table td {
    padding: 18px 22px 26px;
  }

  .kwu-course-table-wrap {
    overflow: visible;
    border-top: 0;
  }

  .kwu-course-table {
    display: block;
    min-width: 0;
  }

  .kwu-course-table thead {
    display: none;
  }

  .kwu-course-table tbody,
  .kwu-course-table tr {
    display: block;
  }

  .kwu-course-table tbody tr {
    margin-bottom: 12px;
    border: 1px solid var(--kwu-line);
    background: #fff;
  }

  .kwu-course-table tbody td,
  .kwu-course-table tbody th {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid var(--kwu-line);
  }

  .kwu-course-table tbody td::before,
  .kwu-course-table tbody th::before {
    content: attr(data-label);
    color: var(--kwu-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .kwu-course-table tbody td:first-child {
    text-align: left;
  }

  .kwu-course-table tbody td:last-child {
    border-bottom: 0;
  }

  .kwu-field-guide__section {
    gap: 28px;
    padding: 48px 0;
  }

  .kwu-field-course-list > li {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 26px 0;
  }

  .kwu-course-cards {
    grid-template-columns: 1fr;
  }

  .kwu-card-grid__section {
    padding: 34px 24px;
    border-radius: 15px 3px 15px 3px;
  }

  .kwu-index-layout__aside ol {
    grid-template-columns: 1fr;
  }

  .kwu-index-section__heading {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .kwu-index-section__body {
    padding-left: 0;
  }

  .kwu-index-courses article {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kwu-dept-cover__media img,
  .kwu-dept-course__toggle::after {
    transition: none;
  }
}

@media print {
  .kwu-dept-cover {
    box-shadow: none;
  }

  .kwu-index-layout {
    display: block;
  }

  .kwu-index-layout__aside {
    display: none;
  }

  .kwu-dept-course__body {
    display: block;
  }
}
