:root {
  --bg: #120e0c;
  --bg2: #1b1410;
  --panel: rgba(34, 24, 18, 0.88);
  --line: rgba(255, 186, 140, 0.16);
  --text: #fff3ea;
  --muted: #cbb5a4;
  --accent: #ff6a3d;
  --accent2: #ffd29a;
  --ok: #7ddea8;
  --danger: #ff7b86;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --max: 1120px;
  --tab-h: 64px;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #ff7a4d #1b1410;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #1b1410, #120e0c);
  border-left: 1px solid rgba(255, 186, 140, 0.12);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd29a, #ff6a3d 55%, #e24a22);
  border-radius: 999px;
  border: 2px solid #1b1410;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffe0b5, #ff7a4d 50%, #ff5530);
}
::-webkit-scrollbar-corner { background: #120e0c; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(255,106,61,.22), transparent 55%),
    linear-gradient(180deg, #1a120e, var(--bg) 40%, #0b0908);
  line-height: 1.55;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 99;
  background: #fff; color: #111; padding: 8px 12px; border-radius: 8px;
}
.container { width: min(100% - 28px, var(--max)); margin: 0 auto; }
.topnav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12,9,7,.78);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  min-height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; background: #000; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; letter-spacing: -.02em; }
.brand-text small { color: var(--accent2); font-size: .72rem; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.main-nav a {
  color: var(--muted); padding: 8px 4px; border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem;
}
.main-nav a.is-on, .main-nav a:hover { color: var(--text); border-bottom-color: var(--accent); }
.nav-toggle {
  display: none; align-items: center; gap: 6px;
  height: 38px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer;
}
.hero {
  position: relative; min-height: clamp(320px, 58vw, 520px);
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(255,248,240,.18), transparent 42%),
    linear-gradient(180deg, rgba(255,236,214,.18), rgba(26,18,14,.38) 42%, rgba(12,9,7,.78)),
    center/cover no-repeat url("/assets/img/hero.jpg?v=2"),
    #f4ebe3;
  transform: scale(1.02);
  animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}
.hero-copy {
  padding: 28px 0;
  max-width: 760px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent2); font-weight: 700; margin-bottom: 10px;
}
.hero-copy h1 {
  margin: 0 0 12px; font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -.04em; line-height: 1.15;
}
.hero-copy p {
  margin: 0 0 18px; color: var(--muted); font-size: 1.02rem;
  max-width: 36em;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05);
  font-weight: 700; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #ff7a4d, #ff5530);
  border-color: transparent; color: #1a0c08;
  box-shadow: 0 10px 24px rgba(255,86,48,.28);
}
.btn-ghost { background: rgba(0,0,0,.28); }
.section { padding: 36px 0; }
.section-hd {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  align-items: end; justify-content: space-between;
  margin-bottom: 18px;
}
.section-hd h2 {
  margin: 0; font-size: clamp(1.25rem, 3vw, 1.7rem);
  display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.02em;
}
.section-hd h2 i { color: var(--accent); }
.section-hd p { margin: 0; color: var(--muted); }
.region-bar {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #ff7a4d rgba(255,186,140,.12);
}
.region-bar::-webkit-scrollbar { height: 6px; }
.region-bar::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ffd29a, #ff6a3d);
  border-radius: 999px;
}
.chip {
  flex: 0 0 auto; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.03);
  display: inline-flex; align-items: center; font-weight: 650; font-size: .9rem;
}
.chip.is-on, .chip:hover { color: #1a0c08; background: var(--accent2); border-color: transparent; }
.trip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.trip-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
  min-height: 100%;
}
.trip-card:hover { transform: translateY(-3px); border-color: rgba(255,106,61,.4); }
.trip-visual {
  position: relative; aspect-ratio: 16/10;
  background: #2a1c14 center/cover no-repeat;
}
.trip-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.72));
}
.trip-badges {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.badge {
  font-size: .72rem; font-weight: 800; padding: 4px 8px; border-radius: 999px;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12);
}
.badge-hot { background: rgba(255,106,61,.9); color: #1a0c08; border: 0; }
.trip-body { padding: 14px 14px 16px; display: grid; gap: 8px; flex: 1; }
.trip-body h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.02em; }
.meta { color: var(--muted); font-size: .86rem; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.meta i { color: var(--accent2); }
.excerpt { margin: 0; color: var(--muted); font-size: .92rem; }
.card-action {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent2); font-weight: 700; font-size: .9rem;
}
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 18px; box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 12px; }
.form-grid label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,.28); padding: 11px 12px; outline: none;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  border-color: rgba(255,106,61,.55);
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.alert {
  padding: 12px 14px; border-radius: 12px; margin-bottom: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
}
.alert-ok { border-color: rgba(125,222,168,.35); color: var(--ok); }
.alert-err { border-color: rgba(255,123,134,.4); color: var(--danger); }
.detail-hero {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: #20160f center/cover no-repeat; min-height: 240px;
  display: grid; align-items: end;
}
.detail-hero-inner {
  padding: 22px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
}
.prose { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.prose p { margin: 0 0 1.05em; color: #f0e2d6; }
.prose h2, .prose h3, .prose h4 {
  color: var(--text); margin: 1.4em 0 .55em; letter-spacing: -.02em; line-height: 1.3;
}
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.2em; color: #f0e2d6; }
.prose li { margin: 0 0 .35em; }
.prose a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.prose img {
  width: 100%; border-radius: 14px; margin: 1em 0;
  border: 1px solid var(--line);
}
.prose blockquote {
  margin: 1.2em 0; padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(255,106,61,.08); border-radius: 0 12px 12px 0;
  color: var(--text);
}

/* 블로그 상세 */
.article { padding-bottom: 8px; }
.article-hero {
  position: relative; min-height: clamp(260px, 42vw, 420px);
  background: #1a120e center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  display: grid; align-items: end;
  isolation: isolate;
}
.article-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(12,9,7,.25) 0%, rgba(12,9,7,.55) 45%, rgba(12,9,7,.92) 100%),
    linear-gradient(90deg, rgba(18,10,6,.35), transparent 55%);
}
.article-hero-inner {
  position: relative; z-index: 1;
  padding: 28px 0 32px; max-width: 760px;
}
.article-crumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  color: var(--muted); font-size: .86rem; margin-bottom: 14px;
}
.article-crumb a:hover { color: var(--accent2); }
.article-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.article-hero h1 {
  margin: 0 0 12px; font-size: clamp(1.55rem, 4.2vw, 2.45rem);
  letter-spacing: -.035em; line-height: 1.2;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  color: var(--muted); font-size: .92rem;
}
.article-meta i { color: var(--accent2); margin-right: 4px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  padding: 28px 0 12px;
  align-items: start;
}
.article-main {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(40,28,22,.92), rgba(28,20,16,.88));
  padding: 22px 22px 26px;
  box-shadow: var(--shadow);
}
.article-lead {
  margin: 0 0 18px; font-size: 1.12rem; line-height: 1.65;
  color: #ffe8d6; font-weight: 550;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.article-cover {
  margin: 0 0 22px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9; background: #2a1c14;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-prose { max-width: 68ch; }
.article-cta { margin-top: 22px; }
.article-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
}
.article-aside { display: grid; gap: 14px; position: sticky; top: 80px; }
.aside-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow);
}
.aside-card h2 {
  margin: 0 0 12px; font-size: .95rem; letter-spacing: -.01em;
  color: var(--accent2);
}
.aside-title {
  margin: 0 0 12px; font-size: 1.05rem; font-weight: 700; color: var(--text);
}
.aside-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
}
.aside-list li {
  display: grid; grid-template-columns: 18px 1fr; gap: 8px;
  align-items: start; color: var(--muted); font-size: .92rem;
}
.aside-list i { color: var(--accent); margin-top: 2px; }
.aside-summary {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem; line-height: 1.55;
}
.aside-tip p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .9rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.footer-links { display: grid; gap: 8px; }
.muted { color: var(--muted); }
.mobile-tab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: repeat(4, 1fr);
  background: rgba(12,9,7,.94); border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  backdrop-filter: blur(12px);
}
.mobile-tab a {
  display: grid; justify-items: center; gap: 2px; color: var(--muted);
  font-size: .7rem; font-weight: 700; padding: 6px 2px;
}
.mobile-tab i { font-size: 1.15rem; }
.mobile-tab a:hover, .mobile-tab a:focus { color: var(--accent2); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.empty {
  text-align: center; color: var(--muted); padding: 40px 12px;
  border: 1px dashed var(--line); border-radius: var(--radius);
}
@media (max-width: 980px) {
  .trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .article-aside { grid-template-columns: 1fr; }
  .article-main { padding: 16px 14px 20px; border-radius: 16px; }
  .article-hero-inner { padding: 22px 0 24px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 14px; right: 14px; top: 64px;
    flex-direction: column; gap: 4px;
    background: rgba(18,12,10,.97); border: 1px solid var(--line);
    border-radius: 14px; padding: 10px 12px;
  }
  .main-nav.is-open { display: flex; }
  .trip-grid { grid-template-columns: 1fr; }
  .mobile-tab { display: grid; }
  .hero-copy { padding: 24px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
