@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

/* =====================
   DESIGN TOKENS
   ===================== */
:root {
  --brand: #FF5C28;
  --sand: #B5A283;
  --white: #FFFFFF;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);

  --border-strong: 1px solid rgba(255, 255, 255, 0.4);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.2);
  --border-header: 1px solid rgba(255, 255, 255, 0.1);

  --px: 48px;
  --py-section: 120px;
  --gap-section: 70px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

::selection {
  background-color: var(--brand);
  color: var(--sand);
}

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  color: var(--white);
  background-color: #4a3620;
  background-image: url('../assets/images/bg-texture.png');
  background-size: 474px 462px;
  background-repeat: repeat;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
}

ul, ol {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* =====================
   HEADER
   ===================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--px) 25px;
  border-bottom: var(--border-header);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.35s ease;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('../assets/images/bg-texture.png');
  background-size: 474px 462px;
  background-repeat: repeat;
  background-color: #4a3620;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(181, 162, 131, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.header.scrolled {
  padding: 10px var(--px);
}

.header.scrolled::before {
  opacity: 0;
}

.header.scrolled::after {
  opacity: 1;
}

.header.scrolled .logo {
  font-size: 24px;
}

.logo {
  font-family: 'Caveat Brush', cursive;
  font-size: 30px;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  transition: font-size 0.3s ease;
}

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: flex;
  gap: 50px;
  align-items: center;
}

.nav a {
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.35px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 0.7;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.location-time {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.location-time .time {
  font-family: 'Menlo', 'Monaco', 'Lucida Console', monospace;
}

/* ── Hamburger button (hidden on desktop) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile nav overlay (hidden on desktop) ── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background-image: url('../assets/images/bg-texture.png');
  background-size: 474px 462px;
  background-repeat: repeat;
  background-color: #4a3620;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 80px var(--px) 60px;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-nav ul li {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.mobile-nav ul li:first-child {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.mobile-nav ul a {
  display: block;
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  padding: 20px 0;
  letter-spacing: -0.5px;
  transition: opacity 0.2s;
}

.mobile-nav ul a:hover { opacity: 0.6; }

.mobile-nav__cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--white);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav__cta:hover {
  background: var(--white);
  color: #4a3620;
}

.btn-inquiry {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  border: 1px solid var(--white);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.btn-inquiry:hover {
  background-color: var(--white);
  color: #4a3620;
}

.btn-inquiry .arrow {
  font-weight: 400;
  font-size: 18px;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 120px;
}

.info-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px var(--px) 0;
}

.info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-bar-left {
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.open-now-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 6px;
  flex-shrink: 0;
}

.open-now-text {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-title-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.key-copy {
  padding: 50px var(--px);
  position: relative;
  width: 100%;
}

.key-copy-text {
  font-size: max(60px, 9.7vw);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.key-copy-text .thin {
  font-weight: 100;
}

.hero-highlight {
  position: relative;
  display: inline-block;
  padding: 0.03em 0.06em 0.01em;
  margin-left: -0.06em;
  margin-right: 0.03em;
  isolation: isolate;
}

.hero-highlight__text {
  position: relative;
  z-index: 1;
}

.hero-highlight__circle {
  position: absolute;
  left: -0.06em;
  top: 50%;
  z-index: 2;
  width: calc(100% + 0.12em);
  height: calc(100% + 0.5em);
  overflow: visible;
  pointer-events: none;
  transform: translateY(-48%);
}

.hero-highlight__circle path {
  fill: none;
  stroke: var(--brand);
  stroke-width: clamp(2px, 0.35vw, 5px); /* 화면 크기에 따라 유동적으로 변화 */
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke; /* stroke-width를 픽셀 고정, dasharray는 SVG 좌표 유지 */
  stroke-dasharray: 0 99999;
  opacity: 0;
}

.key-copy-icon {
  position: absolute;
  left: calc(var(--px) - 12px);
  top: 173px;
  width: clamp(200px, 44.9vw, 646px);
  height: auto;
  aspect-ratio: 646 / 229;
  pointer-events: none;
}

.key-copy-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scroll-hint {
  display: flex;
  justify-content: flex-end;
  padding: 0 var(--px);
  opacity: 0.7;
  width: 100%;
}

.scroll-hint span {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-images {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  padding: 50px var(--px);
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  min-width: 0;
}

.sub-text {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 10px 0;
  width: 100%;
}

.sub-text-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.current-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.current-label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-list p {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.current-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.current-badge {
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  flex-shrink: 0;
}

.hero-left-image-wrap {
  aspect-ratio: 552 / 736;
  width: 100%;
  padding: 30px 50px;
  position: relative;
}

.hero-left-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main-image {
  flex: 1;
  aspect-ratio: 685 / 1030;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.hero-main-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.open-time-badge {
  position: absolute;
  right: 36px;
  top: 37px;
  background: var(--brand);
  padding: 4px 10px;
  z-index: 2;
}

.open-time-badge span {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.2px;
}

/* =====================
   SECTION SHARED
   ===================== */
.section {
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
  padding: var(--py-section) var(--px);
}

.section--strong {
  border-top: var(--border-strong);
}

.section--subtle {
  border-top: var(--border-subtle);
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.section-title__label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.section-title__heading {
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: -1.2px;
}

/* =====================
   ABOUT SECTION
   ===================== */
.about-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.about-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 46px;
  min-width: 0;
}

.about-big-text {
  font-size: clamp(calc(32px + 4pt), calc(3.6vw + 4pt), calc(52px + 4pt));
  line-height: 1.15;
  letter-spacing: -1.3px;
  word-break: keep-all;
}

.about-big-text .medium {
  font-weight: 500;
}

.about-big-text .thin {
  font-weight: 100;
}


.about-underline {
  position: relative;
  display: inline;
}

.about-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 3px;
  width: 0;
  background: var(--brand);
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-underline.is-drawn::after {
  width: 100%;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.about-body p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 604px;
}

.about-right {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 0;
}

.about-row {
  display: flex;
  gap: 70px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: var(--border-subtle);
}

.about-row:first-child {
  padding-top: 0;
}

.about-row__label {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  width: 76px;
  flex-shrink: 0;
}

.about-row__value {
  font-size: 16px;
  font-weight: 400;
  line-height: 22.75px;
  max-width: 482px;
}

/* =====================
   CLASS SECTION
   ===================== */
.class-list {
  border-top: var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.class-item {
  border-bottom: var(--border-subtle);
  padding: 48px 0;
  cursor: pointer;
}

.class-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.class-item__title-group {
  display: flex;
  align-items: center;
  gap: 84px;
  white-space: nowrap;
  flex-shrink: 0;
}

.class-item__number {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  flex-shrink: 0;
}

.class-item__names {
  display: flex;
  align-items: center;
  gap: 30px;
}

.class-item__name-ko {
  font-size: clamp(28px, 3.7vw, 53px);
  font-weight: 500;
  line-height: 48px;
  letter-spacing: -1.2px;
}

.class-item__name-en {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 300;
  line-height: 32px;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
}

.class-item__desc-group {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.class-item__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: right;
  white-space: nowrap;
}

.class-item__toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33.94px;
  height: 33.94px;
  flex-shrink: 0;
}

.class-item__toggle {
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.class-item__toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.class-item.open .class-item__toggle {
  transform: rotate(0deg);
}

.class-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.class-item.open .class-item__body {
  grid-template-rows: 1fr;
}

.class-item__body-inner {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.class-item.open .class-item__body-inner {
  padding-top: 60px;
}

.class-body-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.class-body-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 100px;
  flex-shrink: 0;
}

.class-body-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 507px;
}

.class-body-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 12px 24px;
  border: 1px solid var(--white);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.class-body-link:hover {
  background-color: var(--white);
  color: #4a3620;
}

.class-body-right {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: clamp(300px, 46%, 647px);
}

.class-info-row {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.class-info-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  width: 50px;
  flex-shrink: 0;
  opacity: 0.85;
}

.class-info-value {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.class-info-value strong {
  font-weight: 800;
}

.class-body-image {
  margin-top: 80px;
  width: clamp(300px, 46%, 647px);
  align-self: flex-end;
  aspect-ratio: 645 / 479;
  overflow: hidden;
}

.class-body-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================
   SPACE SECTION
   ===================== */
.space-images {
  display: grid;
  /* col1: left-half of left column, col2: right-half of left column, col3: right column */
  grid-template-columns: 32.55fr 33.71fr 33.74fr;
  /* row1: top image, row2: bottom two images */
  grid-template-rows: 51.3fr 48.7fr;
  gap: 16px;
  aspect-ratio: 1390 / 616;
  width: 100%;
  overflow: hidden;
}

.space-cell {
  overflow: hidden;
  background: var(--sand);
  position: relative;
}

.space-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Top-left: spans both left columns, row 1 */
.space-cell--01 {
  grid-column: 1 / 3;
  grid-row: 1;
}

/* Right tall image: spans both rows */
.space-cell--02 {
  grid-column: 3;
  grid-row: 1 / 3;
}

/* Bottom-left */
.space-cell--03 {
  grid-column: 1;
  grid-row: 2;
}

/* Bottom-right (of left group) */
.space-cell--04 {
  grid-column: 2;
  grid-row: 2;
}

/* =====================
   NOTICE + FAQ SECTION
   ===================== */
.notice-faq {
  border-top: var(--border-subtle);
  display: flex;
  gap: 70px;
  align-items: flex-start;
  padding: var(--py-section) var(--px);
}

.notice-content,
.faq-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
  min-width: 0;
}

.notice-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.notice-items {
  border-top: var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.notice-item {
  border-bottom: var(--border-subtle);
  cursor: pointer;
}

.notice-item__header {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 65px;
  padding: 20px 10px;
  transition: opacity 0.2s;
}

.notice-item:hover .notice-item__header {
  opacity: 0.75;
}

.notice-item__date {
  font-family: 'Menlo', 'Monaco', 'Lucida Console', monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.notice-item__title {
  font-size: 19px;
  font-weight: 400;
  line-height: 20px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-item.open .notice-item__title {
  overflow: visible;
  white-space: normal;
}

.notice-item__badge {
  background: var(--brand);
  padding: 0 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  flex-shrink: 0;
}

.notice-item__toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-item.open .notice-item__toggle {
  transform: rotate(45deg);
}

.notice-item__toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.notice-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.notice-item.open .notice-item__body {
  grid-template-rows: 1fr;
}

.notice-item__body-inner {
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-item.open .notice-item__body-inner {
  padding-top: 20px;
  padding-bottom: 54px;
}

.notice-item__content {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 10px;
  max-width: 560px;
}

.notice-item--hidden {
  display: none;
}

.notice-items.expanded .notice-item--hidden {
  display: block;
}

.notice-view-all,
.notice-collapse {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-align: right;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
}

.notice-view-all:hover,
.notice-collapse:hover {
  opacity: 0.7;
}

.notice-view-all.is-hidden {
  display: none;
}

.faq-list {
  border-top: var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: var(--border-subtle);
  padding: 20px 10px;
  cursor: pointer;
  transition: padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open {
  padding-bottom: 50px;
}

.faq-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item__question {
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
}

.faq-item__toggle {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item__toggle {
  transform: rotate(45deg);
}

.faq-item__toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item.open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item__answer-inner {
  padding-top: 36px;
}

.faq-item__answer-text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  padding-right: 30px;
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact-content {
  display: flex;
  gap: 96px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
  min-width: 0;
}

.contact-heading {
  font-size: clamp(calc(32px + 4pt), calc(3.6vw + 4pt), calc(52px + 4pt));
  line-height: 1.15;
  word-break: keep-all;
}

.contact-heading .medium {
  font-weight: 500;
}

.contact-heading .thin {
  font-weight: 100;
}

.definition-list {
  display: flex;
  flex-direction: column;
}

.definition-item {
  border-bottom: var(--border-subtle);
  display: flex;
  gap: 50px;
  align-items: center;
  padding: 16px 0;
}

.definition-item__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  width: 50px;
  flex-shrink: 0;
}

.definition-item__value {
  font-size: 18px;
  font-weight: 400;
  line-height: 22.75px;
  word-break: break-word;
}

a.definition-item__value {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

a.definition-item__value::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 2h4.5M2 2v10h10V7.5M2 2l7 7M8.5 2H12v3.5' stroke='rgba(255,255,255,0.75)' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

a.definition-item__value:hover {
  opacity: 0.7;
}

.map-panel {
  flex: 1;
  aspect-ratio: 647 / 480;
  background: var(--sand);
  position: relative;
  min-height: 320px;
  min-width: 0;
  overflow: hidden;
}

.map-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(74, 54, 32, 0.03), rgba(74, 54, 32, 0.16));
  pointer-events: none;
}

.map-panel--ready::after {
  display: none;
}

.map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.map-panel--ready .map-panel__fallback {
  display: none;
}

.map-location-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3a2818;
  cursor: pointer;
  text-decoration: none;
  z-index: 3;
}

.map-panel:not(.map-panel--ready) .map-location-card {
  display: none;
}

.map-panel__fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: none;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: min(260px, calc(100% - 40px));
  padding: 14px 16px;
  background: rgba(255, 250, 241, 0.95);
  border: 1px solid rgba(74, 54, 32, 0.22);
  color: #3a2818;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.map-panel--fallback .map-panel__fallback {
  display: flex;
}

.map-panel__fallback a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-location-card__bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: calc(100vw - 80px);
  padding: 10px 14px 9px;
  background: rgba(255, 250, 241, 0.96);
  border: 1px solid rgba(74, 54, 32, 0.22);
  box-shadow: 0 18px 44px rgba(74, 54, 32, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.map-location-card__bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: rgba(255, 250, 241, 0.96);
  border-right: 1px solid rgba(74, 54, 32, 0.22);
  border-bottom: 1px solid rgba(74, 54, 32, 0.22);
  transform: translateX(-50%) rotate(45deg);
  transition: border-color 0.2s ease;
}

.map-location-card__eyebrow {
  font-family: 'Menlo', 'Monaco', 'Lucida Console', monospace;
  font-size: 14px;
  line-height: 18px;
  color: var(--brand);
  text-transform: uppercase;
  white-space: nowrap;
}

.map-location-card__pin {
  position: relative;
  width: 42px;
  height: 42px;
  margin-top: 14px;
  background: var(--brand);
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 28px rgba(74, 54, 32, 0.26);
  transform: rotate(-45deg);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.map-location-card__pin::before {
  content: 'AB';
  position: absolute;
  inset: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transform: rotate(45deg);
}

.map-location-card:hover .map-location-card__bubble,
.map-location-card:focus-visible .map-location-card__bubble {
  border-color: rgba(255, 92, 40, 0.45);
  box-shadow: 0 22px 52px rgba(74, 54, 32, 0.28);
  transform: translateY(-2px);
}

.map-location-card:hover .map-location-card__bubble::after,
.map-location-card:focus-visible .map-location-card__bubble::after {
  border-right-color: rgba(255, 92, 40, 0.45);
  border-bottom-color: rgba(255, 92, 40, 0.45);
}

.map-location-card:hover .map-location-card__pin,
.map-location-card:focus-visible .map-location-card__pin {
  background: #e84d1e;
  transform: rotate(-45deg) translate(-1px, 1px);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  border-top: var(--border-strong);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px var(--px);
  min-height: 200px;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  font-family: 'Caveat Brush', cursive;
  font-size: 22px;
  line-height: 20px;
  letter-spacing: 0.7px;
}

.footer-copy {
  font-family: 'Menlo', 'Monaco', 'Lucida Console', monospace;
  font-size: 14px;
  line-height: 16px;
  color: var(--white-60);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-social__label {
  font-family: 'Menlo', 'Monaco', 'Lucida Console', monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-social__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-social__links a {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  transition: opacity 0.2s;
}

.footer-social__links a:hover {
  opacity: 0.7;
}

/* =====================
   RESPONSIVE — 1200px
   ===================== */
@media (max-width: 1200px) {
  :root {
    --px: 36px;
    --py-section: 100px;
    --gap-section: 60px;
  }

  .class-item__desc {
    display: none;
  }
}

/* =====================
   RESPONSIVE — 960px
   ===================== */
@media (max-width: 960px) {
  :root {
    --px: 28px;
    --py-section: 80px;
    --gap-section: 50px;
  }

  .nav {
    gap: 28px;
  }

  .nav a {
    font-size: 15px;
  }

  .location-time {
    display: none;
  }

  .hero-images {
    flex-direction: column;
  }

  .hero-left {
    width: 100%;
  }

  .hero-main-image {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    aspect-ratio: 685 / 800;
  }

  .about-content {
    flex-direction: column;
    gap: 48px;
  }

  .about-right {
    width: 100%;
  }

  .about-row {
    gap: 40px;
  }

  .about-row__value {
    max-width: 100%;
  }

  .class-body-left {
    padding-left: 40px;
  }

  .notice-faq {
    flex-direction: column;
    gap: 80px;
  }

  .contact-content {
    flex-direction: column;
    gap: 48px;
  }

  .map-panel {
    width: 100%;
    aspect-ratio: 647 / 340;
    min-height: 320px;
  }
}

/* =====================
   RESPONSIVE — 768px
   ===================== */
@media (max-width: 768px) {
  :root {
    --px: 24px;
    --py-section: 64px;
    --gap-section: 40px;
  }

  .header {
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    justify-content: space-between;
  }

  .nav {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    font-size: 14px;
  }

  .hero-images {
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 32px;
  }

  .key-copy {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .key-copy-icon {
    display: none;
  }

  .sub-text {
    gap: 40px;
  }

  .sub-text-desc {
    font-size: 17px;
  }

  .hero-left-image-wrap {
    padding: 16px 24px;
  }

  /* Swap hero images on mobile */
  .hero-left {
    display: contents;
  }

  .sub-text        { order: 1; }
  .hero-main-image { order: 2; width: 100%; max-width: none; margin: 0; }
  .hero-left-image-wrap { order: 3; width: 100%; }

  .class-item__title-group {
    gap: 32px;
  }

  .class-item__name-ko {
    line-height: 1.1;
  }

  .class-body-layout {
    flex-direction: column;
    gap: 40px;
  }

  .class-body-left {
    padding-left: 0;
  }

  .class-body-right {
    width: 100%;
  }

  .class-body-image {
    margin-top: 48px;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .section-title__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .notice-faq {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer {
    min-height: auto;
    padding: 48px var(--px);
  }
}

/* =====================
   FLOATING KAKAO BUTTON
   ===================== */
.fab-kakao {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FEE500;
  color: #3A1D1D;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 150;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-kakao:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* =====================
   RESPONSIVE — 540px
   ===================== */
@media (max-width: 540px) {
  .info-bar {
    align-items: flex-start;
  }

  .class-body-link {
    display: none;
  }

  .fab-kakao {
    display: flex;
  }

  .hero-highlight__circle path {
    stroke-width: 4px;
  }

  /* ── Hamburger menu ── */
  .hamburger {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
  }

  .header nav,
  .header-cta {
    display: none;
  }

  .header {
    flex-wrap: nowrap;
    gap: 0;
    position: sticky;
  }

  .info-bar-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .info-bar-sep { display: none; }

  :root {
    --px: 20px;
    --py-section: 56px;
    --gap-section: 36px;
  }

  .btn-inquiry {
    padding: 10px 16px;
    font-size: 14px;
  }

  .class-item__header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .class-item__desc-group {
    margin-left: auto;
    flex-shrink: 0;
  }

  .class-item__desc {
    display: none;
  }

  .class-body-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-top: 36px;
  }

  .notice-item__header {
    flex-wrap: wrap;
    gap: 6px 12px;
    min-height: auto;
    padding: 16px 10px;
  }

  .notice-item__date {
    width: 100%;
    font-size: 12px;
  }

  .notice-item__title {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
  }

  .notice-item.open .notice-item__title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .contact-content {
    gap: 40px;
  }

  .map-panel {
    min-height: 300px;
  }

  .map-location-card__bubble {
    max-width: calc(100vw - 56px);
    padding: 9px 12px 8px;
  }

  .map-location-card__pin {
    width: 38px;
    height: 38px;
    margin-top: 12px;
  }

  .map-location-card__pin::before {
    inset: 7px;
    font-size: 10px;
  }

  .definition-item {
    gap: 24px;
  }

  .footer {
    flex-direction: column;
    gap: 40px;
  }

  .about-row {
    gap: 24px;
    flex-direction: column;
  }

  .about-row__label {
    width: auto;
  }

  .space-images {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    aspect-ratio: auto;
    height: auto;
    gap: 10px;
  }

  .space-cell--01,
  .space-cell--02,
  .space-cell--03,
  .space-cell--04 {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    position: relative;
  }
}
