/* =========================================================
   Only in Seongsu — Forest-Luxe Design System
   Adapted from Mintlify design tokens → forest / sage / cream
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ---------- Tokens ---------- */
:root {
  /* Forest brand */
  --pine:            #14241c;  /* deepest ink-green */
  --pine-2:          #1d3326;
  --moss:            #2a4a38;
  --emerald:         #2e7d5b;  /* signature accent */
  --emerald-deep:    #1f5e43;
  --emerald-soft:    #cfe6da;
  --sage:            #8aa899;
  --sage-mist:       #c9d8c5;

  /* Surfaces */
  --canvas:          #ffffff;
  --cream:           #f6f3ec;  /* warm section bg */
  --cream-soft:      #faf8f3;
  --surface:         #f1efe8;
  --hairline:        #e6e3db;
  --hairline-soft:   #efece4;

  /* Text */
  --ink:             #14241c;
  --slate:           #3f4a43;
  --steel:           #6b756d;
  --stone:           #8a938b;
  --muted:           #a8b0a8;
  --on-dark:         #ffffff;
  --on-dark-muted:   #c5d2c8;

  /* Hero gradients */
  --hero-mist-from:  #d9e4d3;
  --hero-mist-mid:   #e7ead9;
  --hero-mist-to:    #f6f3ec;
  --hero-dark-from:  #14241c;
  --hero-dark-to:    #2a4a38;

  /* Accent semantic */
  --gold:            #b9975b;  /* premium gold detail */
  --error:           #c9543f;

  /* Radius */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 12px;
  --r-xl: 16px; --r-xxl: 24px; --r-full: 9999px;

  /* Spacing */
  --s-xxs: 4px; --s-xs: 8px; --s-sm: 12px; --s-md: 16px;
  --s-lg: 20px; --s-xl: 24px; --s-xxl: 32px; --s-xxxl: 40px;
  --s-sec-sm: 48px; --s-sec: 72px; --s-sec-lg: 104px; --s-hero: 120px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(20,36,28,.05);
  --sh-2: 0 6px 20px rgba(20,36,28,.08);
  --sh-3: 0 24px 60px -12px rgba(20,36,28,.22);
  --sh-emerald: 0 10px 30px rgba(46,125,91,.16);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Pretendard', 'Pretendard Variable', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }

/* ---------- Language-specific fonts ---------- */
/* Korean: trendy Pretendard everywhere, incl. headlines (Fraunces lacks Hangul) */
html[lang="ko"] body { font-family: 'Pretendard', 'Pretendard Variable', 'Inter', sans-serif; }
html[lang="ko"] .display,
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3,
html[lang="ko"] .h1, html[lang="ko"] .h2, html[lang="ko"] .h3,
html[lang="ko"] .cal-title, html[lang="ko"] .brand, html[lang="ko"] .stat-num,
html[lang="ko"] .serif {
  font-family: 'Pretendard', 'Pretendard Variable', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
/* keep the Latin brand wordmark elegant even on Korean pages */
html[lang="ko"] .brand { font-family: 'Fraunces', 'Pretendard', serif; font-weight: 600; }
/* Chinese: prioritise Noto Sans SC */
html[lang="zh"] body { font-family: 'Inter', 'Noto Sans SC', sans-serif; }
html[lang="zh"] .display,
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3,
html[lang="zh"] .h1, html[lang="zh"] .h2, html[lang="zh"] .h3,
html[lang="zh"] .cal-title, html[lang="zh"] .stat-num {
  font-family: 'Noto Sans SC', 'Fraunces', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Type ---------- */
.serif { font-family: 'Fraunces', Georgia, serif; }
.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; line-height: 1.05; letter-spacing: -0.5px;
  font-size: clamp(40px, 6vw, 76px);
}
h1,.h1 { font-family:'Fraunces',serif; font-weight:600; font-size: clamp(32px,4.5vw,52px); line-height:1.1; letter-spacing:-.5px; }
h2,.h2 { font-family:'Fraunces',serif; font-weight:600; font-size: clamp(26px,3.2vw,38px); line-height:1.15; letter-spacing:-.3px; }
h3,.h3 { font-family:'Fraunces',serif; font-weight:600; font-size: clamp(20px,2.2vw,26px); line-height:1.25; }
h4,.h4 { font-weight:600; font-size:18px; line-height:1.4; }
.eyebrow {
  font-size: 12px; font-weight:600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--emerald-deep);
}
.lead { font-size: clamp(17px,1.6vw,20px); line-height:1.6; color: var(--slate); font-weight:400; }
.body { font-size:16px; line-height:1.6; color: var(--slate); }
.small { font-size:14px; line-height:1.55; color: var(--steel); }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--s-sec) 0; }
.section-lg { padding: var(--s-sec-lg) 0; }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
.flex { display:flex; }
.between { justify-content: space-between; }
.items-center { align-items:center; }
.gap-sm{gap:8px}.gap-md{gap:16px}.gap-lg{gap:24px}
.mt-sm{margin-top:12px}.mt-md{margin-top:24px}.mt-lg{margin-top:40px}
.bg-cream { background: var(--cream); }
.bg-pine { background: var(--pine); color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display:inline-flex; align-items:center; gap:8px; justify-content:center;
  font-size:15px; font-weight:600; border-radius: var(--r-full);
  padding: 13px 26px; transition: all .2s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--pine); color: var(--on-dark); }
.btn-primary:hover { background: var(--moss); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-accent { background: var(--emerald); color: #fff; }
.btn-accent:hover { background: var(--emerald-deep); transform: translateY(-1px); box-shadow: var(--sh-emerald); }
.btn-on-dark { background: #fff; color: var(--pine); }
.btn-on-dark:hover { background: var(--cream); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.btn-secondary:hover { border-color: var(--emerald); color: var(--emerald-deep); }
.btn-ghost { background: transparent; color: var(--ink); padding: 10px 14px; }
.btn-ghost:hover { color: var(--emerald-deep); }
.btn-lg { padding: 16px 32px; font-size:16px; }
.btn-block { display:flex; width:100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:68px; }
.brand { display:flex; align-items:center; gap:10px; font-family:'Fraunces',serif; font-weight:600; font-size:20px; color:var(--pine); letter-spacing:-.3px; }
.brand-mark {
  width:30px; height:30px; border-radius:50%;
  background: radial-gradient(circle at 35% 30%, var(--sage), var(--emerald-deep) 70%);
  display:inline-block; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.nav-links { display:flex; align-items:center; gap:30px; }
.nav-link { font-size:15px; font-weight:500; color:var(--slate); transition:color .15s; }
.nav-link:hover, .nav-link.active { color:var(--emerald-deep); }
.nav-right { display:flex; align-items:center; gap:14px; }

/* Language switcher */
.lang-switch { display:flex; gap:2px; background:var(--surface); border-radius:var(--r-full); padding:3px; }
.lang-btn { font-size:13px; font-weight:600; color:var(--steel); padding:5px 11px; border-radius:var(--r-full); transition:all .15s; }
.lang-btn.active { background:#fff; color:var(--pine); box-shadow:var(--sh-1); }

/* Hamburger */
.hamburger { display:none; flex-direction:column; gap:5px; padding:8px; }
.hamburger span { width:22px; height:2px; background:var(--ink); border-radius:2px; transition:.25s; }
.mobile-menu { display:none; flex-direction:column; gap:6px; padding:16px 24px 24px; border-bottom:1px solid var(--hairline); background:#fff; }
.mobile-menu a { padding:12px 0; font-size:17px; font-weight:500; border-bottom:1px solid var(--hairline-soft); }

/* ---------- Hero ---------- */
.hero {
  position:relative; overflow:hidden;
  background: linear-gradient(170deg, var(--hero-mist-from) 0%, var(--hero-mist-mid) 42%, var(--hero-mist-to) 100%);
  padding: clamp(56px,9vw,110px) 0 clamp(48px,7vw,84px);
}
.hero-leaf { position:absolute; opacity:.5; pointer-events:none; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 52ch; }
.hero-badges { display:flex; gap:10px; flex-wrap:wrap; }
.chip {
  display:inline-flex; align-items:center; gap:6px; background: rgba(255,255,255,.7);
  border:1px solid rgba(20,36,28,.08); color:var(--slate); font-size:13px; font-weight:500;
  padding:7px 14px; border-radius:var(--r-full);
}

/* ---------- Cards ---------- */
.card { background:var(--canvas); border:1px solid var(--hairline); border-radius:var(--r-lg); padding:28px; transition:.25s var(--ease); }
.card:hover { box-shadow:var(--sh-2); transform:translateY(-2px); }
.card-soft { background:var(--cream-soft); border:1px solid var(--hairline-soft); border-radius:var(--r-lg); padding:28px; }
.card-feature { background:var(--cream); border-radius:var(--r-lg); padding:32px; }
.card-icon { width:46px; height:46px; border-radius:var(--r-md); background:var(--emerald-soft); color:var(--emerald-deep); display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px; }
.card img.thumb { border-radius:var(--r-md); aspect-ratio: 4/3; object-fit:cover; width:100%; }

/* Showcase image */
.media { border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--sh-3); }
.media img { width:100%; height:100%; object-fit:cover; }
.media-tall { aspect-ratio: 3/4; }
.media-wide { aspect-ratio: 16/10; }

/* Gallery */
.gallery { display:grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: minmax(0,1fr) minmax(0,1fr); gap:12px; height: 520px; overflow:hidden; }
.gallery > * { min-height:0; overflow:hidden; border-radius:var(--r-md); }
.gallery > *:first-child { grid-row: 1/3; }
.gallery img { width:100%; height:100%; object-fit:cover; border-radius:var(--r-md); }

/* Stat */
.stat-num { font-family:'Fraunces',serif; font-size:40px; font-weight:600; color:var(--emerald-deep); line-height:1; }

/* ---------- Forms ---------- */
.field { margin-bottom:18px; }
.label { display:block; font-size:14px; font-weight:600; color:var(--slate); margin-bottom:7px; }
.req { color:var(--error); }
.input, .textarea, .select {
  width:100%; font-family:inherit; font-size:15px; color:var(--ink); background:var(--canvas);
  border:1px solid var(--hairline); border-radius:var(--r-md); padding:12px 14px; transition:.15s;
}
.textarea { min-height:96px; resize:vertical; }
.input:focus, .textarea:focus, .select:focus { outline:none; border-color:var(--emerald); box-shadow:0 0 0 3px rgba(46,125,91,.12); }
.hint { font-size:13px; color:var(--steel); margin-top:6px; }
.form-card { background:var(--canvas); border:1px solid var(--hairline); border-radius:var(--r-xl); padding:clamp(24px,4vw,40px); box-shadow:var(--sh-2); }

/* Item row (proxy shopping) */
.item-row { background:var(--cream-soft); border:1px solid var(--hairline-soft); border-radius:var(--r-lg); padding:20px; margin-bottom:16px; position:relative; }
.item-row .row-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.item-num { font-weight:600; font-size:14px; color:var(--emerald-deep); }
.remove-item { color:var(--steel); font-size:13px; font-weight:600; }
.remove-item:hover { color:var(--error); }

/* ---------- Steps ---------- */
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.step { position:relative; padding-top:8px; }
.step-n { width:40px; height:40px; border-radius:50%; background:var(--pine); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:600; font-family:'Fraunces',serif; margin-bottom:14px; }

/* ---------- Accordion (FAQ / Guide) ---------- */
.accordion { border:1px solid var(--hairline); border-radius:var(--r-lg); overflow:hidden; background:#fff; }
.acc-item { border-bottom:1px solid var(--hairline-soft); }
.acc-item:last-child { border-bottom:none; }
.acc-head { width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 22px; font-weight:600; font-size:16px; color:var(--ink); }
.acc-head:hover { background:var(--cream-soft); }
.acc-icon { color:var(--emerald); transition:transform .25s; flex:none; }
.acc-item.open .acc-icon { transform:rotate(45deg); }
.acc-body { max-height:0; overflow:hidden; transition:max-height .3s var(--ease); }
.acc-body-inner { padding:0 22px 22px; color:var(--slate); font-size:15px; line-height:1.65; }

/* Info row (guide passcodes etc.) */
.info-row { display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--hairline-soft); }
.info-row:last-child { border-bottom:none; }
.info-k { color:var(--steel); font-size:14px; }
.info-v { color:var(--ink); font-weight:600; font-size:15px; text-align:right; }
.code-pill { font-family:'Geist Mono',ui-monospace,Menlo,monospace; background:var(--pine); color:#eafff4; padding:4px 10px; border-radius:var(--r-sm); font-size:14px; letter-spacing:.5px; }

/* ---------- Calendar ---------- */
.cal { background:#fff; border:1px solid var(--hairline); border-radius:var(--r-xl); padding:clamp(18px,3vw,28px); box-shadow:var(--sh-2); }
.cal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.cal-title { font-family:'Fraunces',serif; font-weight:600; font-size:20px; }
.cal-nav { display:flex; gap:8px; }
.cal-nav button { width:38px; height:38px; border-radius:50%; border:1px solid var(--hairline); color:var(--ink); display:flex; align-items:center; justify-content:center; transition:.15s; }
.cal-nav button:hover { border-color:var(--emerald); color:var(--emerald-deep); }
.cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.cal-dow { text-align:center; font-size:12px; font-weight:600; color:var(--steel); padding:8px 0; text-transform:uppercase; letter-spacing:.5px; }
.cal-day { aspect-ratio:1; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:500; border-radius:var(--r-md); position:relative; transition:.12s; color:var(--ink); }
.cal-day.empty { visibility:hidden; }
.cal-day.avail { cursor:pointer; }
.cal-day.avail:hover { background:var(--emerald-soft); }
.cal-day.booked { color:var(--muted); text-decoration:line-through; background:repeating-linear-gradient(135deg, var(--surface), var(--surface) 4px, #eceae2 4px, #eceae2 8px); cursor:not-allowed; }
.cal-day.past { color:var(--muted); opacity:.45; cursor:not-allowed; }
.cal-day.selected { background:var(--pine); color:#fff; }
.cal-day.in-range { background:var(--emerald-soft); border-radius:0; }
.cal-day.range-start { background:var(--pine); color:#fff; border-radius:var(--r-md) 0 0 var(--r-md); }
.cal-day.range-end { background:var(--pine); color:#fff; border-radius:0 var(--r-md) var(--r-md) 0; }
.cal-legend { display:flex; gap:18px; flex-wrap:wrap; margin-top:18px; padding-top:18px; border-top:1px solid var(--hairline-soft); }
.legend-item { display:flex; align-items:center; gap:7px; font-size:13px; color:var(--steel); }
.legend-dot { width:14px; height:14px; border-radius:4px; }

/* ---------- Banner / notice ---------- */
.notice { background:var(--emerald-soft); color:var(--emerald-deep); border-radius:var(--r-lg); padding:16px 20px; font-size:14px; line-height:1.55; display:flex; gap:12px; align-items:flex-start; }
.toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(120%); background:var(--pine); color:#fff; padding:14px 24px; border-radius:var(--r-full); box-shadow:var(--sh-3); font-size:14px; font-weight:500; z-index:300; transition:transform .35s var(--ease); }
.toast.show { transform:translateX(-50%) translateY(0); }

/* ---------- Footer ---------- */
.footer { background:var(--pine); color:var(--on-dark-muted); padding:64px 0 36px; }
.footer .brand { color:#fff; }
.footer h5 { color:#fff; font-size:14px; font-weight:600; margin-bottom:14px; letter-spacing:.3px; }
.footer a { color:var(--on-dark-muted); font-size:14px; display:block; padding:5px 0; transition:.15s; }
.footer a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:48px; padding-top:24px; font-size:13px; color:var(--on-dark-muted); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }

/* ---------- Utilities ---------- */
.divider { height:1px; background:var(--hairline); border:none; margin:0; }
.pill-tag { display:inline-block; background:var(--emerald-soft); color:var(--emerald-deep); font-size:12px; font-weight:600; padding:4px 12px; border-radius:var(--r-full); }
.reveal { opacity:0; transform:translateY(20px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity:1; transform:none; }
[hidden] { display:none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .cols-4 { grid-template-columns:repeat(2,1fr); }
  .steps { grid-template-columns:repeat(2,1fr); }
  .gallery { grid-template-columns:1fr 1fr; grid-template-rows:repeat(3,140px); height:auto; }
  .gallery > *:first-child { grid-row:1/2; grid-column:1/3; height:240px; }
}
@media (max-width: 680px) {
  .wrap { padding:0 18px; }
  .section { padding:48px 0; }
  .section-lg { padding:56px 0; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .hide-mobile { display:none !important; }
  .footer-bottom { flex-direction:column; }
  .nav-right .lang-switch { display:none; }
  .cal-day { font-size:13px; }
  .info-v { font-size:14px; }
}
@media (min-width:921px){ .show-mobile{ display:none !important; } }
