/* K-Drops Radar — one stylesheet, no external requests. */

:root {
  --paper: #fbf7f0;
  --paper-deep: #f4eee2;
  --ink: #1a1713;
  --ink-soft: #3c352c;
  --muted: #6f6558;
  --line: #e2d8c7;
  --line-strong: #cdbfa8;
  --accent: #c8452f;
  --accent-deep: #a3341f;
  --cream: #fffdf8;
  --radius: 2px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Nanum Myeongjo", "Noto Serif KR", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Apple SD Gothic Neo", "Hiragino Sans", "Noto Sans KR", "Noto Sans JP", Arial, sans-serif;
  --wrap: 1120px;
  --read: 700px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 66px;
  padding: 10px 0;
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand b { font-weight: 600; }

.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 14px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, #000 92%, rgba(0, 0, 0, 0.15) 100%);
  mask-image: linear-gradient(to right, #000 92%, rgba(0, 0, 0, 0.15) 100%);
}

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

.site-nav a {
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--accent); }

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  background: var(--cream);
  flex: none;
}

.lang-switch a,
.lang-switch span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--muted);
  line-height: 1;
}

.lang-switch a:hover { color: var(--ink); background: var(--paper-deep); }

.lang-switch [aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- shared bits ---------- */

.kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
}

.badge {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cream);
  background: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
  text-decoration: none;
}

.badge[data-cat="k-beauty-daiso"] { background: #a0566b; }
.badge[data-cat="seoul-popups"] { background: #3e6b62; }
.badge[data-cat="korean-buzz"] { background: #8a6a2f; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
  margin: 64px 0 26px;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head a {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

/* ---------- home hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  margin: 34px 0 10px;
  align-items: stretch;
}

.hero-text {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.hero h1 a { text-decoration: none; }

.hero-dek {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 24px;
  max-width: 46ch;
}

.hero-media {
  position: relative;
  min-height: 320px;
  min-width: 0;
  background: var(--paper-deep);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
}

.price-tag {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover { border-color: var(--line-strong); }

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-deep);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-media img { transform: scale(1.02); }

.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }

.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0;
}

.card h3 a { text-decoration: none; }

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- category tiles ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.cat-tile {
  background: var(--cream);
  padding: 22px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
  border-top: 3px solid var(--accent);
}

.cat-tile[data-cat="k-beauty-daiso"] { border-top-color: #a0566b; }
.cat-tile[data-cat="seoul-popups"] { border-top-color: #3e6b62; }
.cat-tile[data-cat="korean-buzz"] { border-top-color: #8a6a2f; }

.cat-tile h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.cat-tile p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.cat-tile small {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- ad band ---------- */

.ad-band {
  margin: 64px 0 10px;
  border: 1px dashed var(--line-strong);
  background: var(--paper-deep);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.ad-band p { margin: 0; font-size: 14.5px; color: var(--ink-soft); max-width: 62ch; }

.ad-band .btn { flex: none; }

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.btn:hover { background: var(--accent); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-quiet:hover { background: var(--ink); color: var(--paper); }

/* ---------- article ---------- */

.article-head {
  padding: 40px 0 0;
  max-width: 880px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.article-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}

.article-dek {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 62ch;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--muted);
  padding-bottom: 8px;
}

.article-hero {
  margin: 30px 0 0;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.article-hero figcaption {
  font-size: 11.5px;
  color: var(--muted);
  padding: 8px 2px 0;
}

.factbox {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  margin: 34px 0 8px;
}

.factbox div { background: var(--cream); padding: 18px 20px; }

.factbox dt {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 7px;
}

.factbox dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.article-body {
  max-width: var(--read);
  padding: 20px 0 0;
}

.article-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  letter-spacing: -0.02em;
  margin: 46px 0 12px;
}

.article-body p { margin: 0 0 18px; font-size: 17.5px; color: var(--ink); }

.item-list {
  list-style: none;
  margin: 6px 0 22px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.item-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-soft);
}

.item-list strong {
  display: block;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}

.tips {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 24px 26px 8px;
  margin: 44px 0 10px;
}

.tips h2 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 14px;
}

.tips ol { margin: 0; padding-left: 20px; }

.tips li { margin-bottom: 12px; font-size: 15.5px; color: var(--ink-soft); }

.sources {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.sources h2 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--muted);
}

.sources ul { margin: 0 0 14px; padding-left: 18px; }
.sources li { margin-bottom: 5px; }
.sources a { color: var(--ink-soft); }
.sources .fx { font-size: 12px; line-height: 1.6; margin: 0; }

/* ---------- advertise page ---------- */

.page-head { padding: 52px 0 8px; max-width: 760px; }

.page-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 10px 0 18px;
}

.page-head p.lead { font-size: 19px; color: var(--ink-soft); margin: 0; }

.prose { max-width: var(--read); padding-bottom: 20px; }

.prose h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  margin: 42px 0 10px;
  letter-spacing: -0.02em;
}

.prose p { margin: 0 0 16px; }

.prose ul { margin: 0 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 10px; }

.contact-card {
  border: 1px solid var(--line-strong);
  background: var(--cream);
  padding: 28px 30px;
  margin: 36px 0 60px;
  max-width: var(--read);
}

.contact-card p { margin: 0 0 12px; }

.contact-card a.mail {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  word-break: break-all;
}

.contact-card small { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }

/* ---------- empty state ---------- */

.empty {
  border: 1px dashed var(--line-strong);
  padding: 48px 32px;
  background: var(--cream);
  color: var(--muted);
  font-size: 15.5px;
  max-width: 640px;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line-strong);
  background: var(--paper-deep);
  padding: 44px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0 0 10px;
}

.site-footer p { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.65; }

.site-footer h2 {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin-bottom: 7px; }

.site-footer a { font-size: 13.5px; text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; order: -1; aspect-ratio: 16 / 9; }
  .hero-text { padding: 32px 28px 34px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-hero { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .header-row { gap: 14px; min-height: 58px; padding: 8px 0; flex-wrap: wrap; }
  .brand { font-size: 19px; flex: 1; }
  .brand span { display: none; }
  .site-nav {
    order: 3;
    width: 100%;
    flex: 1 0 100%;
    gap: 16px;
    padding-bottom: 2px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
  .card-grid { grid-template-columns: 1fr; }
  .factbox { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .article-body p { font-size: 16.5px; }
  .article-head { padding-top: 28px; }
  .cat-tile { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .ad-band { padding: 22px; }
  .tips { padding: 20px 18px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
