:root {
  --black: #000000;
  --white: #ffffff;
  --blue: #2997ff;
  --blue-strong: #0071e3;
  --gray-50: #f5f5f7;
  --gray-100: #e8e8ed;
  --gray-300: #a1a1a6;
  --gray-500: #6e6e73;
  --gray-700: #424245;
  --max-width: 1380px;
  --page-gutter: 54px;
  --header-height: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-scroll: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow-x: hidden;
  background: #03060b;
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background: url("../images/student-portfolio-hero-31.jpg") 50% 42% / cover no-repeat;
}

body::after {
  z-index: -1;
  background: rgba(2, 5, 10, 0.38);
}

body.dialog-open,
body.nav-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

:focus-visible {
  outline: 3px solid rgba(41, 151, 255, 0.8);
  outline-offset: 4px;
}

.section-shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(calc(100% - (var(--page-gutter) * 2)), 1120px);
  height: var(--header-height);
  padding: 0 10px 0 22px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 10, 15, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 44px rgba(0, 0, 0, 0.22);
  color: var(--white);
  backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  transition:
    top 320ms var(--ease),
    background 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.site-header.is-scrolled {
  top: 8px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 10, 15, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 34px rgba(0, 0, 0, 0.3);
}

.brand {
  justify-self: start;
  color: rgba(255, 255, 255, 0.96);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition:
    color 180ms ease,
    background 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.header-action {
  justify-self: end;
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--blue-strong);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition:
    background 180ms ease,
    transform 220ms var(--ease);
}

.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-1px);
  background: #0879df;
}

.mobile-course-link {
  display: none;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  height: 86svh;
  min-height: 680px;
  max-height: 930px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: -3% 0 0;
  width: 100%;
  height: 106%;
  object-fit: cover;
  object-position: center;
  transform: scale(calc(1.02 + (var(--page-scroll) * 0.000012)));
  will-change: transform;
}

.hero-edge-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 42%, transparent 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58) 0%, transparent 32%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  z-index: 2;
  bottom: 104px;
  left: max(var(--page-gutter), calc((100vw - var(--max-width)) / 2));
  max-width: 760px;
}

.hero h1 {
  margin: 0;
  font-size: 82px;
  font-weight: 650;
  line-height: 1.05;
}

.hero-content > p {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.65;
}

.primary-button {
  min-height: 54px;
  margin-top: 32px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--blue-strong);
  color: var(--white);
  font-size: 16px;
  font-weight: 550;
  transition:
    transform 240ms var(--ease),
    background 180ms ease;
}

.primary-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  background: #1683eb;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 24px;
  transform: translateX(50%);
  color: rgba(255, 255, 255, 0.68);
}

.hero-scroll svg {
  width: 30px;
  height: 30px;
}

.student-intro {
  min-height: 40svh;
  padding: 100px var(--page-gutter);
  display: grid;
  place-items: center;
  background: rgba(2, 5, 10, 0.5);
  color: var(--white);
  text-align: center;
  backdrop-filter: blur(8px);
}

.student-intro p {
  margin: 0;
  font-size: 62px;
  font-weight: 650;
  line-height: 1.22;
}

.student-intro span {
  color: var(--blue-strong);
}

.featured-story {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.featured-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease);
}

.featured-story:hover .featured-backdrop {
  transform: scale(1.025);
}

.featured-story--playboy .featured-backdrop,
.featured-story--princess .featured-backdrop,
.featured-story--death .featured-backdrop,
.featured-story--thermos .featured-backdrop {
  object-position: center;
}

.featured-story--playboy,
.featured-story--princess,
.featured-story--death,
.featured-story--thermos {
  margin-top: 8px;
}

.featured-story--playboy .featured-fade,
.featured-story--princess .featured-fade,
.featured-story--death .featured-fade,
.featured-story--thermos .featured-fade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.8) 34%, rgba(0, 0, 0, 0.16) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.56) 0%, transparent 42%);
}

.featured-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.76) 35%, rgba(0, 0, 0, 0.12) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, transparent 32%);
}

.featured-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--max-width));
  min-height: 94svh;
  margin: 0 auto;
  padding: 132px 0 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.featured-label {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 620;
}

.work-status {
  position: absolute;
  z-index: 3;
  top: 132px;
  right: var(--page-gutter);
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 650;
}

.work-status::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--blue);
  transform: translateY(-50%);
}

.work-status--commercial::before {
  background: #f5c45d;
}

.featured-content h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 650;
  line-height: 1.08;
}

.featured-type {
  margin: 20px 0 0;
  font-size: 17px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.86);
}

.featured-description {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.85;
}

.featured-facts {
  width: min(620px, 100%);
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.featured-facts div {
  padding: 18px 18px 18px 0;
}

.featured-facts div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-facts dt {
  color: var(--gray-300);
  font-size: 12px;
}

.featured-facts dd {
  margin: 8px 0 0;
  font-size: 19px;
  font-weight: 600;
}

.featured-action {
  width: max-content;
  margin-top: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  font-weight: 550;
}

.featured-action-group {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.featured-action-group .featured-action {
  margin-top: 0;
}

.round-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  transition:
    background 180ms ease,
    transform 220ms var(--ease);
}

.round-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.featured-action:hover .round-icon,
.featured-action:focus-visible .round-icon {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.14);
}

.featured-action--secondary {
  margin-left: 0;
}

.featured-action--secondary .round-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.canvas-entry {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 40px;
  min-height: 54px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(10, 12, 15, 0.56);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transform: none;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.canvas-entry--disabled {
  opacity: 0.56;
}

.canvas-entry:hover,
.canvas-entry:focus-visible {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(24, 27, 32, 0.82);
}

.canvas-entry svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}

.canvas-entry:hover svg,
.canvas-entry:focus-visible svg {
  transform: translateX(4px);
}

.canvas-toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 28px;
  min-height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(15, 17, 20, 0.92);
  color: var(--white);
  font-size: 14px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transform: translate(-50%, 18px);
  transition:
    opacity 180ms ease,
    transform 240ms var(--ease);
}

.canvas-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.outcomes-section {
  padding: 126px 0 140px;
  background: rgba(3, 7, 13, 0.64);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.section-heading h2 {
  margin: 0;
  font-size: 68px;
  font-weight: 650;
  line-height: 1.05;
}

.section-heading p {
  max-width: 440px;
  margin: 0 0 7px;
  color: var(--gray-500);
  font-size: 17px;
  line-height: 1.7;
}

.outcomes-section .section-heading p,
.outcomes-section .outcome p {
  color: rgba(255, 255, 255, 0.7);
}

.outcome-list {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.outcome {
  min-width: 0;
  padding: 28px 28px 44px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.outcome + .outcome {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.outcome span {
  color: var(--blue-strong);
  font-size: 15px;
  font-weight: 600;
}

.outcome h3 {
  margin: 48px 0 0;
  font-size: 27px;
  font-weight: 620;
}

.outcome p {
  margin: 18px 0 0;
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.8;
}

.process-section {
  padding: 132px 0 90px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.display-heading {
  margin: 0;
  font-size: 92px;
  font-weight: 650;
  line-height: 1.03;
}

.process-list {
  margin-top: 92px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--gray-700);
}

.process-step {
  min-width: 0;
  padding: 28px 24px 48px 0;
  border-bottom: 1px solid var(--gray-700);
}

.process-step + .process-step {
  padding-left: 24px;
  border-left: 1px solid var(--gray-700);
}

.process-step span {
  display: block;
  font-size: 54px;
  font-weight: 560;
  line-height: 1;
}

.process-step h3 {
  margin: 38px 0 0;
  font-size: 19px;
  font-weight: 600;
}

.process-step p {
  margin: 14px 0 0;
  color: var(--gray-300);
  font-size: 14px;
  line-height: 1.75;
}

.archive-section {
  padding: 130px 0 138px;
  background: var(--gray-50);
}

.archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.85fr);
  gap: 100px;
}

.archive-heading > p {
  margin: 0 0 26px;
  color: var(--gray-500);
  font-size: 15px;
}

.archive-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: 62px;
  font-weight: 650;
  line-height: 1.18;
}

.archive-data {
  margin: 0;
  border-top: 1px solid var(--black);
}

.archive-data div {
  min-height: 72px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--gray-300);
}

.archive-data dt {
  color: var(--gray-500);
  font-size: 14px;
}

.archive-data dd {
  margin: 0;
  text-align: right;
  font-size: 17px;
  font-weight: 550;
}

.reunion-section {
  position: relative;
  min-height: 72svh;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.reunion-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reunion-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.91) 0%, rgba(0, 0, 0, 0.58) 42%, transparent 76%);
}

.reunion-content {
  position: relative;
  z-index: 2;
  min-height: 72svh;
  padding: 110px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.reunion-content h2 {
  max-width: 800px;
  margin: 0;
  font-size: 70px;
  font-weight: 650;
  line-height: 1.12;
}

.reunion-content p {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.contact-section {
  padding: 112px 0 34px;
  background: rgba(0, 0, 0, 0.76);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.learning-section {
  padding-top: 138px;
}

.contact-grid {
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.7fr);
  gap: 100px;
  align-items: start;
}

.contact-grid h2 {
  margin: 0;
  font-size: 68px;
  font-weight: 650;
  line-height: 1.12;
}

.contact-copy p {
  margin: 8px 0 34px;
  color: var(--gray-300);
  font-size: 16px;
  line-height: 1.8;
}

.contact-copy a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
  color: var(--blue);
  font-size: 16px;
  font-weight: 550;
}

.contact-copy svg {
  width: 20px;
  height: 20px;
  transition: transform 220ms var(--ease);
}

.contact-copy a:hover svg,
.contact-copy a:focus-visible svg {
  transform: translateX(4px);
}

.course-learning {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.course-learning-head {
  max-width: 860px;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.course-learning-head span {
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.course-learning-head h3 {
  margin: 18px 0 0;
  font-size: 76px;
  font-weight: 650;
  line-height: 1.05;
}

.course-learning-head p {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--gray-300);
  font-size: 16px;
  line-height: 1.8;
}

.course-stage-list {
  margin-top: 74px;
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.course-stage {
  min-width: 0;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 92px minmax(240px, 0.62fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.course-stage:nth-child(2n) {
  padding-left: 0;
  border-left: 0;
}

.course-stage span {
  color: var(--blue-strong);
  font-size: 18px;
  font-weight: 650;
}

.course-stage h4 {
  margin: 0;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.18;
}

.course-stage p {
  grid-column: 2;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.85;
}

.course-stage dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.course-stage dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.course-stage dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.course-stage dt {
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  line-height: 1.7;
}

.course-stage dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.75;
}

footer {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--max-width));
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--gray-700);
  color: var(--gray-300);
  font-size: 12px;
}

.project-dialog {
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100svh - 48px);
  padding: 0;
  overflow: auto;
  border: 1px solid #333336;
  border-radius: 8px;
  background: #0c0c0d;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  color: var(--white);
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(18px);
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.72);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.dialog-close svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.canvas-dialog {
  width: min(1440px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #333336;
  border-radius: 8px;
  background: #09090a;
  color: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.canvas-dialog::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(18px);
}

.canvas-dialog-body {
  padding: 22px;
}

.canvas-dialog-title {
  margin: 0 56px 18px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 650;
}

.canvas-dialog-viewport {
  max-height: calc(100svh - 126px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111;
}

.canvas-dialog-image {
  width: 100%;
  height: auto;
  display: block;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.72fr);
}

.dialog-media {
  position: relative;
  height: min(650px, calc(100svh - 48px));
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--black);
}

.dialog-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: var(--black);
}

.dialog-media--embed {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
}

.dialog-embed {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: var(--black);
}

.bilibili-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--black);
}

.bilibili-player-wrapper .dialog-embed {
  position: absolute;
  inset: 0;
}

.bilibili-player-loading,
.bilibili-player-message {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.bilibili-player-loading {
  pointer-events: none;
}

/* 缁熶竴浣跨敤绔欑偣鎺у埗鏍忥紝閬垮厤鎵嬫満娴忚鍣ㄦ彃鍏ユ姇灞忋€佹洿澶氶€夐」鍜屽師鐢熷叏灞忔寜閽€?*/
.dialog-video::-webkit-media-controls,
.dialog-video::-webkit-media-controls-enclosure,
.dialog-video::-webkit-media-controls-panel,
.dialog-video::-webkit-media-controls-fullscreen-button,
.dialog-video::-webkit-media-controls-overflow-button,
.dialog-video::-webkit-media-controls-cast-button {
  display: none !important;
}

.custom-media-controls {
  position: absolute;
  z-index: 6;
  right: 12px;
  bottom: 12px;
  left: 12px;
  min-height: 52px;
  padding: 7px 8px;
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(12, 12, 14, 0.82);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.media-control-button {
  width: 42px;
  height: 42px;
  padding: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.media-control-button:hover,
.media-control-button:focus-visible {
  background: rgba(72, 72, 76, 0.8);
}

.media-control-button svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-progress,
.media-volume-slider {
  accent-color: #ffffff;
  cursor: pointer;
}

.media-progress {
  width: 100%;
  min-width: 0;
}

.media-time {
  min-width: 86px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.media-control-actions,
.media-volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.media-volume-slider {
  width: 72px;
}

.media-speed-control {
  position: relative;
}

.media-speed-button {
  padding: 4px 10px 12px;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.media-speed-menu {
  position: absolute;
  right: 0;
  bottom: 50px;
  width: 92px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(12, 12, 14, 0.96);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.media-speed-control.is-open .media-speed-menu {
  display: flex;
}

.media-speed-menu button {
  min-height: 36px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: center;
  cursor: pointer;
}

.media-speed-menu button:hover,
.media-speed-menu button:focus-visible,
.media-speed-menu button[aria-checked="true"] {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.media-top-exit-button {
  position: absolute;
  z-index: 7;
  top: 14px;
  right: 14px;
  background: rgba(154, 38, 38, 0.52);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.project-dialog > .dialog-close {
  display: grid;
}

.dialog-media:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

.dialog-media.is-expanded {
  position: fixed;
  z-index: 10000;
  inset: 0;
  width: 100vw;
  height: 100svh;
  min-height: 0;
  background: var(--black);
}

body.media-expanded {
  overflow: hidden;
}

.dialog-media:fullscreen .dialog-video {
  width: auto;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  object-position: center;
}

.dialog-media.is-expanded .dialog-video {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100svh;
  object-fit: contain;
}

.video-watermark {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.video-watermark span {
  position: absolute;
  left: 50%;
  width: 170%;
  color: rgba(222, 226, 232, 0.5);
  font-size: clamp(21px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 2px 12px rgba(17, 23, 31, 0.2),
    0 0 1px rgba(255, 255, 255, 0.16);
  transform: translateX(-50%) rotate(-18deg);
  white-space: nowrap;
}

.video-watermark span:first-child {
  top: 38%;
}

.video-watermark span:last-child {
  top: 54%;
}

.dialog-copy {
  padding: 84px 38px 42px;
}

.dialog-category {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.dialog-copy h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 620;
  line-height: 1.3;
}

#playboy-dialog .dialog-copy h2 {
  font-size: 30px;
}

#princess-dialog .dialog-copy h2 {
  font-size: 28px;
}

.dialog-description {
  margin: 25px 0;
  color: var(--gray-300);
  font-size: 15px;
  line-height: 1.85;
}

.dialog-copy dl {
  margin: 0;
  border-top: 1px solid var(--gray-700);
}

.dialog-copy dl div {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--gray-700);
}

.dialog-copy dt {
  color: var(--gray-500);
  font-size: 14px;
}

.dialog-copy dd {
  margin: 0;
  color: var(--gray-100);
  font-size: 14px;
  line-height: 1.6;
}

.js-ready .reveal {
  opacity: 0.22;
  transform: translateY(30px);
  transition:
    opacity 800ms var(--ease),
    transform 900ms var(--ease);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  :root {
    --page-gutter: 34px;
  }

  .hero h1 {
    font-size: 68px;
  }

  .student-intro p {
    font-size: 52px;
  }

  .featured-content h2 {
    font-size: 56px;
  }

  .outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outcome:nth-child(3) {
    border-left: 0;
  }

  .display-heading {
    font-size: 78px;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-step:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }

  .archive-grid,
  .contact-grid {
    gap: 60px;
  }
}

@media (max-width: 820px) {
  :root {
    --page-gutter: 20px;
    --header-height: 58px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 0 8px 0 16px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    z-index: 3;
    font-size: 15px;
  }

  .desktop-nav {
    position: fixed;
    inset: -10px -10px auto;
    z-index: 2;
    min-height: 100svh;
    padding: 104px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(3, 6, 10, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    backdrop-filter: blur(28px);
    transition:
      opacity 220ms ease,
      transform 320ms var(--ease);
  }

  .nav-open .desktop-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-open .site-header {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .desktop-nav a {
    padding: 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0;
    font-size: 28px;
    font-weight: 550;
  }

  .desktop-nav .mobile-course-link {
    min-height: 50px;
    margin-top: 26px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: var(--blue-strong);
    color: var(--white);
    font-size: 16px;
  }

  .header-action {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 3;
    width: 38px;
    height: 38px;
    padding: 8px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--white);
    border-radius: 6px;
    transition: background 180ms ease;
  }

  .menu-button:hover,
  .menu-button:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-button svg {
    width: 24px;
    height: 24px;
  }

  .hero {
    height: 88svh;
    min-height: 650px;
    max-height: none;
  }

  .hero-media {
    object-position: 65% center;
  }

  .hero-edge-fade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.24) 92%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, transparent 58%);
  }

  .hero-content {
    right: var(--page-gutter);
    bottom: 88px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-content > p {
    max-width: 430px;
    margin-top: 20px;
    font-size: 16px;
  }

  .primary-button {
    min-height: 48px;
    margin-top: 24px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-scroll {
    display: none;
  }

  .student-intro {
    min-height: 34svh;
    padding: 72px var(--page-gutter);
  }

  .student-intro p {
    font-size: 38px;
  }

  .featured-story,
  .featured-content {
    min-height: 88svh;
  }

  .featured-backdrop {
    object-position: 65% center;
  }

  .featured-story--playboy .featured-backdrop,
  .featured-story--princess .featured-backdrop,
  .featured-story--death .featured-backdrop,
  .featured-story--thermos .featured-backdrop {
    object-position: 56% center;
  }

  .featured-fade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.91), rgba(0, 0, 0, 0.38) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 68%);
  }

  .featured-content {
    padding: 110px 0 116px;
    justify-content: end;
  }

  .canvas-entry {
    position: absolute;
    right: 0;
    bottom: 24px;
    margin: 0;
    transform: none;
  }

  .featured-content h2 {
    font-size: 46px;
  }

  .work-status {
    top: 92px;
  }

  .featured-description {
    max-width: 600px;
  }

  .outcomes-section {
    padding: 88px 0 100px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 50px;
  }

  .section-heading p {
    margin-top: 18px;
  }

  .outcome-list {
    margin-top: 48px;
  }

  .process-section {
    padding: 92px 0 68px;
  }

  .display-heading {
    font-size: 64px;
  }

  .process-list {
    margin-top: 62px;
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step + .process-step,
  .process-step:nth-child(4) {
    min-height: 120px;
    padding: 22px 0;
    display: grid;
    grid-template-columns: 82px 150px 1fr;
    gap: 16px;
    align-items: center;
    border-left: 0;
  }

  .process-step span {
    font-size: 42px;
  }

  .process-step h3,
  .process-step p {
    margin: 0;
  }

  .archive-section {
    padding: 88px 0 96px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .archive-heading h2 {
    font-size: 48px;
  }

  .reunion-section,
  .reunion-content {
    min-height: 68svh;
  }

  .reunion-section > img {
    object-position: 66% center;
  }

  .reunion-content h2 {
    font-size: 54px;
  }

  .contact-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid h2 {
    font-size: 54px;
  }

  .learning-section {
    padding-top: 96px;
  }

  .course-learning {
    margin-top: 0;
    padding-top: 0;
  }

  .course-learning-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .course-learning-head h3 {
    font-size: 40px;
  }

  .course-stage-list {
    margin-top: 52px;
  }

  .course-stage,
  .course-stage:nth-child(2n) {
    padding: 30px 0 34px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    border-left: 0;
  }

  .course-stage p {
    grid-column: auto;
    margin-top: 0;
  }

  .dialog-layout {
    display: block;
  }

  .dialog-media {
    height: min(72svh, 680px);
    min-height: 0;
  }

  .dialog-media--embed {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .custom-media-controls {
    grid-template-columns: auto minmax(60px, 1fr) auto;
    gap: 7px;
  }

  .media-time {
    display: none;
  }

  .media-volume-control {
    position: relative;
  }

  .media-volume-slider {
    position: absolute;
    right: 0;
    bottom: 50px;
    width: 120px;
    height: 42px;
    padding: 0 12px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(12, 12, 14, 0.92);
  }

  .media-volume-control.is-open .media-volume-slider,
  .media-volume-control:focus-within .media-volume-slider {
    display: block;
  }

  .dialog-copy {
    padding: 34px 24px 32px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  .student-intro p {
    font-size: 30px;
    line-height: 1.38;
  }

  .featured-content h2 {
    font-size: 38px;
  }

  .featured-description {
    font-size: 14px;
    line-height: 1.78;
  }

  .featured-facts {
    grid-template-columns: 1fr;
  }

  .featured-facts div,
  .featured-facts div + div {
    padding: 14px 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .featured-facts div:last-child {
    border-bottom: 0;
  }

  .featured-facts dd {
    margin: 0;
    text-align: right;
  }

  .canvas-entry {
    width: max-content;
    justify-content: space-between;
  }

  .canvas-toast {
    width: calc(100% - 40px);
    bottom: 20px;
    justify-content: center;
  }

  .outcome-list {
    grid-template-columns: 1fr;
  }

  .outcome,
  .outcome + .outcome,
  .outcome:nth-child(3) {
    padding: 24px 0 34px;
    border-left: 0;
  }

  .outcome h3 {
    margin-top: 28px;
  }

  .display-heading {
    font-size: 52px;
  }

  .process-step,
  .process-step + .process-step,
  .process-step:nth-child(4) {
    grid-template-columns: 62px 1fr;
    gap: 8px 16px;
  }

  .process-step span {
    grid-row: span 2;
    font-size: 36px;
  }

  .process-step p {
    grid-column: 2;
  }

  .archive-heading h2 {
    font-size: 40px;
  }

  .archive-data div {
    grid-template-columns: 100px 1fr;
  }

  .reunion-content h2 {
    font-size: 43px;
  }

  .reunion-content p {
    font-size: 15px;
  }

  .contact-section {
    padding-top: 82px;
  }

  .contact-grid h2 {
    font-size: 44px;
  }

  .course-learning-head h3 {
    font-size: 34px;
  }

  .course-stage h4 {
    font-size: 26px;
  }

  .course-stage dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  footer {
    gap: 18px;
    flex-direction: column;
  }

  .project-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }

  .canvas-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }

  .canvas-dialog-body {
    padding: 14px;
  }

  .canvas-dialog-title {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .canvas-dialog-viewport {
    max-height: calc(100svh - 88px);
  }

  .dialog-media {
    height: min(74svh, 620px);
    min-height: 0;
  }

  .dialog-media--embed {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .custom-media-controls {
    right: 7px;
    bottom: max(7px, env(safe-area-inset-bottom));
    left: 7px;
    min-height: 48px;
    padding: 5px;
    grid-template-columns: 38px minmax(42px, 1fr) auto;
    gap: 5px;
  }

  .media-control-button {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .media-top-exit-button {
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
  }

  .media-control-actions,
  .media-volume-control {
    gap: 4px;
  }

  .dialog-media.is-expanded .custom-media-controls {
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .dialog-copy h2 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-media {
    transform: none;
  }
}
