/* ==========================================================================
   RAON AIR FREIGHT — brand tokens taken from the 2026 company profile deck
   ========================================================================== */
:root{
  --navy:   #0F2B46;   /* primary ink / dark sections   */
  --blue:   #1E6FA8;   /* Raon accent blue              */
  --sky:    #EEF4F9;   /* tinted section background     */
  --line:   #DCE3E9;   /* hairline borders              */
  --slate:  #5B6873;   /* secondary text                */
  --white:  #FFFFFF;
  --ink-on-dark: #D7E3EE;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --wrap: 1120px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  font-family:var(--font-body);
  font-size:16px; line-height:1.65;
  color:var(--navy); background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; height:auto; }
a{ color:var(--blue); }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.mono{ font-family:var(--font-mono); }

/* ---------- reveal (hidden only when JS is confirmed present) ---------- */
.js .reveal{ opacity:0; transform:translateY(14px); transition:opacity .55s ease, transform .55s ease; }
.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .js .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- top bar ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.topbar-in{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.brand img{ height:28px; width:auto; }
.nav{ display:flex; gap:26px; align-items:center; }
.nav a{
  font-family:var(--font-display); font-weight:600; font-size:14px;
  color:var(--navy); text-decoration:none; letter-spacing:.01em;
}
.nav a:hover{ color:var(--blue); }
.nav a:focus-visible{ outline:2px solid var(--blue); outline-offset:4px; }
.nav-cta{
  padding:8px 16px; border:1.5px solid var(--navy); border-radius:4px;
}
.nav-cta:hover{ background:var(--navy); color:#fff !important; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span:not(.sr-only){
  display:block; width:22px; height:2px; background:var(--navy); margin:5px 0;
}

/* ---------- hero ---------- */
.hero{ background:var(--navy); color:#fff; padding:72px 0 0; }
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center;
}
.eyebrow{
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue); font-weight:600; margin-bottom:18px;
}
.hero .eyebrow{ color:#7FB6DE; }
.hero h1{
  font-family:var(--font-display); font-weight:800;
  font-size:clamp(34px, 4.6vw, 56px); line-height:1.08;
  letter-spacing:-.015em; margin-bottom:22px;
}
.lede{ color:var(--ink-on-dark); font-size:17px; max-width:52ch; margin-bottom:30px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-block; font-family:var(--font-display); font-weight:700;
  font-size:15px; text-decoration:none; padding:13px 24px; border-radius:4px;
  transition:background .2s, color .2s, border-color .2s;
}
.btn:focus-visible{ outline:2px solid #7FB6DE; outline-offset:3px; }
.btn-solid{ background:var(--blue); color:#fff; }
.btn-solid:hover{ background:#2b83c2; }
.btn-ghost{ border:1.5px solid rgba(255,255,255,.45); color:#fff; }
.btn-ghost:hover{ border-color:#fff; }
.btn-light{ background:#fff; color:var(--navy); margin-top:10px; }
.btn-light:hover{ background:var(--sky); }

.hero-photo{ position:relative; }
.hero-photo img{ border-radius:6px; box-shadow:0 24px 60px rgba(0,0,0,.35); }
.hero-photo figcaption{
  margin-top:12px; font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  color:#7FB6DE;
}

.stat-row{
  margin-top:64px; display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,.18);
}
.stat{ padding:26px 8px 30px; }
.stat + .stat{ border-left:1px solid rgba(255,255,255,.18); padding-left:28px; }
.stat strong{
  display:block; font-family:var(--font-display); font-weight:800;
  font-size:clamp(26px,3vw,38px); letter-spacing:-.01em;
}
.stat span{ font-size:13px; color:var(--ink-on-dark); }

/* ---------- generic sections ---------- */
.section{ padding:96px 0; }
.section-tint{ background:var(--sky); }
.section-dark{ background:var(--navy); color:#fff; }
.section-head{ margin-bottom:44px; }
.section-head h2{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(26px,3.4vw,38px); letter-spacing:-.01em; line-height:1.15;
  max-width:22ch;
}
.section-dark .section-head h2{ color:#fff; }
.section-sub{ margin-top:14px; color:var(--slate); max-width:64ch; }
.section-dark .section-sub{ color:var(--ink-on-dark); }

.cols-2{
  display:grid; grid-template-columns:1fr 1fr; gap:40px;
  color:var(--slate); font-size:16.5px;
}

.badge-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:52px; }
.badge{
  background:var(--white); border:1px solid var(--line); border-radius:6px; padding:26px;
}
.badge h3{
  font-family:var(--font-display); font-size:16px; font-weight:700; margin-bottom:8px;
}
.badge p{ font-size:14.5px; color:var(--slate); }

/* ---------- offices ---------- */
.office-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.office{
  background:#fff; border:1px solid var(--line); border-radius:6px; overflow:hidden;
}
.office img{ width:100%; aspect-ratio:16/10; object-fit:cover; }
.office-body{ padding:24px 26px 28px; }
.office-tag{
  font-size:12px; letter-spacing:.14em; color:var(--blue); font-weight:600;
  margin-bottom:10px;
}
.office-body p:last-child{ color:var(--slate); font-size:15px; }

/* ---------- airline board (signature) ---------- */
.board{ border-top:2px solid var(--navy); }
.board-row{
  display:grid; grid-template-columns:280px 1fr 260px; gap:24px;
  padding:16px 4px; border-bottom:1px solid var(--line); align-items:baseline;
}
.board-head{
  font-family:var(--font-mono); font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--slate); padding:12px 4px;
}
.board-row b{ font-family:var(--font-display); font-weight:700; font-size:16px; }
.code{
  font-style:normal; font-size:11px; font-weight:600; letter-spacing:.08em;
  color:var(--blue); border:1px solid var(--line); border-radius:3px;
  padding:2px 7px; margin-left:10px; white-space:nowrap;
}
.routes{ font-size:13.5px; color:var(--navy); letter-spacing:.02em; }
.board-ac{ font-size:13px; color:var(--slate); }
.board-row:not(.board-head):hover{ background:var(--sky); }
.board-note{ margin-top:22px; }
.board-note p{ font-size:12.5px; letter-spacing:.06em; color:var(--slate); }

/* ---------- charts ---------- */
.chart-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.chart figcaption{
  font-family:var(--font-display); font-weight:600; font-size:14px;
  color:var(--ink-on-dark); margin-bottom:16px;
}
.chart-tag{
  color:#7FB6DE; font-size:11px; letter-spacing:.12em; margin-right:10px;
}
.chart svg{ width:100%; height:auto; }
.bars rect{ fill:rgba(255,255,255,.28); }
.bars .bar-hi{ fill:var(--blue); }
.vals text{
  font-family:var(--font-mono); font-size:10.5px; fill:var(--ink-on-dark);
  text-anchor:middle;
}
.vals .val-hi{ fill:#fff; font-weight:600; }
.axis{ stroke:rgba(255,255,255,.35); stroke-width:1; }
.cats text{
  font-family:var(--font-mono); font-size:11px; fill:#7FB6DE; text-anchor:middle;
}

/* ---------- timeline ---------- */
.timeline{
  display:grid; grid-template-columns:1fr 1fr; column-gap:64px; row-gap:0;
}
.tl{
  display:flex; gap:18px; padding:11px 4px; border-bottom:1px solid var(--line);
  font-size:15px; align-items:baseline;
}
.tl-date{ font-size:12px; color:var(--slate); white-space:nowrap; min-width:92px; }
.tl-key span:last-child{ font-weight:600; }
.tl-key .tl-date{ color:var(--blue); font-weight:600; }

/* ---------- services ---------- */
.svc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.svc{
  background:#fff; border:1px solid var(--line); border-radius:6px; padding:28px 30px;
}
.svc h3{
  font-family:var(--font-display); font-size:17px; font-weight:700; margin-bottom:14px;
}
.svc ul{ list-style:none; }
.svc li{
  position:relative; padding-left:18px; margin-bottom:8px;
  font-size:14.5px; color:var(--slate);
}
.svc li::before{
  content:""; position:absolute; left:0; top:.55em;
  width:7px; height:7px; border-radius:50%;
  background:var(--blue); opacity:.55;
}
.customers{ margin-top:56px; }
.customers h3{
  font-family:var(--font-display); font-size:20px; font-weight:700; margin-bottom:22px;
}
.cust-cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.cust-tag{
  font-size:11.5px; letter-spacing:.13em; color:var(--blue); font-weight:600;
  margin-bottom:6px;
}
.cust-cols p:last-child{ font-size:14.5px; color:var(--slate); }

/* ---------- contact ---------- */
.contact-grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:start;
}
.contact-card{
  font-style:normal; background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.2); border-radius:6px;
  padding:32px 34px; line-height:1.9;
}
.contact-tag{
  font-size:12px; letter-spacing:.14em; color:#7FB6DE; margin-bottom:14px;
}
.contact-card p{ margin-bottom:16px; color:var(--ink-on-dark); }
.contact-card p:last-child{ margin-bottom:0; font-size:14px; }

/* ---------- footer ---------- */
.footer{ background:#0A1F33; color:#8CA2B5; padding:28px 0; }
.footer-in{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  font-size:12.5px;
}
.footer-in .mono{ letter-spacing:.1em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-photo{ max-width:560px; }
  .board-row{ grid-template-columns:220px 1fr; }
  .board-ac{ grid-column:2; }
  .board-head .board-ac{ display:none; }
  .chart-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
}
@media (max-width: 820px){
  .section{ padding:72px 0; }
  .cols-2{ grid-template-columns:1fr; gap:20px; }
  .badge-row{ grid-template-columns:1fr; }
  .office-grid{ grid-template-columns:1fr; }
  .svc-grid{ grid-template-columns:1fr; }
  .cust-cols{ grid-template-columns:1fr; gap:18px; }
  .timeline{ grid-template-columns:1fr; }
  .stat-row{ grid-template-columns:1fr 1fr; }
  .stat + .stat{ border-left:0; padding-left:8px; }
  .stat:nth-child(even){ border-left:1px solid rgba(255,255,255,.18); padding-left:24px; }

  /* mobile nav */
  .nav-toggle{ display:block; }
  .nav{
    display:none; position:absolute; top:64px; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background:#fff; border-bottom:1px solid var(--line); padding:8px 24px 16px;
  }
  .nav.open{ display:flex; }
  .nav a{ padding:12px 0; width:100%; }
  .nav-cta{ border:0; padding:12px 0; }
  .nav-cta:hover{ background:none; color:var(--blue) !important; }
}
@media (max-width: 560px){
  .board-row{ grid-template-columns:1fr; gap:6px; padding:14px 4px; }
  .board-ac{ grid-column:1; }
  .hero h1{ font-size:32px; }
}

/* ==========================================================================
   Bilingual (EN default / KO toggle)
   ========================================================================== */
html[data-lang="en"] .ko{ display:none !important; }
html[data-lang="ko"] .en{ display:none !important; }

/* Korean text uses Noto Sans KR via the body/display stacks below */
html[data-lang="ko"] body{
  font-family:"Noto Sans KR", var(--font-body);
}
html[data-lang="ko"] h1,
html[data-lang="ko"] h2,
html[data-lang="ko"] h3,
html[data-lang="ko"] .btn,
html[data-lang="ko"] .nav a{
  font-family:"Noto Sans KR", var(--font-display);
  letter-spacing:-.01em;
}
html[data-lang="ko"] h1{ font-weight:800; }
.ko{ word-break:keep-all; }

/* stat labels use <i> wrappers */
.stat span i{ font-style:normal; }
.tl i, .board-head i{ font-style:normal; }

/* language button */
.topbar-tools{ display:flex; align-items:center; gap:14px; }
.lang-btn{
  font-size:12px; font-weight:600; letter-spacing:.04em;
  color:var(--navy); background:none; cursor:pointer;
  border:1.5px solid var(--line); border-radius:4px; padding:6px 12px;
}
.lang-btn:hover{ border-color:var(--blue); color:var(--blue); }
.lang-btn:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }

/* ==========================================================================
   v3 — airline logos in board, single chart, org chart, new main logo
   ========================================================================== */
.brand img{ height:46px; }

/* board: 4 columns with logo cell */
.board-row{ grid-template-columns:230px 1fr 1fr 175px; }
.al{ display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.al-logo{
  max-height:34px; max-width:150px; width:auto; height:auto; object-fit:contain;
}
.al-name b{ font-size:15px; }
.routes.ts{ color:var(--slate); }

/* single centered chart */
.chart-single{ grid-template-columns:minmax(0,680px); justify-content:center; }

/* org chart */
.org{ margin-top:56px; }
.org-tag{
  font-size:12px; letter-spacing:.14em; color:var(--blue); font-weight:600;
  margin-bottom:22px;
}
.org-chart{ text-align:center; }
.org-hq{
  display:inline-block; background:var(--navy); color:#fff;
  font-family:var(--font-display); font-weight:700; font-size:15px;
  padding:12px 34px; border-radius:5px; position:relative;
}
.org-hq::after{
  content:""; position:absolute; left:50%; top:100%; width:1px; height:26px;
  background:var(--line);
}
.org-teams{
  margin-top:26px; display:grid; grid-template-columns:repeat(4,1fr); gap:16px;
  position:relative; padding-top:22px;
}
.org-teams::before{
  content:""; position:absolute; top:0; left:12.5%; right:12.5%;
  border-top:1px solid var(--line);
}
.org-team{
  position:relative; background:#fff; border:1px solid var(--line);
  border-radius:5px; padding:14px 10px;
  font-family:var(--font-display); font-weight:600; font-size:14.5px;
  color:var(--navy);
}
.org-team::before{
  content:""; position:absolute; left:50%; top:-22px; width:1px; height:22px;
  background:var(--line);
}
html[data-lang="ko"] .org-hq, html[data-lang="ko"] .org-team{
  font-family:"Noto Sans KR", var(--font-display);
}

@media (max-width: 980px){
  .board-row{ grid-template-columns:200px 1fr 1fr; }
  .board-row .board-ac{ grid-column:2 / -1; }
  .board-head .board-ac{ display:none; }
}
@media (max-width: 820px){
  .org-teams{ grid-template-columns:1fr 1fr; padding-top:0; margin-top:20px; }
  .org-teams::before, .org-team::before, .org-hq::after{ display:none; }
}
@media (max-width: 560px){
  .board-row{ grid-template-columns:1fr; gap:8px; }
  .board-row .board-ac{ grid-column:1; }
  .brand img{ height:38px; }
}

/* ==========================================================================
   v5 — logo box normalisation, centered board cells, org chart with side box
   ========================================================================== */
/* 1·17. 로고: 고정 박스 안에 비율 유지(찌그러짐 없음), 크기 통일 */
.al{ align-items:center; text-align:center; gap:10px; }
.al-logo{
  width:160px; height:46px; max-width:none; max-height:none;
  object-fit:contain; object-position:center;
}
/* 18. 이름+코드 뱃지 가운데 정렬, 한 줄 유지 */
.al-name{ display:flex; align-items:center; justify-content:center; white-space:nowrap; }
.al-name b{ font-size:13.5px; letter-spacing:-.01em; }
.code{ margin-left:8px; padding:2px 6px; }

/* 19. 컬럼 헤더 가운데 정렬, 노선 3줄 여유 */
.board-head span{ text-align:center; }
.board-row{ grid-template-columns:240px 1fr 1.35fr 150px; align-items:center; }
.routes{ font-size:12.5px; line-height:1.75; }
.board-ac{ font-size:12.5px; }

/* 12. 조직도: HQ 우측 별도 공항 조직 + 크기 확대 */
.org-top{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
}
.org-hq{
  grid-column:2; font-size:17px; padding:16px 44px;
}
.org-side{
  grid-column:3; justify-self:start; margin-left:64px; position:relative;
  background:#fff; border:1.5px solid var(--blue); color:var(--blue);
  border-radius:5px; padding:14px 22px;
  font-family:var(--font-display); font-weight:700; font-size:15.5px;
}
.org-side::before{
  content:""; position:absolute; right:100%; top:50%; width:64px; height:1px;
  background:var(--line);
}
.org-teams{ max-width:820px; margin-left:auto; margin-right:auto; }
.org-team{ font-size:16px; padding:18px 12px; }
html[data-lang="ko"] .org-side{ font-family:"Noto Sans KR", var(--font-display); }

@media (max-width: 980px){
  .board-row{ grid-template-columns:200px 1fr 1.3fr; }
}
@media (max-width: 820px){
  .org-top{ display:flex; flex-direction:column; gap:12px; }
  .org-side{ margin-left:0; }
  .org-side::before{ display:none; }
  .al{ align-items:flex-start; text-align:left; }
  .al-name{ justify-content:flex-start; }
  .al-logo{ width:140px; height:40px; object-position:left center; }
}
@media (max-width: 560px){
  .board-row{ grid-template-columns:1fr; }
}

/* v6 — 노선 셀 정렬 규칙, 로고 캔버스 채움 */
.routes{ text-align:left; }
.routes.center{ text-align:center; }
.al-logo{ width:160px; height:44px; }
@media (max-width:820px){
  .al-logo{ width:150px; height:41px; }
  .routes.center{ text-align:left; }
}

/* v7 — 조직도 영문 부제, 보드 헤더 서체 통일 */
.org-en{
  display:block; font-style:normal; font-weight:500; font-size:12px;
  color:var(--slate); margin-top:3px; font-family:var(--font-display);
  letter-spacing:.02em;
}
.board-head{
  font-family:var(--font-display); font-size:13.5px; font-weight:700;
  letter-spacing:.02em; text-transform:none; color:var(--navy);
}
html[data-lang="ko"] .board-head{ font-family:"Noto Sans KR", var(--font-display); }

/* ==========================================================================
   v8 — 노선·기재 칩 정렬: 점을 CSS로 칩 사이에만 삽입, 전체 가운데 정렬
   ========================================================================== */
.routes, .board-row .board-ac{ text-align:center; }
.routes .en, .routes .ko{ display:contents; }
.rc{ display:inline-block; white-space:nowrap; }
.rc:not(:last-child)::after{
  content:"·"; display:inline-block; margin:0 .5em; opacity:.5;
}
/* 모바일 1열에서는 좌측 정렬이 자연스러움 */
@media (max-width: 560px){
  .routes, .board-row .board-ac{ text-align:left; }
}

/* v9 — 점을 폭 0의 장식으로: 중앙 정렬이 코드만 기준으로 잡히도록 */
.routes, .board-row .board-ac{ word-spacing:.5em; }
.rc{ position:relative; }
.rc:not(:last-child)::after{
  content:"·"; display:block; position:absolute;
  left:calc(100% + .55em); top:50%; transform:translate(-50%,-50%);
  margin:0; opacity:.5;
}

/* ==========================================================================
   v11 — CEO message block (section 01)
   ========================================================================== */
.ceo-msg{
  background:var(--sky);
  border-left:3px solid var(--blue);
  border-radius:0 10px 10px 0;
  padding:30px 34px 26px;
  margin-top:34px;
  display:flex;
  align-items:flex-start;
  gap:30px;
}
/* v13 — CEO 사진 (원형) */
.ceo-photo{ flex:0 0 148px; }
.ceo-photo img{
  width:148px; height:148px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  background:#fff;
  box-shadow:0 3px 14px rgba(15,43,70,.14);
}
.ceo-body{ flex:1 1 auto; min-width:0; }
.ceo-tag{
  font-size:12px; letter-spacing:.14em; font-weight:600;
  color:var(--blue); margin:0 0 16px;
}
.ceo-msg p{ max-width:860px; line-height:1.75; margin:0 0 14px; }
.ceo-sign{
  margin:20px 0 0; text-align:right;
  font-family:var(--font-display); font-size:15px; color:var(--navy);
}
.ceo-sign b{ font-size:17px; letter-spacing:.02em; }
html[data-lang="ko"] .ceo-sign{ font-family:"Noto Sans KR", var(--font-display); }
@media (max-width:760px){
  .ceo-msg{ flex-direction:column; gap:18px; }
  .ceo-photo{ flex:0 0 auto; }
  .ceo-photo img{ width:108px; height:108px; }
}
@media (max-width:560px){
  .ceo-msg{ padding:22px 20px 20px; }
}

/* ==========================================================================
   v10 — 모바일 수정 2건 (2026-08-25, 배포 후 모바일 실물 검증에서 발견)
   ========================================================================== */
/* 1. 항공사 표: 모바일 1열 카드 배치에서는 머리글 행(항공사/직항/환적)이
      갈 곳을 잃고 세로로 떠 보임 → 카드마다 내용이 자명하므로 숨김 */
@media (max-width: 560px){
  .board-head{ display:none; }
}
/* 2. 조직도: 모바일에서 본사·공항 운영이 세로로 쌓여 상하 소속처럼 보임
      → 확정 구조는 동급 병렬이므로 가로 나란히 유지 (박스 축소) */
@media (max-width: 820px){
  .org-top{ flex-direction:row; justify-content:center; align-items:stretch; gap:10px; }
  .org-hq{ font-size:15px; padding:12px 22px; }
  .org-side{ font-size:14px; padding:12px 16px; display:flex; align-items:center; }
}
@media (max-width: 560px){
  .org-hq{ font-size:14px; padding:11px 16px; }
  .org-side{ font-size:13px; padding:11px 13px; }
}
