/* 회사 소개: 바탕은 하늘과 남색. 귤색 · 초록 · 파랑은 세 브랜드에만, 같은 넓이로 쓴다 */
:root {
  --sky: #b9d9f9;
  --ink: #12213a;
  --grey: #566273;
  --pale: #f1f5fa;
  --line: rgba(18, 33, 58, 0.14);
  --ten: #f08a2b;
  --reading: #1d7534;
  --lens: #2050a8;

  --display: clamp(min(40px, 10.8vw), 4.6vw, 92px);
  --title: clamp(min(30px, 8.4vw), 3.7vw, 60px);
  --lead: clamp(19px, 1.55vw, 24px);
  --body: 17px;
  --small: 14px;

  --edge: max(clamp(20px, 5vw, 80px), calc((100vw - 1360px) / 2));
  --space: clamp(88px, 10vw, 160px);
  --bar: 76px;
  --round: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  position: relative;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 var(--body)/1.7 "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; }
h2 { font-size: var(--title); line-height: 1.3; letter-spacing: -0.025em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.skip { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 12px; background: #fff; }
.skip:focus { top: 8px; }

.section { padding: var(--space) var(--edge); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 40px; align-items: end; }
.head p { color: var(--grey); font-size: var(--lead); line-height: 1.65; }

/* 머리: 하늘 위에 얹는다 */
.top { position: absolute; z-index: 5; inset: 0 0 auto; height: var(--bar); padding-inline: var(--edge); display: flex; justify-content: space-between; align-items: center; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; font-weight: 700; text-decoration: none; }
.menu-wide { display: flex; gap: 8px; margin-right: -14px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 14px; text-decoration: none; font-weight: 600; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-small { display: none; }
.menu-small summary { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -12px; list-style: none; cursor: pointer; }
.menu-small summary::-webkit-details-marker { display: none; }
.menu-small nav { position: absolute; inset: var(--bar) 0 auto; padding: 8px var(--edge) 24px; background: #fff; display: grid; }
.menu-small nav a { padding-inline: 0; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; background: var(--sky); }
.hero-text { position: relative; z-index: 1; padding: calc(var(--bar) + 40px) var(--edge) 0; }
.hero h1 { font-size: var(--display); line-height: 1.24; letter-spacing: -0.03em; }
.hero p { margin-top: 24px; font-size: var(--lead); line-height: 1.65; }
.hero > img { width: 100%; height: clamp(320px, 88vw, 820px); object-fit: cover; object-position: 88% 100%; -webkit-mask-image: linear-gradient(transparent, #000 24%); mask-image: linear-gradient(transparent, #000 24%); }

/* 회사 소개 */
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(56px, 6vw, 104px); }
.layers h3 { margin-bottom: 16px; font-size: var(--title); line-height: 1.3; }
.layers p { color: var(--grey); font-size: var(--lead); line-height: 1.65; }

/* 사업 */
.business { background: var(--pale); }
.business-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px clamp(20px, 3vw, 48px); margin-top: clamp(56px, 6vw, 96px); }
.business-list img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--round); }
.business-list h3 { margin-block: 24px 8px; font-size: var(--lead); line-height: 1.5; }
.business-list p { color: var(--grey); }

/* 브랜드: 셋이 같은 넓이 · 같은 짜임 */
.brand-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand { display: flex; flex-direction: column; color: #fff; }
.brand > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.brand.airten { background: var(--ten); color: var(--ink); }
.brand.airten > img { object-position: 65% 50%; }
.brand.airreading { background: var(--reading); }
.brand.airlens { background: var(--lens); }
.brand-text { flex: 1; padding: clamp(28px, 3.2vw, 56px); }
.brand h3 { margin-top: 4px; font-size: var(--title); line-height: 1.3; }
.brand h3 span { display: block; font-size: var(--body); font-weight: 400; }
.brand .promise { margin-block: 24px; font-size: var(--lead); font-weight: 600; line-height: 1.5; }
.brand dl div { display: flex; gap: 16px; padding-block: 4px; }
.brand dt { flex: none; }
.brand dd { font-weight: 600; }

/* 회사 정보 */
.company { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.company h2 { align-self: start; }
.company dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-block: 12px; }
.company dt { color: var(--grey); }
.company dd { font-weight: 600; }
.map { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 6px; }

/* 문의 */
.contact { padding: var(--space) var(--edge); background: var(--ink); color: #fff; text-align: center; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block: 40px 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding-inline: 24px; border-radius: 12px; font-size: var(--lead); font-weight: 600; text-decoration: none; white-space: nowrap; }
.button.light { background: #fff; color: var(--ink); }
.button.ghost { background: rgba(255, 255, 255, 0.12); }

/* 바닥 */
.foot { padding: 40px var(--edge); color: var(--grey); font-size: var(--small); }
.foot-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 24px; color: var(--ink); }
.company-name { font-weight: 700; }
.staff { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.foot dl { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-block: 12px 16px; }
.foot dl div { display: flex; gap: 8px; }
.foot dt { flex: none; }

/* 404 */
body:has(.not-found) .top { position: static; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-weight: 600; text-underline-offset: 6px; }
.not-found { padding: var(--space) var(--edge); }
.not-found h1 { font-size: var(--title); line-height: 1.3; }
.not-found p { margin-top: 16px; }

@media (min-width: 900px) and (min-aspect-ratio: 13/10) {
  .hero { height: max(560px, min(100svh, 70vw)); }
  .hero > img { position: absolute; inset: 0; height: 100%; object-position: 100% 62%; -webkit-mask-image: none; mask-image: none; }
  .hero-text { height: 100%; width: 47vw; padding: var(--bar) 0 24vh var(--edge); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .hero h1 { font-size: clamp(38px, 4.3vw, 92px); }
  .hero p { font-size: clamp(17px, 1.4vw, 24px); }
}

@media (max-width: 899px) {
  .menu-wide { display: none; }
  .menu-small { display: block; }
  .head, .layers, .company, .brand-list { grid-template-columns: minmax(0, 1fr); }
  .brand > img { aspect-ratio: 3 / 2; }
  .layers { gap: 32px; }
}

@media (max-width: 699px) {
  .business-list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .wordmark { font-size: 17px; }
  .company dl div { grid-template-columns: 84px minmax(0, 1fr); }
}
