/* ============================================================
   Beautiful Ireland with Everyone — Shared Stylesheet
   Andrew Seohyeon Kim · Dublin, Ireland
   2026-10-11 개편: 밝은 내비, 새 로고(섬 + 더블린 점), 버튼 한 체계,
   카드·사진 위주 편집형 레이아웃, 장식 모션(빛 번짐·빛 스침·기울기·잔물결) 제거.
   ============================================================ */

:root {
  --primary: #1a2942;
  --primary-light: #2c4060;
  --primary-deep: #1a2942;  /* 어두운 밴드·푸터 바탕 — 원래 네이비 그대로 (2026-10-11 Andrew 요청으로 #121d30 폐기) */
  --accent: #c9a96e;
  --accent-ink: #8a6b2c;  /* 밝은 바탕 위 금색 "글자"용 — 흰 바탕 대비 5.0:1. 채움·테두리는 --accent 그대로 */
  --accent-soft: #f4ead4;
  --green: #276b44;      /* green-soft 위 대비 5.0:1 (2026-09-04 #2e7d4f에서 조정) */
  --green-soft: #d5f4e6;
  --red-soft: #fadbd8;
  --red-ink: #a63d2f;    /* 경고·마감 글자용 붉은색 — 흰 바탕 5.6:1 */
  --bg: #fafbfc;
  --card: #ffffff;
  --text: #2c3e50;
  --muted: #5f6b6e;      /* 흰 5.5:1 · accent-tint 5.1:1 · accent-soft 4.6:1 — WCAG AA (2026-10-11 #697578에서 한 단계 진하게) */
  --border: #e1e8ed;
  --line: rgba(26, 41, 66, 0.10);  /* 아주 옅은 구분선 — 카드 테두리 대신 */
  --accent-tint: #faf6ec;  /* 따뜻한 섹션 바탕 — accent-soft보다 옅음 */
  --kakao: #fee500;        /* 카카오톡 말풍선 아이콘 색 — 버튼 바탕으로는 쓰지 않는다 */
  --shadow: 0 4px 12px rgba(26, 41, 66, 0.08);
  --shadow-hover: 0 8px 24px rgba(26, 41, 66, 0.15);
  --shadow-lift: 0 24px 60px rgba(26, 41, 66, 0.14);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-photo: 4px;   /* 사진은 거의 각지게 — 큰 둥근 모서리는 앱 템플릿처럼 보인다 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
  --paper: #f7f3eb;       /* 내비 바탕 — 크림색 종이. 순백(#fff)도 네이비도 아닌 중간 (2026-10-11 3차) */
  --paper-line: rgba(26, 41, 66, 0.09);
  --paper-gold: #7f611f;  /* --paper 위 금색 글자 — 5.2:1 (--accent-ink는 종이 위에서 4.5:1로 경계선) */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-top: var(--nav-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent-soft); color: var(--primary); }

a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* 키보드 초점 — 모든 링크·버튼에 같은 모양 (마우스 클릭에는 나타나지 않음) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
[role="button"]:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-dark :focus-visible, footer.contact :focus-visible, .hero-home :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; font-size: 14px; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 10px; }

/* ============================================================
   내비게이션 — 2026-10-11 3차: 사진 위에서는 투명, 스크롤하면 크림색 종이 바탕
   (Andrew: "흰색도 네이비도 둘 다 너무 극단적" → 진한 네이비 띠·순백 띠 둘 다 쓰지 않는다)
   - 기본(사진 히어로가 없는 페이지·스크롤한 뒤·메뉴 열림): --paper 바탕 + 네이비 글자 + 네이비 문의 버튼
   - .nav-over-hero 이고 맨 위일 때: 바탕 없이 사진 위에 흰 글자 + 금색 문의 버튼, 위쪽만 옅은 그늘
   ============================================================ */
nav.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
nav.topnav.is-scrolled { box-shadow: 0 6px 20px rgba(26, 41, 66, 0.07); }
nav.topnav .nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
nav.topnav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  flex-shrink: 0;
}
nav.topnav .logo-mark { width: 21px; height: 28px; color: var(--primary); flex-shrink: 0; transition: color 0.35s ease; }
nav.topnav .logo-name { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; white-space: nowrap; color: var(--primary); transition: color 0.35s ease; }
nav.topnav .logo-name .accent { color: var(--paper-gold); transition: color 0.35s ease; }

nav.topnav .menu { display: flex; gap: 22px; align-items: center; }
nav.topnav .menu a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s;
  white-space: nowrap;
}
nav.topnav .menu a:hover, nav.topnav .menu a.current { color: var(--paper-gold); }
nav.topnav .menu a:not(.cta-nav)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
nav.topnav .menu a:not(.cta-nav):hover::after, nav.topnav .menu a.current::after { transform: scaleX(1); }
nav.topnav .menu a.cta-nav {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}
nav.topnav .menu a.cta-nav:hover { background: var(--primary-light); color: #fff; }
nav.topnav .menu .menu-extra { display: none; }

/* 사진 히어로 위, 맨 위에 있을 때 — 띠 없이 사진이 내비 밑까지 올라온다 */
nav.topnav.nav-over-hero:not(.is-scrolled):not(.menu-open) {
  background-color: transparent;
  border-bottom-color: transparent;
}
nav.topnav.nav-over-hero::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 28px); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 22, 36, 0.42) 0%, rgba(14, 22, 36, 0) 100%);
  opacity: 0; transition: opacity 0.35s ease;
}
nav.topnav.nav-over-hero:not(.is-scrolled):not(.menu-open)::before { opacity: 1; }
nav.topnav.nav-over-hero:not(.is-scrolled):not(.menu-open) .logo-mark { color: #fff; }
nav.topnav.nav-over-hero:not(.is-scrolled):not(.menu-open) .logo-name { color: #fff; }
nav.topnav.nav-over-hero:not(.is-scrolled):not(.menu-open) .logo-name .accent { color: var(--accent); }
nav.topnav.nav-over-hero:not(.is-scrolled):not(.menu-open) .ham { color: #fff; }
@media (min-width: 961px) {
  nav.topnav.nav-over-hero:not(.is-scrolled) .menu a { color: rgba(255, 255, 255, 0.9); }
  nav.topnav.nav-over-hero:not(.is-scrolled) .menu a:hover,
  nav.topnav.nav-over-hero:not(.is-scrolled) .menu a.current { color: var(--accent); }
  nav.topnav.nav-over-hero:not(.is-scrolled) .menu a.cta-nav { background: var(--accent); color: var(--primary); }
  nav.topnav.nav-over-hero:not(.is-scrolled) .menu a.cta-nav:hover { background: #fff; color: var(--primary); }
}
/* 서브페이지 사진 히어로를 내비 밑까지 끌어올린다 (홈은 body.page-home 에서 따로 처리) */
nav.topnav.nav-over-hero ~ main > header.hero:first-child { margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); min-height: calc(600px + var(--nav-h)); }
nav.topnav.nav-over-hero ~ main > header.hero.compact:first-child { min-height: calc(400px + var(--nav-h)); }

/* 햄버거 — 두 줄이 X로 바뀐다 */
nav.topnav .ham {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  color: var(--primary);
  transition: color 0.35s ease;
}
nav.topnav .ham span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s;
}
nav.topnav .ham span:nth-child(1) { top: 17px; }
nav.topnav .ham span:nth-child(2) { top: 25px; }
nav.topnav .ham[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
nav.topnav .ham[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  nav.topnav .ham { display: block; }
  nav.topnav .menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-line);
    box-shadow: 0 24px 40px rgba(26, 41, 66, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  nav.topnav .menu.open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
  }
  nav.topnav .menu a {
    opacity: 1;
    font-size: 17px;
    font-weight: 600;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 2px;
    color: var(--primary);
    border-bottom: 1px solid var(--line);
  }
  nav.topnav .menu a.current { color: var(--paper-gold); }
  nav.topnav .menu a:not(.cta-nav)::after { display: none; }
  nav.topnav .menu a.cta-nav {
    margin-top: 18px; justify-content: center; border-bottom: 0; min-height: 52px; font-size: 16px; border-radius: 12px;
  }
  nav.topnav .menu .menu-extra {
    display: flex; gap: 18px; justify-content: center; margin-top: 14px; font-size: 14px;
  }
  nav.topnav .menu .menu-extra a { min-height: 44px; border: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
}
.menu-backdrop {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: rgba(26, 41, 66, 0.32);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.menu-backdrop.show { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease), visibility 0s; }
body.menu-locked { overflow: hidden; }
@media (max-width: 600px) {
  :root { --nav-h: 58px; }
  .container, nav.topnav .nav-inner { padding: 0 20px; }
  nav.topnav .logo-name { font-size: 14px; }
  nav.topnav .logo-mark { width: 19px; height: 25px; }
}
@media (max-width: 360px) { nav.topnav .logo-name .with-everyone { display: none; } }

/* ============================================================
   빠른 문의 — 모바일은 화면 아래 막대, 데스크톱은 오른쪽 아래 버튼
   히어로의 문의 버튼이 보이는 동안·푸터가 보이면 숨는다 (scripts.js)
   ============================================================ */
.dock {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(26, 41, 66, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: translateY(0);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background-color 0.2s;
}
.dock:hover { background: var(--primary-light); }
.dock.is-hidden { transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; }
@media (min-width: 961px) { .dock-wrap { display: none; } }
/* 코스·순례 상세 창이 열려 있으면 빠른 문의 막대를 감춘다 (창 안에 문의 버튼이 있다) */
body:has(.modal-overlay.open) .dock-wrap, body.menu-locked .dock-wrap { display: none; }
.dock-logo { width: 40px; height: 40px; border-radius: 50%; background: var(--kakao); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dock .dock-logo .ic.ic-kakao { width: 22px; height: 22px; margin: 0; fill: rgba(0, 0, 0, 0.85); }
.dock-go { width: 18px; height: 18px; margin-left: 4px; opacity: 0.8; }
.dock-text { display: flex; flex-direction: column; line-height: 1.25; }
.dock-text b { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.dock-text small { font-size: 12px; color: rgba(255,255,255,0.72); }
@media (max-width: 760px) {
  .dock {
    left: 12px; right: 12px; bottom: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    border-radius: 16px;
    padding: 8px 16px 8px 10px;
    min-height: 56px;
  }
  .dock-logo { width: 36px; height: 36px; }
  .dock .dock-logo .ic.ic-kakao { width: 20px; height: 20px; }
  .dock-go { margin-left: auto; }
}

/* 요금 계산 바로가기 — 계산기가 있는 페이지(공항·투어·이사)에서 빠른 문의 왼쪽 (2026-10-14)
   두 버튼을 .dock-wrap 하나가 아래에 붙여 둔다. 숨은 버튼은 클릭을 받지 않는다 */
.dock-wrap.has-calc { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; align-items: stretch; gap: 8px; pointer-events: none; }
.dock-wrap.has-calc > * { pointer-events: auto; }
.dock-wrap.has-calc > .is-hidden { pointer-events: none; }
.dock-wrap.has-calc .dock { position: relative; inset: auto; }
.dock-calc {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 72px; padding: 6px 8px;
  background: var(--paper); color: var(--primary);
  border: 1px solid var(--paper-line); border-radius: 16px;
  box-shadow: 0 14px 34px rgba(26, 41, 66, 0.2);
  font-size: 12.5px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), border-color 0.2s;
}
.dock-calc .ic { width: 20px; height: 20px; }
.dock-calc:hover { border-color: var(--primary); }
.dock-calc.is-hidden { transform: translateY(calc(100% + 40px)); opacity: 0; }
@media (min-width: 961px) { .dock-wrap.has-calc { display: none; } }
@media (max-width: 760px) {
  .dock-wrap.has-calc { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .dock-wrap.has-calc .dock { flex: 1; min-width: 0; }
}

/* 계산기 요금 막대 — 휴대폰·태블릿에서 계산기를 채우는 동안 화면 아래에 지금 요금과 문의 버튼 (scripts.js 9)
   계산기 안의 요금 칸이 화면에 보이면 숨는다 — 같은 숫자를 두 번 보여 주지 않는다 */
.calc-bar { display: none; }
@media (max-width: 960px) {
  .calc-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 91;
    display: flex; align-items: center; gap: 10px;
    max-width: 560px; margin: 0 auto;
    min-height: 60px; padding: 7px 7px 7px 16px;
    background: var(--primary); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px;
    box-shadow: 0 14px 34px rgba(26, 41, 66, 0.28);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .calc-bar.is-hidden { transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; }
}
.calc-bar-sum {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 2px 0; background: none; border: 0; color: inherit; font-family: inherit; text-align: left; cursor: pointer;
}
.calc-bar-sum small { font-size: 12px; color: rgba(255, 255, 255, 0.74); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.calc-bar-sum .cb-row { display: flex; align-items: baseline; gap: 8px; }
.calc-bar-sum b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.calc-bar-sum em { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, 0.82); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.calc-bar-cta {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  min-height: 46px; padding: 0 16px;
  background: #fff; color: var(--primary); border-radius: 12px;
  font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.calc-bar-cta .ic { width: 20px; height: 20px; }
body:has(.modal-overlay.open) .calc-bar, body.menu-locked .calc-bar { display: none; }

/* 계산기 — 접는 칸(주소로 주행거리 확인)과 요금 아래 문의용 칸. airport·moving 공용 (2026-10-14) */
.calc-more { margin: 0 0 22px; background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius-sm); transition: border-color 0.15s; }
.calc-more[open] { border-color: var(--primary); }
.calc-more > summary {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 44px 10px 14px;
  list-style: none; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--primary); line-height: 1.45;
}
.calc-more > summary::-webkit-details-marker { display: none; }
.calc-more > summary .ic { width: 18px; height: 18px; flex-shrink: 0; }
.calc-more > summary .opt { font-size: 14px; font-weight: 400; color: var(--muted); }
.calc-more > summary::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s var(--ease);
}
.calc-more[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.calc-more > summary:hover { color: var(--primary-light); }
.calc-more-body { padding: 2px 14px 16px; }
.calc-more-body .row { margin-bottom: 12px !important; }
.calc-more-body .maps-btn { margin-top: 12px; }
.calc-body .calc-when { margin: 22px 0 0; }

/* ============================================================
   서브페이지 히어로 — 사진 위 제목. 장식 없이, 글자는 그림자 대신 아래쪽 그라데이션으로 읽힌다
   ============================================================ */
header.hero {
  position: relative;
  min-height: 600px;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--primary);
}
header.hero.compact { min-height: 400px; }
header.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/andrew/hero-home.jpg') center/cover no-repeat;
  z-index: 1;
  transform-origin: center;
  animation: heroSettle 1.6s var(--ease) both;
}
header.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,41,66,0.30) 0%, rgba(26,41,66,0.45) 50%, rgba(26,41,66,0.78) 100%);
  z-index: 2;
}
@keyframes heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }
header.hero .hero-content {
  position: relative;
  z-index: 3;
  padding: 88px 24px 64px;
  max-width: 820px;
}
header.hero.compact .hero-content { padding: 64px 24px 52px; }
header.hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
header.hero .tagline, header.hero .sub { color: #fff; }
header.hero .tagline {
  font-size: 17.5px;
  opacity: 0.94;
  margin: 0 auto 8px;
  font-weight: 400;
  max-width: 620px;
  line-height: 1.7;
}
header.hero .sub { font-size: 14.5px; opacity: 0.8; margin-bottom: 28px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.86);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

header.hero .cta {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
header.hero .cta a:not(.btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px;
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15.5px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
header.hero .cta a:not(.btn):hover { background: var(--accent-soft); }
header.hero .cta a.outline:not(.btn) {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
header.hero .cta a.outline:not(.btn):hover { background: rgba(255,255,255,0.16); border-color: #fff; }
header.hero .cta a.kakao:not(.btn) { background: #fff; color: var(--primary); }
header.hero .hero-content > * { animation: riseIn 0.8s var(--ease) both; }
header.hero .hero-content > *:nth-child(2) { animation-delay: 0.06s; }
header.hero .hero-content > *:nth-child(3) { animation-delay: 0.12s; }
header.hero .hero-content > *:nth-child(4) { animation-delay: 0.18s; }
header.hero .hero-content > *:nth-child(5) { animation-delay: 0.24s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  header.hero { min-height: 520px; }
  header.hero.compact { min-height: 340px; }
  nav.topnav.nav-over-hero ~ main > header.hero:first-child { min-height: calc(520px + var(--nav-h)); }
  nav.topnav.nav-over-hero ~ main > header.hero.compact:first-child { min-height: calc(340px + var(--nav-h)); }
  header.hero .hero-content { padding: 56px 20px 44px; }
  header.hero.compact .hero-content { padding: 48px 20px 40px; }
  header.hero h1 { font-size: 27px; }
  header.hero .tagline { font-size: 15.5px; }
  header.hero .sub { font-size: 13px; }
  header.hero .cta a:not(.btn) { min-height: 48px; padding: 0 18px; font-size: 15px; }
  header.hero .cta { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; gap: 8px; }
  header.hero .cta a, header.hero .cta .btn { width: 100%; }
}

/* ============================================================
   페이지별 히어로 사진 — <body class="page-*">
   Andrew가 찍은 사진은 images/andrew/, 출처 표기 사진은 photo-credits.html 참고
   ============================================================ */
body.page-about header.hero::before { background-image: url('images/andrew/andrew-causeway-wide.jpg'); background-position: 72% 40%; }
body.page-contact header.hero::before { background-image: url('images/andrew/moher-wide-2026-07.jpg'); background-position: center 60%; }
body.page-terms header.hero::before { background-image: url('images/andrew/moher-2026-08.jpg'); }
body.page-airport header.hero::before { background-image: url('images/heroes/airport.jpg'); }
body.page-tours header.hero::before { background-image: url('images/andrew/slieve-league-2026-10.jpg'); background-position: center 60%; }
body.page-moving header.hero::before { background-image: url('images/andrew/hero-moving.jpg'); background-position: center 45%; }
body.page-pilgrimage header.hero::before { background-image: url('images/andrew/kylemore-2025-12.jpg'); background-position: center 65%; }
body.page-custom header.hero::before { background-image: url('images/andrew/dunquin-2025-02.jpg'); background-position: center 55%; }
/* 휴대폰 히어로 — 사진 높이는 그대로 두고 가로만 4:5로 잘라 낸 사본(-m.jpg, 약 35% 가벼움). 각 페이지 head 의 preload 와 주소가 같아야 두 번 받지 않는다 (2026-10-14) */
@media (max-width: 760px) {
  body.page-about header.hero::before { background-image: url('images/andrew/andrew-causeway-wide-m.jpg'); }
  body.page-contact header.hero::before { background-image: url('images/andrew/moher-wide-2026-07-m.jpg'); }
  body.page-terms header.hero::before { background-image: url('images/andrew/moher-2026-08-m.jpg'); }
  body.page-airport header.hero::before { background-image: url('images/heroes/airport-m.jpg'); }
  body.page-tours header.hero::before { background-image: url('images/andrew/slieve-league-2026-10-m.jpg'); }
  body.page-moving header.hero::before { background-image: url('images/andrew/hero-moving-m.jpg'); }
  body.page-pilgrimage header.hero::before { background-image: url('images/andrew/kylemore-2025-12-m.jpg'); }
  body.page-custom header.hero::before { background-image: url('images/andrew/dunquin-2025-02-m.jpg'); }
}

/* ============================================================
   브레드크럼
   ============================================================ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-size: 13.5px;
}
.breadcrumb .container { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .sep { color: var(--muted); opacity: 0.45; }
.breadcrumb .current { color: var(--primary); font-weight: 600; }

/* ============================================================
   섹션·글자 체계
   ============================================================ */
section { padding: 88px 0; }
section.alt { background: white; }
section .section-title { margin-bottom: 40px; text-align: center; }

/* 섹션 머리말 — 작은 금색 글자 한 줄. 선·배지 없음 */
.eyebrow {
  display: inline-block;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow.accent { color: var(--accent-ink); }
.eyebrow.green  { color: var(--green); }
h1 { color: var(--primary); }
h2 { font-size: clamp(27px, 3vw, 40px); font-weight: 700; color: var(--primary); letter-spacing: -0.03em; line-height: 1.3; }
h1, h2, h3 { text-wrap: balance; }
.nw { white-space: nowrap; }
h2 + .lead { color: var(--muted); margin-top: 10px; font-size: 16px; }
h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 12px; letter-spacing: -0.02em; line-height: 1.4; }
h4 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.section-title .lead { max-width: 680px; margin-left: auto; margin-right: auto; line-height: 1.75; }
@media (max-width: 600px) {
  section { padding: 60px 0; }
  h2 { font-size: 25px; }
  section .section-title { margin-bottom: 30px; }
}

/* ============================================================
   버튼 — 한 체계. 카톡 문의도 네이비 버튼 + 노란 말풍선 아이콘
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary, .btn-kakao { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-kakao:hover { background: var(--primary-light); }
.btn-accent { background: var(--accent); color: var(--primary); }
.btn-accent:hover { background: #d6b985; }
.btn-outline { background: transparent; border-color: rgba(26, 41, 66, 0.22); color: var(--primary); }
.btn-outline:hover { border-color: var(--primary); background: rgba(26, 41, 66, 0.03); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--accent-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-link { min-height: 44px; padding: 0; background: none; color: var(--primary); border: 0; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* 어두운 바탕 위 카톡 버튼은 흰 버튼으로 */
.cta-band .btn-kakao, .section-dark .btn-kakao, footer.contact .btn-kakao { background: #fff; color: var(--primary); }
.cta-band .btn-kakao:hover, .section-dark .btn-kakao:hover, footer.contact .btn-kakao:hover { background: var(--accent-soft); }
/* 카카오톡 말풍선 — 버튼 안에서 노란색으로 */
.ic.ic-kakao { fill: currentColor; stroke: none; }
.hero-home .ic.ic-kakao, header.hero .ic.ic-kakao, .dock .ic.ic-kakao, .calc-bar .ic.ic-kakao, .ask-send .ic.ic-kakao, footer.contact .ft-channels .ic.ic-kakao { fill: var(--kakao); }
.btn .ic.ic-kakao { width: 20px; height: 20px; }

/* ============================================================
   자격 알약 — about.html
   ============================================================ */
.cred-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
  display: inline-block;
}
.credentials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0; }

/* about.html 소개 블록 */
.about-block { max-width: 780px; margin: 0 auto; text-align: center; }
.about-block .greeting { font-size: 13.5px; color: var(--accent-ink); font-weight: 700; letter-spacing: 0.02em; margin-bottom: 12px; }
.about-block h2 { margin-bottom: 22px; }
.about-block .intro-para { font-size: 16px; color: var(--text); margin: 0 auto 16px; line-height: 1.85; max-width: 680px; }
.about-block .intro-para strong { color: var(--primary); }

/* ============================================================
   자주 묻는 질문 — 상자 대신 가는 선. 질문을 누르면 답이 열린다 (scripts.js)
   ============================================================ */
.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin: 0;
  cursor: pointer;
}
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-q {
  position: relative;
  padding: 20px 52px 20px 0;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--primary);
  line-height: 1.5;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.faq-item:hover .faq-q { color: var(--accent-ink); }
/* 더하기 → 빼기: 가로선은 그대로, 세로선만 눕는다 */
.faq-q::before, .faq-q::after {
  content: '';
  position: absolute;
  right: 6px; top: 50%;
  width: 14px; height: 2px; border-radius: 2px;
  background: var(--primary);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.faq-q::after { transform: rotate(90deg); }
.faq-item.open .faq-q::after { transform: rotate(0deg); opacity: 0; }
.faq-a {
  display: none;
  padding: 0 52px 22px 0;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }
/* JS가 켜져 있으면 답이 높이 애니메이션으로 열린다 (scripts.js 가 .faq-a-inner 로 감싼다) */
html.js .faq-a {
  display: grid; grid-template-rows: 0fr; visibility: hidden; padding-bottom: 0;
  transition: grid-template-rows 0.42s var(--ease), padding 0.3s ease, visibility 0s linear 0.42s;
}
html.js .faq-a-inner { min-height: 0; overflow: hidden; }
html.js .faq-item.open .faq-a {
  grid-template-rows: 1fr; visibility: visible; padding-bottom: 22px;
  transition: grid-template-rows 0.42s var(--ease), padding 0.3s ease, visibility 0s linear 0s;
}
.faq-a a, .intro-para a { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 600px) {
  .faq-q { font-size: 16px; padding: 18px 40px 18px 0; }
  .faq-a { padding-right: 0; font-size: 15px; }
}

/* ============================================================
   푸터 — 위: 그 페이지의 문의 안내 + 채널, 아래: 링크 묶음과 저작권
   ============================================================ */
footer.contact {
  position: relative;
  background: var(--primary-deep);
  color: rgba(255,255,255,0.82);
  padding: 72px 0 36px;
  text-align: left;
  font-size: 15px;
}
footer.contact a { color: inherit; }
.ft-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
footer.contact h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
footer.contact .ft-lead { color: rgba(255,255,255,0.78); line-height: 1.75; max-width: 40em; }
.ft-channels { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
.ft-channels .btn { min-height: 48px; font-size: 15px; }
.ft-channels .btn-ghost-light { border-color: rgba(255,255,255,0.28); }
.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 44px 0 36px;
}
.ft-brand .ft-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-bottom: 14px; }
.ft-brand .ft-logo svg { width: 22px; height: 29px; }
.ft-brand .ft-logo .dot { fill: var(--accent); }
.ft-brand .ft-logo b { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; display: block; line-height: 1.2; }
.ft-brand .ft-logo b .accent { color: var(--accent); }
.ft-brand .ft-logo svg { color: var(--accent-soft); }
.ft-brand .ft-logo small { font-size: 10.5px; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); display: block; }
.ft-brand p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.66); max-width: 26em; }
.ft-col h3 { font-size: 13.5px; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 12px; }
.ft-col ul { list-style: none; display: grid; gap: 2px; }
.ft-col a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 34px; font-size: 14.5px; color: rgba(255,255,255,0.78); text-decoration: none; }
.ft-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.62);
}
.ft-bottom p { margin: 0; }
.ft-bottom .nw, .ft-brand .nw { white-space: nowrap; }
@media (max-width: 900px) {
  .ft-top { grid-template-columns: 1fr; align-items: start; }
  .ft-channels { justify-content: flex-start; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  footer.contact { padding: 56px 0 32px; }
  .ft-channels .btn { flex: 1 1 100%; }
  .ft-grid { gap: 28px 20px; padding: 36px 0 28px; }
}

/* ============================================================
   다른 서비스 — 서브페이지 아래 링크 줄
   ============================================================ */
.other-services {
  background: var(--accent-tint);
  padding: 64px 20px;
  border-top: 1px solid var(--line);
}
.other-services h3 { text-align: center; margin-bottom: 24px; font-size: 21px; }
.other-services .links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 1060px;
  margin: 0 auto;
}
.other-services .links a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: var(--primary);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.25s var(--ease);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}
.other-services .links a:hover { border-color: var(--accent); transform: translateY(-2px); }
.other-services .links a .icon { display: inline-flex; }
.other-services .links a .icon .ic { width: 22px; height: 22px; color: var(--accent-ink); }
@media (max-width: 900px) { .other-services .links { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CTA 밴드 — 네이비 상자 하나. 빛 번짐 없음
   ============================================================ */
.cta-band {
  background: var(--primary);
  color: white;
  padding: 56px 32px;
  border-radius: 20px;
  text-align: center;
  margin: 40px auto;
  max-width: 960px;
}
.cta-band h2, .cta-band h3 { color: white; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 26px; font-size: 16px; line-height: 1.75; }
.cta-band .buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-accent { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-accent:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ============================================================
   진입·리빌 — 한 번만, 짧게. 줄임 모션 설정이면 모두 끈다
   ============================================================ */
html.js .reveal { opacity: 0; transition: opacity 0.5s ease; }
html.js .reveal.in-view { opacity: 1; }
html.js .stagger-fade > * { opacity: 0; transition: opacity 0.5s ease; }
html.js .stagger-fade.in-view > * { opacity: 1; }
html.js .stagger-fade.in-view > *:nth-child(2) { transition-delay: 0.06s; }
html.js .stagger-fade.in-view > *:nth-child(3) { transition-delay: 0.12s; }
html.js .stagger-fade.in-view > *:nth-child(4) { transition-delay: 0.18s; }
html.js .stagger-fade.in-view > *:nth-child(5) { transition-delay: 0.24s; }
html.js .stagger-fade.in-view > *:nth-child(n+6) { transition-delay: 0.3s; }

/* 페이지 이동 — 같은 사이트 안에서는 화면이 부드럽게 넘어간다 (지원 브라우저만) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; animation-timing-function: ease; }
nav.topnav { view-transition-name: topnav; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .stagger-fade > *, html.js .auto-stagger > * { opacity: 1 !important; transform: none !important; }
  @view-transition { navigation: none; }
}

/* 서브페이지 왼쪽 위 "홈으로" — 로고와 브레드크럼이 같은 역할이라 화면에서는 숨기고, 접근성 트리에는 남긴다 */
.back-home {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.back-home:focus {
  position: fixed; top: calc(var(--nav-h) + 10px); left: 16px; z-index: 120;
  width: auto; height: auto; clip: auto;
  background: #fff; color: var(--primary); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: 14px; text-decoration: none;
}

/* ============================================================
   IRELAND MAP — 지도 + 마커
   ============================================================ */
.ireland-map-container {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background: var(--accent-tint);
  border-radius: var(--radius);
  padding: 12px;
  aspect-ratio: 1449 / 1807;
}
.ireland-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.ireland-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--primary);
  border: 2px solid white;
  border-radius: 16px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: all 0.2s;
  white-space: nowrap;
  z-index: 2;
}
.ireland-marker:hover, .ireland-marker:focus {
  background: var(--primary);
  color: white;
  transform: translate(-50%, -50%) scale(1.18);
  z-index: 3;
  outline: none;
}
.ireland-marker.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(26,41,66,0.5);
}
.ireland-marker.dublin-pin {
  background: var(--primary);
  color: white;
  cursor: default;
}
.ireland-marker.dublin-pin:hover { transform: translate(-50%, -50%); background: var(--primary); }
@media (max-width: 600px) {
  .ireland-marker { font-size: 10px; padding: 3px 8px; }
}
@media (max-width: 420px) {
  .ireland-marker { font-size: 10.5px; padding: 2px 7px; }
}

/* ============================================================
   TOUR CARDS — 사진 카드 (원본 스타일 복원)
   ============================================================ */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.tour-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.tour-card:hover { border-color: var(--accent); }
.tour-card .tour-img {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  background-size: cover;
  background-position: center;
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: white;
  position: relative;
  overflow: hidden;
}
.tour-card .tour-img.has-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,41,66,0.05) 35%, rgba(26,41,66,0.55) 100%);
  pointer-events: none;
}
.tour-card .tour-img .placeholder {
  position: relative;
  z-index: 2;
  margin: 12px;
  font-size: 13px;
  background: rgba(26,41,66,0.6);
  padding: 6px 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.tour-card .tour-body { padding: 18px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.tour-card .tour-name { font-size: 17px; font-weight: 800; color: var(--primary); margin-bottom: 6px; line-height: 1.3; }
.tour-card .tour-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.tour-card .tour-prices { font-size: 14px; font-weight: 700; color: var(--accent-ink); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--border); }
.tour-card .tour-prices .lbl { color: var(--muted); font-weight: 500; font-size: 12px; }
.tour-card.is-active { border-color: var(--accent-ink); box-shadow: 0 0 0 1px var(--accent-ink); }

/* 빠른 가격 비교 테이블 */
.tour-pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 14.5px;
}
.tour-pricing-table th {
  background: transparent;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}
.tour-pricing-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
.tour-pricing-table tr:last-child td { border-bottom: none; }
.tour-pricing-table tr:hover td { background: var(--accent-tint); }
.tour-pricing-table .num { font-weight: 700; color: var(--primary); text-align: center; }
.tour-pricing-table .name { font-weight: 600; color: var(--primary); }
.tour-pricing-table-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; }

/* ============================================================
   ANDREW INTRO STRIP — 서비스 페이지에서 소개 페이지로 가는 미니 배너
   ============================================================ */
.andrew-strip {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.2s;
}
.andrew-strip:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.andrew-strip .avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(201,169,110,0.3);
}
.andrew-strip .info { flex-grow: 1; min-width: 0; }
.andrew-strip .info .label {
  font-size: 11.5px;
  color: var(--accent-ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 2px;
}
.andrew-strip .info strong {
  display: block;
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 4px;
}
.andrew-strip .info p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.andrew-strip .more-btn {
  background: var(--bg);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.andrew-strip:hover .more-btn,
.andrew-strip .more-btn:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
@media (max-width: 600px) {
  .andrew-strip {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
    gap: 12px;
  }
  .andrew-strip .info p { font-size: 12.5px; }
}

/* ============================================================
   📱 MOBILE-FIRST RESPONSIVE FIXES (전사이트 공통)
   목표: 한 화면에 다 보이게 — 옆드래그 없이, 잘림 없이.
   ============================================================ */

/* 모든 미디어/표 요소가 부모를 절대 넘지 않게 */
img, iframe, video, svg { max-width: 100%; }
table { max-width: 100%; }

/* 컨테이너가 화면 너비를 절대 넘지 않게 (안전 그물) */
.calc-wrap, .modal { max-width: 100%; }

/* 한국어 친화 줄바꿈 — 어절(공백) 단위로만 끊기, 단어 중간 절단 방지.
   영어 단어도 중간에서 끊기지 않음. 정말 화면을 넘는 긴 URL/이메일만 마지막 수단으로 break. */
body, p, li, td, th, span, h1, h2, h3, h4, h5, h6, a, button,
.faq-q, .faq-a, .breakdown li, .info-block p, .lead, .hero-content,
.service-card, .feature-card, .use-card, .package-card, .channel-card,
.diff-card, .mission-card, .step-card, .var-card, .cred-pill,
.tour-card, .trip-card, .place-card-mini {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

/* 줄바꿈 다듬기 (2026-10-12, Andrew "줄 나뉨이 잘리고 단어가 갈라진다")
   - 문단·목록: 마지막 줄에 한 단어만 남지 않게(text-wrap: pretty — 지원 브라우저만, 나머지는 그대로)
   - 표 칸·라벨·짧은 설명: 두 줄이 되면 줄 길이를 고르게(balance)
   - 가운뎃점(·)이 줄 첫머리에 오는 문제는 scripts.js setupDotJoin 이 처리 */
p, li, dd, figcaption, blockquote, .faq-a { text-wrap: pretty; }
td, th, dt, label, .btn, .tagline, .sub, .table-notes li, .dot-list li, .cl-stops, .wm-sub, .wr-tags { text-wrap: balance; }
th { word-break: keep-all; }

/* 브랜드 문구·고유명사·복합어 — 절대 줄을 끊지 않음
   inline 으로 두어야 부모의 text-align(center 등)이 정상 동작함.
   사용 예: <span class="phrase">Classical Music for Everyone</span> */
.phrase {
  white-space: nowrap;
}
/* 모바일: 긴 문구가 카드를 이탈하지 않도록 줄바꿈 허용
   (word-break: keep-all 덕분에 한국어 단어는 유지된 채 띄어쓰기에서만 줄바꿈) */
@media (max-width: 600px) {
  .phrase { white-space: normal; }
}

/* ============================================================
   📊 표 → 모바일 카드뷰 변환
   .stack-on-mobile 클래스가 붙은 <table>은
   600px 이하에서 각 <tr>이 카드로 변환됨
   ============================================================ */
@media (max-width: 600px) {
  .stack-on-mobile,
  .stack-on-mobile thead,
  .stack-on-mobile tbody,
  .stack-on-mobile tr,
  .stack-on-mobile th,
  .stack-on-mobile td {
    display: block;
    width: 100%;
  }
  .stack-on-mobile {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .stack-on-mobile thead { display: none; }
  .stack-on-mobile tbody { padding: 0; }
  .stack-on-mobile tr {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 12px 14px;
    box-shadow: 0 2px 6px rgba(26, 41, 66, 0.06);
  }
  .stack-on-mobile td {
    padding: 5px 0 !important;
    border: none !important;
    text-align: left !important;
    font-size: 13.5px;
    line-height: 1.55;
    background: transparent !important;
  }
  /* 라벨 prefix (data-label 속성 사용) */
  .stack-on-mobile td[data-label]::before {
    content: attr(data-label);
    display: inline-block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 700;
    margin-right: 8px;
    min-width: 64px;
  }
  /* 섹션 헤더 행 (colspan="2" 등): 카드와 카드 사이의 분리선처럼 표시 */
  .stack-on-mobile tr:has(td[colspan]) {
    background: var(--accent-soft) !important;
    border: 1px solid var(--accent);
    padding: 10px 14px;
    margin-top: 18px;
  }
  .stack-on-mobile td[colspan] {
    font-weight: 800 !important;
    color: var(--primary) !important;
    font-size: 13px !important;
    text-align: center !important;
  }
  /* 가격 셀 — 라벨 prefix 옆에 정렬 */
  .stack-on-mobile td.price,
  .stack-on-mobile td.num {
    color: var(--accent-ink);
    font-weight: 800;
  }
  /* wrap 박스의 overflow-x도 무력화 (이미 카드뷰니까 옆드래그 불필요) */
  .tour-pricing-table-wrap,
  .price-table-wrap {
    overflow-x: visible !important;
  }
}

/* ============================================================
   🧮 계산기·결과 패널 모바일 보강
   ============================================================ */
@media (max-width: 600px) {
  .calc-wrap { border-radius: 12px; }
  .calc-body { padding: 22px 16px !important; }
  .calc-tabs .calc-tab { padding: 14px 8px !important; font-size: 14.5px !important; }
  .result-panel { padding: 18px 16px !important; }
  .result-panel .result-price { font-size: 32px !important; letter-spacing: -1px !important; }
  .result-panel .breakdown { padding: 12px !important; }
  .result-panel .breakdown ul li { font-size: 14.5px !important; }
  .km-quick { gap: 5px !important; }
  .km-quick button { font-size: 13.5px !important; padding: 8px 11px !important; min-height: 40px; }
  .field input, .field select { font-size: 16px !important; padding: 11px 12px !important; }
}

/* ============================================================
   🪟 모달 모바일 보강 (tours.html)
   ============================================================ */
@media (max-width: 600px) {
  .modal-overlay { padding: 12px !important; }
  .modal { padding: 22px 18px !important; max-height: 92vh !important; border-radius: 14px !important; }
  .modal h3 { font-size: 19px !important; padding-right: 36px; }
  .price-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
  .pricing-cell { padding: 10px 6px !important; }
  .pricing-cell .num { font-size: 16px !important; }
  .pricing-cell .lbl { font-size: 10.5px !important; }
  .place-card-mini { flex: 0 0 145px !important; }
  .var-card { padding: 12px 14px !important; font-size: 13px !important; }
}

/* ============================================================
   🔔 안내 박스(included-banner / zone-extra / long-warn) 모바일 보강
   ============================================================ */
@media (max-width: 600px) {
  .included-banner,
  .long-warn,
  .price-note-inline { font-size: 14px !important; padding: 12px 14px !important; line-height: 1.65 !important; }
  .zone-extra { padding: 12px 14px !important; font-size: 14px !important; line-height: 1.7 !important; }
  .rate-card { padding: 12px 14px !important; }
  .rate-card .rate-row { font-size: 14px !important; }
}


/* 매우 좁은 화면에서 service 카드 패딩 축소 */
@media (max-width: 380px) {
  .feature-card { padding: 20px 16px; }
  .use-card { padding: 24px 20px; }
  .package-card { padding: 24px 20px; }
  .channel-card { padding: 24px 20px; }
}

/* 가격 표 wrap 자체의 가로 스크롤 비활성화 (이미 카드뷰가 처리) */
@media (max-width: 600px) {
  .tour-pricing-table-wrap { padding: 0; }
}

/* 모바일에서만 끊는 줄바꿈 헬퍼 — 큰 화면에선 줄을 끊지 않음 */
br.brk-md { display: none; }
@media (max-width: 480px) { br.brk-md { display: inline; } }

/* ============================================================
   📊 진짜 표 형태로 유지 (컴팩트) — 모바일에서도 표 그대로
   tour-pricing-table / compare-table / .price-table.keep-table
   ============================================================ */
@media (max-width: 600px) {
  /* tour-pricing-table — 4열 (지역 / 거리 / 시간 / 가격) */
  .tour-pricing-table { font-size: 13px; }
  .tour-pricing-table th { padding: 9px 5px !important; font-size: 12px !important; line-height: 1.35 !important; }
  .tour-pricing-table td { padding: 10px 5px !important; line-height: 1.45 !important; font-size: 13px !important; }
  .tour-pricing-table .name { font-size: 13px; font-weight: 700; }
  .tour-pricing-table .num { font-size: 12.5px; white-space: nowrap; }
  .tour-pricing-table-wrap { border-radius: 12px; overflow: hidden; }

  /* compare-table — 3열 (항목 / 투어버스 / Andrew) */
  .compare-table { font-size: 13px; }
  .compare-table th { padding: 10px 6px !important; font-size: 12.5px !important; line-height: 1.35 !important; }
  .compare-table td { padding: 10px 6px !important; line-height: 1.5 !important; font-size: 13px !important; }
  .compare-table td:first-child { font-weight: 700; }
  /* 4열 비교표(공항): 항목 열을 줄이고 비교 열을 고르게 — "차종에 / 따라 / 다름"처럼 한 단어씩 떨어지지 않게 (2026-10-12) */
  .compare-table.cmp-4 { table-layout: fixed; width: 100%; }
  .compare-table.cmp-4 col.c-item { width: 21%; }
  .compare-table.cmp-4 col.c-us { width: 31%; }
  .compare-table.cmp-4 th, .compare-table.cmp-4 td { padding-left: 5px !important; padding-right: 5px !important; }

  /* price-table.keep-table — 2~3열 공통 컴팩트 표 (airport / moving 양쪽) */
  .price-table.keep-table { font-size: 13px; }
  .price-table.keep-table th { padding: 9px 6px !important; font-size: 12px !important; line-height: 1.35 !important; }
  .price-table.keep-table td { padding: 10px 6px !important; line-height: 1.5 !important; font-size: 13px !important; vertical-align: top; }
  .price-table.keep-table td:first-child { font-weight: 700; }
  .price-table.keep-table td.price { font-weight: 800; color: var(--accent-ink); white-space: nowrap; text-align: right; }
  /* 섹션 헤더 행 (colspan="2") — 표 안의 카테고리 분리선처럼 보이게 */
  .price-table.keep-table td[colspan] {
    padding: 7px 8px !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
}



/* ============================================================
   모금 현황 패널 — fund.json 을 읽어 채워집니다 (scripts.js)
   숫자가 주인공이 되도록 장식은 최소로 둡니다.
   ============================================================ */
.fund-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px 20px;
  margin: 26px auto 0;
  max-width: 620px;
  text-align: left;
}
.fund-panel[hidden], .fund-split[hidden], .fund-figure[hidden] { display: none; }
.fund-lede {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}
.fund-amount {
  font-size: 44px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}
.fund-amount span { font-size: 26px; font-weight: 700; color: var(--accent-ink); margin-right: 3px; }
.fund-meta {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
  margin-top: 10px;
}
.fund-meta b { color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.fund-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 18px;
}
.fund-split div { background: var(--card); padding: 12px 10px; text-align: center; }
.fund-split dt { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.fund-split dd { font-size: 16px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.fund-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
@media (max-width: 560px) {
  .fund-amount { font-size: 36px; }
  .fund-split { grid-template-columns: 1fr; }
}

/* 적립 방식 설명 — about.html 음악 프로젝트 섹션 */
.fund-method {
  max-width: 620px;
  margin: 20px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px 18px;
  text-align: left;
}
.fund-method h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 14px;
}
.fund-method ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.fund-method li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text);
}
.fund-method li b { color: var(--primary); font-weight: 700; }
.fund-method li:last-child b { color: var(--accent-ink); }
.fund-method .fm-sub {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 2px;
}
.fund-method .fm-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}


/* ============================================================
   아이콘 — 인라인 SVG 스프라이트 (이모지 아이콘 대체)
   각 페이지 <body> 첫 줄의 <svg class="icon-sprite"> 안 <symbol id="i-…">를
   <svg class="ic"><use href="#i-…"></use></svg> 로 부른다.
   ============================================================ */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.15em; flex-shrink: 0;
}
.ic-box {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.ic-box .ic { width: 24px; height: 24px; }
.ic-box.on-dark { background: rgba(201,169,110,0.18); color: var(--accent); }
.btn .ic { width: 18px; height: 18px; }

/* ============================================================
   비교표 — tours(투어버스 비교)·airport(공항 이동 수단 비교) 공용
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 14.5px;
}
.compare-table thead tr { background: transparent; color: var(--primary); border-bottom: 2px solid var(--primary); }
.compare-table th { padding: 14px; font-weight: 700; font-size: 13.5px; text-align: center; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: center; line-height: 1.5; }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--primary); white-space: nowrap; }
.compare-table .andrew-cell { background: var(--accent-tint); color: var(--primary); }
.compare-table tr:last-child td { border-bottom: none; }

/* ============================================================
   홈 (index.html) — 2026-10-11 개편
   히어로 사진 한 장 · 문의 메시지 만들기 · 확인할 수 있는 사실 넷 · 서비스 다섯 ·
   더블린에서 당일로 가는 곳(지도) · Andrew가 찍은 사진 · 예약 순서 · 운영자 · 수익이 가는 곳 · FAQ
   ============================================================ */

/* 홈은 히어로가 내비 밑까지 올라간다 */
body.page-home { padding-top: 0; }

/* --- 섹션 머리: 제목과 설명을 가운데 한 칸으로 (원래 사이트의 .section-title 과 같은 정렬) --- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { margin: 0 auto; }
.sec-head p { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin: 14px auto 0; max-width: 40em; text-wrap: balance; }
.section-title .lead, .cta-band p, .other-services h3 { text-wrap: balance; }
.sec-head .eyebrow { margin-bottom: 10px; }
.sec-head.stack { text-align: left; max-width: none; margin: 0 0 28px; }
.sec-head.stack p { margin-left: 0; color: inherit; }
#services, .journal, #about { padding: 104px 0; }
@media (max-width: 600px) { #services, .journal, #about { padding: 64px 0; } .sec-head { margin-bottom: 30px; } .sec-head p { font-size: 15.5px; } }

/* --- 히어로 --- */
.hero-home {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 980px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--primary-deep);
}
.hero-home .hero-media { position: absolute; inset: 0; margin: 0; }
.hero-home .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
  animation: heroSettle 1.8s var(--ease) both;
}
.hero-home::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26,41,66,0.78) 0%, rgba(26,41,66,0.5) 40%, rgba(26,41,66,0) 68%),
    linear-gradient(180deg, rgba(26,41,66,0.38) 0%, rgba(26,41,66,0) 22%, rgba(26,41,66,0) 58%, rgba(26,41,66,0.62) 100%);
}
.hero-home .hero-inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 168px; }
.hero-home .hero-kicker { margin-bottom: 18px; }
.hero-home h1 {
  color: #fff;
  font-size: clamp(44px, 6.6vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 9.5em;
  margin-bottom: 22px;
}
.hero-home h1 span { font-weight: 400; color: var(--accent); letter-spacing: -0.03em; text-shadow: 0 2px 30px rgba(26,41,66,0.35); }
.hero-home .hero-lead { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.6; color: rgba(255,255,255,0.95); margin-bottom: 30px; }
.hero-home .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-home .hero-prices { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: rgba(255,255,255,0.84); list-style: none; padding: 0; }
.hero-home .hero-prices li { display: inline-flex; align-items: center; gap: 8px; }
.hero-home .hero-prices li + li::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.6); margin-right: 10px; }
.hero-home .hero-prices b { color: #fff; font-weight: 700; }
.hero-home .hero-inner > * { animation: riseIn 0.9s var(--ease) both; }
.hero-home .hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero-home .hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
.hero-home .hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
.hero-home .hero-inner > *:nth-child(5) { animation-delay: 0.32s; }
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero-home { min-height: 0; height: min(92svh, 1100px); }
  .hero-home .hero-media img { object-position: 68% 50%; }
}
.hero-caption {
  position: absolute; z-index: 2; right: 24px; bottom: 28px;
  font-size: 12px; color: rgba(255,255,255,0.72); text-align: right; line-height: 1.4;
}
@media (max-width: 760px) {
  .hero-home { min-height: 0; height: auto; max-height: none; }
  .hero-home .hero-media img { object-position: 64% 50%; }
  .hero-home::after {
    background: linear-gradient(180deg, rgba(26,41,66,0.45) 0%, rgba(26,41,66,0.05) 26%, rgba(26,41,66,0.25) 52%, rgba(26,41,66,0.86) 100%);
  }
  .hero-home .hero-inner { padding-top: calc(var(--nav-h) + 180px); padding-bottom: 72px; }
  .hero-home h1 { font-size: clamp(38px, 11vw, 52px); margin-bottom: 16px; }
  .hero-home .hero-lead { font-size: 16.5px; margin-bottom: 24px; }
  .hero-home .hero-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .hero-home .hero-actions .btn-ghost-light { border-color: transparent; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
  .hero-home .hero-prices { font-size: 14px; flex-direction: column; gap: 2px; }
  .hero-home .hero-prices li + li::before { display: none; }
  .hero-home .hero-prices li:nth-child(3) { display: none; }
  .hero-caption { bottom: 18px; right: 20px; font-size: 11px; }
}

/* --- 문의 메시지 만들기 --- */
.ask { position: relative; padding: 0 0 96px; }
.ask-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.ask-form { padding: 30px 32px 28px; }
.ask-form h2 { font-size: 21px; letter-spacing: -0.03em; margin-bottom: 4px; }
.ask-form .ask-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
.ask-group { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.ask-group > legend, .ask-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--primary); margin-bottom: 8px; padding: 0; }
.ask-options { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-options label { position: relative; cursor: pointer; }
.ask-options input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ask-options span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--primary); background: #fff;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.ask-options label:hover span { border-color: rgba(26,41,66,0.4); }
.ask-options input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.ask-options input:focus-visible + span { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.ask-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ask-row .ask-group { margin-bottom: 0; }
.ask-date {
  width: 100%; min-height: 46px; padding: 0 14px;
  border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
  font: inherit; font-size: 15.5px; color: var(--primary);
}
.ask-date:focus { border-color: var(--primary); outline: none; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 12px; min-height: 46px; overflow: hidden; }
.stepper button {
  width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  font-size: 20px; color: var(--primary); font-family: inherit; flex-shrink: 0;
}
.stepper button:hover { background: var(--bg); }
.stepper button:disabled { color: var(--border); cursor: default; background: transparent; }
.stepper output { flex: 1; text-align: center; font-weight: 700; font-size: 15.5px; color: var(--primary); font-variant-numeric: tabular-nums; }
.ask-hint { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.6; min-height: 2.2em; }
.ask-preview {
  background: var(--accent-tint);
  padding: 30px 30px 26px;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
}
.ask-preview .ask-label { color: var(--muted); font-weight: 600; }
.bubble {
  position: relative;
  background: #fff;
  border-radius: 4px 18px 18px 18px;
  padding: 16px 18px;
  font-size: 14.5px; line-height: 1.75; color: var(--text);
  white-space: pre-line;
  box-shadow: 0 1px 2px rgba(26,41,66,0.06);
  margin-bottom: 18px;
  flex: 1;
  min-height: 170px;
}
.bubble .b-filled { color: var(--primary); font-weight: 700; }
.ask-send { width: 100%; }
.ask-alt { display: flex; justify-content: center; gap: 18px; margin-top: 12px; font-size: 14px; }
.ask-alt a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ask-alt a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.ask-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 4px; line-height: 1.55; }
@media (max-width: 860px) {
  .ask { padding-bottom: 64px; }
  .ask-card { grid-template-columns: 1fr; }
  .ask-form { padding: 24px 20px 20px; }
  .ask-preview { padding: 20px; border-left: 0; border-top: 1px solid var(--line); }
  .bubble { min-height: 0; }
}
@media (max-width: 420px) { .ask-row { grid-template-columns: 1fr; } }

/* --- 모집 중 (날짜가 남은 카드가 있을 때만) --- */
#recruiting { padding: 64px 0; }
.rc-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.rc-head h2 { font-size: clamp(22px, 2.4vw, 28px); }
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.rc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.rc-status { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 3px 10px; border-radius: 999px; }
.rc-date { font-size: 13.5px; color: var(--accent-ink); font-weight: 700; }
.rc-name { display: block; font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.3; margin-top: 4px; padding-right: 72px; letter-spacing: -0.02em; }
.rc-sub { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.rc-desc { font-size: 15px; color: var(--text); line-height: 1.7; margin: 0 0 14px; }
.rc-progress { margin-bottom: 12px; }
.rc-progress-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.rc-seats { color: var(--primary); font-weight: 700; }
.rc-bar { height: 6px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.rc-fill { height: 100%; background: var(--green); border-radius: 999px; }
.rc-meta { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.rc-price { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 12px; margin: auto 0 14px; }
.rc-price-label { font-size: 13px; color: var(--muted); line-height: 1.45; }
.rc-price-label small { display: block; font-size: 12px; }
.rc-price-amt { font-size: 26px; font-weight: 800; color: var(--primary); }
.rc-cta-row { display: flex; gap: 8px; }
.rc-cta-row .btn { flex: 1; min-height: 46px; font-size: 14.5px; padding: 0 14px; }
.rc-join {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 16px;
}
.rc-join p { font-size: 15.5px; color: var(--text); line-height: 1.65; margin: 0; max-width: 40em; }
.rc-join p b { color: var(--primary); }

/* --- 서비스 다섯 --- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px 24px; }
.svc { grid-column: span 2; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.svc.lg { grid-column: span 3; }
.svc-media { position: relative; border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 3; background: var(--accent-soft); margin-bottom: 18px; }
.svc.lg .svc-media { aspect-ratio: 16 / 10; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }

.svc-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.94); color: var(--primary); font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
.svc-tag .ic { width: 15px; height: 15px; color: var(--accent-ink); }
.svc h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 6px; }
.svc .nw { white-space: nowrap; }
.svc .svc-price { font-size: 15px; font-weight: 700; color: var(--accent-ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.svc p { font-size: 15.5px; line-height: 1.75; color: var(--text); margin-bottom: 14px; }
.svc .svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--primary); }
.svc .svc-more .ic { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.svc:hover .svc-more { text-decoration: underline; text-underline-offset: 4px; }
.svc:hover h3 { color: var(--primary-light); }
@media (max-width: 900px) {
  .svc-grid { gap: 30px 16px; }
  .svc h3 { font-size: 19px; }
  .svc p { font-size: 15px; }
}
@media (max-width: 700px) {
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc, .svc.lg { grid-column: auto; }
  .svc.lg { margin-bottom: 18px; }
  .svc.lg .svc-media { aspect-ratio: 3 / 2; }
  /* 작은 셋은 사진 + 글 가로 줄 */
  .svc:not(.lg) { display: grid; grid-template-columns: 104px 1fr; gap: 0 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
  .svc:not(.lg) .svc-media { aspect-ratio: 1 / 1; margin: 0; border-radius: var(--radius-photo); grid-row: span 4; }
  .svc:not(.lg) .svc-tag { display: none; }
  .svc:not(.lg) h3 { font-size: 18px; margin-bottom: 2px; }
  .svc:not(.lg) .svc-price { font-size: 14px; margin-bottom: 6px; }
  .svc:not(.lg) p { font-size: 14.5px; margin-bottom: 6px; }
  .svc:not(.lg) .svc-more { font-size: 14.5px; }
}

/* --- 더블린에서 당일로 (지도) --- */
.daytrips { background: var(--accent-tint); }
.dt-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.dt-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dt-list li { border-bottom: 1px solid var(--line); }
.dt-list a {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 4px; text-decoration: none; color: var(--text);
  transition: background-color 0.2s;
  border-radius: 12px;
}
.dt-list a:hover, .dt-list a.is-on { background: rgba(255,255,255,0.75); }
.dt-thumb { width: 56px; height: 56px; border-radius: 3px; object-fit: cover; background: var(--accent-soft); }
.dt-name { display: block; font-size: 16.5px; font-weight: 600; color: var(--primary); letter-spacing: -0.02em; line-height: 1.35; }
.dt-name small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.dt-meta { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.dt-price { text-align: right; font-variant-numeric: tabular-nums; }
.dt-price b { display: block; font-size: 16px; font-weight: 800; color: var(--primary); }
.dt-price span { display: block; font-size: 12.5px; color: var(--muted); }
.dt-note { font-size: 14px; color: var(--muted); margin-top: 16px; line-height: 1.65; }
.dt-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.dt-join { font-size: 15px; color: var(--text); line-height: 1.7; margin-top: 14px; padding: 14px 16px; background: rgba(255,255,255,0.7); border-radius: 12px; }
.dt-join b { color: var(--primary); }

.dt-map { position: relative; max-width: 470px; width: 100%; margin: 0 auto; aspect-ratio: 607 / 804; }
.dt-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dt-map .land { fill: #fff; stroke: rgba(26,41,66,0.28); stroke-width: 1.2; stroke-linejoin: round; }
.dt-map .route { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; opacity: 0.55; transition: stroke 0.25s, stroke-width 0.25s, opacity 0.25s; }
.dt-map .route.is-on { stroke: var(--accent-ink); stroke-width: 3; opacity: 1; }
.dt-map .stop { fill: var(--primary); stroke: #fff; stroke-width: 2.5; transition: fill 0.25s; }
.dt-map .stop.is-on { fill: var(--accent-ink); }
.dt-map .home { fill: var(--accent); stroke: var(--primary); stroke-width: 3; }
.dt-map .home-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0.7; }
html.js .dt-map .route { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .dt-map.in-view .route { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease), stroke 0.25s, stroke-width 0.25s, opacity 0.25s; }
html.js .dt-map.in-view .route:nth-of-type(2) { transition-delay: 0.08s; }
html.js .dt-map.in-view .route:nth-of-type(3) { transition-delay: 0.16s; }
html.js .dt-map.in-view .route:nth-of-type(4) { transition-delay: 0.24s; }
html.js .dt-map.in-view .route:nth-of-type(5) { transition-delay: 0.32s; }
html.js .dt-map.in-view .route:nth-of-type(6) { transition-delay: 0.40s; }
html.js .dt-map.in-view .route:nth-of-type(7) { transition-delay: 0.48s; }
html.js .dt-map.in-view .route:nth-of-type(8) { transition-delay: 0.56s; }
html.js .dt-map .stop { opacity: 0; transition: opacity 0.4s var(--ease) 0.9s, fill 0.25s; }
html.js .dt-map.in-view .stop { opacity: 1; }
.dt-label {
  position: absolute; transform: translate(10px, -50%);
  font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap;
  background: rgba(255,255,255,0.92); padding: 2px 8px; border-radius: 6px; line-height: 1.5;
  text-decoration: none; transition: background-color 0.2s, color 0.2s;
}
.dt-label.l { transform: translate(calc(-100% - 10px), -50%); }
.dt-label:hover, .dt-label.is-on { background: var(--primary); color: #fff; }
.dt-label.home-label { background: var(--primary); color: #fff; }
@media (max-width: 960px) {
  .dt-wrap { grid-template-columns: 1fr; gap: 28px; }
  .dt-map { max-width: 380px; order: -1; }
}
@media (max-width: 600px) {
  .dt-map { max-width: 300px; }
  .dt-label { font-size: 12px; padding: 1px 6px; }
  .dt-list a { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .dt-thumb { width: 48px; height: 48px; }
  .dt-name { font-size: 15.5px; }
  .dt-name small { display: block; margin: 0; }
}

/* --- Andrew가 찍은 사진 (가로로 넘기는 줄) --- */
.journal { overflow: hidden; }
.jr-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100vw - 1160px) / 2 + 24px));
  padding: 4px max(24px, calc((100vw - 1160px) / 2 + 24px)) 18px;
  scrollbar-width: none;
}
.jr-rail::-webkit-scrollbar { display: none; }
.jr-item { scroll-snap-align: start; margin: 0; }
.jr-item .jr-img { border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; background: var(--accent-soft); }
.jr-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }

.jr-item figcaption { padding: 10px 2px 0; font-size: 14px; color: var(--primary); font-weight: 600; line-height: 1.5; }
.jr-controls { display: flex; gap: 8px; }
.jr-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(26,41,66,0.2);
  background: #fff; color: var(--primary); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, opacity 0.2s;
}
.jr-btn:hover { border-color: var(--primary); }
.jr-btn:disabled { opacity: 0.35; cursor: default; }
.jr-btn .ic { width: 18px; height: 18px; }
.jr-btn.prev .ic { transform: rotate(180deg); }
.jr-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.jr-foot p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .jr-rail { grid-auto-columns: 74vw; gap: 12px; } .jr-controls { display: none; } }

/* --- 예약 순서 --- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: st; padding: 0; }
.steps li { border-top: 2px solid var(--primary); padding-top: 18px; }
.steps li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 700; color: var(--accent-ink);
  letter-spacing: 0.04em; font-variant-numeric: tabular-nums; margin-bottom: 10px;
}
.steps h3 { font-size: 18.5px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--text); line-height: 1.75; }
.steps p small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.howto-note { text-align: center; font-size: 15px; color: var(--muted); margin-top: 40px; line-height: 1.7; }
.howto-note a { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
}

/* --- 운영자 --- */
.op { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.op-photo { margin: 0; }
.op-photo .op-img { border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; background: var(--accent-soft); }
.op-photo img { width: 100%; height: 100%; object-fit: cover; }
.op-photo figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.op-text h2 { margin-bottom: 18px; }
.op-text > p { font-size: 16.5px; line-height: 1.85; color: var(--text); margin-bottom: 14px; }
.op-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 26px 0 28px; border-top: 1px solid var(--line); }
.op-facts div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.op-facts dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.op-facts dd { font-size: 15.5px; color: var(--primary); font-weight: 700; line-height: 1.5; letter-spacing: -0.02em; }
.op-facts .op-trips small { font-size: 13px; color: var(--muted); font-weight: 500; }
.op-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .op { grid-template-columns: 1fr; gap: 32px; }
  .op-photo { max-width: 420px; }
}
@media (max-width: 480px) { .op-facts { grid-template-columns: 1fr; } }

/* --- 어두운 밴드: 수익이 가는 곳 --- */
.section-dark { position: relative; background: var(--primary-deep); color: rgba(255,255,255,0.84); }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow.accent { color: var(--accent); }
.section-dark .sec-head p { color: rgba(255,255,255,0.78); }
.music-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.music-photo { margin: 0; }
.music-photo .mp-img { border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; background: var(--primary); }
.music-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.music-photo figcaption { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 10px; }
.equation { font-size: clamp(21px, 2.3vw, 29px); font-weight: 500; color: #fff; line-height: 1.5; letter-spacing: -0.02em; margin: 6px 0 0; }
.equation span { white-space: nowrap; }
.equation i { font-style: normal; color: var(--accent); font-weight: 400; margin: 0 0.25em; }
.fund-row { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); }
.fund-figure .fund-lede { font-size: 14.5px; color: rgba(255,255,255,0.72); margin-bottom: 6px; font-weight: 500; }
.fund-figure .fund-amount { font-size: clamp(40px, 5vw, 60px); font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.fund-figure .fund-amount span { font-size: 0.55em; color: var(--accent); font-weight: 700; margin-right: 4px; }
.fund-figure .fund-meta { font-size: 14.5px; color: rgba(255,255,255,0.75); margin-top: 8px; }
.fund-figure .fund-meta b { color: #fff; }
.fund-figure .fund-note { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 6px; border: 0; padding: 0; }
.fund-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .music-split { grid-template-columns: 1fr; gap: 32px; }
  .music-photo { max-width: 360px; }
  .music-photo .mp-img { aspect-ratio: 4 / 3; }
}

/* --- 자주 묻는 질문 (왼쪽 제목 고정 + 오른쪽 목록) --- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-side h2 { margin-bottom: 14px; }
.faq-side p { font-size: 16px; color: var(--text); line-height: 1.75; margin-bottom: 22px; }
.faq-side .faq-terms { font-size: 14px; color: var(--muted); margin-top: 18px; }
.faq-side .faq-terms a { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } .faq-side { position: static; } }


/* ============================================================
   2026-09-14 — 운영자 사진 그리드 · 수익 흐름 도식 · 거리별 요금 그래프 · 진행 순서 타임라인
   ============================================================ */

/* 브랜드명은 모바일에서도 한 줄로 (짧아서 화면 폭을 넘지 않음) */
.phrase.brand { white-space: nowrap; }
@media (max-width: 600px) { .phrase.brand { white-space: nowrap; } }

/* --- 거리별 요금 그래프 (공항·이사 공통, 같은 단가) --- */
.km-chart {
  max-width: 640px;
  margin: 0 auto 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px 10px;
}
.km-chart h3 { font-size: 15px; color: var(--primary); margin: 0 0 4px; text-align: center; }
.km-chart .km-sub { font-size: 12.5px; color: var(--muted); text-align: center; margin: 0 0 8px; line-height: 1.5; }
.km-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.km-chart .grid { stroke: var(--border); stroke-width: 1; }
.km-chart .axis { stroke: var(--muted); stroke-width: 1; opacity: 0.6; }
.km-chart .band { fill: var(--accent-soft); opacity: 0.55; }
.km-chart .line { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.km-chart .guide { stroke: var(--accent-ink); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.7; }
.km-chart .pt { fill: var(--accent); stroke: var(--card); stroke-width: 2; cursor: default; }
.km-chart .pt:hover { fill: var(--primary); }
.km-chart text { font-family: inherit; fill: var(--muted); font-size: 12px; }
.km-chart text.lab { fill: var(--primary); font-weight: 700; font-size: 12.5px; paint-order: stroke; stroke: var(--card); stroke-width: 6px; stroke-linejoin: round; }
.km-chart text.band-lab { fill: var(--accent-ink); font-weight: 700; font-size: 11.5px; }
.km-chart .km-foot { font-size: 12px; color: var(--muted); text-align: center; margin: 8px 0 0; line-height: 1.6; }
@media (max-width: 600px) {
  .km-chart { padding: 14px 6px 8px; }
  .km-chart text { font-size: 18px; }
  .km-chart text.lab { font-size: 19px; }
  .km-chart text.band-lab { font-size: 17px; }
  .km-chart .line { stroke-width: 3.5; }
  .km-chart .pt { r: 7; }
}

/* --- 진행 순서 타임라인 (공항 도착 흐름 · 이사 진행 순서) --- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: tl;
}
.timeline li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px 20px;
}
.timeline li::before {
  counter-increment: tl; content: counter(tl);
  position: absolute; top: -12px; left: 18px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: var(--accent);
  font-size: 12.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.timeline li .ic-box { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
.timeline li .ic-box .ic { width: 20px; height: 20px; }
.timeline li h3 { font-size: 15.5px; color: var(--primary); margin: 0 0 6px; line-height: 1.4; }
.timeline li p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin: 0; }
.timeline li .tl-tag { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700; color: var(--accent-ink); background: var(--accent-tint); border: 1px solid var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; gap: 14px; padding-left: 0; }
  .timeline li { padding: 20px 16px 18px 18px; }
}

/* 4단계 진행 (pilgrimage·custom) */
@media (min-width: 861px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   2026-10-11 2차 — 정렬 검사 결함 수정
   ============================================================ */
/* 제목·리드 줄바꿈: 마지막 줄에 한 단어만 남지 않게 */
header.hero h1, header.hero .tagline, header.hero .sub, .section-title .lead, .lead { text-wrap: balance; }
.equation { text-wrap: balance; }
/* 다른 서비스 줄: 바깥 여백 한 번만, 모바일은 한 줄에 하나 */
.other-services { padding: 64px 0; }
.other-services .links a { white-space: nowrap; }
@media (max-width: 600px) { .other-services .links { grid-template-columns: 1fr; } }
/* 거리별 요금 그래프 글자 — 모바일에서 viewBox 축소분 보정 */
@media (max-width: 600px) {
  .km-chart text { font-size: 24px; }
  .km-chart text.lab { font-size: 25px; }
  .km-chart text.band-lab { font-size: 22px; }
}
/* 홈 운영자 사진: 태블릿에서 가운데 */
@media (max-width: 860px) { .op-photo { margin: 0 auto; } }
/* 예약 단계: 제목 높이를 맞춰 본문 시작선을 나란히, 태블릿은 두 칸 */
@media (min-width: 901px) { .steps h3 { min-height: 2.8em; } }
@media (min-width: 601px) and (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
/* 히어로 사진 위치·밝기 */
body.page-about header.hero::before { background-position: 72% 40%; }
@media (max-width: 600px) { body.page-about header.hero::before { background-position: 80% 40%; } }
body.page-airport header.hero::after, body.page-moving header.hero::after {
  background: linear-gradient(180deg, rgba(26,41,66,0.55) 0%, rgba(26,41,66,0.62) 50%, rgba(26,41,66,0.85) 100%);
}
/* 로드트립 지도: 모바일에서 이름표가 겹치지 않게 살짝 벌린다 (인라인 위치를 덮어씀) */
@media (max-width: 600px) {
  .ireland-marker[data-tour="connemara"] { top: 46.5% !important; left: 17% !important; }
  .ireland-marker[data-tour="galway"] { top: 55% !important; left: 34% !important; }
  .ireland-marker[data-tour="newgrange"] { top: 41.5% !important; }
  .ireland-marker[data-tour="mullingar"] { top: 49% !important; left: 57% !important; }
}

/* ============================================================
   도식 공용 (2026-10-12) — Andrew: "도식·픽토그램을 더 적극적으로"
   .cxl      취소 시점별 환불 막대 (홈 예약 순서 · 이용약관 2항 · 문의 페이지). 모바일은 세로
   .payflow  결제 흐름 세 칸 (이용약관 1항)
   .steps    예약 순서 픽토그램 + 위 선이 차례로 그려짐
   .cmfe-logo Classical Music for Everyone 실제 로고 링크 (밝은 바탕 horizontal / 어두운 바탕 reversed)
   모션은 .reveal → .in-view 때 한 번만. JS 없음·줄임 모션이면 처음부터 완성 상태
   ============================================================ */
.cxl { margin: 0; }
.cxl-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr 1.15fr 0.9fr 1fr; gap: 0 4px; }
.cxl-seg { position: relative; padding-top: 32px; min-width: 0; }
.cxl-at { position: absolute; top: 0; left: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.cxl-at::after { content: ''; position: absolute; left: 0; top: 21px; width: 1px; height: 11px; background: var(--muted); opacity: 0.5; }
.cxl-bar { display: block; height: 10px; border-radius: 2px; background: var(--c); transform-origin: left center; }
.cxl-seg:first-child .cxl-bar { border-radius: 6px 2px 2px 6px; }
.cxl-seg:last-child .cxl-bar { border-radius: 2px 6px 6px 2px; }
.cxl-ic { display: block; width: 22px; height: 22px; margin-top: 14px; color: var(--c-ink); }
.cxl-seg b { display: block; margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--c-ink); letter-spacing: -0.01em; }
.cxl-desc { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cxl-free { --c: var(--green); --c-ink: var(--green); }
.cxl-half { --c: var(--accent); --c-ink: var(--accent-ink); }
.cxl-none { --c: var(--red-ink); --c-ink: var(--red-ink); }
.cxl-noshow { --c: var(--primary); --c-ink: var(--primary); }
.cxl-noshow .cxl-bar { background: repeating-linear-gradient(135deg, var(--primary) 0 6px, var(--primary-light) 6px 12px); }
@media (max-width: 600px) {
  .cxl-track { grid-template-columns: 1fr; gap: 6px; }
  .cxl-seg { display: grid; grid-template-columns: 10px 24px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 2px 0 10px; }
  .cxl-bar { grid-column: 1; grid-row: 1 / span 3; width: 10px; height: auto; min-height: 64px; transform-origin: center top; }
  .cxl-seg:first-child .cxl-bar { border-radius: 6px 6px 2px 2px; }
  .cxl-seg:last-child .cxl-bar { border-radius: 2px 2px 6px 6px; }
  .cxl-ic { grid-column: 2; grid-row: 1 / span 3; margin-top: 18px; }
  .cxl-at { position: static; grid-column: 3; }
  .cxl-at::after { display: none; }
  .cxl-seg b { grid-column: 3; margin-top: 1px; }
  .cxl-desc { grid-column: 3; }
}
html.js .cxl.reveal .cxl-bar { transform: scaleX(0); transition: transform 0.6s var(--ease); }
html.js .cxl.reveal .cxl-ic, html.js .cxl.reveal .cxl-seg b, html.js .cxl.reveal .cxl-desc { opacity: 0; transition: opacity 0.45s ease; }
html.js .cxl.reveal.in-view .cxl-bar { transform: none; }
html.js .cxl.reveal.in-view .cxl-ic, html.js .cxl.reveal.in-view .cxl-seg b, html.js .cxl.reveal.in-view .cxl-desc { opacity: 1; }
@media (max-width: 600px) { html.js .cxl.reveal .cxl-bar { transform: scaleY(0); } }
.cxl-seg:nth-child(2) .cxl-bar { transition-delay: 0.22s; }
.cxl-seg:nth-child(3) .cxl-bar { transition-delay: 0.44s; }
.cxl-seg:nth-child(4) .cxl-bar { transition-delay: 0.66s; }
.cxl-seg:nth-child(1) :is(.cxl-ic, b, .cxl-desc) { transition-delay: 0.2s; }
.cxl-seg:nth-child(2) :is(.cxl-ic, b, .cxl-desc) { transition-delay: 0.42s; }
.cxl-seg:nth-child(3) :is(.cxl-ic, b, .cxl-desc) { transition-delay: 0.64s; }
.cxl-seg:nth-child(4) :is(.cxl-ic, b, .cxl-desc) { transition-delay: 0.86s; }

/* 결제 흐름 — 세 칸을 잇는 선이 그려진다 */
.payflow { margin: 18px 0 22px; }
.payflow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }
.payflow li { position: relative; text-align: center; padding: 0 4px; }
.payflow li:not(:last-child)::after { content: ''; position: absolute; top: 23px; left: calc(50% + 30px); right: calc(-50% + 30px); height: 2px; background: var(--accent); transform-origin: left center; }
.payflow .pf-ic { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; border: 1.5px solid var(--primary); color: var(--primary); background: var(--card); }
.payflow .pf-ic .ic { width: 22px; height: 22px; }
.payflow b { display: block; font-size: 15.5px; font-weight: 700; color: var(--primary); }
.payflow span.pf-sub { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.payflow li.pf-key .pf-ic { background: var(--primary); color: #fff; }
html.js .payflow.reveal li:not(:last-child)::after { transform: scaleX(0); transition: transform 0.6s var(--ease) 0.25s; }
html.js .payflow.reveal li:nth-child(2)::after { transition-delay: 0.6s; }
html.js .payflow.reveal.in-view li::after { transform: none; }

/* 예약 순서 — 픽토그램 + 위 선이 차례로 그려짐 (border-top 대신 배경 선) */
.steps li { position: relative; border-top: 0; background: linear-gradient(var(--primary), var(--primary)) left top / 100% 2px no-repeat; }
.steps .st-ic { position: absolute; top: 16px; right: 0; width: 26px; height: 26px; color: var(--accent-ink); stroke-width: 1.6; }
html.js .steps.reveal li { background-size: 0% 2px; transition: background-size 0.7s var(--ease); }
html.js .steps.reveal.in-view li { background-size: 100% 2px; }
.steps li:nth-child(2) { transition-delay: 0.25s; }
.steps li:nth-child(3) { transition-delay: 0.5s; }
.howto-cancel { max-width: 920px; margin: 48px auto 0; padding: 26px 28px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.howto-cancel .hc-title { font-size: 15.5px; font-weight: 700; color: var(--primary); margin: 0 0 18px; }
.howto-cancel .hc-title span { font-weight: 500; color: var(--muted); font-size: 14px; }
.howto-cancel .howto-note { margin-top: 18px; text-align: left; font-size: 14px; }
@media (max-width: 600px) { .howto-cancel { padding: 20px 18px 16px; margin-top: 36px; } }

/* Classical Music for Everyone 로고 — 늘이거나 색을 바꾸지 않는다(CMFE 브랜드 규칙) */
.cmfe-logo { display: inline-block; line-height: 0; border-radius: 4px; }
.cmfe-logo img { display: block; width: auto; height: 76px; }
.cmfe-logo:hover img { opacity: 0.85; }
@media (max-width: 600px) { .cmfe-logo img { height: 62px; } }

@media (prefers-reduced-motion: reduce) {
  html.js .cxl.reveal .cxl-bar, html.js .payflow.reveal li::after { transform: none; transition: none; }
  html.js .cxl.reveal :is(.cxl-ic, b, .cxl-desc) { opacity: 1; transition: none; }
  html.js .steps.reveal li { background-size: 100% 2px; transition: none; }
}
.ft-brand p a.ft-cmfe { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(201,169,110,0.7); text-underline-offset: 3px; }
.ft-brand p a.ft-cmfe:hover { color: var(--accent); }
.section-dark .music-logo { margin-bottom: 18px; }
.ab-music-logo { margin-bottom: 16px; }
/* 도식 안의 목록은 페이지 목록 스타일(글머리·들여쓰기)을 받지 않는다 */
.cxl .cxl-track > li, .payflow ol > li, .wm-rows > li { margin-left: 0; margin-right: 0; list-style: none; }
.cxl .cxl-track > li { padding-left: 0; padding-right: 0; margin-bottom: 0; font-size: inherit; }
.cxl .cxl-track > li::before, .cxl .cxl-track > li::marker, .payflow ol > li::marker { content: none; display: none; }

/* 포함 / 따로 픽토그램 표 (.incl) — 공항·로드트립·이사·성지순례 공용 (2026-10-12) */
.incl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: left; }
.incl-col { min-width: 0; padding: 20px 22px 12px; }
.incl-col + .incl-col { border-left: 1px solid var(--line); }
.incl-h { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 14.5px; font-weight: 700; color: var(--green); }
.incl-h .ic { width: 18px; height: 18px; stroke-width: 2; }
.incl-extra .incl-h { color: var(--accent-ink); }
.incl-list { list-style: none; margin: 0; padding: 0; }
.incl-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--text); }
.incl-list li:first-child { border-top: 0; }
.incl-list li > .ic { width: 22px; height: 22px; color: var(--primary); stroke-width: 1.6; }
.incl-list li > span { flex: 1; min-width: 0; }
.incl-list small { display: block; margin-top: 1px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.incl-list b { flex-shrink: 0; padding-left: 8px; font-weight: 700; color: var(--primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.incl-foot { max-width: 760px; margin: 10px auto 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); text-align: left; }
@media (max-width: 640px) {
  .incl { grid-template-columns: 1fr; }
  .incl-col { padding: 16px 16px 6px; }
  .incl-list li { padding: 8px 0; }
  .incl-col + .incl-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* 진행 순서 타임라인 (공항·이사) — 2026-10-12 예약 순서(.steps)와 같은 결로: 상자·알약 대신 위 선 + 번호 + 픽토그램 */
.timeline { gap: 28px; }
.timeline li { background: linear-gradient(var(--primary), var(--primary)) left top / 100% 2px no-repeat; border: 0; border-radius: 0; padding: 16px 0 0; }
.timeline li::before { position: static; display: block; width: auto; height: auto; border-radius: 0; background: none; content: counter(tl, decimal-leading-zero); color: var(--accent-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.timeline li .ic-box { position: absolute; top: 14px; right: 0; width: 26px; height: 26px; margin: 0; background: none; border-radius: 0; color: var(--accent-ink); }
.timeline li .ic-box .ic { width: 24px; height: 24px; stroke-width: 1.6; }
.timeline li h3 { font-size: 16.5px; margin: 0 0 6px; padding-right: 32px; }
.timeline li p { font-size: 14.5px; }
.timeline li .tl-tag { display: block; margin-top: 10px; padding: 0; background: none; border: 0; border-radius: 0; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.timeline li .tl-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 2px; }
@media (max-width: 520px) { .timeline { gap: 24px; } .timeline li { padding: 16px 0 0; } }

/* ============================================================
   짐 사진 (2026-10-12) — 이사: 빈 짐칸 ↔ 가득 실은 날 비교 / 이사·공항: 실제로 실은 사진 줄
   ============================================================ */
.load-compare { max-width: 820px; margin: 0 auto; }
.lc-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-photo); background: var(--accent-soft); }
.lc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 가득 실은 사진이 바닥부터 차오른다 — 위쪽을 잘라 두었다가 0으로 */
.lc-full { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease); }
.load-compare[data-state="empty"] .lc-full { clip-path: inset(100% 0 0 0); }
.lc-frame::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; margin-top: -1px; background: var(--accent); opacity: 0; pointer-events: none; transition: top 1.3s var(--ease), opacity 0.4s ease 0.9s; }
.load-compare[data-state="empty"] .lc-frame::after { top: 100%; }
.load-compare.is-moving .lc-frame::after { opacity: 1; transition: top 1.3s var(--ease), opacity 0.15s ease; }
.load-compare.lc-instant .lc-full, .load-compare.lc-instant .lc-frame::after { transition: none !important; }
.load-compare figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 12px; }
.lc-switch { display: none; }
html.js .lc-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.lc-switch button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease; }
.lc-switch button:hover { color: var(--primary); }
.lc-switch button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.lc-text { text-align: right; font-size: 14px; line-height: 1.55; color: var(--text); }
.load-compare .by, .load-row figcaption .by { display: block; font-size: 12.5px; color: var(--muted); }
.load-compare[data-state="empty"] .by { visibility: hidden; }
.load-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 24px auto 0; }
.load-row figure { margin: 0; }
.load-row img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-photo); background: var(--accent-soft); }
.load-row figcaption { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text); text-wrap: balance; }
.load-note { max-width: 760px; margin: 20px auto 0; font-size: 15.5px; line-height: 1.75; color: var(--text); text-align: center; }
@media (max-width: 600px) {
  .load-row { gap: 14px 12px; margin-top: 20px; }
  .load-compare figcaption { flex-direction: column; align-items: stretch; }
  html.js .lc-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .lc-text { text-align: left; }
}

/* ============================================================
   모션 강화 (2026-10-12, Andrew 요청) — 여전히 "한 번만, 의미 있는 곳에만".
   ① 섹션: 투명도 + 18px 떠오름, 제목 다음 설명이 살짝 늦게
   ② 카드 그리드: 차례로 떠오름   ③ 사진: 액자가 열리듯 (scripts.js 14)
   ④ 선 그리기: 요금 그래프·진행 순서   ⑤ 계산기 금액이 바뀔 때 한 번 반응
   ⑥ 짐칸 비교: 바닥부터 차오름
   스스로 반복하는 움직임은 없다. 줄임 모션 설정이면 전부 끈다(맨 아래).
   ============================================================ */
html.js .reveal { transform: translateY(18px); transition: opacity 0.7s ease, transform 0.9s var(--ease); }
html.js .reveal.in-view { transform: none; }
html.js .reveal .section-title .lead { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease 0.15s, transform 0.8s var(--ease) 0.15s; }
html.js .reveal.in-view .section-title .lead { opacity: 1; transform: none; }
html.js .stagger-fade > *, html.js .auto-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.8s var(--ease); }
html.js .stagger-fade.in-view > *, html.js .auto-stagger.in-view > * { opacity: 1; transform: none; }
html.js :is(.stagger-fade, .auto-stagger).in-view > *:nth-child(2) { transition-delay: 0.08s; }
html.js :is(.stagger-fade, .auto-stagger).in-view > *:nth-child(3) { transition-delay: 0.16s; }
html.js :is(.stagger-fade, .auto-stagger).in-view > *:nth-child(4) { transition-delay: 0.24s; }
html.js :is(.stagger-fade, .auto-stagger).in-view > *:nth-child(5) { transition-delay: 0.32s; }
html.js :is(.stagger-fade, .auto-stagger).in-view > *:nth-child(n+6) { transition-delay: 0.4s; }

/* ③ 사진 — 액자가 열리며 사진이 제자리에 앉는다. 끝나면 클래스를 지워 원래 hover 동작으로 돌아간다 */
/* 대기 상태는 전환 없이 바로 걸고(화면 밖에서 사라지는 움직임이 생기지 않게), 들어올 때만 전환한다 */
html.js .ph { opacity: 0; clip-path: inset(6% 6% 6% 6%); transform: scale(1.05); transition: none; }
html.js .ph.ph-in { opacity: 1; clip-path: inset(0 0 0 0); transform: none; transition: opacity 0.6s ease, clip-path 1.1s var(--ease), transform 1.4s var(--ease); }

/* ④ 선 그리기 — 거리별 요금 그래프 (길이는 scripts.js 가 재서 넣는다) */
html.js .km-chart.kc-pre :is(.pt, .lab, .guide) { opacity: 0; }
html.js .km-chart.kc-pre .pt { transform-box: fill-box; transform-origin: center; transform: scale(0.2); }
html.js .km-chart.kc-in .line { transition: stroke-dashoffset 1.5s var(--ease); }
html.js .km-chart.kc-in :is(.pt, .lab) { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.5s var(--ease); }
html.js .km-chart.kc-in .guide { opacity: 0.7; transition: opacity 0.45s ease; }
/* 진행 순서 — 위 선이 차례로 그어진다 */
html.js .timeline.tl-pre li { background-size: 0% 2px; }
html.js .timeline.tl-in li { background-size: 100% 2px; transition: background-size 0.8s var(--ease), opacity 0.6s ease, transform 0.8s var(--ease); }
html.js .timeline.tl-in li:nth-child(2) { transition-delay: 0.14s; }
html.js .timeline.tl-in li:nth-child(3) { transition-delay: 0.28s; }
html.js .timeline.tl-in li:nth-child(4) { transition-delay: 0.42s; }

/* ⑤ 계산기 금액 — 바뀔 때 한 번 살짝 눌렸다 돌아온다 */
.result-price.is-bumped { animation: priceBump 0.45s var(--ease); }
@keyframes priceBump { 0% { transform: scale(1); } 35% { transform: scale(1.045); color: var(--accent-ink); } 100% { transform: scale(1); } }
.result-price { transform-origin: left center; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal .section-title .lead, html.js .stagger-fade > *, html.js .auto-stagger > *, html.js .ph { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js .timeline.tl-pre li { background-size: 100% 2px; }
  html.js .km-chart.kc-pre .line { stroke-dashoffset: 0 !important; }
  html.js .km-chart.kc-pre :is(.pt, .lab, .guide) { opacity: 1; transform: none; }
  .lc-full, .lc-frame::after { transition: none; }
  .result-price.is-bumped { animation: none; }
}
/* 인쇄할 때는 아직 화면에 안 들어온 섹션·사진도 보이게 (리빌 대기 상태를 풀어 준다) */
@media print {
  html.js .reveal, html.js .reveal .section-title .lead, html.js .stagger-fade > *, html.js .auto-stagger > *, html.js .ph { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js .timeline.tl-pre li { background-size: 100% 2px; }
  html.js .km-chart.kc-pre .line { stroke-dashoffset: 0 !important; }
  html.js .km-chart.kc-pre :is(.pt, .lab, .guide) { opacity: 1; transform: none; }
  .load-compare[data-state="empty"] .lc-full { clip-path: none; }
  .dock-wrap, .calc-bar, nav.topnav { display: none !important; }
}

/* ── 생활·여행 안내 (guide/) — 2026-10-14. 본문은 _내부자료/스크립트/build_guides.py 가 만든다. 토큰만 쓴다 ── */
body.page-guide-hub header.hero::before { background-image: url('images/andrew/hero-home.jpg'); background-position: center 60%; }
body.page-guide-airport header.hero::before { background-image: url('images/heroes/airport.jpg'); }
body.page-guide-moher header.hero::before { background-image: url('images/andrew/moher-wide-2026-07.jpg'); background-position: center 60%; }
body.page-guide-moving header.hero::before { background-image: url('images/andrew/hero-moving.jpg'); background-position: center 45%; }
@media (max-width: 760px) {
  body.page-guide-hub header.hero::before { background-image: url('images/andrew/hero-home-m.jpg'); }
  body.page-guide-airport header.hero::before { background-image: url('images/heroes/airport-m.jpg'); }
  body.page-guide-moher header.hero::before { background-image: url('images/andrew/moher-wide-2026-07-m.jpg'); }
  body.page-guide-moving header.hero::before { background-image: url('images/andrew/hero-moving-m.jpg'); }
}
.guide-sec { background: #fff; padding: 52px 0 72px; }
.guide-wrap { max-width: 760px; margin: 0 auto; }
.guide-meta { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.guide-meta a { color: var(--primary); }
.guide-answer { background: var(--accent-tint); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin-bottom: 8px; }
.guide-answer-label { font-size: 13.5px; font-weight: 700; color: var(--accent-ink); margin-bottom: 6px !important; }
.guide-answer p { font-size: 16.5px; line-height: 1.8; color: var(--text); margin: 0 0 8px; }
.guide-answer p:last-child { margin-bottom: 0; }
.guide-wrap h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; color: var(--primary); margin: 44px 0 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.guide-wrap h3 { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--primary); margin: 30px 0 10px; }
.guide-wrap p, .guide-wrap li { font-size: 16px; line-height: 1.8; color: var(--text); }
.guide-wrap p { margin: 0 0 14px; }
.guide-wrap ul { margin: 4px 0 18px; padding-left: 1.25em; }
.guide-wrap ul li { margin-bottom: 8px; padding-left: 4px; }
.guide-wrap ul li::marker { color: var(--accent); }
.guide-wrap strong { color: var(--primary); font-weight: 700; }
.guide-wrap a:not(.btn):not(.guide-card) { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.guide-wrap a:not(.btn):not(.guide-card):hover { color: var(--accent-ink); }
.guide-facts { display: grid; grid-template-columns: 7em 1fr; gap: 8px 16px; margin: 6px 0 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-facts dt { font-size: 14.5px; font-weight: 700; color: var(--muted); line-height: 1.7; }
.guide-facts dd { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--text); }
.guide-table-wrap { overflow-x: auto; margin: 8px 0 20px; -webkit-overflow-scrolling: touch; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.guide-table th { font-size: 13.5px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--primary); }
.guide-table td:first-child { font-weight: 700; color: var(--primary); }
.guide-qa { padding: 18px 0; border-bottom: 1px solid var(--line); }
.guide-qa:last-child { border-bottom: 0; }
.guide-wrap .guide-qa h3 { font-size: 17px; margin: 0 0 8px; }
.guide-qa p:last-child { margin-bottom: 0; }
.guide-cta { margin: 44px 0 0; background: var(--paper); border: 1px solid var(--paper-line, var(--line)); border-radius: var(--radius); padding: 26px 26px 24px; }
.guide-wrap .guide-cta-title { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.guide-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.guide-sources li, .guide-sources p { font-size: 15px !important; }
.guide-sources p { color: var(--muted) !important; }
.guide-more { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.guide-wrap .guide-more-title { font-size: 14px; font-weight: 700; color: var(--accent-ink); margin-bottom: 6px; }
.guide-more ul { list-style: none; padding: 0 !important; margin: 0; }
.guide-more li { padding: 0 !important; margin: 0 !important; }
.guide-wrap .guide-more a { display: flex; align-items: center; gap: 10px; min-height: 46px; text-decoration: none; }
.guide-more .ic { width: 18px; height: 18px; color: var(--accent-ink); flex: none; }
.guide-list { list-style: none; padding: 0 !important; margin: 24px 0 0; display: grid; gap: 14px; }
.guide-list li { padding: 0 !important; margin: 0 !important; }
.guide-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-card .ic { width: 26px; height: 26px; color: var(--accent-ink); margin-top: 2px; }
.guide-wrap .guide-card h2 { font-size: 19px; margin: 0 0 6px; padding: 0; border: 0; }
.guide-card-desc { display: block; font-size: 15px; line-height: 1.65; color: var(--muted); }
@media (max-width: 600px) {
  .guide-sec { padding: 36px 0 56px; }
  .guide-wrap h2 { font-size: 21px; margin-top: 36px; padding-top: 26px; }
  .guide-wrap h3 { font-size: 17px; }
  .guide-wrap p, .guide-wrap li { font-size: 15.5px; }
  .guide-facts { grid-template-columns: 1fr; gap: 0; }
  .guide-facts dd { margin-bottom: 10px; }
  .guide-table { font-size: 14.5px; }
  .guide-table th, .guide-table td { padding: 10px 8px; }
  .guide-cta { padding: 22px 18px; }
  .guide-cta-btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .guide-card, .guide-card:hover { transition: none; transform: none; } }
