/* ═══════════════════════════════════════════════════════════
   ATLAS JP — styles.css
   Option B: Soft Linen & Warm Beige Editorial
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #333537;       /* Soft Charcoal Text */
  --paper: #f5f3eb;     /* Linen Warm Cream Background */
  --cream: #ffffff;     /* Cards are White */
  --line: rgba(51, 53, 55, 0.12);
  --accent: #cf4a22;    /* Terracotta Orange */
  --accent-soft: #fcf1ed;
  --sage: #5e7d69;      /* Sage Green */
  --sage-soft: #f0f5f2;
  --blue: #4a7a96;      /* Muted Steel Blue */
  --gold: #c9933b;      /* Muted Gold */
  --love: #d65a7f;      /* Soft Rose */
  --love-soft: #fbf0f3;
  --shadow-sm: 0 1px 3px rgba(51, 53, 55, 0.05);
  --shadow-md: 0 6px 16px -2px rgba(51, 53, 55, 0.08), 0 2px 6px -2px rgba(51, 53, 55, 0.04);
  --shadow-lg: 0 16px 24px -4px rgba(51, 53, 55, 0.12), 0 4px 10px -2px rgba(51, 53, 55, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html[lang="ko"], body {
  --ink: #333537;
  --paper: #f5f3eb;
  --cream: #ffffff;
  --line: rgba(51, 53, 55, 0.12);
  --accent: #cf4a22;
  --accent-soft: #fcf1ed;
  --sage: #5e7d69;
  --sage-soft: #f0f5f2;
  --blue: #4a7a96;
  --gold: #c9933b;
  --love: #d65a7f;
  --love-soft: #fbf0f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans KR', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

/* ── 3. Topbar Header ───────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 235, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.logo {
  border: 0;
  background: transparent;
  font: 700 22px 'IBM Plex Mono', monospace;
  color: var(--ink);
  letter-spacing: -0.05em;
  padding: 0;
  text-align: left;
  justify-self: start;
}

.logo sup {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font: 700 8px 'IBM Plex Mono', monospace;
  margin-left: 4px;
  vertical-align: super;
}

.topbar nav {
  display: flex;
  background: #eae5da;
  padding: 4px;
  border-radius: 99px;
  gap: 4px;
  border: 1px solid var(--line);
}

.nav {
  padding: 6px 16px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  font: 600 12px 'IBM Plex Mono', monospace;
  color: var(--ink);
  opacity: 0.6;
  transition: var(--transition);
}

.nav:hover {
  opacity: 1;
}

.nav.is-active {
  background: var(--ink) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: var(--shadow-sm);
}

.search-open {
  justify-self: end;
  border: 0;
  background: transparent;
  font-size: 24px;
  color: var(--ink);
  opacity: 0.6;
  transition: var(--transition);
}

.search-open:hover {
  opacity: 1;
}

.page {
  display: none;
}

.page.is-active {
  display: block;
  animation: pageFadeIn 0.35s ease both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 16px;
  font: 700 11px 'IBM Plex Mono', monospace;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── 9. Map Hero ────────────────────────────────────────── */
.map-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 440px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4vw 4vw;
  border-right: 1px solid var(--line);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
}

.hero-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.lead {
  max-width: 500px;
  margin: 16px 0 20px;
  color: var(--ink);
  opacity: 0.8;
  font-size: 14.5px;
  line-height: 1.8;
}

/* ── 10. Pills (Filter Tags) ──────────────────────────── */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(51, 53, 55, 0.05);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}

.pill.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.pill:hover:not(.is-active) {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── 11. Map Visual (Muted Vintage Ocean) ─────────────────── */
.map-visual {
  position: relative;
  overflow: hidden;
  background: #e1ddcf !important; /* Beautiful light sand ocean */
  aspect-ratio: 1.25;
  min-height: 380px;
}

.map-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink) 0.8px, transparent 0.8px);
  background-size: 16px 16px;
  opacity: 0.12;
  pointer-events: none;
}

.sea {
  position: absolute;
  top: 46%;
  left: 12%;
  color: rgba(51, 53, 55, 0.3);
  font: 700 11px 'Noto Sans JP', sans-serif;
  letter-spacing: 0.5em;
  transform: rotate(-12deg);
  pointer-events: none;
  user-select: none;
}

.land {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--cream) !important; /* White background */
  border: 1.5px solid var(--ink) !important; /* Ink border */
  border-radius: var(--radius-sm);
  color: var(--ink) !important; /* Ink text */
  font: 700 11px 'Noto Sans JP', sans-serif;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transform: rotate(-15deg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.land:hover,
.land.is-active {
  z-index: 10;
  background: var(--accent) !important; /* Rust Orange glow */
  color: #ffffff !important;
  border-color: var(--accent) !important;
  transform: scale(1.06) rotate(-15deg) !important;
  box-shadow: var(--shadow-lg);
}

.hot::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--accent-soft);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 95, 67, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(217, 95, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 95, 67, 0);
  }
}

.hokkaido { top: 8%; right: 18%; width: 100px; height: 80px; border-radius: 44% 56% 60% 40% / 50% 46% 54% 50%; }
.tohoku { top: 28%; right: 26%; width: 50px; height: 90px; border-radius: 46% 54% 50% 50% / 40% 40% 60% 60%; }
.kanto { top: 48%; right: 22%; width: 60px; height: 50px; border-radius: 50% 50% 46% 54% / 50% 44% 56% 50%; }
.chubu { top: 40%; right: 34%; width: 70px; height: 60px; border-radius: 44% 56% 50% 50% / 46% 50% 50% 54%; }
.kansai { top: 54%; right: 38%; width: 56px; height: 46px; border-radius: 50% 50% 44% 56% / 50% 46% 54% 50%; }
.chugoku { top: 56%; right: 50%; width: 70px; height: 36px; border-radius: 46% 54% 50% 50% / 50% 50% 50% 50%; }
.shikoku { top: 68%; right: 46%; width: 56px; height: 34px; border-radius: 44% 56% 40% 60% / 50% 50% 50% 50%; }
.kyushu { top: 65%; right: 56%; width: 50px; height: 70px; border-radius: 46% 54% 50% 50% / 44% 44% 56% 56%; }

.map-visual small {
  position: absolute;
  bottom: 6%;
  left: 6%;
  font: 600 11px 'Noto Sans JP', sans-serif;
  color: var(--ink);
  opacity: 0.6;
}

/* ── 12. Section Head ──────────────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 4vw 20px;
  border-bottom: 1px solid var(--line);
}

.section-head span {
  font: 700 10px 'IBM Plex Mono', monospace;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.section-head h2 {
  margin: 6px 0 0;
  font: 700 24px 'IBM Plex Mono', monospace;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--ink);
  opacity: 0.6;
  font-size: 13.5px;
}

/* ── 13. Place Grid & Deep Graphite Cards ──────────────── */
.place-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 24px 4vw 48px;
  background: var(--paper);
}

/* Universal styles for high contrast white cards */
.place-card,
.manual-item,
.study-card,
.word-card-inner,
.quiz-card,
.stat-card {
  background: var(--cream) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.place-card {
  grid-column: span 4;
  min-height: 300px;
  padding: 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.place-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line) !important;
}

/* Card typography structure */
.place-card h3,
.manual-item h3,
.study-card strong,
.study-card .study-word,
.word-card-inner strong,
.quiz-card strong,
.stat-card strong {
  color: var(--ink) !important;
}

.place-card p,
.manual-item p,
.study-card p,
.study-card small,
.study-card .study-reading,
.study-card .study-example,
.word-card-inner small,
.quiz-card small,
.stat-card span {
  color: rgba(51, 53, 55, 0.65) !important;
}

.place-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 10px 'IBM Plex Mono', monospace;
  color: rgba(51, 53, 55, 0.65) !important;
}

.place-card .meta span {
  color: rgba(51, 53, 55, 0.65) !important;
}

.place-card .area {
  display: block;
  margin-top: 24px;
  color: var(--accent) !important;
  font: 700 11px 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
}

.place-card h3 {
  max-width: 600px;
  margin: 10px 0 16px;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.place-card p {
  max-width: 580px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
}

.place-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.place-card .chips span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(51, 53, 55, 0.05);
  color: var(--ink) !important;
  font: 600 9px 'IBM Plex Mono', monospace;
}

/* Featured card overrides */
.place-card.featured {
  grid-column: span 8;
  background: var(--cream) !important; /* Unified White background */
  border: 2px solid var(--accent) !important; /* Accent border highlight */
  box-shadow: var(--shadow-lg);
}

.place-card.featured h3 {
  color: var(--ink) !important;
}

.place-card.featured p {
  color: rgba(51, 53, 55, 0.75) !important;
}

.place-card.featured .meta span {
  color: rgba(51, 53, 55, 0.65) !important;
}

.place-card.featured .area {
  color: var(--accent) !important;
}

.place-card.featured .chips span {
  background: rgba(51, 53, 55, 0.05) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

/* ═══════════════════════════════════════════════════════════
   FMHY PAGE (Field Manual)
   ═══════════════════════════════════════════════════════════ */

/* ── 14. Dark Hero ─────────────────────────────────────── */
.dark-hero {
  padding: 4vw 4vw;
  background: var(--ink);
  color: #fafafa;
}

.dark-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #fafafa;
}

.dark-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.dark-hero p:last-of-type {
  max-width: 620px;
  margin: 20px 0 0 auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ── 15. Manual Tabs (Row of Graphite Pills) ───────────── */
.manual-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 4vw;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.manual-tabs::-webkit-scrollbar {
  display: none;
}

.manual-tab {
  padding: 8px 20px;
  border: 1.5px solid var(--ink) !important;
  border-radius: 99px;
  background: var(--ink) !important;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.manual-tab:hover {
  background: rgba(51, 53, 55, 0.9) !important;
  color: #ffffff !important;
}

.manual-tab.is-active {
  background: #ffffff !important;
  color: var(--ink) !important;
  border-color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

/* ── 16. Manual Shell ──────────────────────────────────── */
.manual-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 32px 4vw 48px;
  background: var(--paper);
}

.manual-shell aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.manual-shell aside span {
  font: 700 10px/1.6 'IBM Plex Mono', monospace;
  color: var(--ink);
  opacity: 0.5;
  letter-spacing: 0.1em;
}

.manual-shell aside strong {
  font: 700 48px 'IBM Plex Mono', monospace;
  color: var(--ink);
}

/* ── 17. Manual Items ──────────────────────────────────── */
.manual-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 24px;
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.manual-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line) !important;
}

.manual-item .num {
  font: 700 12px 'IBM Plex Mono', monospace;
  color: var(--accent) !important;
  align-self: start;
  margin-top: 4px;
}

.manual-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.manual-item p {
  max-width: 760px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.manual-item .tag {
  align-self: start;
  padding: 4px 10px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: 600 10px 'IBM Plex Mono', monospace;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.manual-item details {
  grid-column: 2 / -1;
  width: 100%;
  margin-top: 10px;
}

.manual-item summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  display: inline-block;
  user-select: none;
  transition: var(--transition);
  outline: none;
}

.manual-item summary:hover {
  color: var(--accent-soft);
}

.manual-item details p {
  margin: 12px 0 0 0;
  padding: 16px 20px;
  background: rgba(30, 32, 34, 0.03) !important;
  border: 1px dashed var(--line) !important;
  color: var(--ink) !important;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.7;
  animation: slideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Language styles are managed entirely in language.css */

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 48px 4vw;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

footer .logo {
  font-size: 24px;
  color: var(--ink) !important;
}

footer p {
  margin: 0;
  color: rgba(51, 53, 55, 0.65) !important;
  font-size: 14px;
  line-height: 1.6;
}

footer small {
  font: 600 11px 'IBM Plex Mono', monospace;
  color: rgba(51, 53, 55, 0.65) !important;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   SEARCH OVERLAY
   ═══════════════════════════════════════════════════════════ */
.search-layer {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: none;
  padding: 8vw;
  background: rgba(245, 243, 235, 0.98) !important; /* Light search overlay to match linen theme */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--ink);
}

.search-layer.is-open {
  display: block;
  animation: overlayFadeIn 0.3s ease both;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.search-close {
  position: absolute;
  top: 24px;
  right: 4vw;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 36px;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
}

.search-close:hover {
  opacity: 1;
}

.search-layer label {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.search-layer label span {
  display: block;
  font: 700 11px 'IBM Plex Mono', monospace;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.search-layer input {
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 700;
  outline: none;
  caret-color: var(--accent);
  transition: var(--transition);
}

.search-layer input:focus {
  border-color: var(--accent);
}

#search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 40px auto 0;
  max-height: 60vh;
  overflow-y: auto;
}

.result {
  padding: 20px;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.4) !important;
  transition: var(--transition);
  cursor: pointer;
}

.result:hover {
  border-color: var(--accent) !important;
  background: var(--accent-soft) !important;
  transform: translateY(-2px);
}

.result span {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(51, 53, 55, 0.08);
  color: var(--ink);
  font: 700 9px 'IBM Plex Mono', monospace;
  margin-bottom: 10px;
}

.result p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ── 23. Responsive Queries ────────────────────────────── */
@media (max-width: 990px) {
  .map-hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .place-card {
    grid-column: span 6;
  }
  .place-card.featured {
    grid-column: span 12;
  }
}

@media (max-width: 600px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }
  .topbar nav {
    display: none;
  }
  .place-card,
  .place-card.featured {
    grid-column: span 12;
  }
  .pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .pills::-webkit-scrollbar {
    display: none;
  }
  .pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .manual-shell {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }
  .manual-shell aside {
    display: none;
  }
  .manual-item {
    grid-template-columns: auto 1fr auto;
    gap: 12px 16px;
    padding: 16px;
  }
  .manual-item .tag {
    grid-row: auto;
    justify-self: auto;
  }
  .manual-item details {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
}


/* Bottom Navigation Bar for Mobile */
.mobile-nav-bar {
  display: none;
}

@media (max-width: 600px) {
  .mobile-nav-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(245, 243, 235, 0.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--line);
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(51, 53, 55, 0.05);
    padding: 6px 12px 10px;
    justify-content: space-around;
    align-items: center;
  }
  
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    opacity: 0.55;
    transition: var(--transition);
    flex: 1;
    padding: 4px 0;
    cursor: pointer;
  }
  
  .mobile-nav-item .icon {
    font-size: 18px;
    margin-bottom: 2px;
  }
  
  .mobile-nav-item .label {
    font: 700 10px/1 'IBM Plex Mono', monospace;
    letter-spacing: 0.02em;
  }
  
  .mobile-nav-item.is-active {
    opacity: 1;
    color: var(--accent);
  }
  
  body {
    padding-bottom: 72px;
  }
}
/* ── 24. Micro-interactions & Polish ─────────────────── */
.place-card h3::after {
  content: ' →';
  opacity: 0;
  display: inline-block;
  transform: translateX(-6px);
  transition: var(--transition);
  color: var(--accent);
}

.place-card:hover h3::after {
  opacity: 1;
  transform: none;
}

/* ── spine + skin alignment: 여행 에디토리얼 ── */
body { word-break: keep-all; overflow-wrap: break-word; }

/* 큰 선언문은 세리프 — 잡지의 목소리. 강조(em)는 이탤릭 버밀리언 */
.hero-copy h1,
.dark-hero h1,
.language-hero h1 {
  font-family: 'Noto Serif KR', Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-copy h1 em,
.dark-hero h1 em {
  font-style: italic;
}

.footer-home { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-home:hover { color: var(--accent); border-color: var(--accent); }
