/* Jeju Community — Jessica's Unique Tour
   Orange theme inspired by 제주 감귤 (mandarin), volcanic embers, and yuja
   ────────────────────────────────────────────────────────────── */

:root {
  --orange-50: #fff5eb;
  --orange-100: #ffe2c6;
  --orange-200: #ffc285;
  --orange-300: #ff9c47;
  --orange-400: #ff7a1a;
  --orange-500: #ff6b35;   /* primary — Jeju mandarin */
  --orange-600: #e85d04;   /* volcanic ember */
  --orange-700: #b8410f;
  --yuja: #ffb627;
  --basalt: #1f1d1b;       /* 현무암 */
  --basalt-soft: #3a3633;
  --cream: #fff8f0;
  --sand: #f5e9d7;
  --sea: #1e88a8;
  --sea-deep: #0f5b75;
  --line: #f0d9bd;
  --shadow-sm: 0 1px 3px rgba(31, 29, 27, 0.08);
  --shadow-md: 0 8px 24px rgba(232, 93, 4, 0.10);
  --shadow-lg: 0 16px 48px rgba(232, 93, 4, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --max-w: 1180px;
  --font-display: "Pretendard", "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --font-sans: "Pretendard", "Apple SD Gothic Neo", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--basalt);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange-700); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }

/* ── Layout ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.tight { padding: 48px 0; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.15rem;
  color: var(--basalt);
}
.brand .dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 0 0 4px var(--orange-100);
}
.brand small {
  display: block;
  font-weight: 500; font-size: .72rem; color: var(--orange-600);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a {
  padding: 8px 12px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--basalt-soft);
}
.nav a:hover, .nav a.active {
  background: var(--orange-100); color: var(--orange-700);
}
.nav a.cta {
  background: var(--orange-500); color: white;
  padding: 9px 18px; font-weight: 600;
}
.nav a.cta:hover { background: var(--orange-600); color: white; }

.menu-toggle {
  display: none; background: none; border: none; padding: 8px;
  font-size: 1.4rem; color: var(--basalt); cursor: pointer;
  border-radius: var(--radius-sm);
}
.menu-toggle:hover { background: var(--orange-100); }
.nav-drawer-head { display: none; }
.nav-overlay { display: none; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; order: -1; margin-right: 4px; }
  .site-header .wrap { gap: 8px; }

  /* Left side drawer */
  .nav {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(82vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 18px 28px;
    box-shadow: 4px 0 28px rgba(31, 29, 27, 0.18);
    transform: translateX(-100%);
    transition: transform .28s ease;
    overflow-y: auto;
    z-index: 60;
    border-right: 1px solid var(--line);
  }
  .nav.open { transform: translateX(0); }

  .nav-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 4px 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav-drawer-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange-700);
  }
  .nav-close {
    background: none; border: none; cursor: pointer;
    font-size: 1.6rem; line-height: 1;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--basalt);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .nav-close:hover { background: var(--orange-100); color: var(--orange-700); }

  .nav a {
    padding: 14px 14px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    border-left: 3px solid transparent;
  }
  .nav a.active {
    border-left-color: var(--orange-500);
    background: var(--orange-100);
    color: var(--orange-700);
    font-weight: 600;
  }
  .nav a.cta {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 999px;
    text-align: center;
    border-left: none;
  }

  /* Backdrop */
  .nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(31, 29, 27, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
    z-index: 55;
  }
  .nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-locked { overflow: hidden; }
}

/* ── Hero ── */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 182, 39, 0.35), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(232, 93, 4, 0.18), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--orange-50) 100%);
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; padding: 6px 14px; border-radius: 999px;
  font-size: .82rem; color: var(--orange-700); font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero h1 { margin: 18px 0 14px; }
.hero h1 strong { color: var(--orange-600); }
.hero .lede { font-size: 1.1rem; color: var(--basalt-soft); max-width: 540px; }
.hero .signature { margin-top: 28px; font-style: italic; color: var(--basalt-soft); }
.hero .signature b { color: var(--orange-700); font-style: normal; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  font-size: .96rem; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange-500); color: white; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--orange-600); color: white; box-shadow: var(--shadow-lg); }
.btn-ghost { background: white; color: var(--orange-700); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--orange-50); color: var(--orange-700); }

.hero-visual {
  position: relative; aspect-ratio: 2/3; max-height: 680px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange-300), var(--orange-600));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top; /* preserve illustration headline at top */
}
.hero-visual .badge {
  position: absolute; bottom: 18px; left: 18px;
  background: white; padding: 10px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--basalt);
  box-shadow: var(--shadow-md);
}
@media (max-width: 820px) {
  .hero { padding: 56px 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 1/1; max-height: 380px; }
}

/* ── Section heads ── */
.eyebrow-line {
  display: inline-block; font-size: .82rem; font-weight: 700;
  color: var(--orange-600); letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 32px; gap: 20px; flex-wrap: wrap;
}
.section-head p { color: var(--basalt-soft); margin: 4px 0 0; max-width: 540px; }

/* ── Cards grid ── */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .thumb {
  aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(135deg, var(--orange-200), var(--orange-400));
}
.card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform .4s;
}
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card .tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  color: var(--orange-600); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 6px;
}
.card h3 { color: var(--basalt); margin: 0 0 8px; }
.card p { margin: 0; color: var(--basalt-soft); font-size: .93rem; flex: 1; }
.card .more {
  margin-top: 14px; font-size: .88rem; font-weight: 600;
  color: var(--orange-600);
}

/* ── Theme tile (8 categories) ── */
.theme-tile {
  position: relative; display: block;
  aspect-ratio: 4/5; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  background: var(--orange-200);
}
.theme-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.theme-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform .4s;
}
.theme-tile:hover img { transform: scale(1.04); }
.theme-tile .label {
  position: absolute; inset: auto 0 0 0;
  padding: 18px 18px 20px;
  background: linear-gradient(0deg, rgba(31, 29, 27, 0.92) 0%, rgba(31, 29, 27, 0.65) 50%, transparent 100%);
  color: white;
}
.theme-tile .label small {
  display: block; font-size: .7rem; letter-spacing: 0.16em;
  text-transform: uppercase; opacity: 0.75; margin-bottom: 4px;
}
.theme-tile .label b { font-size: 1.05rem; }
.theme-tile .label em { display:block; font-style:normal; font-size:.85rem; opacity:.85; margin-top:2px; }

/* ── Story rows ── */
.story-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.story-row:last-child { border-bottom: none; }
.story-row .num {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 800;
  color: var(--orange-200); line-height: 1; letter-spacing: -0.04em;
}
.story-row h3 { font-size: 1.35rem; }
.story-row .meta { color: var(--orange-600); font-size: .85rem; font-weight: 600; margin-bottom: 6px; letter-spacing: 0.08em; text-transform: uppercase; }
.story-row p { color: var(--basalt-soft); margin: 0 0 8px; }
@media (max-width: 700px) {
  .story-row { grid-template-columns: 1fr; gap: 8px; }
  .story-row .num { font-size: 2.5rem; }
}

/* ── Banded sections ── */
.band-cream { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.band-dark {
  background: linear-gradient(135deg, var(--basalt) 0%, var(--basalt-soft) 100%);
  color: var(--cream);
}
.band-dark h2, .band-dark h3 { color: white; }
.band-dark p { color: rgba(255, 248, 240, 0.78); }
.band-dark .eyebrow-line { color: var(--yuja); }
.band-dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: var(--cream); }
.band-dark .card h3 { color: white; }
.band-dark .card p { color: rgba(255, 248, 240, 0.7); }
.band-orange {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: white;
}
.band-orange .eyebrow-line { color: var(--yuja); }
.band-orange h2, .band-orange h3 { color: white; }
.band-orange p { color: rgba(255, 248, 240, 0.92); }

/* ── Quote block (Jessica) ── */
.jessica-quote {
  background: white; border-left: 6px solid var(--orange-500);
  padding: 26px 30px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.06rem; color: var(--basalt-soft); line-height: 1.7;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}
.jessica-quote cite {
  display: block; margin-top: 14px; font-style: normal;
  color: var(--orange-700); font-weight: 600; font-size: .9rem;
}

/* ── Tour package card ── */
.package {
  background: white; border-radius: var(--radius-md);
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.package:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.package .head {
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: white;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.package .head small { display:block; font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; opacity:.85; margin-bottom:4px; }
.package .head h3 { color: white; margin: 0; font-size: 1.3rem; }
.package .head .duration { font-size: .9rem; opacity: 0.92; margin-top: 4px; }
.package .body { padding: 22px 24px; flex: 1; }
.package ul { padding-left: 20px; margin: 0 0 16px; color: var(--basalt-soft); }
.package ul li { margin-bottom: 6px; }
.package .price {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.7rem; color: var(--orange-700); margin-top: 8px;
}
.package .price small { font-size: .8rem; color: var(--basalt-soft); font-weight: 500; }
.package .foot { padding: 0 24px 24px; }

/* ── Footer ── */
.site-footer {
  background: var(--basalt); color: rgba(255, 248, 240, 0.7);
  padding: 56px 0 32px; margin-top: 80px;
}
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: white; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 248, 240, 0.7); display: block; padding: 4px 0; font-size: .9rem; }
.site-footer a:hover { color: var(--yuja); }
.site-footer .copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px; margin-top: 32px;
  font-size: .82rem; text-align: center;
}
@media (max-width: 820px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}

/* ── Detail / article pages ── */
.page-hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 182, 39, 0.25), transparent 50%),
    linear-gradient(180deg, var(--orange-50), var(--cream));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 6px 0 12px; }
.page-hero p { font-size: 1.08rem; color: var(--basalt-soft); max-width: 720px; }

.article { padding: 56px 0; max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 40px; }
.article h3 { margin-top: 24px; color: var(--orange-700); }
.article p, .article li { font-size: 1.02rem; color: var(--basalt); }

.callout {
  background: var(--orange-50); border: 1px solid var(--orange-100);
  border-radius: var(--radius-md);
  padding: 20px 24px; margin: 24px 0;
}
.callout strong { color: var(--orange-700); }

/* ── Haenyeo feature section ── */
.haenyeo-feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.haenyeo-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky; top: 100px;
}
.haenyeo-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.haenyeo-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255, 248, 240, 0.95);
  color: var(--orange-700);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
}
.haenyeo-text h2 { margin: 8px 0 18px; }
.haenyeo-text .lede {
  font-size: 1.08rem;
  color: rgba(255, 248, 240, 0.92);
  line-height: 1.7;
}
.haenyeo-text p {
  color: rgba(255, 248, 240, 0.82);
  font-size: 1rem;
  line-height: 1.75;
  margin: 16px 0;
}
.haenyeo-text p b { color: var(--yuja); font-weight: 600; }
.haenyeo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.haenyeo-stats > div {
  text-align: center;
}
.haenyeo-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--yuja);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.haenyeo-stats small {
  display: block;
  font-size: .76rem;
  color: rgba(255, 248, 240, 0.65);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.haenyeo-quote {
  background: rgba(255, 182, 39, 0.08);
  border-left: 4px solid var(--yuja);
  padding: 22px 26px;
  margin: 28px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 248, 240, 0.92);
}
.haenyeo-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  color: var(--yuja);
  font-weight: 600;
  font-size: .88rem;
}
.haenyeo-where {
  font-size: .94rem;
  color: rgba(255, 248, 240, 0.82);
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.haenyeo-where strong { color: var(--yuja); }
.haenyeo-where a {
  color: rgba(255, 248, 240, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 182, 39, 0.5);
}
.haenyeo-where a:hover { color: var(--yuja); }
@media (max-width: 900px) {
  .haenyeo-feature { grid-template-columns: 1fr; gap: 32px; }
  .haenyeo-visual { position: relative; top: 0; aspect-ratio: 16/10; max-height: 360px; }
  .haenyeo-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Review card ── */
.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 26px 20px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-card .stars {
  color: var(--orange-500);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-card h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--basalt);
}
.review-card .review-body {
  color: var(--basalt-soft);
  font-size: .94rem;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}
.review-card footer {
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: auto;
}
.review-card .review-author {
  font-weight: 600;
  font-size: .9rem;
  color: var(--basalt);
  margin-bottom: 2px;
}
.review-card .review-meta {
  font-size: .8rem;
  color: var(--basalt-soft);
}

/* ── Misc ── */
.chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--orange-100); color: var(--orange-700);
  font-size: .78rem; font-weight: 600; margin-right: 6px;
}
.divider { height: 1px; background: var(--line); margin: 48px 0; }
.center { text-align: center; }
.muted { color: var(--basalt-soft); }
