:root {
  --ink: #11100e;
  --paper: #f2efe8;
  --paper-soft: #e8e3d9;
  --white: #fff;
  --night: #0b0b0a;
  --night-soft: #151410;
  --gold: #c6a15b;
  --gold-light: #e3c783;
  --muted: #6f6a61;
  --line: rgba(17, 16, 14, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --content: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

body.is-player-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  width: var(--content);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 3px;
  font-size: 14px;
  font-weight: 800;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.nav a,
.login-entry {
  position: relative;
  padding: 10px 0;
}

.login-entry {
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
}

.nav a::after,
.login-entry::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--gold-light);
  transition: right 0.24s ease;
}

.nav a:hover,
.login-entry:hover {
  color: var(--white);
}

.nav a:hover::after,
.login-entry:hover::after {
  right: 0;
}

body.auth-locked {
  min-height: 100vh;
  overflow: hidden;
  background: var(--night);
}

body.auth-locked main,
body.auth-locked .footer {
  display: none;
}

.access-gate {
  position: fixed;
  z-index: 15;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 112px 24px 32px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.95), rgba(8, 8, 7, 0.7)),
    url("./hero-aigc-studio.png") center / cover no-repeat;
}

body.auth-locked .access-gate {
  display: flex;
}

body.auth-ready .access-gate {
  display: none;
}

.access-card {
  width: min(500px, 100%);
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 11, 10, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.access-card h2 {
  margin-bottom: 14px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  line-height: 1.08;
}

.access-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.login-form input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(227, 199, 131, 0.14);
}

.login-form input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.code-row .secondary-action {
  min-width: 116px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.code-row .secondary-action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.login-note {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.login-note[data-type="success"] {
  color: #9ee6b4;
}

.login-note[data-type="error"] {
  color: #ffb4a8;
}

.hero {
  position: relative;
  min-height: min(900px, 94vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("./hero-aigc-studio.png") center / cover no-repeat;
  transform: scale(1.01);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.96) 0%, rgba(8, 8, 7, 0.82) 28%, rgba(8, 8, 7, 0.22) 67%, rgba(8, 8, 7, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 8, 7, 0.82), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 0 auto;
  padding: 190px 0 140px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 750px;
  margin-bottom: 28px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(58px, 8.2vw, 118px);
  font-weight: 600;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-action {
  color: var(--night);
  background: var(--gold-light);
}

.secondary-action {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(0, 0, 0, 0.16);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.secondary-action:hover {
  color: var(--night);
  background: var(--white);
}

.hero-index {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 38px;
  width: var(--content);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  text-transform: uppercase;
}

.hero-index span:last-child {
  text-align: right;
}

.intro {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.intro > div {
  min-height: 184px;
  padding: 42px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-content: center;
  gap: 24px;
  border-right: 1px solid var(--line);
}

.intro > div:last-child {
  border-right: 0;
}

.stat-value {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 16px;
}

.stat-label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.stat-label strong {
  color: var(--ink);
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.section {
  width: var(--content);
  margin: 130px auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-head h2,
.contact h2 {
  margin-bottom: 20px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 600;
  line-height: 1.15;
}

.section-head > p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.work-library {
  border-top: 1px solid var(--ink);
}

.work-library-cover {
  position: relative;
  width: 100%;
  min-height: 360px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.94), rgba(10, 10, 9, 0.46)),
    url("./assets/posters/sample-01.jpg") center 42% / cover no-repeat;
}

.work-library-cover::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.work-library-kicker,
.work-library-title,
.work-library-meta {
  position: relative;
  z-index: 1;
}

.work-library-kicker {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-library-title {
  grid-column: 1;
  align-self: end;
  justify-self: start;
  min-height: 82px;
  max-width: calc(100% - 40px);
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(18, 18, 17, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.work-library-title::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -38%;
  width: 28%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-library-cover:hover .work-library-title {
  transform: translateY(-5px) scale(1.025);
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.11)),
    rgba(198, 161, 91, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 24px 62px rgba(0, 0, 0, 0.38),
    0 0 0 6px rgba(255, 255, 255, 0.05);
}

.work-library-cover:hover .work-library-title::after {
  left: 118%;
}

.work-library-cover:active .work-library-title {
  transform: translateY(-1px) scale(0.985);
}

.work-library-meta {
  grid-column: 1;
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.work-library-panel[hidden] {
  display: none;
}

.work-library-panel {
  padding: 32px 0 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-button {
  min-height: 40px;
  padding: 0 18px;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.filter-button:hover {
  color: var(--ink);
}

.filter-button.is-active {
  color: var(--paper);
  background: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 20px;
}

.work-card {
  min-width: 0;
}

.work-card.is-hidden {
  display: none;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
  background: var(--night-soft);
}

.work-card.is-portrait .video-frame {
  aspect-ratio: 4 / 5;
}

.video-frame::after {
  content: "PLAY";
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  min-width: 54px;
  min-height: 28px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.work-poster,
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: saturate(0.88);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.video-frame video {
  opacity: 0;
  pointer-events: none;
}

.work-card:hover .work-poster {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.work-card:hover .video-frame::after {
  opacity: 1;
  transform: translateY(0);
}

.work-copy {
  padding: 15px 2px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  border-top: 1px solid var(--line);
}

.tag {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-copy h3 {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
}

.work-empty {
  min-height: 260px;
  padding: 52px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.work-empty[hidden] {
  display: none;
}

.work-empty p {
  margin-bottom: 8px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 28px;
}

.work-empty span {
  color: var(--muted);
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(54px, 9vw, 140px);
  align-items: start;
}

.education {
  width: 100%;
  padding: 130px 0;
  color: var(--white);
  background: #11110f;
}

.education-inner {
  width: var(--content);
  margin: 0 auto;
}

.education-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: end;
}

.education .section-head {
  max-width: 760px;
  margin-bottom: 0;
}

.education-title {
  text-align: left;
}

.education-title span {
  display: block;
  white-space: nowrap;
}

.education .section-head > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.62);
}

.education-action {
  margin-top: 30px;
}

.education-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.education-numbers > div {
  min-height: 142px;
  padding: 26px;
  display: grid;
  align-content: space-between;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.education-numbers strong {
  color: var(--gold-light);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.education-numbers span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.education-benefits {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.education-benefits article {
  min-height: 286px;
  padding: 32px 26px;
  border-right: 1px solid var(--line-light);
}

.education-benefits article:last-child {
  border-right: 0;
}

.education-benefits article > span {
  display: block;
  margin-bottom: 62px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
}

.education-benefits h3,
.education-bonus h3 {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-weight: 600;
}

.education-benefits h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.education-benefits p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  line-height: 1.8;
}

.education-bonus {
  margin-top: 72px;
  padding: 72px 0 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: end;
  border-top: 1px solid var(--line-light);
}

.education-bonus h3 {
  margin-bottom: 0;
  font-size: 32px;
}

.education-bonus ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.education-bonus li {
  min-height: 54px;
  padding: 17px 14px 14px 28px;
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
}

.education-bonus li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 23px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.student-list {
  border-top: 1px solid var(--ink);
}

.student-item {
  min-height: 154px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.student-index {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
}

.student-item h3 {
  margin-bottom: 9px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.student-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.student-note {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.course-outline {
  margin-top: 30px;
  padding-top: 0;
}

.course-outline .section-head {
  max-width: 900px;
}

.course-outline-title {
  margin-bottom: 18px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
}

.course-outline .section-head > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.54);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.method-grid > div {
  min-height: 280px;
  padding: 34px 28px;
  border-right: 1px solid var(--line-light);
}

.method-grid > div:last-child {
  border-right: 0;
}

.method-grid span {
  display: block;
  margin-bottom: 74px;
  color: var(--gold);
  font-family: Georgia, serif;
}

.method-grid h3 {
  margin-bottom: 14px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.method-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  line-height: 1.75;
}

.contact {
  width: var(--content);
  margin: 130px auto;
  padding: clamp(42px, 6vw, 78px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 52px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(115deg, rgba(11, 11, 10, 0.98), rgba(28, 25, 20, 0.96)),
    var(--night);
  box-shadow: 0 30px 90px rgba(20, 17, 12, 0.18);
}

.contact h2 {
  max-width: 820px;
  margin-bottom: 26px;
}

.contact .eyebrow {
  color: var(--gold-light);
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-channels p {
  margin-bottom: 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.contact-channels strong,
.contact-channels span {
  display: block;
}

.contact-channels strong {
  margin-bottom: 12px;
  font-size: 13px;
}

.contact-channels span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.contact-cta {
  min-width: 190px;
  display: grid;
  gap: 16px;
  justify-items: stretch;
}

.contact-cta > span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
}

.contact-action {
  min-width: 190px;
  min-height: 62px;
  color: var(--night);
  background: var(--gold-light);
  font-size: 15px;
}

.footer {
  width: var(--content);
  margin: 0 auto;
  padding: 0 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer a {
  color: inherit;
}

.work-player-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.work-player-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.work-player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 4, 0.92);
  backdrop-filter: blur(10px);
}

.work-player-dialog {
  position: relative;
  width: min(1040px, 88vw);
  display: grid;
  gap: 14px;
  justify-items: center;
}

.work-player-dialog.is-portrait {
  width: min(430px, 88vw);
}

.work-player-video-wrap {
  width: 100%;
  max-height: 78vh;
  display: grid;
  place-items: center;
  background: #000;
}

.work-player-video-wrap video {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
}

.work-player-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-height: 38px;
  padding: 0 15px;
  color: var(--white);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.66);
  font-size: 12px;
}

.work-player-title {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

@keyframes heroDrift {
  from {
    transform: scale(1.01) translateX(0);
  }
  to {
    transform: scale(1.04) translateX(-0.7%);
  }
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 32px, 720px);
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-bottom: 150px;
  }

  .intro,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .education-intro,
  .education-bonus {
    grid-template-columns: 1fr;
  }

  .education-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-benefits article:nth-child(2) {
    border-right: 0;
  }

  .education-benefits article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }

  .intro > div {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro > div:last-child {
    border-bottom: 0;
  }

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

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-grid > div:nth-child(2) {
    border-right: 0;
  }

  .method-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }

  .contact {
    align-items: start;
  }

  .contact-action {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  :root {
    --content: calc(100% - 28px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand-copy {
    display: none;
  }

  .nav {
    gap: 15px;
    font-size: 12px;
  }

  .nav a:nth-child(3) {
    display: none;
  }

  .access-gate {
    padding: 104px 14px 24px;
  }

  .access-card {
    padding: 26px 18px;
  }

  .code-row {
    grid-template-columns: 1fr;
  }

  .code-row .secondary-action {
    width: 100%;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 7, 0.94), rgba(8, 8, 7, 0.34)),
      linear-gradient(0deg, rgba(8, 8, 7, 0.9), rgba(8, 8, 7, 0.08) 60%);
  }

  .hero-content {
    padding: 130px 0 150px;
  }

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

  .hero-copy {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-index {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-index span:nth-child(3) {
    display: none;
  }

  .intro > div {
    padding: 28px 24px;
  }

  .section {
    margin: 88px auto;
  }

  .education {
    padding: 88px 0;
  }

  .education-intro {
    gap: 48px;
  }

  .education-title {
    font-size: 34px !important;
  }

  .education-numbers > div {
    min-height: 124px;
    padding: 20px;
  }

  .education-numbers strong {
    font-size: 28px;
  }

  .education-benefits {
    margin-top: 58px;
    grid-template-columns: 1fr;
  }

  .education-benefits article {
    min-height: 0;
    padding: 28px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .education-benefits article:last-child {
    border-bottom: 0;
  }

  .education-benefits article > span {
    margin-bottom: 28px;
  }

  .education-bonus {
    margin-top: 52px;
    padding-top: 52px;
    gap: 28px;
  }

  .education-bonus ul {
    grid-template-columns: 1fr;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2,
  .contact h2 {
    font-size: 38px;
  }

  .work-library-cover {
    min-height: 300px;
    padding: 28px;
    grid-template-columns: 1fr;
  }

  .work-library-title {
    min-height: 68px;
    max-width: 100%;
    padding: 0 24px;
    border-radius: 18px;
    font-size: 32px;
  }

  .work-library-meta {
    max-width: 230px;
    line-height: 1.6;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-button {
    padding: 0 8px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .student-item {
    grid-template-columns: 30px 1fr;
    padding: 24px 0;
  }

  .student-note {
    display: none;
  }

  .course-outline {
    margin-top: 24px;
    padding-top: 0;
  }

  .course-outline-title {
    font-size: 28px;
  }

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

  .method-grid > div {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .method-grid > div:last-child {
    border-bottom: 0;
  }

  .method-grid span {
    margin-bottom: 42px;
  }

  .contact {
    margin: 88px auto;
    padding: 36px 24px;
  }

  .contact-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-cta,
  .contact-action {
    width: 100%;
    min-width: 0;
  }

  .primary-action,
  .secondary-action {
    min-height: 46px;
  }

  .footer {
    flex-direction: column;
  }
}

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

  .hero-media {
    animation: none;
  }
}
