:root {
  --hanji: #fafaf8;
  --hanji-deep: #f0eeea;
  --hanji-warm: #f5f4f1;
  --ink: #1c1510;
  --ink-light: #3d342b;
  --ink-muted: #7d7163;
  --ink-faint: #978a7b;
  --accent: #8b7b6b;
  --celadon: #7ba995;
  --gold: #b8953a;
  --line: rgba(28, 21, 16, 0.08);
  --line-soft: rgba(28, 21, 16, 0.05);
  --surface: rgba(255, 255, 255, 0.48);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --shadow: 0 14px 40px rgba(28, 21, 16, 0.08);
  --shadow-soft: 0 10px 26px rgba(28, 21, 16, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(184, 149, 58, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(123, 169, 149, 0.14), transparent 24%),
    linear-gradient(180deg, var(--hanji) 0%, var(--hanji-warm) 100%);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top-strip {
  background: var(--ink);
  color: rgba(250, 250, 248, 0.8);
  overflow: hidden;
  border-bottom: 1px solid rgba(250, 250, 248, 0.06);
}

.top-strip-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header,
.site-footer,
.hero,
.section,
.page-shell {
  width: min(1180px, calc(100% - 1rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.8rem 0;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(1.55rem, 5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand::after {
  content: none;
}

.language-switcher {
  display: inline-flex;
  gap: 0.35rem;
  margin-left: auto;
  padding: 0.25rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
}

.language-switcher button {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--hanji);
}

.site-nav {
  display: flex;
  gap: 1rem;
  order: 3;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.site-header.enhanced-header {
  justify-content: space-between;
}

.site-header.enhanced-header .site-nav {
  display: none;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  display: block;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines::before {
  transform: translateY(-6px);
}

.menu-toggle-lines::after {
  transform: translateY(4.5px);
}

body.drawer-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.drawer-open .menu-toggle-lines {
  background: transparent;
}

body.drawer-open .menu-toggle-lines::before {
  transform: translateY(0) rotate(45deg);
}

body.drawer-open .menu-toggle-lines::after {
  transform: translateY(-1.5px) rotate(-45deg);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 13, 10, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 40;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100vh;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgba(250, 250, 248, 0.98), rgba(245, 244, 241, 0.98)),
    radial-gradient(circle at top right, rgba(184, 149, 58, 0.12), transparent 28%);
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 48px rgba(28, 21, 16, 0.12);
  transform: translateX(100%);
  transition: transform 220ms ease;
  z-index: 50;
  display: grid;
  align-content: start;
  gap: 1.1rem;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.drawer-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.drawer-copy {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.drawer-nav {
  display: grid;
  gap: 0.5rem;
}

.drawer-nav a {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.drawer-nav a[aria-current="page"] {
  background: rgba(123, 169, 149, 0.12);
  border-color: rgba(123, 169, 149, 0.22);
}

.drawer-footer {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.3rem;
  border-top: 1px solid var(--line-soft);
}

.drawer-footer a {
  color: var(--ink-muted);
}

body.drawer-open .drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open .menu-drawer {
  transform: translateX(0);
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  white-space: nowrap;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
}

.home-hero {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 0.75rem;
  width: min(1180px, calc(100% - 1rem));
  margin: 0 auto;
}

.hero-clean {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hero-copy-clean {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.44)),
    radial-gradient(circle at top right, rgba(212, 184, 106, 0.12), transparent 35%);
}

.hero-copy,
.floating-card,
.feature-card,
.path-card,
.article-card,
.tool-panel,
.results-panel,
.product-card,
.copy-block,
.page-hero,
.featured-story,
.insight-card,
.trust-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border-radius: 24px;
}

.hero-copy,
.page-hero,
.featured-story,
.insight-card,
.trust-panel,
.tool-panel,
.results-panel,
.copy-block,
.floating-card {
  padding: 1rem;
}

.home-intro-card {
  padding: 1.15rem;
}

.home-intro-note {
  margin: 1rem 0 0;
  color: var(--ink-faint);
  line-height: 1.7;
}

.insight-slider-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 1rem;
}

.insight-slider-header {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.insight-slider-header h2 {
  margin: 0.2rem 0 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.insight-inline-link {
  color: var(--accent);
  font-weight: 700;
}

.insight-slider {
  position: relative;
  min-height: 360px;
}

.insight-slide {
  position: relative;
  display: none;
  min-height: 360px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.insight-slide.is-active {
  display: block;
}

.insight-slide img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.insight-slide-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  color: var(--hanji);
  background: linear-gradient(to top, rgba(22, 17, 13, 0.84), rgba(22, 17, 13, 0.18));
}

.insight-slide-overlay .article-tag {
  color: rgba(250, 250, 248, 0.78);
}

.insight-slide-overlay h3 {
  margin: 0.4rem 0 0.55rem;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(1.4rem, 4.2vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.insight-slide-overlay p:last-child {
  margin: 0;
  color: rgba(250, 250, 248, 0.78);
  line-height: 1.65;
}

.insight-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.slider-arrow {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 21, 16, 0.18);
  cursor: pointer;
}

.slider-dot.is-active {
  width: 28px;
  background: var(--ink);
}

.hero-copy h1,
.page-hero h1,
.section-header h2,
.featured-story h3,
.insight-card h3,
.trust-panel h3 {
  font-family: "Noto Serif KR", serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  margin: 0.35rem 0 0.85rem;
  max-width: 11ch;
  font-size: clamp(2.45rem, 10vw, 5rem);
  line-height: 1.06;
}

.page-hero {
  margin-bottom: 1rem;
}

.page-hero h1,
.section-header h2 {
  margin: 0.25rem 0 0.7rem;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
}

.lead,
.copy-block p,
.feature-card p,
.path-card p,
.article-card p,
.product-card p,
.product-card-button p,
.trust-grid p,
.trust-panel p,
.featured-story p,
.insight-card p {
  color: var(--ink-muted);
  line-height: 1.75;
  font-weight: 300;
}

.eyebrow,
.card-label,
.article-tag,
.path-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.67rem;
  font-weight: 700;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--hanji);
  box-shadow: var(--shadow);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.floating-card h2 {
  margin: 0.4rem 0 0.9rem;
  font-family: "Noto Serif KR", serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.hero-utility-panel,
.tool-card-grid,
.guide-list,
.trust-points {
  display: grid;
  gap: 1rem;
}

.utility-card,
.tool-card,
.guide-row,
.trust-band,
.directory-meta-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-radius: 22px;
}

.utility-card,
.tool-card,
.guide-row,
.directory-meta-card {
  padding: 1rem;
}

.utility-card-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.48)),
    linear-gradient(135deg, rgba(123, 169, 149, 0.1), rgba(212, 184, 106, 0.1));
}

.utility-card h2,
.tool-card strong,
.guide-row h3,
.directory-meta-card h2 {
  display: block;
  margin: 0.35rem 0 0.65rem;
  font-family: "Noto Serif KR", serif;
  line-height: 1.2;
}

.utility-card h2 {
  font-size: 1.45rem;
}

.utility-link {
  display: inline-flex;
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.tool-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 21, 16, 0.15);
}

.tool-card p {
  margin-bottom: 0;
}

.tool-card-kicker {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.66rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.card-cta {
  display: inline-flex;
  margin-top: 0.95rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-split {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.section-title {
  margin: 0.25rem 0 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-note {
  color: var(--ink-faint);
  line-height: 1.7;
}

.guide-list {
  gap: 0.85rem;
}

.guide-row {
  display: grid;
  gap: 0.6rem;
  align-items: start;
}

.guide-row p:last-child {
  margin: 0;
}

.trust-band {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, rgba(212, 184, 106, 0.06), rgba(123, 169, 149, 0.08));
}

.trust-points p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.directory-hero {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
}

.directory-hero-simple {
  grid-template-columns: 1fr;
}

.directory-hero-copy,
.directory-meta-card,
.filter-section {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border-radius: 24px;
}

.directory-hero-copy,
.directory-meta-card,
.filter-section {
  padding: 1rem;
}

.directory-hero-copy h1 {
  margin: 0.3rem 0 0.75rem;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.directory-meta-list {
  margin: 0.9rem 0 0;
  padding-left: 1rem;
  color: var(--ink-muted);
  line-height: 1.8;
}

.filter-section {
  margin: 0.5rem 0 1rem;
}

.filter-section-search-first {
  display: grid;
  gap: 1rem;
}

.search-shell {
  display: grid;
  gap: 0.55rem;
}

.search-label {
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.directory-search-input {
  width: 100%;
  min-height: 56px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  color: var(--ink);
}

.category-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.category-chip {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-muted);
  font-weight: 700;
  cursor: pointer;
}

.category-chip.is-active {
  background: var(--ink);
  color: var(--hanji);
  border-color: var(--ink);
}

.filter-section-header {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.floating-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.card-result {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.section {
  padding: 1rem 0;
}

.alt-section {
  padding: 1.2rem 0;
}

.compact-section {
  padding-top: 0;
}

.section-header {
  margin-bottom: 1rem;
}

.feature-grid,
.path-grid,
.article-grid,
.trust-grid,
.home-intro-grid,
.curation-grid,
.food-layout {
  display: grid;
  gap: 1rem;
}

.feature-card,
.path-card,
.article-card {
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.path-card strong,
.article-card h3,
.product-card h3,
.product-card-button h3 {
  display: block;
  margin: 0.35rem 0 0.65rem;
  font-size: 1.1rem;
  line-height: 1.35;
}

.featured-story h3,
.insight-card h3,
.trust-panel h3 {
  margin: 0.35rem 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink-faint);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.featured-story-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 1.1rem;
  border-radius: 20px;
  background:
    linear-gradient(to top, rgba(28, 21, 16, 0.76), rgba(28, 21, 16, 0.2)),
    linear-gradient(135deg, #d8e0d2 0%, #c4d0be 50%, #b0c4aa 100%);
  color: var(--hanji);
}

.featured-story-visual .eyebrow {
  color: rgba(250, 250, 248, 0.82);
}

.insight-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, rgba(212, 184, 106, 0.09), rgba(123, 169, 149, 0.08));
}

.mini-link-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.mini-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
}

.mini-link strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.mini-link span {
  white-space: nowrap;
  color: var(--ink-faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-card-button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.product-media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(123, 169, 149, 0.16), rgba(184, 149, 58, 0.12)),
    linear-gradient(180deg, #f0ede7 0%, #ebe6de 100%);
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.72);
}

.product-body {
  padding: 1rem;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.product-price {
  white-space: nowrap;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
}

.product-card-button .meta-list {
  margin-top: 0.9rem;
}

.product-card-button .source-note {
  margin-top: 0.9rem;
}

.product-detail-hint {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 13, 10, 0.55);
}

.detail-dialog {
  position: relative;
  width: min(860px, calc(100% - 1rem));
  max-height: calc(100vh - 1rem);
  margin: 0.5rem auto;
  overflow: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(250, 250, 248, 0.98), rgba(245, 244, 241, 0.98)),
    radial-gradient(circle at top right, rgba(123, 169, 149, 0.08), transparent 24%);
  box-shadow: 0 20px 60px rgba(28, 21, 16, 0.22);
}

.detail-close {
  position: sticky;
  top: 0.85rem;
  z-index: 2;
  float: right;
  margin: 0.85rem 0.85rem 0 0;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.detail-content {
  display: grid;
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.detail-media {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(123, 169, 149, 0.16), rgba(184, 149, 58, 0.12)),
    linear-gradient(180deg, #f0ede7 0%, #ebe6de 100%);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, 0.76);
}

.detail-empty-copy {
  display: grid;
  place-content: center;
  height: 100%;
  padding: 1rem;
  text-align: center;
}

.detail-empty-copy h3 {
  margin: 0 0 0.45rem;
  font-family: "Noto Serif KR", serif;
}

.detail-empty-copy p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.detail-copy h2 {
  margin: 0.3rem 0 0.55rem;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(1.8rem, 6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-subtitle {
  margin: 0;
  color: var(--ink-muted);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.95rem 0 0;
}

.detail-meta span {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(28, 21, 16, 0.05);
  color: var(--ink-light);
  font-size: 0.8rem;
}

.detail-grid {
  display: grid;
  gap: 0.9rem;
}

.detail-section {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
}

.detail-section h3 {
  margin: 0 0 0.45rem;
  font-family: "Noto Serif KR", serif;
  font-size: 1.08rem;
}

.detail-section p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.product-subtitle,
.source-note,
.filter-summary {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.source-note a {
  color: var(--accent);
  font-weight: 700;
}

.tool-layout {
  display: grid;
  gap: 1rem;
}

.tool-panel {
  display: grid;
  gap: 0.95rem;
}

.tool-panel label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.tool-panel select,
.tool-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--ink);
}

.product-filter-panel {
  grid-template-columns: 1fr;
}

.results-list {
  display: grid;
  gap: 1rem;
}

.result-card {
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.result-card h3 {
  margin: 0.2rem 0 0.55rem;
}

.result-meta,
.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0.8rem 0 0;
  list-style: none;
}

.result-meta li,
.meta-list li {
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(28, 21, 16, 0.05);
  color: var(--ink-light);
  font-size: 0.8rem;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  padding: 2rem 0;
  background: var(--ink);
  color: rgba(250, 250, 248, 0.75);
}

.site-footer p,
.footer-links a {
  color: rgba(250, 250, 248, 0.58);
}

.page-shell {
  padding: 1rem 0 3rem;
}

.narrow-shell {
  width: min(780px, calc(100% - 1rem));
}

.results-header {
  margin-bottom: 0.8rem;
}

.footer-links {
  margin-top: 0;
}

@media (min-width: 700px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .page-shell,
  .home-hero {
    width: min(1180px, calc(100% - 3rem));
  }

  .button {
    width: auto;
  }

  .product-filter-panel {
    grid-template-columns: 220px 1fr;
  }

  .detail-dialog {
    width: min(960px, calc(100% - 3rem));
    max-height: calc(100vh - 3rem);
    margin: 1.5rem auto;
  }

  .detail-content {
    grid-template-columns: minmax(280px, 360px) 1fr;
    align-items: start;
    padding: 0 1.25rem 1.25rem;
  }

  .feature-grid,
  .path-grid,
  .article-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-intro-grid,
  .curation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-card-grid,
  .trust-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-row,
  .section-split,
  .filter-section-header {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    align-items: start;
  }

  .home-hero {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: 1.2rem;
  }

  .insight-slide,
  .insight-slider,
  .insight-slide img {
    min-height: 460px;
    height: 460px;
  }
}

@media (min-width: 980px) {
  .site-header {
    gap: 1.2rem;
  }

  .language-switcher {
    order: 2;
    margin-left: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1.2rem;
  }

  .hero-clean {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  }

  .directory-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-layout {
    grid-template-columns: minmax(280px, 360px) 1fr;
  }

  .feature-grid,
  .path-grid,
  .article-grid,
  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
