@charset "utf-8";

/**
 * Main page responsive (index only)
 * Baseline: 1920px desktop
 * 홈만 3단: PC 1440+ / 태블릿 768–1439 / 모바일 767 이하
 * Color, font family, tone unchanged — layout/type size only.
 */

/*
 * CRITICAL: legacy fullpage.css forces .fp-table sections to width:1920px
 * below 1920 viewport → right-side hero cards are clipped by overflow:hidden.
 * Keep main sections fluid to the actual viewport.
 */
body.main-index .fp-section.fp-table,
body.main-index .fp-slide.fp-table,
body.main-index #fullpage > .section {
  width: 100% !important;
  max-width: 100%;
}

body.main-index {
  overflow-x: hidden;
}

/* PC 1440–1919: 1920 구성을 창 너비에 맞춘다. 배율은 js/common.js */
@media (min-width: 1440px) and (max-width: 1919px) {
  body.main-index,
  body.main-index #fullpage,
  body.main-index .fp-section.fp-table,
  body.main-index .fp-slide.fp-table,
  body.main-index #fullpage > .section {
    width: calc(var(--pc-layout, 1920) * 1px) !important;
    max-width: none;
  }

  body.main-index .main-hero__indicator {
    width: calc(1000px * var(--pc-chrome, 1));
    gap: calc(20px * var(--pc-chrome, 1));
  }

  body.main-index .main-hero__indicator > li {
    flex-basis: calc(184px * var(--pc-chrome, 1));
    width: calc(184px * var(--pc-chrome, 1));
    min-width: 0;
  }

  body.main-index .main-hero__cards {
    grid-template-columns: repeat(2, calc(280px * var(--pc-chrome, 1)));
    grid-template-rows: repeat(2, calc(120px * var(--pc-chrome, 1)));
    gap: calc(10px * var(--pc-chrome, 1));
  }

  body.main-index .main-hero__card {
    width: calc(280px * var(--pc-chrome, 1));
    height: calc(120px * var(--pc-chrome, 1));
  }

  body.main-index .main-core__stage,
  body.main-index .main-core__intro,
  body.main-index .main-core__detail {
    --core-scale: calc(var(--pc-layout, 1920) / 1920);
  }

  body.main-index header .header-top {
    margin: 0 60px;
    gap: 40px;
  }

  body.main-index header .header-gnb {
    gap: 90px;
  }

  body.main-index header .inner > ul,
  body.main-index header .header-mega__menus {
    --menu-col-gap: 90px;
  }

  body.main-index header .logo,
  body.main-index header .logo a,
  body.main-index header .logo img {
    width: 410px;
    height: 29px;
  }

  body.main-index header .header-utils {
    display: flex;
  }

  body.main-index header .header-mega__inner {
    margin: 0 60px;
  }

  body.main-index header .header-mega__menus {
    margin-right: 254px;
  }

  body.main-index header .header-mega__feature,
  body.main-index header .header-mega__img,
  body.main-index header .header-mega__img img {
    width: 400px;
  }

  body.main-index header .header-mega__img,
  body.main-index header .header-mega__img img {
    height: 200px;
  }
}

/* 1439 이하 홈: 1920 고정과 가로 스크롤을 풀고 태블릿·모바일 배치를 쓴다 */
@media (max-width: 1439px) {
  html:has(body.main-index),
  body.main-index {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* 인디케이터 하단 문구 — 모바일 전용 짧은 라벨 */
.main-hero__indicator .txt-m {
  display: none;
}

@media (max-width: 768px) {
  .main-hero__indicator .txt-full {
    display: none;
  }

  .main-hero__indicator .txt-m {
    display: inline;
  }

  /* 전체·공원·비공원 — 라벨/숫자 간격 축소, 어떤 폭에서도 한 줄 */
  body.main-index .main-hero__stats {
    flex-wrap: nowrap;
    font-size: clamp(10px, 3.1vw, 12px);
    white-space: nowrap;
  }

  body.main-index .main-hero__stat-label {
    width: auto;
    white-space: nowrap;
  }

  body.main-index .main-hero__stat-value {
    margin-left: 5px;
  }

  body.main-index .main-hero__stat + .main-hero__stat {
    padding-left: 9px;
    margin-left: 8px;
  }

  /* 4개 탭을 가로 스크롤 없이 화면폭에 균등 분배 */
  body.main-index .main-hero__indicator > li {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 389px) {
  body.main-index .main-hero__indicator > li .txt {
    font-size: 11px;
  }
}

/* 1439 이하 태블릿에서 1920 배치를 접는다 */
@media (max-width: 1439px) {
  .main-hero__indicator {
    left: 60px;
    right: auto;
    top: auto;
    bottom: 36px;
    width: calc(100% - 60px - 40px - min(570px, 100% - 80px) - 24px);
    max-width: 860px;
    overflow: visible;
  }

  /* Cards: bottom-right, fluid 2×2 — sized to real viewport width */
  .main-hero__cards {
    position: absolute;
    right: 40px;
    left: auto;
    top: auto;
    bottom: 40px;
    z-index: 20;
    width: min(570px, calc(100% - 80px));
    max-width: calc(100% - 80px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    transform: none;
  }

  .main-hero__card {
    width: 100%;
    height: auto;
    aspect-ratio: 280 / 120;
  }

  .main-hero__card-text {
    padding: clamp(12px, 1.2vw, 22px) clamp(12px, 1.1vw, 20px);
  }

  .main-hero__card-en {
    font-size: clamp(13px, 0.95vw, 17px);
  }

  .main-hero__card-ko {
    font-size: clamp(12px, 0.8vw, 14px);
  }

  .main-hero__card-overlay {
    width: 55%;
    max-width: 170px;
  }
}

/* ========== 1199 — desktop shrink ========== */
@media (max-width: 1439px) {
  /* Hero */
  .main-hero__content {
    left: 48px;
    max-width: min(820px, calc(100% - 96px));
  }

  .main-hero__title {
    font-size: 48px;
    letter-spacing: -1.2px;
  }

  .main-hero__subtitle {
    font-size: 18px;
  }

  .main-hero__stats {
    font-size: 15px;
  }

  .main-hero__indicator {
    left: 48px;
    right: auto;
    top: auto;
    bottom: 32px;
    width: calc(100% - 48px - 32px - min(500px, 100% - 64px) - 20px);
    max-width: 760px;
    gap: 14px;
    overflow: visible;
  }

  .main-hero__indicator > li {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 200px;
  }

  .main-hero__cards {
    right: 32px;
    bottom: 36px;
    width: min(500px, calc(100% - 64px));
  }

  /* Core — slight scale cap; keep group lowered */
  .main-core__stage {
    --core-scale: min(100vw / 1920px, 100vh / 967px, 0.9);
    transform: translate(-50%, calc(-50% + 24px)) scale(var(--core-scale));
  }

  .main-core__intro {
    --core-scale: min(100vw / 1920px, 100vh / 967px, 0.9);
    left: 48px;
    top: calc(50% - var(--core-scale) * 280px);
  }

  .main-core__detail {
    --core-scale: min(100vw / 1920px, 100vh / 967px, 0.9);
    top: calc(50% + 24px - 3.5px * var(--core-scale));
  }

  .main-core__intro-title {
    font-size: 48px;
  }

  /* Business */
  .main-business__txt {
    left: 36px;
    bottom: 80px;
  }

  .main-business__item.is-active .main-business__txt,
  .main-business__item:focus-visible .main-business__txt {
    left: 48px;
  }

  .main-business__intro {
    left: 48px;
    top: 140px;
  }

  .main-business__head {
    width: auto;
    max-width: calc(100% - 96px);
    gap: 30px;
  }

  .main-business__desc {
    width: min(720px, calc(100% - 96px));
    max-width: calc(100% - 96px);
  }

  .main-business__en {
    font-size: 18px;
  }

  .main-business__ko {
    font-size: 24px;
  }

  .main-business__item.is-active .main-business__ko,
  .main-business__item:focus-visible .main-business__ko {
    font-size: 40px;
  }

  .main-business__intro-title {
    font-size: 40px;
  }

  .main-business__intro-tag {
    font-size: 22px;
  }

  /* Footer */
  .main-footer__inner {
    padding: 48px 40px 40px;
    gap: 36px;
  }

  .main-footer__logo {
    width: 320px;
    height: auto;
  }

  .main-footer__links {
    gap: 48px;
  }
}

/* 낮은 태블릿: 두 줄 제목이 아래 프로젝트 이름을 가리지 않게. 모바일 너비는 제외 */
@media (min-width: 769px) and (max-width: 1439px) and (max-height: 820px) {
  .main-hero__content {
    top: auto;
    bottom: 210px;
  }

  .main-hero__indicator {
    bottom: 28px;
  }
}

/* ========== 1024 — tablet ========== */
@media (max-width: 1439px) {
  /* Hero — pin edges so nothing clips past the viewport */
  .main-hero__content {
    left: 32px;
    right: 32px;
    top: auto;
    bottom: 30%;
    max-width: none;
  }

  .main-hero__title {
    font-size: 36px;
    letter-spacing: -0.9px;
  }

  .main-hero__subtitle {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .main-hero__stats {
    font-size: 14px;
  }

  .main-hero__indicator {
    left: 32px;
    right: auto;
    top: auto;
    bottom: 44px;
    width: calc(100% - 32px - 20px - min(340px, 100% - 40px) - 12px);
    max-width: none;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .main-hero__indicator::-webkit-scrollbar {
    display: none;
  }

  .main-hero__indicator > li {
    flex: 0 0 140px;
    width: 140px;
    min-width: 140px;
    height: 68px;
  }

  .main-hero__indicator > li .loc {
    font-size: 12px;
  }

  .main-hero__indicator > li .txt {
    top: 44px;
    font-size: 14px;
  }

  .main-hero__indicator > li .bar {
    top: 24px;
  }

  /* Cards: keep 2×2, bottom-right of real viewport */
  .main-hero__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    right: 20px;
    top: auto;
    bottom: 28px;
    gap: 6px;
    transform: none;
    width: min(340px, calc(100% - 40px));
  }

  .main-hero__card {
    width: 100%;
    height: auto;
    aspect-ratio: 280 / 120;
  }

  .main-hero__card-overlay {
    width: 55%;
    max-width: 120px;
  }

  .main-hero__card-text {
    padding: 12px 12px;
  }

  .main-hero__card-en {
    font-size: 13px;
  }

  .main-hero__card-ko {
    font-size: 12px;
  }

  /* Core — stacked: intro → wheel → detail at bottom */
  .main-core__connector {
    display: none !important;
  }

  .main-core__intro {
    left: 24px;
    right: 24px;
    top: 100px;
    transform: none;
    z-index: 3;
  }

  .main-core__intro-title {
    font-size: 26px;
    letter-spacing: -0.65px;
    line-height: 1.35;
    white-space: normal;
  }

  .main-core__intro-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
    max-width: none;
  }

  .main-core__company-btn {
    width: 176px;
    height: 44px;
    margin-top: 16px;
    padding: 0 18px;
  }

  .main-core__company-btn-label {
    font-size: 14px;
  }

  .main-core__stage {
    --core-scale: min(100vw / 1100px, 40vh / 700px, 0.68);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--core-scale));
  }

  .main-core__dial {
    left: 960px;
    top: 483px;
  }

  .main-core__detail {
    --core-scale: 1;
    left: 24px;
    right: 24px;
    top: auto;
    bottom: 28px;
    width: auto;
    max-width: none;
    transform: translateY(24px);
    transform-origin: bottom left;
    z-index: 3;
  }

  .main-core__detail.is-active {
    transform: translateY(0);
  }

  .main-core__detail-label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .main-core__detail-en {
    font-size: 32px;
    letter-spacing: -0.8px;
    margin-bottom: 6px;
  }

  .main-core__detail-desc {
    font-size: 15px;
    margin-bottom: 4px;
    word-break: keep-all;
  }

  .main-core__progress {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .main-core__nav {
    height: 210px;
  }

  .main-core__nav-chrome-row,
  .main-core__nav-btn {
    height: 70px;
  }

  .main-core__nav.is-shifting .main-core__nav-track {
    transform: translate3d(0, -70px, 0);
  }

  /* Business — 5열 → 세로 스택 */
  .main-business {
    flex-direction: column;
  }

  .main-business__item {
    flex: none;
    width: 100%;
    height: 108px;
    max-width: none;
    transition: height 0.7s cubic-bezier(0.33, 0, 0.2, 1);
  }

  .main-business__item.is-active,
  .main-business__item:focus-visible {
    flex-grow: 1;
    max-width: none;
    height: calc(100% - 432px);
  }

  .main-business__txt {
    left: 24px;
    right: 24px;
    bottom: 28px;
    width: auto;
  }

  .main-business__item.is-active .main-business__txt,
  .main-business__item:focus-visible .main-business__txt {
    left: 24px;
  }

  .main-business__intro {
    left: 24px;
    right: 24px;
    top: 100px;
  }

  .main-business__item.is-active .main-business__intro {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .main-business__head {
    width: auto;
    max-width: none;
    gap: 30px;
  }

  .main-business__desc {
    width: 100%;
    max-width: none;
  }

  .main-business__en {
    font-size: 26px;
  }

  .main-business__ko {
    font-size: 26px;
  }

  .main-business__item.is-active .main-business__ko,
  .main-business__item:focus-visible .main-business__ko {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .main-business__intro-title {
    font-size: 32px;
    letter-spacing: -0.8px;
    white-space: normal;
  }

  .main-business__intro-tag {
    font-size: 18px;
    white-space: normal;
  }

  .main-business__arrow {
    width: 48px;
    height: 48px;
  }

  .main-business__desc {
    font-size: 14px;
  }

  .main-business__item.is-active .main-business__desc,
  .main-business__item:focus-visible .main-business__desc {
    padding-top: 16px;
  }

  /* Footer */
  .main-footer__inner {
    padding: 40px 32px 36px;
    gap: 28px;
    flex-wrap: wrap;
  }

  .main-footer__logo {
    width: 260px;
  }

  .main-footer__center {
    margin: 0;
    flex: 1 1 280px;
  }

  .main-footer__links {
    gap: 32px;
  }

  .main-footer__family {
    margin-left: auto;
  }
}

/* ========== 768 — mobile ========== */
@media (max-width: 768px) {
  /* Hero video: no top overhang; start slight top-crop so bottom chrome fits */
  .main-hero__video {
    top: 0;
    height: 100%;
    object-position: center 40%;
  }

  /* 글과 상태 배지를 한 묶음으로, 하단 탭 위에 고정. 제목이 길어도 위로만 늘어난다 */
  .main-hero {
    --hero-indicator-bottom: 48px;
    --hero-indicator-h: 64px;
    --hero-copy-gap: 20px;
    --hero-lift: 40px;
  }

  .main-hero__content {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: calc(var(--hero-indicator-bottom) + var(--hero-indicator-h) + var(--hero-copy-gap) + var(--hero-lift));
  }

  .main-hero__title {
    font-size: 28px;
    letter-spacing: -0.7px;
    margin-bottom: 12px;
  }

  .main-hero__subtitle {
    font-size: 14px;
    margin: 0 0 12px 0;
  }

  .main-hero__stats {
    font-size: 12px;
    line-height: 1.4;
  }

  .main-hero__stat + .main-hero__stat {
    padding-left: 14px;
    margin-left: 12px;
  }

  /* 카드가 숨겨진 뒤에도 1024 규칙이 카드 폭을 빼 width를 0으로 만든다 */
  .main-hero__indicator {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    bottom: 48px;
    gap: 8px;
    overflow: visible;
  }

  .main-hero__indicator > li {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    height: 64px;
  }

  .main-hero__indicator > li .loc {
    font-size: 11px;
    line-height: 18px;
  }

  .main-hero__indicator > li .txt {
    top: 40px;
    font-size: 13px;
    line-height: 18px;
  }

  .main-hero__indicator > li .bar {
    top: 22px;
  }

  .main-hero__badge {
    height: 40px;
    padding: 0 16px;
    gap: 8px;
    font-size: 13px;
  }

  .main-hero__badge i {
    width: 8px;
    height: 8px;
  }

  .main-hero__badge-extra {
    gap: 8px;
  }

  .main-hero__facts {
    padding-top: 0;
    column-gap: 16px;
    row-gap: 8px;
  }

  /* Hide side cards on phone — too cramped with fullpage */
  .main-hero__cards {
    display: none;
  }

  /* Core — stacked mobile: intro → wheel → active detail only */
  .main-core {
    --core-intro-band: 268px;
    --core-detail-band: 156px;
  }

  .main-core__connector {
    display: none !important;
  }

  .main-core__intro {
    left: 20px;
    right: 20px;
    top: 120px;
    transform: none;
    z-index: 3;
  }

  /* 첫 페이지 .main-hero__title과 동일 크기 */
  .main-core__intro-title {
    font-size: 28px;
    letter-spacing: -0.7px;
    line-height: 1.35;
    white-space: normal;
  }

  .main-core__intro-desc {
    display: none;
  }

  .main-core__company-btn {
    width: 168px;
    height: 42px;
    margin-top: 14px;
    padding: 0 18px;
  }

  .main-core__company-btn-label {
    font-size: 13px;
  }

  /* 휠: intro 하단 ~ detail 상단 사이 세로 중앙 (위·아래 마진 균등) */
  .main-core__stage {
    --core-scale: min(100vw / 1000px, 34vh / 700px, 0.58);
    top: calc(var(--core-intro-band) + (100% - var(--core-intro-band) - var(--core-detail-band)) / 2);
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--core-scale));
  }

  .main-core__dial {
    left: 960px;
    top: 483px;
  }

  .main-core__node-label {
    display: none;
  }

  /* 하단: active 텍스트 + 인디케이터만 (nav 3버튼 숨김) */
  .main-core__detail {
    --core-scale: 1;
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 52px;
    width: auto;
    max-width: none;
    transform: translateY(24px);
    transform-origin: bottom left;
    z-index: 3;
  }

  .main-core__detail.is-active {
    transform: translateY(0);
  }

  .main-core__detail-label {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .main-core__detail-en {
    font-size: 28px;
    letter-spacing: -0.7px;
    margin-bottom: 6px;
  }

  .main-core__detail-desc {
    font-size: 14px;
    margin-bottom: 4px;
    word-break: keep-all;
  }

  .main-core__progress {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .main-core__nav {
    display: none !important;
  }

  /* Business — all 5 rows stay in one viewport (flex fill, no overflow clip) */
  /* padding-top = 고정 헤더(80px) 높이 → 첫 카드가 헤더 뒤로 숨지 않음 */
  .main-business {
    container-type: size;
    box-sizing: border-box;
    padding-top: 80px;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  .main-business__item {
    flex: 0 0 88px;
    height: 88px;
    max-height: 88px;
    min-height: 0;
    margin-right: 0;
  }

  .main-business__item.is-active,
  .main-business__item:focus-visible {
    flex: 1 1 0%;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  /*
   * 닫힌 카드: 미디어를 펼친 패널 높이로 두고 상단만 보이게(overflow clip)
   * → 이미지·상단 그라데이션 프레임이 오픈 직후와 동일. 확대 애니(scale)는 유지.
   */
  .main-business__item:not(.is-active):not(:focus-visible) .main-business__media {
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100cqh - 352px); /* 4 × 88px closed rows */
    contain: none;
  }

  .main-business__item.is-active .main-business__media,
  .main-business__item:focus-visible .main-business__media {
    inset: 0;
    height: auto;
  }

  .main-business__txt {
    left: 16px;
    right: 16px;
    bottom: 20px;
  }

  .main-business__item.is-active .main-business__txt,
  .main-business__item:focus-visible .main-business__txt {
    left: 16px;
  }

  .main-business__intro {
    left: 16px;
    right: 16px;
    top: 88px;
  }

  .main-business__en {
    display: none;
  }

  .main-business__ko {
    font-size: 22px;
  }

  .main-business__item.is-active .main-business__ko,
  .main-business__item:focus-visible .main-business__ko {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .main-business__intro-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .main-business__intro-tag {
    font-size: 16px;
  }

  .main-business__arrow {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .main-business__item.is-active .main-business__arrow {
    opacity: 1;
  }

  .main-business__item.is-active .main-business__media::after {
    opacity: 0.5;
  }

  .main-business__desc {
    font-size: 13px;
  }

  .main-business__item.is-active .main-business__desc,
  .main-business__item:focus-visible .main-business__desc {
    grid-template-rows: 1fr;
    padding-top: 12px;
  }

  /* Footer — vertical stack */
  #fullpage .main-footer,
  .footer-section .main-footer {
    height: auto;
    min-height: 0;
  }

  .main-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 20px 44px;
    gap: 24px;
  }

  .main-footer__logo {
    width: 220px;
  }

  .main-footer__center {
    max-width: none;
    width: 100%;
    flex: none;
  }

  .main-footer__links {
    gap: 20px;
    flex-wrap: wrap;
  }

  .main-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .main-footer__sep {
    display: none;
  }

  .main-footer__copy {
    margin-top: 20px;
  }

  .main-footer__family {
    width: 100%;
    margin-left: 0;
  }

  .main-footer__family-btn,
  .main-footer__family-panel {
    width: 100%;
  }
}

/* ========== 480 — small mobile ========== */
@media (max-width: 480px) {
  .main-hero {
    --hero-indicator-bottom: 44px;
    --hero-indicator-h: 58px;
  }

  .main-hero__title {
    font-size: 24px;
    letter-spacing: -0.6px;
  }

  .main-hero__subtitle {
    font-size: 13px;
  }

  .main-hero__stats {
    font-size: 11px;
  }

  .main-hero__stat + .main-hero__stat {
    padding-left: 10px;
    margin-left: 8px;
  }

  .main-hero__indicator {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 44px;
    gap: 6px;
  }

  .main-hero__indicator > li {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 58px;
  }

  .main-hero__indicator > li .loc {
    font-size: 10px;
  }

  .main-hero__indicator > li .txt {
    top: 36px;
    font-size: 12px;
  }

  .main-core {
    --core-intro-band: 240px;
    --core-detail-band: 140px;
  }

  .main-core__intro {
    top: 104px;
  }

  .main-core__intro-title {
    font-size: 24px;
    letter-spacing: -0.6px;
  }

  .main-core__stage {
    --core-scale: min(100vw / 920px, 32vh / 700px, 0.54);
  }

  .main-core__detail {
    bottom: 40px;
  }

  .main-core__detail-en {
    font-size: 24px;
  }

  .main-core__detail-desc {
    font-size: 13px;
  }

  .main-business__item {
    flex: 0 0 76px;
    height: 76px;
    max-height: 76px;
  }

  .main-business__item:not(.is-active):not(:focus-visible) .main-business__media {
    height: calc(100cqh - 304px); /* 4 × 76px closed rows */
  }

  .main-business__item.is-active,
  .main-business__item:focus-visible {
    flex: 1 1 0%;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .main-business__ko {
    font-size: 20px;
  }

  .main-business__item.is-active .main-business__ko,
  .main-business__item:focus-visible .main-business__ko {
    font-size: 24px;
    letter-spacing: -0.7px;
  }

  .main-business__arrow {
    width: 40px;
    height: 40px;
  }

  .main-business__intro-title {
    font-size: 22px;
  }

  .main-business__intro-tag {
    font-size: 14px;
  }

  .main-business__desc {
    font-size: 12px;
  }

  .main-footer__inner {
    padding: 28px 16px 36px;
    gap: 20px;
  }

  .main-footer__logo {
    width: 180px;
  }

  .main-footer__links {
    gap: 16px;
  }
}

/* Short tablets. 모바일 너비의 히어로 위치는 건드리지 않는다 */
@media (min-width: 769px) and (max-width: 1439px) and (max-height: 700px) {
  .main-hero__content {
    bottom: 22%;
  }

  .main-hero__title {
    font-size: 28px;
  }

  .main-core__stage {
    --core-scale: min(100vw / 1000px, 32vh / 600px, 0.5);
  }

  .main-core__intro {
    top: 96px;
  }

  .main-core {
    --core-intro-band: 230px;
    --core-detail-band: 132px;
  }

  .main-core__detail {
    bottom: 36px;
  }
}

/* 위 1024×700 블록의 .main-hero__title 28px과 맞춤 (모바일 한정) */
@media (max-width: 768px) and (max-height: 700px) {
  .main-core__intro-title {
    font-size: 28px;
  }

  .main-core {
    --core-intro-band: 262px;
  }
}

@media (max-width: 768px) and (max-height: 640px) {
  .main-core__intro-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) and (max-height: 560px) {
  .main-core__intro-title {
    font-size: 22px;
  }
}

/* 태블릿만. 768 이하 히어로 글자 크기는 핸드폰 규칙을 유지 */
@media (min-width: 769px) and (max-width: 1439px) and (min-height: 701px) {
  .main-hero__subtitle {
    font-size: 17px;
    margin: 0 0 14px 0;
  }

  .main-hero__title {
    font-size: 40px;
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  body.main-index .main-hero__stats {
    font-size: 15px;
  }

  body.main-index .main-hero__stat-value {
    margin-left: 10px;
  }

  body.main-index .main-hero__stat + .main-hero__stat {
    padding-left: 18px;
    margin-left: 16px;
  }
}

@media (min-width: 600px) and (max-width: 1439px) and (min-height: 701px) {

  .main-core__intro-title {
    font-size: 40px;
    letter-spacing: -1px;
    line-height: 1.3;
  }
}
