/* AIRDLAB 홈페이지. 화면 폭 820px 이하는 파일 끝의 모바일 구역을 따른다. */

@font-face {
  font-family: 'Pretendard Variable';
  src: url('../fonts/PretendardVariable-ko.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0F2238;
  --ocean: #0C4164;
  --teal: #1C6A8C;
  --teal-line: #2C8C9C;
  --aqua: #54C6DE;
  --night: #06121F;
  --night-deep: #050E1C;
  --body: #4A5D73;
  --body-strong: #2E4257;
  --source: #3F5266;
  --on-night: #C4D3E0;
  --on-night-strong: #D7E6F0;
  --tint: #E4F1F6;
  --tint-strong: #DCEFF4;
  --gray: #ECEFF2;
  --line: #E6EBF0;
  --gutter: clamp(20px, 5.5vw, 80px);
  --gap: clamp(14px, 1.6vw, 20px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
html.is-menu-open { overflow: hidden; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.on-night :focus-visible { outline-color: var(--aqua); }

.wrap {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.br-m { display: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 40;
  padding: 10px 16px;
  background: var(--ocean);
  border-radius: 8px;
  color: #FFFFFF;
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* 버튼 */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  transition: background-color .15s ease, color .15s ease;
}
.pill--fill { background: #FFFFFF; color: var(--ocean); }
.pill--fill:hover { background: #D7F3F9; }
.pill--line { border: 1.5px solid rgba(255, 255, 255, .75); color: #FFFFFF; font-weight: 600; }
.pill--line:hover { background: rgba(255, 255, 255, .14); }
.pill--ink { border: 1px solid var(--ocean); color: var(--ocean); }
.pill--ink:hover { background: var(--ocean); color: #FFFFFF; }
.pill--sm { height: 52px; padding: 0 24px; }
.pill--xs { height: 44px; padding: 0 22px; font-size: 16px; }

.lift { transition: transform .2s ease; }
.lift:hover { transform: translateY(-4px); }

/* 헤더 */
.gnb {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.gnb__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.gnb__logo { flex: none; }
.gnb__logo img { height: 26px; width: auto; }
.gnb__right { display: flex; align-items: center; gap: clamp(24px, 3vw, 40px); }
.gnb__menu { display: flex; align-items: center; gap: clamp(24px, 3vw, 40px); font-size: 17px; font-weight: 600; }
.gnb__menu a:hover { color: var(--teal); }
.gnb__burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ocean);
  cursor: pointer;
}

/* 전체 화면 메뉴 */
.menu {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0 20px 32px;
  border: 0;
  background: linear-gradient(180deg, var(--ocean) 0%, var(--night-deep) 100%);
  color: #FFFFFF;
  overflow-y: auto;
}
.menu::backdrop { background: var(--night-deep); }
.menu__bar { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.menu__bar img { height: 22px; width: auto; }
.menu__close {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--night-deep);
  border: 0;
  border-radius: 50%;
  color: #FFFFFF;
  cursor: pointer;
}
.menu__list a {
  display: flex;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  font-size: 24px;
  font-weight: 600;
}
.menu__list a:last-child { border-bottom: 0; }

/* 히어로 */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #FFFFFF;
}
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__art--narrow { display: none; }
.hero__body {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(72px, 8vw, 112px) var(--gutter) clamp(180px, 17vw, 240px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.hero h1 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.2; letter-spacing: -.03em; font-weight: 700; }
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); color: #E3EFF5; }
.hero__actions { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.flow { stroke-dasharray: 4 300; animation: flow 6s linear infinite; }
.flow--sm { stroke-dasharray: 3 200; animation: flow-sm 5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -608; } }
@keyframes flow-sm { to { stroke-dashoffset: -406; } }

/* 공통 제목 */
.title { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }

/* FDE Data Studio */
.studio { padding: clamp(64px, 7vw, 96px) 0 clamp(40px, 4vw, 56px); }
.studio__inner { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }
.studio__intro { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.studio__lead { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.4; letter-spacing: -.015em; }
.studio__desc { font-size: 18px; line-height: 1.7; color: var(--body); }

.features {
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--night);
  border-radius: 32px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.features h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 28px 0;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 24px;
  border-top: 2px solid var(--teal-line);
}
.step__dot { margin-top: -14px; }
.step__name { font-size: 20px; font-weight: 700; }
.step__text { font-size: 16px; color: var(--on-night); }

/* 왜 AI Ready Data인가: 좌우 슬라이드 */
.stats { display: flex; flex-direction: column; gap: 16px; }
.stats__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stats__head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.stats__nav { display: none; gap: 8px; }
.stats.is-ready .stats__nav { display: flex; }
.stats__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 1px solid var(--ocean);
  border-radius: 50%;
  color: var(--ocean);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.stats__btn:hover:not(:disabled) { background: var(--ocean); color: #FFFFFF; }
.stats__btn:disabled { opacity: .35; cursor: default; }
.stats__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% - 72px);
  gap: var(--gap);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.stats__track::-webkit-scrollbar { display: none; }

.stat {
  position: relative;
  scroll-snap-align: start;
  padding: clamp(24px, 3vw, 40px) clamp(28px, 3.4vw, 48px);
  background: var(--tint);
  border-radius: 32px;
  display: flex;
  align-items: center;
  gap: 16px clamp(32px, 5vw, 64px);
}
.stat:nth-child(even) { background: var(--tint-strong); }
.stat__num {
  flex: none;
  min-width: clamp(230px, 20vw, 290px);
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--ocean);
}
.stat__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.stat__text { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; font-weight: 600; letter-spacing: -.015em; }
.stat__src { font-size: 15px; color: var(--source); }
.stat__src a { text-decoration: underline; text-underline-offset: 2px; }
.stat__src a:hover { color: var(--ocean); }
.stat__index {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--source);
}

/* 제품 */
.products { padding: clamp(48px, 5vw, 72px) 0; }
.products__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'title action' 'cards cards' 'note note';
  align-items: center;
  gap: clamp(28px, 3vw, 40px) 32px;
}
.products .title { grid-area: title; }
.products__action { grid-area: action; }
.scroller {
  grid-area: cards;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(264px, 1fr);
  gap: var(--gap);
  margin: -6px calc(var(--gutter) * -1) 0;
  padding: 6px var(--gutter) 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.products__note { grid-area: note; font-size: 15px; color: var(--body); }

.card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border-radius: 28px;
  color: #FFFFFF;
  overflow: hidden;
}
.card--1 { background: linear-gradient(180deg, #0C3553 0%, var(--night) 62%); }
.card--2 { background: linear-gradient(180deg, #0E4A63 0%, var(--night) 62%); }
.card--3 { background: linear-gradient(180deg, #123257 0%, var(--night) 62%); }
.card--4 { background: linear-gradient(180deg, #14555F 0%, var(--night) 62%); }
.card__art { width: 100%; height: 180px; }
.card__body { flex: 1; padding: 8px 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.card__head { display: flex; flex-direction: column; gap: 6px; min-height: 106px; }
.card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.015em;
}
.card__badge {
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.card__desc { font-size: 16px; line-height: 1.55; color: var(--on-night); }
.card__spec {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 6px 8px;
  font-size: 15px;
  line-height: 1.5;
}
.card__spec dt { font-weight: 700; }
.card__spec dd { color: var(--on-night-strong); }

/* 영상 */
.videos { padding: clamp(40px, 4vw, 56px) 0; }
.videos__inner { display: flex; flex-direction: column; gap: clamp(24px, 2.6vw, 32px); }
.videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px var(--gap);
}
.video { display: flex; flex-direction: column; gap: 14px; }
.video__thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  color: var(--ocean);
}
.video__thumb--1 { background: linear-gradient(135deg, #0F6A97, var(--night)); }
.video__thumb--2 { background: linear-gradient(135deg, var(--teal), var(--night)); }
.video__thumb--3 { background: linear-gradient(135deg, var(--teal-line), var(--night)); }
.video__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 50%;
}
.video__play svg { width: 26px; height: 26px; }
.video__time {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 1px 10px;
  background: rgba(5, 14, 28, .8);
  border-radius: 999px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
}
.video h3 { font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }

/* 컨설팅, 교육 */
.services { padding: clamp(40px, 4vw, 56px) 0 var(--gap); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--gap);
}
.service {
  position: relative;
  min-height: 220px;
  padding: 32px 136px 32px 32px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.service--tint { background: var(--tint-strong); }
.service--gray { background: var(--gray); }
.service h2 { font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.service p { font-size: 17px; color: var(--body-strong); }
.service__icon { position: absolute; right: 18px; bottom: 16px; width: 120px; height: 120px; }

/* 회사소개 */
.company { padding: 0 0 clamp(64px, 7vw, 96px); }
.company__panel {
  padding: clamp(40px, 4.4vw, 64px);
  background: linear-gradient(135deg, #0C4C76 0%, #0A3556 45%, var(--night-deep) 100%);
  border-radius: 32px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.2vw, 44px);
}
.company__intro { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.company__label { font-size: 17px; font-weight: 700; color: #8FE6F4; }
.company__text { font-size: 18px; line-height: 1.7; color: var(--on-night-strong); }
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 0 24px;
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.principle__name { font-size: 20px; line-height: 1.35; font-weight: 700; }
.principle__text { font-size: 16px; color: var(--on-night); }

/* 안내 */
.guide { background: var(--gray); padding: clamp(48px, 5vw, 72px) 0; }
.guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--gap);
}
.guide-card {
  position: relative;
  min-height: 176px;
  padding: 30px 92px 30px 30px;
  background: #FFFFFF;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-card__title { font-size: 24px; font-weight: 700; letter-spacing: -.015em; }
.guide-card__text { font-size: 17px; line-height: 1.55; color: var(--body); }
.guide-card__icon { position: absolute; right: 28px; bottom: 28px; width: 44px; height: 44px; }

/* 푸터 */
.foot { background: var(--night); color: var(--on-night); font-size: 16px; }
.foot__inner { padding-block: 44px 30px; display: flex; flex-direction: column; gap: 24px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 48px; }
.foot__brand { display: flex; flex-direction: column; gap: 12px; }
.foot__brand img { height: 26px; width: auto; }
.foot__contact { display: flex; flex-direction: column; gap: 2px; line-height: 1.7; }
.foot__contact a:hover { color: #FFFFFF; }
.foot__copy { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }

/* 404 */
.lost {
  min-height: calc(100vh - var(--header-h));
  padding: 80px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.lost h1 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.25; letter-spacing: -.025em; }
.lost p { color: var(--body); }
.lost .pill { margin-top: 12px; }

/* 태블릿: 기능 4단계를 2줄로 */
@media (min-width: 821px) and (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 모바일 */
@media (max-width: 820px) {
  :root { --header-h: 68px; }

  .br-m { display: inline; }

  .gnb { border-bottom: 0; }
  .gnb__logo img { height: 22px; }
  .gnb__menu, .gnb__cta { display: none; }
  .gnb__burger { display: inline-flex; }

  .hero__art--wide { display: none; }
  .hero__art--narrow { display: block; }
  .hero__body { padding: 56px 20px 150px; gap: 16px; }
  .hero h1 { font-size: 30px; line-height: 1.28; }
  .hero__lead { font-size: 16px; }
  .hero__actions { margin-top: 8px; gap: 10px; }
  .pill { height: 48px; padding: 0 24px; font-size: 15px; }
  .pill--line { padding: 0 22px; }

  .title { font-size: 26px; line-height: 1.25; }

  .studio { padding: 48px 0 24px; }
  .studio__inner { gap: 16px; }
  .studio__lead { font-size: 18px; line-height: 1.45; }
  .studio__desc { font-size: 15px; line-height: 1.65; }

  .features { padding: 26px 22px; border-radius: 26px; gap: 8px; }
  .features h3 { font-size: 18px; }
  .steps { display: flex; flex-direction: column; gap: 0; }
  .step {
    gap: 3px;
    padding: 14px 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .step:last-child { padding-bottom: 0; border-bottom: 0; }
  .step__dot { display: none; }
  .step__name { font-size: 16px; color: var(--aqua); }
  .step__text { font-size: 14px; }

  .stats { gap: 12px; margin-top: 4px; }
  .stats__head h3 { font-size: 18px; }
  .stats.is-ready .stats__nav { display: none; }
  .stats__track { grid-auto-columns: calc(100% - 40px); gap: 12px; }
  .stat { padding: 24px 22px; border-radius: 26px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .stat__num { min-width: 0; font-size: 52px; }
  .stat__body { flex: none; }
  .stat__text { font-size: 16px; line-height: 1.5; letter-spacing: -.01em; }
  .stat__src { font-size: 13px; }
  .stat__index { top: 20px; right: 22px; font-size: 13px; }

  .products { padding: 36px 0 24px; }
  .products__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'title' 'cards' 'action' 'note';
    gap: 18px 0;
  }
  .scroller {
    grid-auto-columns: 296px;
    gap: 12px;
  }
  .products__action { width: 100%; }
  .products__note { margin-top: -4px; font-size: 13px; }

  .card { min-height: 380px; border-radius: 26px; }
  .card__art { height: 156px; }
  .card__body { padding: 8px 22px 24px; gap: 12px; }
  .card__head { gap: 4px; min-height: 84px; }
  .card h3 { font-size: 21px; }
  .card__badge { font-size: 12px; }
  .card__desc { font-size: 15px; line-height: 1.5; }
  .card__spec { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 8px; font-size: 14px; }

  .videos { padding: 32px 0; }
  .videos__inner { gap: 18px; }
  .videos__grid { gap: 20px var(--gap); }
  .video { gap: 10px; }
  .video__thumb { border-radius: 22px; }
  .video__play { width: 52px; height: 52px; }
  .video__play svg { width: 22px; height: 22px; }
  .video__time { right: 12px; bottom: 10px; font-size: 13px; }
  .video h3 { font-size: 17px; letter-spacing: 0; }

  .services { padding: 12px 0 12px; }
  .services__grid { gap: 12px; }
  .service { min-height: 156px; padding: 22px 100px 22px 22px; border-radius: 26px; gap: 8px; }
  .service h2 { font-size: 20px; }
  .service p { font-size: 15px; }
  .service__icon { right: 12px; bottom: 12px; width: 84px; height: 84px; }

  .company { padding: 0 0 48px; }
  .company__panel { padding: 26px 22px 12px; border-radius: 26px; gap: 20px; }
  .company__intro { gap: 10px; }
  .company__label { font-size: 14px; }
  .company__text { font-size: 15px; line-height: 1.65; }
  .principles { display: flex; flex-direction: column; gap: 0; }
  .principle { gap: 3px; padding: 14px 0; border-top-color: rgba(255, 255, 255, .22); }
  .principle__name { font-size: 16px; }
  .principle__text { font-size: 14px; }

  .guide { padding: 32px 0; }
  .guide__grid { gap: 12px; }
  .guide-card { min-height: 116px; padding: 24px 80px 24px 24px; border-radius: 24px; gap: 6px; }
  .guide-card__title { font-size: 19px; }
  .guide-card__text { font-size: 15px; }
  .guide-card__icon { right: 22px; bottom: 22px; width: 40px; height: 40px; }

  .foot { font-size: 14px; }
  .foot__inner { padding-block: 34px 26px; gap: 12px; }
  .foot__top { flex-direction: column; gap: 12px; }
  .foot__brand img { height: 24px; }
  .foot__copy { padding-top: 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .flow, .flow--sm { animation: none; }
  .lift, .pill { transition: none; }
  .lift:hover { transform: none; }
}
