:root {
  color-scheme: dark;
  --ink: #050705;
  --ink-2: #101413;
  --paper: #f3f4ef;
  --paper-2: #e4ebe8;
  --text: #f8fbf8;
  --muted: #a8b5af;
  --dark-muted: #52615b;
  --line: rgba(238, 255, 246, 0.16);
  --dark-line: rgba(5, 7, 5, 0.14);
  --mint: #33e0a2;
  --mint-soft: #8be8c6;
  --blue: #0c4965;
  --brick: #884234;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Pretendard, SUIT, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

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

h1,
h2,
h3 {
  word-break: keep-all;
}

h1 {
  margin-bottom: 22px;
  font-size: 4.85rem;
  font-weight: 950;
  line-height: 1.04;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.62rem;
  font-weight: 950;
  line-height: 1.14;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px max(24px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 5, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 144px;
  height: 34px;
}

.brand img,
.site-footer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-actions a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-actions a:hover {
  color: var(--text);
}

.header-cta {
  padding: 9px 14px;
  border: 1px solid rgba(51, 224, 162, 0.6);
  background: rgba(51, 224, 162, 0.1);
  color: var(--mint);
}

.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 86svh;
  padding: 90px max(24px, calc((100% - var(--max)) / 2)) 30px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.94) 0%, rgba(5, 7, 5, 0.78) 39%, rgba(5, 7, 5, 0.2) 74%),
    linear-gradient(180deg, rgba(5, 7, 5, 0.05) 0%, rgba(5, 7, 5, 0.64) 100%),
    url("assets/lesson-hero.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(139, 232, 198, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 232, 198, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 70%);
}

.hero-copy {
  width: min(760px, 100%);
}

.hero-logo {
  width: 210px;
  height: 58px;
  margin-bottom: 34px;
  object-fit: contain;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 32px;
  color: #e1ece7;
  font-size: 1.2rem;
  font-weight: 700;
  word-break: keep-all;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 950;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button.large {
  min-height: 56px;
  padding-inline: 28px;
}

.hero-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--max), 100%);
  margin-top: 58px;
  border: 1px solid rgba(238, 255, 246, 0.22);
  background: rgba(5, 7, 5, 0.72);
}

.hero-status div {
  min-height: 92px;
  padding: 20px 22px;
  border-right: 1px solid rgba(238, 255, 246, 0.18);
}

.hero-status div:last-child {
  border-right: 0;
}

.hero-status strong,
.hero-status span {
  display: block;
}

.hero-status strong {
  margin-bottom: 6px;
  color: var(--mint);
  font-size: 1.28rem;
  font-weight: 950;
}

.hero-status span {
  color: #d9e4df;
  font-size: 0.94rem;
  font-weight: 750;
}

.enrollment-section,
.intro-section,
.strength-section,
.gallery-section,
.curriculum,
.profile-section,
.book-section,
.interview-section,
.cta-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-heading p:not(.section-kicker) {
  color: #d4dfda;
  font-size: 1.08rem;
  font-weight: 650;
  word-break: keep-all;
}

.section-heading.compact {
  max-width: 660px;
}

.enrollment-section {
  width: 100%;
  padding-inline: max(24px, calc((100% - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.enrollment-section .section-kicker,
.enrollment-section .section-heading p:not(.section-kicker) {
  color: var(--blue);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.status-grid article {
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  background: #fffef8;
}

.status-grid span,
.status-grid strong,
.status-grid p {
  display: block;
}

.status-grid span {
  margin-bottom: 28px;
  color: var(--brick);
  font-size: 0.84rem;
  font-weight: 950;
}

.status-grid strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 2.15rem;
  font-weight: 950;
  line-height: 1;
}

.status-grid p {
  margin: 0;
  color: var(--dark-muted);
  font-weight: 750;
}

.notice {
  margin: 24px 0 0;
  padding: 22px 24px;
  border-left: 4px solid var(--mint);
  background: rgba(12, 73, 101, 0.08);
  color: #17201c;
  font-size: 1.04rem;
  font-weight: 760;
  word-break: keep-all;
}

.intro-section {
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.intro-copy {
  color: #d7e3de;
  font-size: 1.1rem;
  font-weight: 650;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.strength-section {
  padding-bottom: 44px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.strength-grid article {
  min-height: 238px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
}

.strength-grid h3 {
  color: var(--mint-soft);
}

.strength-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 680;
}

.gallery-section {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border: 1px solid rgba(238, 255, 246, 0.13);
}

.gallery-grid .wide {
  grid-column: span 2;
}

.curriculum {
  width: 100%;
  padding-inline: max(24px, calc((100% - var(--max)) / 2));
  background: var(--paper-2);
  color: var(--ink);
}

.curriculum .section-kicker,
.curriculum .section-heading p:not(.section-kicker) {
  color: var(--blue);
}

.curriculum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.lesson-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.lesson-flow article {
  min-height: 188px;
  padding: 24px;
  border: 1px solid rgba(12, 73, 101, 0.18);
  background: #fffef8;
}

.lesson-flow span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 950;
}

.lesson-flow p {
  margin-bottom: 0;
  color: var(--dark-muted);
  font-weight: 700;
}

.week-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.week-list article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--dark-line);
  background: #fffef8;
}

.week-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--brick);
  font-size: 0.85rem;
  font-weight: 950;
}

.week-list p {
  margin-bottom: 0;
  color: var(--dark-muted);
  font-weight: 700;
}

.curriculum-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 434px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--dark-line);
  background: #fbfbf5;
}

.curriculum-visual img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.curriculum-visual figcaption {
  margin-top: 14px;
  color: var(--dark-muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.profile-section,
.book-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.profile-image {
  align-self: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--ink-2);
}

.profile-image img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: 52% 63%;
  transform: scale(1.14);
  transform-origin: 52% 65%;
}

.profile-lead,
.book-copy p {
  color: #d6e2dc;
  font-size: 1.08rem;
  font-weight: 680;
  word-break: keep-all;
}

.brand-career {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
  border: 1px solid rgba(51, 224, 162, 0.32);
}

.brand-career div {
  padding: 20px;
  border-right: 1px solid rgba(51, 224, 162, 0.22);
}

.brand-career div:last-child {
  border-right: 0;
}

.brand-career strong,
.brand-career span {
  display: block;
}

.brand-career strong {
  margin-bottom: 5px;
  color: var(--mint);
  font-size: 1.04rem;
  font-weight: 950;
}

.brand-career span {
  color: var(--muted);
  font-weight: 800;
}

.credential-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.credential-list li {
  position: relative;
  padding-left: 22px;
  color: #dce8e2;
  font-weight: 730;
}

.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--mint);
}

.book-section {
  padding-top: 20px;
}

.book-cover {
  justify-self: center;
  width: min(360px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  background: #eef0ec;
}

.book-cover img {
  width: 100%;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  border-bottom: 2px solid var(--mint);
  color: var(--mint);
  font-weight: 950;
}

.interview-section {
  padding-top: 40px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-section {
  width: 100%;
  padding-inline: max(24px, calc((100% - 820px) / 2));
  text-align: center;
  background:
    linear-gradient(180deg, rgba(51, 224, 162, 0.12), rgba(51, 224, 162, 0.03)),
    var(--ink-2);
}

.cta-section p:not(.section-kicker) {
  max-width: 690px;
  margin-inline: auto;
  color: #d8e4df;
  font-size: 1.08rem;
  font-weight: 700;
  word-break: keep-all;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px max(24px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer img {
  width: 132px;
  height: 32px;
}

.mobile-sticky-cta {
  display: none;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.18rem;
  }

  .header-actions {
    gap: 14px;
  }

  .hero {
    min-height: 82svh;
  }

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

  .hero-status div:nth-child(2),
  .hero-status div:nth-child(3) {
    border-top: 1px solid rgba(238, 255, 246, 0.18);
  }

  .hero-status div:nth-child(2) {
    border-right: 0;
  }

  .intro-grid,
  .curriculum-layout,
  .profile-section,
  .book-section {
    grid-template-columns: 1fr;
  }

  .curriculum-visual {
    min-height: 340px;
  }

  .profile-image img {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .brand {
    width: 132px;
    height: 30px;
  }

  .header-actions {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions a:not(.header-cta) {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 84svh;
    padding-top: 64px;
    background:
      linear-gradient(180deg, rgba(5, 7, 5, 0.94) 0%, rgba(5, 7, 5, 0.72) 52%, rgba(5, 7, 5, 0.38) 100%),
      url("assets/lesson-hero.jpg") 58% center / cover no-repeat;
  }

  .hero-logo {
    width: 174px;
    height: 48px;
    margin-bottom: 26px;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 1.86rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-status,
  .status-grid,
  .strength-grid,
  .lesson-flow,
  .week-list,
  .brand-career {
    grid-template-columns: 1fr;
  }

  .hero-status div,
  .hero-status div:nth-child(2),
  .hero-status div:nth-child(3),
  .brand-career div {
    border-right: 0;
    border-top: 1px solid rgba(238, 255, 246, 0.18);
  }

  .hero-status div:first-child,
  .brand-career div:first-child {
    border-top: 0;
  }

  .enrollment-section,
  .intro-section,
  .strength-section,
  .gallery-section,
  .curriculum,
  .profile-section,
  .book-section,
  .interview-section,
  .cta-section {
    width: min(100% - 32px, var(--max));
    padding-block: 72px;
  }

  .enrollment-section,
  .curriculum,
  .cta-section {
    width: 100%;
    padding-inline: 16px;
  }

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

  .gallery-grid .wide {
    grid-column: auto;
  }

  .gallery-grid img {
    height: 240px;
  }

  .profile-image img {
    min-height: 430px;
    transform: scale(1.08);
  }

  .book-cover {
    width: min(300px, 100%);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid rgba(51, 224, 162, 0.72);
    background: rgba(5, 7, 5, 0.9);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
  }

  .mobile-sticky-cta span,
  .mobile-sticky-cta strong {
    display: block;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mobile-sticky-cta span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
  }

  .mobile-sticky-cta strong {
    color: var(--mint);
    font-size: 1rem;
    font-weight: 950;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .button {
    width: 100%;
  }

  .hero-status strong,
  .status-grid strong {
    font-size: 1.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
