:root {
  color-scheme: dark;
  --black: #000;
  --ink: #111;
  --paper: #f5f5f7;
  --white: #fff;
  --muted: #86868b;
  --line: rgba(255, 255, 255, 0.18);
  --dark-line: rgba(0, 0, 0, 0.12);
  --teal: #64d2ff;
  --blue: #0071e3;
  --max: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

#courses,
#portfolio,
#contact {
  scroll-margin-top: 5rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--black);
  color: var(--white);
}

body.modal-scroll-lock {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.5rem max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(22, 22, 23, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand,
.header-cta,
.lang-toggle {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 600;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-cta,
.lang-toggle {
  white-space: nowrap;
}

.lang-toggle {
  min-width: 3rem;
  min-height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.header-cta {
  justify-self: end;
}

.mode-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.mode-button {
  display: grid;
  min-width: 7.4rem;
  gap: 0.05rem;
  padding: 0.48rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.mode-button:hover {
  transform: translateY(-1px);
}

.mode-button:disabled,
.mode-button.is-disabled {
  cursor: default;
  opacity: 0.48;
}

.mode-button:disabled:hover,
.mode-button.is-disabled:hover {
  transform: none;
}

.mode-button strong {
  font-size: 0.68rem;
  letter-spacing: 0;
}

.mode-button span {
  font-size: 0.75rem;
}

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

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 3.25rem);
  padding: clamp(5rem, 9vw, 8rem) 1.25rem clamp(5rem, 8vw, 7rem);
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #050505 0%, #000 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, transparent, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.84) 80%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), #000 96%);
  pointer-events: none;
}

.hero-media,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.5;
  filter: saturate(0.9) contrast(1.06);
}

.hero-dive-video {
  object-position: center;
  opacity: 0.62;
}

.hero-film-video {
  opacity: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  animation: heroRise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: opacity 280ms ease, transform 280ms ease, filter 280ms ease;
}

body.is-mode-transitioning .hero-copy {
  opacity: 0.82;
  transform: translateY(0.45rem) scale(0.992);
  filter: blur(1px);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(4.7rem, 12vw, 11rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-kicker {
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
}

.hero-text {
  width: min(100%, 760px);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.28;
  font-weight: 600;
}

.hero-meta-line {
  margin: 1.45rem auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.86rem, 1.4vw, 1rem);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.85rem 2rem rgba(0, 113, 227, 0.24);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  border: 1px solid var(--blue);
  background: transparent;
  color: #2997ff;
}

.button:disabled {
  cursor: default;
  opacity: 0.68;
}

.button:disabled:hover {
  transform: none;
}

.hero-quote {
  position: relative;
  z-index: 1;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  color: rgba(255, 255, 255, 0.44);
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  line-height: 1.22;
  font-weight: 700;
  animation: fadeUp 900ms 180ms ease both;
}

.hero-quote span {
  display: inline-block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.72em;
}

.mode-view[hidden] {
  display: none;
}

.mode-view.is-active {
  animation: modeViewIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.mode-view,
.about,
.contact {
  padding: clamp(4.5rem, 8vw, 7.5rem) max(1.25rem, calc((100vw - var(--max)) / 2));
}

.dive-view {
  background: var(--paper);
  color: var(--ink);
}

.film-view {
  background: #000;
  color: var(--white);
}

.film-view .section-lead {
  margin-bottom: clamp(1.7rem, 4vw, 3.2rem);
}

.film-view .section-lead h2 {
  font-size: clamp(3rem, 8vw, 7.6rem);
}

.section-subcopy {
  width: min(100%, 40rem);
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: clamp(1rem, 1.8vw, 1.35rem) !important;
  line-height: 1.45;
  font-weight: 700 !important;
}

.section-lead {
  width: min(100%, 930px);
  margin: 0 auto clamp(2.8rem, 6vw, 5rem);
  text-align: center;
  animation: fadeUp 760ms ease both;
}

.section-lead p,
.about > div > p,
.contact > p {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.section-lead h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

#courses-title {
  white-space: nowrap;
  font-size: clamp(1.65rem, 6.1vw, 5.6rem);
  line-height: 1.02;
}

body[data-lang="en"] #courses-title {
  font-size: clamp(1.6rem, 5.4vw, 5.2rem);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.86fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  animation: fadeUp 760ms 90ms ease both;
}

.course-plan,
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-image,
.feature-copy,
.course-plan article,
.course-grid article,
.showcase,
.work-card {
  border-radius: 8px;
}

.feature-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #d7d7d7;
}

.feature-image img,
.feature-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.image-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 1rem;
  margin-top: 1rem;
  animation: fadeUp 760ms 120ms ease both;
}

.image-row figure {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #fff;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.image-row figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.14);
}

.image-row img,
.image-row video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: #000;
}

.image-row figure:nth-child(2) img,
.image-row figure:nth-child(2) video {
  aspect-ratio: 4 / 3;
}

.image-row.showcase-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-row.showcase-row img,
.image-row.showcase-row video,
.image-row.showcase-row figure:nth-child(2) img,
.image-row.showcase-row figure:nth-child(2) video {
  aspect-ratio: 4 / 3;
}

.video-play-shell {
  position: relative;
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.2rem;
  min-height: 4.2rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  box-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.28);
  font-size: 0.9rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  backdrop-filter: blur(14px);
}

.video-play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 0.45rem;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.62rem solid currentColor;
}

.video-play-shell.needs-user-play .video-play-button,
.video-play-shell.has-video-error .video-play-button {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.video-play-button:hover {
  background: rgba(0, 0, 0, 0.72);
}


.image-row figcaption {
  padding: 0.95rem 1rem 1.05rem;
  color: #424245;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.image-row figcaption span {
  display: inline-block;
  margin-top: 0.22rem;
  color: #6e6e73;
  font-size: 0.86em;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.4rem);
  background: var(--white);
}

.feature-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  line-height: 0.98;
}

.feature-copy p {
  color: #424245;
  font-size: 1.16rem;
  line-height: 1.58;
}

.feature-copy dl {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 0;
}

.feature-copy dl div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--dark-line);
}

.feature-copy dt {
  color: var(--muted);
  font-weight: 700;
}

.feature-copy dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.course-plan {
  margin-top: 1rem;
}

.course-plan article {
  min-height: 13rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--white);
  text-align: center;
}

.course-plan span {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 900;
}

.course-plan h3 {
  margin: 1.1rem 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.02;
  white-space: nowrap;
}

.course-plan p {
  margin: 0;
  color: #424245;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.course-grid {
  margin-top: 1rem;
}

.course-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 20rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  text-align: center;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.course-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.12);
}

.course-grid span {
  color: var(--blue);
  font-weight: 800;
}

.course-grid h3 {
  margin: 1rem 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  white-space: nowrap;
}

.course-grid p {
  color: #424245;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 27rem;
}

.course-grid ul {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0 1.2rem;
  padding: 0;
  list-style: none;
  color: #515154;
  font-size: 0.95rem;
  font-weight: 700;
}

.course-grid li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.course-grid li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--blue);
}

.course-detail-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 18rem);
  margin: 0.4rem 0 1.2rem;
  min-height: 2.8rem;
  padding: 0 0.35rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: center;
  transition: color 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.course-detail-trigger::after {
  content: ">";
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.55rem;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.course-detail-trigger:hover {
  border-color: rgba(0, 113, 227, 0.2);
  color: #005bb5;
}

.course-detail-trigger:hover::after {
  transform: translateX(2px);
  background: rgba(0, 113, 227, 0.16);
}

.course-grid strong {
  display: block;
  margin-top: auto;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.course-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.3rem;
  min-height: 2.6rem;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 1.8rem rgba(0, 113, 227, 0.25);
}

.course-brief {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: clamp(1.1rem, 2.6vw, 1.65rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 245, 247, 0.98)),
    var(--white);
  color: var(--ink);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.06);
}

.course-brief--panel {
  margin-top: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 247, 0.94)),
    var(--white);
  box-shadow: none;
}

.course-brief--panel[hidden] {
  display: none;
}

.course-brief-head {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dark-line);
}

.course-brief-head p,
.course-brief-grid article > span {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.course-brief-head h3 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.6rem);
  line-height: 1;
}

.course-brief--panel .course-brief-head h3 {
  font-size: clamp(1.55rem, 4vw, 3rem);
}

.course-brief-head > span {
  color: #515154;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 800;
  line-height: 1.4;
}

.course-brief-grid,
.course-logistics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.course-brief-grid article,
.course-timeline article,
.course-logistics article {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.course-brief-grid article {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.course-reward {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  gap: 0.85rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(100, 210, 255, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(0, 113, 227, 0.11), rgba(255, 255, 255, 0.82));
}

.course-invite-offer {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  gap: 0.85rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(255, 255, 255, 0.84)),
    var(--white);
}

.course-invite-offer span {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.course-invite-offer h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  line-height: 1.1;
}

.course-invite-offer ul {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-invite-offer li {
  position: relative;
  margin: 0;
  padding-left: 1rem;
  color: #424245;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.45;
  font-weight: 800;
}

.course-invite-offer li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--blue);
}

.course-reward-copy {
  display: grid;
  gap: 0.42rem;
}

.course-reward-copy span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.course-reward-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.course-reward-copy p {
  margin: 0;
  color: #515154;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.45;
}

.course-reward-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

.course-reward-list > span {
  display: grid;
  place-items: center;
  gap: 0.28rem;
  min-height: 5.5rem;
  padding: 0.82rem 0.7rem;
  border: 1px solid rgba(0, 113, 227, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0.75rem 2rem rgba(0, 113, 227, 0.08);
  text-align: center;
}

.course-reward-list strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1;
}

.course-reward-list em {
  color: var(--blue);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
}

.course-brief-grid h4,
.course-timeline h4,
.course-logistics h4 {
  margin: 0.45rem 0 0.7rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.12;
}

.course-brief-grid ul,
.course-logistics ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #424245;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
}

.course-brief-grid li,
.course-logistics li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.48rem;
}

.course-brief-grid li::before,
.course-logistics li::before {
  content: "";
  width: 0.36rem;
  height: 0.36rem;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: var(--blue);
}

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

.course-brief--panel .course-timeline {
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}

.course-timeline article {
  display: grid;
  align-content: start;
  padding: 1rem;
  min-height: 12.5rem;
}

.course-brief--panel .course-timeline article {
  min-height: 0;
}

.course-timeline span {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.course-timeline p {
  margin: 0;
  color: #515154;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.48;
}

.course-logistics article {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.course-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.course-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.09);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.course-warm-note {
  margin: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  border-radius: 8px;
  background: #111;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 750;
  line-height: 1.55;
}

.discount-draw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 8px;
  background: #111;
  color: #fff;
}

.discount-draw p {
  margin-bottom: 0.55rem;
  color: #64d2ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.discount-draw h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.discount-draw span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  font-weight: 700;
}

.discount-draw span.result-pop {
  animation: resultPop 460ms ease both;
}

.showcase {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  background: #080808;
}

.showcase video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(72vh, 46rem);
  object-fit: contain;
  background: #080808;
  opacity: 1;
  transition: opacity 220ms ease, filter 220ms ease;
}

.showcase video.is-switching {
  opacity: 0.18;
  filter: blur(6px);
}

.showcase-copy {
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  width: min(34rem, calc(100% - 2rem));
  color: var(--white);
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.8);
  transition: opacity 240ms ease, transform 240ms ease;
}

.showcase:has(video.is-switching) .showcase-copy {
  opacity: 0.74;
  transform: translateY(0.4rem);
}

.showcase-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.showcase-copy h3 {
  margin: 0.5rem 0;
  font-size: clamp(2.3rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
  line-height: 1.5;
}

.text-link {
  color: #2997ff;
  font-weight: 700;
}

.work-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.6rem, 4vw, 3.5rem);
  transition: opacity 200ms ease, transform 200ms ease;
}

.work-grid.is-filtering {
  opacity: 0.55;
  transform: translateY(0.35rem);
}

.film-lab {
  display: grid;
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
}

.film-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #101012;
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.28);
  isolation: isolate;
  transform-origin: center top;
  will-change: transform, opacity, filter;
}

.film-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(100, 210, 255, 0.22), transparent 18%, transparent 78%, rgba(245, 193, 108, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.film-stage-media {
  position: relative;
  min-height: 24rem;
  background: #000;
  overflow: hidden;
}

.film-stage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 18%, rgba(100, 210, 255, 0.16), transparent 34%),
    linear-gradient(90deg, transparent 60%, rgba(0, 0, 0, 0.28));
}

.film-stage-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: contain;
  background: #000;
  transition: opacity 260ms ease, filter 260ms ease;
  will-change: transform, opacity, filter;
}

.film-stage-media video.is-switching {
  opacity: 0.24;
  filter: blur(5px);
}

.film-stage-copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: clamp(1rem, 3vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 10% 0%, rgba(100, 210, 255, 0.1), transparent 30%),
    rgba(16, 16, 18, 0.72);
}

.film-stage-label,
.film-sheet-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

#filmStageTitle {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.95;
}

#filmStageDescription {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.46;
  font-weight: 600;
}

.film-stage-meta {
  display: grid;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 700;
}

.film-stage-meta span {
  overflow-wrap: anywhere;
}

.film-rail {
  display: flex;
  gap: 0.62rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.film-rail-item {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.5rem;
  align-content: start;
  flex: 0 0 clamp(8.7rem, 13.5vw, 11rem);
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111113;
  color: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transform-origin: center;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: transform, opacity;
}

.film-rail-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(100, 210, 255, 0.3), transparent 42%, rgba(245, 193, 108, 0.18));
  opacity: 0;
  transition: opacity 220ms ease;
}

.film-rail-item:hover {
  border-color: rgba(100, 210, 255, 0.62);
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.34);
}

.film-rail-item.is-active {
  border-color: rgba(41, 151, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(41, 151, 255, 0.16), rgba(41, 151, 255, 0.07)),
    #111113;
  box-shadow: 0 0 0 1px rgba(100, 210, 255, 0.12), 0 1.1rem 3rem rgba(0, 0, 0, 0.38);
}

.film-rail-item.is-active::after {
  opacity: 1;
}

.film-rail-number {
  color: rgba(100, 210, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 900;
}

.film-rail-thumb {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.film-rail-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 420ms ease, filter 420ms ease;
}

.film-rail-item:hover .film-rail-thumb img,
.film-rail-item.is-active .film-rail-thumb img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.film-rail-copy {
  display: grid;
  gap: 0.3rem;
}

.film-rail-copy strong {
  font-size: clamp(0.78rem, 1.05vw, 0.93rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.film-rail-copy small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
}

.film-sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 0.66fr);
  gap: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.9rem;
  background: #111113;
  overflow: hidden;
  will-change: transform, opacity, filter;
}

.film-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(100, 210, 255, 0.08), transparent 38%, rgba(245, 193, 108, 0.08));
  opacity: 0.55;
}

.film-sheet-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

#filmScopeList {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
}

#filmScopeList li::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #64d2ff;
  vertical-align: 0.1rem;
}

.film-sheet-frames {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.film-sheet-frames img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.24);
  transform-origin: center;
  transition: filter 260ms ease, box-shadow 260ms ease;
  will-change: transform, opacity, filter;
}

.film-sheet-frames img:hover {
  filter: saturate(1.08) contrast(1.04);
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.36);
}

.film-sheet-frames.is-quad-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.film-sheet-frames.is-portrait-mix {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-flow: dense;
}

.film-sheet-frames.is-portrait-mix img {
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 18%, rgba(100, 210, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    #020304;
}

.film-sheet-frames.is-portrait-mix .film-frame--portrait {
  aspect-ratio: 9 / 16;
  max-height: 22rem;
}

.film-sheet-frames.is-portrait-mix .film-frame--landscape {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.work-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101011;
  color: inherit;
  animation: cardIn 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.work-card:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 151, 255, 0.48);
}

.work-card.is-selected {
  border-color: rgba(41, 151, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.22), 0 1.4rem 4rem rgba(0, 0, 0, 0.35);
}

.work-card-trigger {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(18rem, 0.36fr);
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.poster-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.poster-frame.portrait {
  aspect-ratio: 16 / 9;
}

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

.poster-frame.portrait video,
.poster-frame.portrait img {
  object-fit: contain;
}

.work-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.work-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-number {
  color: #64d2ff;
}

.work-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.96;
}

.work-card small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.45;
  font-weight: 700;
}

.work-detail {
  display: grid;
  grid-template-columns: minmax(16rem, 0.33fr) minmax(0, 0.67fr);
  gap: clamp(1rem, 3vw, 2rem);
  max-height: 0;
  overflow: hidden;
  padding: 0 clamp(1rem, 3vw, 2rem);
  border-top: 1px solid transparent;
  background: #161617;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition:
    max-height 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    padding 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 320ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 420ms ease,
    visibility 0s linear 620ms;
}

.work-card.is-selected .work-detail {
  max-height: 130rem;
  padding: clamp(1rem, 3vw, 2rem);
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.work-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}

.work-detail-meta {
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
  font-weight: 800;
}

.work-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  font-weight: 700;
}

.work-detail ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 700;
}

.work-detail li::before {
  content: "";
  display: inline-block;
  width: 0.36rem;
  height: 0.36rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: #64d2ff;
  vertical-align: 0.12rem;
}

.work-original-link {
  justify-self: start;
  color: #64d2ff;
  font-weight: 900;
}

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

.frame-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #000;
}

.film-note {
  display: grid;
  grid-template-columns: minmax(15rem, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 8px;
  background: #161617;
}

.film-note img {
  width: 100%;
  height: clamp(18rem, 36vw, 32rem);
  object-fit: cover;
  border-radius: 8px;
}

.film-note h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.98;
}

.film-note p {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  text-align: left;
  background: var(--paper);
  color: var(--ink);
}

.about-media {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 24rem;
  min-width: 0;
  margin-inline: auto;
}

.profile-photo {
  justify-self: center;
  width: min(100%, 24rem);
  aspect-ratio: 3 / 4;
  margin: 0;
  object-fit: cover;
  border-radius: 8px;
}

.certificate-card {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  width: min(100%, 24rem);
  padding: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #111;
  color: var(--white);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.14);
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 776 / 985;
  object-fit: contain;
  border-radius: 6px;
  background: #000;
}

.certificate-card div {
  min-width: 0;
}

.certificate-card span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.certificate-card strong {
  display: block;
  color: var(--white);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.12;
}

.certificate-card p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.about-content {
  width: min(100%, 48rem);
  min-width: 0;
}

.profile-label {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.about h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.about-role {
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
  color: var(--blue);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  font-weight: 800;
}

.about-summary {
  display: grid;
  gap: 0.9rem;
}

.about-summary p {
  max-width: 46rem;
  margin: 0;
  color: #424245;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.42;
  font-weight: 600;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #424245;
  font-size: 0.86rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact {
  min-height: 70vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: #000;
}

.contact h2 {
  max-width: 13ch;
}

.contact-list {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 0.8rem 1.4rem;
  margin-top: 2rem;
}

.contact-list a {
  color: #2997ff;
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.contact-wechat,
.contact-qr-button {
  border: 0;
  background: transparent;
  color: #2997ff;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-qr-button {
  color: #64d2ff;
}

.contact-wechat:hover,
.contact-qr-button:hover {
  color: #64d2ff;
  transform: translateY(-1px);
}

.contact-wechat.is-copied {
  color: #64d2ff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 30;
  display: none;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 24rem);
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.94);
  color: #fff;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

body.film-mode .floating-cta {
  display: none !important;
}

body.show-floating-cta:not(.film-mode) .floating-cta {
  display: block;
}

.course-dialog,
.booking-dialog {
  width: min(calc(100% - 2rem), 58rem);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.course-dialog {
  width: min(calc(100% - 2rem), 64rem);
}

.course-dialog::backdrop,
.booking-dialog::backdrop {
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(18px);
}

.course-dialog[open]::backdrop,
.booking-dialog[open]::backdrop {
  animation: backdropIn 220ms ease both;
}

.course-panel,
.booking-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.32);
  overscroll-behavior: contain;
  animation: dialogIn 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.course-panel {
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.course-panel-hero {
  padding-right: 2.6rem;
  text-align: center;
}

.course-panel-hero span {
  color: var(--blue);
  font-weight: 900;
}

.course-panel-hero h2 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.92;
  white-space: nowrap;
}

.course-panel-hero p {
  width: min(100%, 42rem);
  margin: 0 auto;
  color: #424245;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.4;
  font-weight: 700;
}

.course-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.course-panel-grid section {
  padding: 1rem;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.course-panel-grid p {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.course-panel-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  white-space: nowrap;
}

.course-panel-grid ul,
.course-panel-grid ol {
  display: grid;
  justify-items: center;
  gap: 0.48rem;
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
  color: #424245;
  font-size: 0.98rem;
  line-height: 1.42;
  font-weight: 700;
}

.course-panel-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.course-panel-actions strong {
  color: var(--ink);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
}

.dialog-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  cursor: pointer;
  font-weight: 800;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
}

.qr-card img {
  display: block;
  width: min(100%, 22rem);
  border-radius: 6px;
}

.qr-card p,
.booking-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.booking-copy h2 {
  margin: 0.55rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.booking-copy span {
  display: block;
  color: #424245;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 700;
}

.booking-contact {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.booking-contact a,
.booking-contact button {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
}

body.film-mode .hero {
  background:
    linear-gradient(180deg, rgba(100, 210, 255, 0.12), transparent 24%),
    #000;
}

body.film-mode .hero-kicker {
  color: #f5c16c;
}

body.film-mode .hero-dive-video {
  opacity: 0;
}

body.film-mode .hero-film-video {
  opacity: 0.54;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-actions {
    justify-self: center;
  }

  .header-cta {
    display: none;
  }

  .mode-switch {
    width: min(100%, 24rem);
  }

  .mode-button {
    flex: 1;
    min-width: 0;
  }

  .split-feature,
  .course-plan,
  .course-grid,
  .course-brief-grid,
  .course-invite-offer,
  .course-reward,
  .course-logistics,
  .image-row,
  .work-grid,
  .film-note,
  .about,
  .course-panel-grid,
  .booking-panel {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.is-editorial {
    grid-column: span 1;
    grid-row: span 1;
  }

  .film-stage,
  .film-sheet {
    grid-template-columns: 1fr;
  }

  .film-stage-media,
  .film-stage-media video {
    min-height: 0;
  }

  .film-stage-copy {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .film-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .film-rail-item {
    flex-basis: auto;
  }

  .work-card-trigger,
  .work-detail {
    grid-template-columns: 1fr;
  }

  .work-card-copy {
    min-height: 15rem;
  }

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

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

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

  .film-sheet-frames.is-portrait-mix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .film-sheet-frames.is-portrait-mix .film-frame--landscape {
    grid-column: span 2;
  }

  .film-sheet-frames.is-portrait-mix .film-frame--portrait {
    max-height: 20rem;
  }

  .feature-image {
    min-height: 0;
  }

  .about {
    justify-items: center;
    text-align: center;
  }

  .about-media {
    max-width: 20rem;
    justify-self: center;
  }

  .about-content {
    display: grid;
    justify-items: center;
    width: min(100%, 34rem);
  }

  .about-summary p {
    text-align: center;
  }

  .profile-tags {
    justify-content: center;
  }

  .profile-photo {
    width: min(100%, 20rem);
  }

  .certificate-card {
    width: min(100%, 20rem);
  }

}

@media (max-width: 560px) {
  #courses,
  #portfolio,
  #contact {
    scroll-margin-top: 6.8rem;
  }

  .site-header {
    position: sticky;
    gap: 0.45rem;
    min-height: 0;
    padding: 0.48rem 1rem 0.62rem;
  }

  .brand {
    max-width: calc(100% - 5.8rem);
    text-align: center;
  }

  .header-actions {
    position: absolute;
    top: 0.38rem;
    right: 1rem;
  }

  .lang-toggle {
    min-width: 2.7rem;
    min-height: 1.9rem;
    font-size: 0.78rem;
  }

  .mode-switch {
    width: min(100%, 21.5rem);
  }

  .mode-button {
    padding-block: 0.42rem;
  }

  .hero {
    text-align: center;
    justify-items: center;
    min-height: calc(100svh - 6.7rem);
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(3.65rem, 16vw, 5.7rem);
  }

  #courses-title {
    width: min(100%, 21rem);
    margin-inline: auto;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 9.2vw, 2.45rem);
    line-height: 1.08;
  }

  body[data-lang="en"] #courses-title {
    width: min(100%, 20rem);
    font-size: clamp(1.72rem, 8vw, 2.18rem);
    line-height: 1.05;
  }

  .feature-copy h3,
  .film-note h3,
  .booking-copy h2 {
    font-size: clamp(2rem, 9.8vw, 3rem);
  }

  .course-panel-hero h2 {
    font-size: clamp(2.45rem, 12vw, 4.2rem);
  }

  .hero-text {
    font-size: 1.18rem;
    line-height: 1.35;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta-line {
    width: min(100%, 20rem);
    line-height: 1.35;
    text-align: center;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
  }

  .feature-copy,
  .booking-copy {
    align-items: center;
    text-align: center;
  }

  .course-brief {
    padding: 1rem;
  }

  .course-brief-head {
    text-align: center;
  }

  .course-reward {
    text-align: center;
  }

  .course-invite-offer {
    text-align: center;
  }

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

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

  .course-timeline article {
    min-height: 0;
  }

  .work-card-copy {
    min-height: 13rem;
    padding: 1.15rem;
    text-align: center;
  }

  .work-card-topline {
    margin-bottom: 1rem;
  }

  .work-card h3 {
    font-size: clamp(1.85rem, 10vw, 2.7rem);
  }

  .work-card.is-selected .work-detail {
    padding: 1rem;
  }

  .work-detail-copy {
    align-items: center;
    text-align: center;
  }

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

  .feature-copy {
    padding: clamp(1.5rem, 7vw, 2.1rem);
  }

  .feature-copy p {
    max-width: 30rem;
    margin-inline: auto;
  }

  .feature-copy dl {
    width: 100%;
    text-align: left;
  }

  .about {
    padding-top: clamp(3.2rem, 12vw, 4.5rem);
    padding-inline: 1rem;
  }

  .about h2 {
    font-size: clamp(2.15rem, 10.5vw, 2.9rem);
    line-height: 1;
  }

  .about-role {
    font-size: 1rem;
  }

  .profile-photo {
    width: min(100%, 18rem);
  }

  .certificate-card {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    width: min(100%, 18rem);
  }

  .certificate-card strong {
    font-size: 0.98rem;
    line-height: 1.08;
  }

  .certificate-card span {
    font-size: 0.62rem;
  }

  .booking-contact {
    justify-items: center;
  }

  .button {
    width: 100%;
  }

  .showcase-copy {
    position: static;
    width: auto;
    padding: 1.2rem;
    text-shadow: none;
  }

  .showcase video {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .discount-draw {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-panel {
    padding-top: 3.4rem;
  }

  .course-dialog,
  .booking-dialog {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
  }

  .course-panel,
  .booking-panel {
    max-height: calc(100svh - 1rem);
    overflow: auto;
    border-radius: 8px 8px 0 0;
    animation: sheetUp 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .course-panel::before,
  .booking-panel::before {
    content: "";
    position: absolute;
    top: 0.8rem;
    left: 50%;
    width: 2.5rem;
    height: 0.28rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
  }

  .course-panel {
    padding-top: 3.4rem;
  }

  .course-panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .qr-card {
    padding: 0.8rem;
  }

  .qr-card img {
    width: min(100%, 17rem);
  }

  .booking-contact {
    gap: 0.8rem;
  }

  .booking-contact button {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    min-height: 2.8rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
  }

  .floating-cta {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .section-lead {
    width: min(100%, 21rem);
  }

  #courses-title {
    width: min(100%, 19.5rem);
    font-size: clamp(1.9rem, 8.9vw, 2.22rem);
  }

  body[data-lang="en"] #courses-title {
    width: min(100%, 18.5rem);
    font-size: clamp(1.58rem, 7.45vw, 1.92rem);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modeViewIn {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes detailOpen {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(0.7rem) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes dialogIn {
  from {
    transform: translateY(0.8rem) scale(0.985);
  }

  to {
    transform: translateY(0) scale(1);
  }
}

@keyframes resultPop {
  0% {
    transform: translateY(8px) scale(0.98);
    opacity: 0.4;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes sheetUp {
  from {
    transform: translateY(1.2rem);
  }

  to {
    transform: translateY(0);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .film-stage,
  .film-stage-media,
  .film-stage-media video,
  .film-rail-item,
  .film-rail-thumb img,
  .film-sheet,
  .film-sheet-frames img {
    filter: none !important;
    transform: none !important;
  }
}
