/* Apple-inspired original design. Variance 7 / motion 5 / density 3.
   Radii: media 24px, fields 12px, buttons pill. Layers: header 20; native dialog top layer. */
:root {
  color-scheme: light dark;
  --bg: #fff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #dedee2;
  --accent: #bc4007;
  --accent-hover: #9c3404;
  --nav: rgba(255, 255, 255, 0.9);
  --section-space: 80px;
  --heading-space: 36px;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
picture.responsive-picture { display: contents; }
picture.responsive-picture > source { display: none; }
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #ffd6c0;
  color: #1d1d1f;
}
.container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
}
/* Adjacent white sections share one gap instead of stacking both paddings. */
main > .section:not(.surface) + .section:not(.surface) {
  padding-top: 0;
}
.surface {
  background: var(--surface);
}
main > .surface {
  margin-inline: 20px;
  border-radius: 48px;
  overflow: clip;
}
main > .surface > .container {
  width: min(1200px, calc(100% - 56px));
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 22px;
}
.section-title {
  margin-bottom: var(--heading-space);
}
h2 {
  font-size: clamp(36px, 4.15vw, 56px);
  letter-spacing: -0.045em;
  line-height: 1.2;
  font-weight: 800;
}
h1,
h2,
h3 {
  font-synthesis: weight;
}
h3 {
  font-weight: 750;
}
h2 .muted {
  color: #515156;
}
.section-title > p:not(.eyebrow),
.curriculum-heading > p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
}
.section-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  min-height: 48px;
  padding: 12px 24px;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: scale(0.98);
}
.button.primary {
  background: var(--accent);
  color: #fff;
}
.button.primary:hover {
  background: var(--accent-hover);
}
.button.secondary,
.button.dark {
  border-color: var(--line);
  background: var(--bg);
  color: var(--text);
}
.button.small {
  min-height: 34px;
  font-size: 12px;
  padding: 8px 16px;
  gap: 8px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 16px;
  line-height: 1.5;
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-link > span {
  font-size: 23px;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  background: var(--bg);
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  width: min(1200px, calc(100% - 96px));
  margin: auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.brand img {
  width: 46px;
  height: 26px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
.brand-sub {
  font-weight: 400;
  margin-left: 4px;
  font-size: 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}
.nav-links a {
  padding: 22px 0;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 38px;
  height: 40px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.25s;
}
.hero {
  padding-top: 56px;
  overflow: hidden;
}
.hero-copy {
  text-align: center;
  padding-inline: 24px;
}
.hero .eyebrow {
  color: var(--muted);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.065em;
}
.hero h1 > span {
  color: var(--accent);
}
.hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 24px;
}
.hero .actions {
  margin-top: 28px;
}
.hero-showcase {
  margin-top: 40px;
  overflow: hidden;
  padding: 24px 0 30px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.poster-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 1160px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  perspective: 1600px;
}
.poster-strip img {
  width: 220px;
  height: 294px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 28px #20203018;
}
.poster-strip > picture:nth-child(1) img {
  transform: rotate(-7deg) translateY(20px);
}
.poster-strip > picture:nth-child(2) img {
  transform: rotate(-4deg);
}
.poster-strip > picture:nth-child(4) img {
  transform: rotate(4deg);
}
.poster-strip > picture:nth-child(5) img {
  transform: rotate(7deg) translateY(20px);
}
.poster-strip .poster-featured {
  width: 236px;
  height: 332px;
  z-index: 1;
  transform: translateY(-5px);
}
.hero-caption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 24px 0;
  line-height: 1.7;
}
.intro-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  align-items: center;
}
.intro-layout p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}
.intro-layout p + p {
  margin-top: 16px;
}
.intro-layout .text-link {
  margin-top: 20px;
}
.work-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 14px;
}
.gallery-controls {
  display: flex;
  gap: 10px;
}
.gallery-controls button {
  border: 0;
  background: var(--bg);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 25px;
  line-height: 1;
}
.work-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.project-card {
  scroll-snap-align: start;
  min-width: 0;
}
.poster-button {
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  background: transparent;
  overflow: hidden;
  border-radius: 18px;
}
.poster-button img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s;
}
.poster-button:hover img {
  transform: scale(1.035);
}
.project-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-top: 20px;
}
.project-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 9px;
}
.course-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.course-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  white-space: nowrap;
  font-size: 15px;
  color: var(--muted);
  padding: 16px 26px;
}
.course-tabs button:first-child {
  padding-left: 0;
  padding-right: 30px;
}
.course-tabs button[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.course-feature {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 435px;
}
.course-panel {
  padding: 48px;
  align-self: center;
}
.course-format {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.course-panel h3 {
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: -0.045em;
  margin-top: 18px;
}
.course-panel > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
  max-width: 26em;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin: 24px 0 18px;
}
.course-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.curriculum-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}
.curriculum-heading > .text-link {
  margin-top: 24px;
}
.curriculum-list details {
  border-bottom: 1px solid var(--line);
}
.curriculum-list summary {
  list-style: none;
  display: grid;
  grid-template-columns: 66px 1fr 22px;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  min-height: 90px;
  padding: 18px 0;
}
summary::-webkit-details-marker {
  display: none;
}
.day {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.curriculum-list h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 550;
}
.expand {
  font-size: 25px;
  color: var(--muted);
  transition: transform 0.2s;
}
.curriculum-list details[open] .expand {
  transform: rotate(45deg);
}
.curriculum-list details[open] h3 {
  color: var(--accent);
}
.lesson-detail {
  padding: 0 30px 28px 80px;
}
.lesson-detail p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.lesson-detail > span {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
}
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.mentor-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
}
.mentor-portrait {
  overflow: hidden;
  aspect-ratio: 1;
  background: #303033;
}
.mentor-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mentor-copy {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 32px;
  flex: 1;
}
.mentor-grid h3 {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.mentor-copy > span {
  display: block;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  margin-top: 12px;
  color: var(--accent);
}
.mentor-grid p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 16px;
}
.mentor-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding: 24px 0 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
}
.mentor-more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.mentor-more > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 23px;
  font-weight: 400;
}
.mentor-card:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.mentor-more:focus-visible { outline: none; }
/* Existing brand language: variance 7 / motion 5 / density 3. */
.mentor-dialog {
  width: min(1040px, calc(100% - 48px));
  max-width: none;
  max-height: 90dvh;
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: var(--bg);
  color: var(--text);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 100px #0003;
}
.mentor-dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(12px);
}
.mentor-dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  height: 70px;
  padding: 18px 20px 8px;
  background: var(--bg);
}
.mentor-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 29px;
  line-height: 1;
}
.mentor-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 48px;
  padding: 4px 48px 44px;
}
.mentor-detail-portrait {
  position: sticky;
  top: 78px;
}
.mentor-detail-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: var(--surface);
}
.mentor-detail-portrait p {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.mentor-detail-role {
  padding-top: 6px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 650;
}
.mentor-detail-copy h2 {
  margin-top: 12px;
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.mentor-detail-intro {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
.mentor-detail-sections {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}
.mentor-detail-sections h3 {
  margin-bottom: 9px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 750;
}
.mentor-detail-sections p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.mentor-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 24px 24px;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
}
.mentor-detail-footer p { font-size: 15px; font-weight: 650; line-height: 1.7; }
.mentor-detail-footer .text-link { font-size: 14px; white-space: nowrap; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mentor-card { transition: transform 220ms ease, box-shadow 220ms ease; }
  .mentor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px #0000000a; }
}
@media (prefers-reduced-motion: no-preference) {
  .mentor-dialog[open] { animation: mentor-enter 220ms ease-out; }
  @keyframes mentor-enter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-transparency: reduce) {
  .mentor-dialog::backdrop { backdrop-filter: none; }
}
@media (max-width: 767px) {
  .mentor-dialog { width: calc(100% - 24px); max-height: 94dvh; border-radius: 24px; }
  .mentor-dialog-toolbar { height: 64px; padding: 12px 12px 8px; }
  .mentor-detail-layout { grid-template-columns: 1fr; gap: 24px; padding: 0 24px 28px; }
  .mentor-detail-portrait { position: static; }
  .mentor-detail-portrait img { aspect-ratio: 1; max-height: 360px; object-position: center 32%; border-radius: 18px; }
  .mentor-detail-portrait p { margin-top: 12px; font-size: 12px; }
  .mentor-detail-copy h2 { font-size: 40px; }
  .mentor-detail-role { padding: 0; font-size: 13px; }
  .mentor-detail-intro { margin-top: 16px; font-size: 16px; }
  .mentor-detail-sections { margin-top: 26px; gap: 24px; }
  .mentor-detail-footer { margin: 0 12px 12px; padding: 20px; border-radius: 18px; }
}
.campus-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
.image-button {
  padding: 0;
  background: var(--bg);
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.image-button img {
  width: 100%;
  height: calc(100% - 55px);
  object-fit: cover;
  transition: transform 0.6s;
}
.image-button:hover img {
  transform: scale(1.025);
}
.image-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 55px;
  padding: 16px 24px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
}
.campus-gallery > .image-button {
  grid-column: 2;
  min-width: 0;
}
.campus-gallery > .gallery-avenue {
  grid-column: 1;
  grid-row: 1 / span 3;
}
.campus-gallery .image-button img {
  height: auto;
  aspect-ratio: 21 / 9;
}
.campus-gallery .gallery-avenue img {
  flex: 1;
  min-height: 0;
  height: 0;
  aspect-ratio: auto;
}
.campus-gallery .image-caption {
  flex-shrink: 0;
  width: 100%;
}
.campus-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.campus-bottom > p {
  font-size: 12px;
  color: var(--muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 80px;
}
.service-grid article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.service-grid article > span {
  font-size: 12px;
  color: var(--accent);
}
.service-grid h3 {
  font-size: 25px;
  margin-top: 12px;
  letter-spacing: -0.03em;
}
.service-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 27em;
  margin-top: 14px;
}
.experience-section {
  text-align: center;
}
.experience-label {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}
.experience-section h2 {
  font-size: clamp(44px, 5.5vw, 76px);
  margin-top: 24px;
}
.experience-section .container > p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 22px;
}
.experience-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.06em;
  margin: 24px 0;
}
.experience-price > span {
  font-size: 28px;
  letter-spacing: 0;
}
.experience-price > .price-unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 10px;
}
.experience-section .container > p.experience-note {
  font-size: 12px;
  margin-top: 20px;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 500;
}
.faq-list summary > span {
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  padding-bottom: 26px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
}
.contact-phone {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 550;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 30px;
}
.contact-phone > span {
  font-size: 28px;
  color: var(--accent);
}
.contact-email {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}
.contact-direct > p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 32px;
}
.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.social-button {
  border: 0;
  border-radius: 18px;
  padding: 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.social-button > img {
  width: 142px;
  height: 142px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.social-button > strong {
  font-size: 17px;
  margin-top: 20px;
}
.social-button > span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.social-button > small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.site-footer {
  background: var(--bg);
  padding: 40px 0 28px;
  color: var(--muted);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.footer-top .brand {
  color: var(--text);
  font-size: 14px;
}
.footer-top > span {
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  padding-top: 24px;
  font-size: 11px;
  line-height: 1.8;
}
.footer-bottom > span {
  margin-right: auto;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.media-dialog {
  border: 0;
  padding: 32px;
  border-radius: 24px;
  background: var(--bg);
  color: var(--text);
  max-width: min(1000px, 90vw);
  max-height: 92dvh;
  overflow: auto;
}
.media-dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(10px);
}
.media-dialog h2 {
  font-size: 23px;
  margin: 0 50px 24px 0;
}
.media-dialog > img {
  width: auto;
  max-width: 100%;
  max-height: 65dvh;
  object-fit: contain;
  margin-inline: auto;
  border-radius: 12px;
}
.media-dialog > p {
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
}
.dialog-close {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  font-size: 28px;
  font-weight: 300;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: hero-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-showcase {
    animation: hero-in 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js-motion .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.75s ease,
      transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js-motion .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  @keyframes hero-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1b1b1e;
    --text: #f5f5f7;
    --muted: #a0a0a6;
    --line: #37373c;
    --accent: #ff864d;
    --accent-hover: #ffa077;
    --nav: rgba(17, 17, 19, 0.9);
  }
  .button.primary {
    color: #201109;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }
  .media-dialog::backdrop {
    backdrop-filter: none;
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 64px;
  }
  .hero h1 {
    font-size: 90px;
  }
  .poster-strip img {
    width: 246px;
    height: 330px;
  }
  .poster-strip .poster-featured {
    width: 265px;
    height: 374px;
  }
}
@media (max-width: 1024px) {
  :root {
    --section-space: 64px;
  }
  .container,
  .nav-shell {
    width: calc(100% - 64px);
  }
  .nav-links {
    gap: 18px;
  }
  .intro-layout {
    gap: 40px;
  }
  .intro-layout p {
    font-size: 16px;
  }
  .course-panel {
    padding: 34px;
  }
  .course-panel h3 {
    font-size: 32px;
  }
  .curriculum-layout,
  .faq-section {
    gap: 40px;
  }
  .contact-layout {
    gap: 40px;
  }
  .social-links {
    gap: 16px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .work-gallery {
    grid-auto-columns: calc((100% - 48px) / 3);
  }
  .mentor-grid {
    gap: 20px;
  }
  .mentor-copy {
    padding: 22px 20px 26px;
  }
  .mentor-grid p {
    font-size: 14px;
  }
  .poster-button img {
    height: 340px;
  }
}
@media (max-width: 767px) {
  :root {
    --section-space: 48px;
    --heading-space: 28px;
  }
  html {
    scroll-padding-top: 80px;
  }
  .container,
  .nav-shell {
    width: calc(100% - 40px);
  }
  main > .surface {
    margin-inline: 8px;
    border-radius: 28px;
  }
  main > .surface > .container {
    width: calc(100% - 32px);
  }
  h2 {
    font-size: 36px;
    line-height: 1.23;
  }
  .section-title > p:not(.eyebrow),
  .curriculum-heading > p:not(.eyebrow) {
    font-size: 16px;
    margin-top: 16px;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .nav-shell {
    min-height: 60px;
    gap: 10px;
  }
  .brand {
    font-size: 14px;
    gap: 7px;
  }
  .brand img {
    width: 38px;
    height: 22px;
  }
  .brand-sub {
    font-size: 10px;
  }
  .nav-actions {
    gap: 6px;
  }
  .button.small {
    font-size: 11px;
    padding: 7px 12px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 12px 28px 28px;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
  }
  .nav-links.is-open {
    display: grid;
    gap: 0;
  }
  .nav-links a {
    padding: 15px 0;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
  .hero {
    padding-top: 40px;
  }
  .hero h1 {
    font-size: clamp(43px, 10.8vw, 66px);
    letter-spacing: -0.065em;
  }
  .hero h1 > span {
    display: block;
    margin-top: 6px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
  }
  .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .hero .actions {
    gap: 20px;
    margin-top: 24px;
  }
  .button {
    font-size: 13px;
    min-height: 44px;
    padding: 10px 20px;
    gap: 12px;
  }
  .text-link {
    font-size: 14px;
  }
  .hero-showcase {
    margin-top: 28px;
    padding-block: 20px 22px;
    mask-image: none;
  }
  .poster-strip {
    min-width: 760px;
    gap: 14px;
  }
  .poster-strip img {
    width: 142px;
    height: 202px;
    border-radius: 12px;
  }
  .poster-strip .poster-featured {
    width: 165px;
    height: 234px;
  }
  .hero-caption {
    font-size: 11px;
    margin-top: 14px;
  }
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .intro-layout p {
    font-size: 16px;
  }
  .work-gallery {
    grid-auto-columns: 72%;
    gap: 20px;
  }
  .poster-button img {
    height: auto;
    aspect-ratio: 0.72;
    object-fit: cover;
  }
  .project-card h3 {
    font-size: 18px;
  }
  .course-tabs {
    margin-bottom: 24px;
  }
  .course-tabs button {
    padding: 14px 18px;
    font-size: 13px;
  }
  .course-tabs button:first-child {
    padding-right: 18px;
  }
  .course-feature {
    grid-template-columns: 1fr;
  }
  .course-panel {
    padding: 30px;
    min-height: 345px;
  }
  .course-panel h3 {
    font-size: 32px;
  }
  .course-panel > p {
    font-size: 15px;
  }
  .course-image {
    height: 270px;
  }
  .feature-tags {
    margin-top: 20px;
    gap: 16px;
  }
  .curriculum-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .curriculum-list summary {
    grid-template-columns: 52px 1fr 18px;
    gap: 8px;
    min-height: 84px;
  }
  .curriculum-list h3 {
    font-size: 17px;
  }
  .day {
    font-size: 10px;
  }
  .lesson-detail {
    padding-left: 60px;
    padding-right: 15px;
  }
  .lesson-detail p {
    font-size: 14px;
  }
  .mentor-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mentor-grid article {
    border-radius: 24px;
  }
  .mentor-copy {
    padding: 24px;
  }
  .mentor-grid h3 {
    font-size: 30px;
  }
  .mentor-copy > span {
    font-size: 13px;
  }
  .mentor-grid p {
    font-size: 14px;
    margin-top: 16px;
  }
  .campus-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }
  .campus-gallery > .image-button {
    grid-column: auto;
    grid-row: auto;
  }
  .image-button {
    border-radius: 16px;
  }
  .image-button img {
    height: calc(100% - 46px);
  }
  .campus-gallery .image-button img {
    aspect-ratio: 16 / 9;
  }
  .campus-gallery .gallery-avenue img {
    flex: none;
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .image-caption {
    font-size: 12px;
    padding: 13px 15px;
    min-height: 46px;
  }
  .campus-bottom {
    align-items: flex-start;
  }
  .campus-bottom > p {
    font-size: 11px;
    max-width: 170px;
    line-height: 1.8;
  }
  .campus-bottom .text-link {
    min-height: 28px;
    white-space: nowrap;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-grid h3 {
    font-size: 23px;
  }
  .service-grid p {
    font-size: 15px;
    max-width: none;
  }
  .experience-section h2 {
    font-size: 48px;
  }
  .experience-section .container > p {
    font-size: 16px;
  }
  .experience-price {
    font-size: 58px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .faq-list summary {
    font-size: 15px;
    line-height: 1.6;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-phone {
    font-size: 34px;
    gap: 24px;
  }
  .contact-email {
    font-size: 16px;
  }
  .contact-direct > p {
    margin-top: 22px;
    font-size: 12px;
  }
  .social-button {
    padding: 20px 14px;
  }
  .social-button > img {
    width: 128px;
    height: 128px;
  }
  .footer-top {
    gap: 20px;
    padding-bottom: 24px;
  }
  .footer-top > span {
    font-size: 10px;
  }
  .footer-bottom {
    gap: 12px 20px;
    font-size: 10px;
  }
  .footer-bottom > span {
    flex-basis: 100%;
  }
  .media-dialog {
    padding: 24px;
    max-width: calc(100vw - 24px);
    width: 100%;
  }
  .media-dialog h2 {
    font-size: 20px;
  }
  .media-dialog > img {
    max-height: 68dvh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* Brand orange is used on solid actions; darker orange keeps small links legible. */
.button.primary {
  background: #ff6410;
  color: #1d1d1f;
}
.button.primary:hover {
  background: #ed5808;
}
.hero h1 > span {
  color: #e4550b;
}
.actions .text-link {
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .hero h1 > span {
    color: #ff864d;
  }
  h2 .muted {
    color: #b7b7be;
  }
  .button.primary:hover {
    background: #ff813a;
  }
}
.student-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.student-gallery .image-button {
  border-radius: 16px;
  background: var(--surface);
}
.student-gallery .image-button img {
  aspect-ratio: 1.76;
  width: 100%;
  height: auto;
}
.student-gallery .image-caption {
  background: var(--surface);
  width: 100%;
}
@media (max-width: 767px) {
  .student-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .student-gallery .image-button img {
    aspect-ratio: 1.76;
  }
}

/* Refined type weight and click-to-play film collection. */
.work-heading, .image-caption { font-weight: 700; }
.course-panel h3, .curriculum-list h3 { font-weight: 750; }
.film-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.film-cover { position: relative; padding: 0; border: 0; width: 100%; overflow: hidden; border-radius: 26px; background: #111; display: block; }
.film-cover img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; transition: transform .5s ease; }
.film-cover:hover img { transform: scale(1.035); }
.play-disc { position: absolute; left: 22px; bottom: 22px; width: 48px; height: 48px; display: grid; place-items: center; padding-left: 3px; border-radius: 50%; background: #fffffff0; color: #1d1d1f; font-size: 16px; }
.film-duration { position: absolute; right: 18px; bottom: 25px; color: #fff; background: #000b; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-variant-numeric: tabular-nums; }
.film-card .film-category { font-size: 12px; font-weight: 650; color: var(--accent); letter-spacing: .05em; margin-top: 22px; }
.film-card h3 { font-size: 23px; margin-top: 9px; letter-spacing: -.03em; }
.film-card > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 12px; }
.video-dialog { width: min(1100px, 92vw, calc(65dvh * var(--video-ratio, 1.77778) + 64px)); max-width: 1100px; }
.video-dialog video { display: block; width: 100%; height: auto; aspect-ratio: var(--video-ratio, 1.77778); max-height: 65dvh; border-radius: 18px; background: transparent; }
#video-status:empty { display: none; }
.sample-heading { margin-top: 40px; }
.sample-heading h3 { font-size: 18px; font-weight: 750; }
.sample-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding-bottom: 16px;
}
.sample-card { min-width: 0; scroll-snap-align: start; }
.sample-card .film-cover { border-radius: 18px; background: transparent; isolation: isolate; }
.sample-card .film-cover img { aspect-ratio: auto; height: 360px; border-radius: inherit; }
.sample-card h3 { margin-top: 16px; font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.sample-card > p { margin-top: 7px; font-size: 13px; color: var(--muted); }
.sample-card .play-disc { width: 42px; height: 42px; left: 16px; bottom: 16px; font-size: 14px; }
.sample-card .film-duration { right: 14px; bottom: 20px; }
.video-dialog.is-portrait {
  width: min(calc(65dvh * var(--video-ratio, .5625) + 48px), calc(100vw - 24px));
  padding: 24px;
}
.video-dialog.is-portrait video {
  width: 100%;
  height: auto;
  aspect-ratio: var(--video-ratio, .5625);
  object-fit: contain;
  background: transparent;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .sample-gallery { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; }
  .sample-card .film-cover img { height: 340px; }
}
@media (max-width: 767px) {
  .film-grid { grid-template-columns: 1fr; gap: 36px; }
  .film-cover { border-radius: 22px; }
  .film-cover img { aspect-ratio: 16 / 9; }
  .film-card h3 { font-size: 23px; }
  .video-dialog { padding: 20px; width: min(calc(100% - 24px), calc(65dvh * var(--video-ratio, 1.77778) + 40px)); }
  .video-dialog video { border-radius: 12px; }
  .sample-heading { margin-top: 28px; }
  .sample-gallery { grid-auto-columns: 72%; gap: 20px; }
  .sample-card .film-cover img { height: auto; aspect-ratio: .72; }
  .video-dialog.is-portrait {
    width: min(calc(65dvh * var(--video-ratio, .5625) + 40px), calc(100vw - 24px));
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) { .film-cover img { transition: none; } }

/* The hero remains centered on wide screens and can be explored on narrow ones. */
@media (max-width: 1199px) {
  .hero-showcase {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    mask-image: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
  }
  .hero-showcase::-webkit-scrollbar { display: none; }
  .hero-showcase:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
  .hero-showcase.is-dragging { cursor: grabbing; scroll-snap-type: none; }
  .hero-showcase .poster-strip {
    left: auto;
    transform: none;
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    padding-inline: max(24px, calc(50vw - 110px));
  }
  .hero-showcase .poster-strip img {
    flex: 0 0 auto;
    max-width: none;
    scroll-snap-align: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
  }
}
@media (max-width: 767px) {
  .hero-showcase .poster-strip { padding-inline: max(20px, calc(50vw - 71px)); }
}
