
  :root {
    --bg: #f2f4ef; --surface: #ffffff; --surface-2: #e8ece5;
    --ink: #182119; --ink-2: #3d4a41; --muted: #5c6960; --line: #d3dbd2;
    --accent: #1f4d3a; --accent-ink: #ffffff; --accent-soft: #dcebe1;
    --gold: #a8842a; --focus: #2c7a5a;
    --shadow: 0 1px 2px rgba(24,33,25,.06), 0 8px 24px rgba(24,33,25,.06);
    --ok-bg: #d8efe0; --ok-fg: #14532d; --ok-dot: #2e9e63;
    --no-bg: #f9e0dc; --no-fg: #7f1d1d; --no-dot: #d1443b;
    --font-en-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --font-ko-display: "Gowun Batang", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
    --font-en-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-ko-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --display: var(--font-en-display); --body: var(--font-en-body);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #131916; --surface: #1b2320; --surface-2: #232d28;
      --ink: #e9ede8; --ink-2: #c3cbc4; --muted: #97a39a; --line: #2f3b34;
      --accent: #7fc19a; --accent-ink: #0f1f17; --accent-soft: #223a2e;
      --gold: #d8bb6c; --focus: #9ad4b3;
      --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
      --ok-bg: #1f3f2d; --ok-fg: #a9e2c1; --ok-dot: #5fcf92;
      --no-bg: #4a2420; --no-fg: #f3b5ad; --no-dot: #e8776c;
    }
  }
  :root[data-theme="dark"] {
    --bg: #131916; --surface: #1b2320; --surface-2: #232d28;
    --ink: #e9ede8; --ink-2: #c3cbc4; --muted: #97a39a; --line: #2f3b34;
    --accent: #7fc19a; --accent-ink: #0f1f17; --accent-soft: #223a2e;
    --gold: #d8bb6c; --focus: #9ad4b3;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --ok-bg: #1f3f2d; --ok-fg: #a9e2c1; --ok-dot: #5fcf92;
    --no-bg: #4a2420; --no-fg: #f3b5ad; --no-dot: #e8776c;
  }
  :root[data-lang="ko"] { --display: var(--font-ko-display); --body: var(--font-ko-body); }

  * { box-sizing: border-box; }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
  body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  body [lang="ko"] { display: none; }
  :root[data-lang="ko"] body [lang="ko"] { display: revert; }
  :root[data-lang="ko"] body [lang="en"] { display: none; }
  :root[data-lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
  a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
  h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
  :root[data-lang="ko"] h1, :root[data-lang="ko"] h2, :root[data-lang="ko"] h3 { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
  p { margin: 0; }
  img { max-width: 100%; height: auto; display: block; }
  .wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
  @media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }
  .eyebrow { font-family: var(--font-en-body); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--gold); }
  :root[data-lang="ko"] .eyebrow { font-family: var(--font-ko-body); letter-spacing: .1em; }
  .page { display: block; }
  .page.active { display: block; }
  .band { padding: 64px 0; border-top: 1px solid var(--line); }
  .band.first { border-top: 0; padding-top: 48px; }
  .section-head { display: grid; gap: 10px; margin-bottom: 32px; }
  .section-head h1, .section-head h2 { font-size: clamp(30px, 4vw, 42px); }
  .section-head p { color: var(--ink-2); font-size: 19px; max-width: 70ch; }
  .prose { max-width: 72ch; font-size: 18px; color: var(--ink-2); }
  .prose p { margin-bottom: 16px; }
  .prose p:last-child { margin-bottom: 0; }
  .prose h2, .prose h3 { color: var(--ink); margin: 34px 0 12px; font-size: 26px; }
  .prose h3 { font-size: 22px; }
  .prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; }
  .prose li { margin-bottom: 6px; }
  .prose strong { color: var(--ink); }
  .prose .dim { color: var(--muted); font-size: 16px; }
  .prose blockquote { margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 10px 10px 0; }
  .two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
  @media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
  .figure { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
  .figure img { border-radius: 8px; width: 100%; }
  .figure figcaption { color: var(--muted); font-size: 14px; padding: 8px 6px 2px; }
  .kicker { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; }
  .notice { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 14px 18px; color: var(--ink-2); font-size: 16px; }

  /* header */
  header.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .topbar { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
  .brand img { height: 40px; width: auto; }
  .brand .num { font-family: var(--font-en-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--accent); }
  .brand .name { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; line-height: 1.2; }
  nav.main { display: flex; gap: 2px; margin-left: auto; align-items: center; }
  nav.main > a, nav.main .dd > button { color: var(--ink); text-decoration: none; padding: 8px 11px; border-radius: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; background: transparent; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
  nav.main > a:hover, nav.main .dd > button:hover, nav.main > a[aria-current="page"] { background: var(--surface-2); }
  nav.main .dd { position: relative; }
  nav.main .dd > button svg { width: 12px; height: 12px; }
  nav.main .dd .menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 8px; z-index: 50; }
  nav.main .dd.open .menu { display: grid; gap: 2px; }
  nav.main .dd .menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
  nav.main .dd .menu a:hover, nav.main .dd .menu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
  nav.main .dd .menu a .ext { color: var(--muted); font-size: 12px; margin-left: 4px; }
  nav.main .dd .menu .grp { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding: 8px 12px 2px; font-weight: 700; }
  .lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
  .lang button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 15px; padding: 6px 13px; border-radius: 999px; cursor: pointer; font-family: var(--font-ko-body); white-space: nowrap; }
  .lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
  .call { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 10px 16px; border-radius: 8px; font-weight: 700; white-space: nowrap; }
  .call:hover { filter: brightness(1.08); }
  .menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
  @media (max-width: 1180px) { .brand .name { display: none; } }
  @media (max-width: 1080px) {
    nav.main { display: none; width: 100%; order: 10; flex-direction: column; align-items: stretch; padding-top: 8px; border-top: 1px solid var(--line); }
    nav.main.open { display: flex; }
    nav.main .dd { width: 100%; }
    nav.main .dd > button { width: 100%; justify-content: space-between; }
    nav.main .dd .menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; }
    .menu-btn { display: inline-block; margin-left: auto; }
    .topbar { flex-wrap: wrap; gap: 10px; }
    .call .txt { display: none; }
    .brand .name { display: block; }
  }

  /* agent banner (from the original header) */
  .agentbar { background: var(--surface); border-bottom: 1px solid var(--line); }
  .agentbar .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 16px 0; }
  .agentbar img.photo { width: 84px; height: 84px; object-fit: cover; object-position: top; border-radius: 12px; }
  .agentbar img.logo { height: 56px; width: auto; }
  .agentbar .t1 { font-family: var(--display); font-size: 22px; font-weight: 600; }
  .agentbar .t2 { color: var(--ink-2); font-size: 15px; }
  .agentbar .t3 { color: var(--muted); font-size: 14px; }
  @media (max-width: 700px) { .agentbar .wrap { grid-template-columns: auto 1fr; gap: 14px; } .agentbar img.logo { display: none; } .agentbar .t1 { font-size: 17px; } .agentbar .t2, .agentbar .t3 { font-size: 13px; } .agentbar img.photo { width: 64px; height: 64px; } .slider .cap { font-size: 16px; padding: 30px 16px 14px; } }

  /* slider */
  .slider { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface-2); aspect-ratio: 21 / 8; margin-top: 28px; }
  @media (max-width: 700px) { .slider { aspect-ratio: 4 / 3; } }
  .slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
  .slider img.on { opacity: 1; }
  .slider .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 16px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; font-family: var(--font-en-display); font-size: 22px; }
  .slider .ctl { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #182119; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
  .slider .ctl.prev { left: 14px; } .slider .ctl.next { right: 14px; }
  .slider .dots { position: absolute; bottom: 14px; right: 18px; display: flex; gap: 6px; }
  .slider .dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
  .slider .dots button[aria-current="true"] { background: #fff; }

  /* hero */
  .hero { padding: 48px 0 40px; }
  .hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
  @media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
  .hero h1 { font-size: clamp(36px, 5.2vw, 60px); margin: 14px 0 20px; }
  .hero h1 em { font-style: italic; color: var(--accent); }
  :root[data-lang="ko"] .hero h1 em { font-style: normal; }
  .hero .lede { font-size: 20px; color: var(--ink-2); margin-bottom: 26px; max-width: 62ch; }
  .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 17px; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
  .btn.primary { background: var(--accent); color: var(--accent-ink); }
  .btn.primary:hover { filter: brightness(1.08); }
  .btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
  .btn.ghost:hover { background: var(--accent-soft); }
  .btn.small { padding: 9px 14px; font-size: 15px; }
  .hero-grid.hero-full { grid-template-columns: 1fr; }
  .hero-full .lede { max-width: none; }
  .pun { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; box-shadow: var(--shadow); }
  .pun .big { font-family: var(--font-en-display); font-size: clamp(56px, 8vw, 88px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
  .pun .ko-read { font-family: var(--font-ko-display); font-size: 28px; font-weight: 700; margin-top: 6px; }
  .pun .gloss { color: var(--muted); margin-top: 8px; font-size: 16px; }
  .stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat { padding: 18px 18px 18px 0; border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
  .stat + .stat { padding-left: 18px; }
  .stat .v { font-family: var(--font-en-display); font-size: 32px; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.1; }
  .stat .l { color: var(--muted); font-size: 15px; margin-top: 4px; }
  @media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } .stat:last-child { border-bottom: 0; } }

  /* cards */
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  @media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
  @media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
  .card h3 { font-size: 23px; }
  .card p { color: var(--ink-2); font-size: 17px; }
  .card.pic { padding: 0; overflow: hidden; }
  .card.pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .card.pic .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .card .glyph { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-en-display); font-size: 22px; font-weight: 600; }
  a.card { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
  a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  a.card .go, .card .go { margin-top: auto; color: var(--accent); font-weight: 700; font-size: 16px; }

  /* pledge */
  .pledge-grid { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
  @media (max-width: 760px) { .pledge-grid { grid-template-columns: 1fr; } }
  .pledge-grid img { border-radius: 14px; width: 100%; }
  blockquote.pledge { margin: 0; padding: 22px 26px; border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 12px 12px 0; font-family: var(--display); font-size: 21px; line-height: 1.5; }
  blockquote.pledge footer { font-family: var(--body); font-size: 15px; color: var(--muted); margin-top: 10px; }

  /* facts table */
  .facts { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .facts h3 { font-size: 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
  .facts table { width: 100%; border-collapse: collapse; font-size: 17px; }
  .facts td { padding: 12px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .facts tr:last-child td { border-bottom: 0; }
  .facts td:first-child { color: var(--muted); width: 42%; }
  .facts td:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
  .facts .note { padding: 12px 22px 16px; font-size: 14px; color: var(--muted); }
  .amen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .amen span { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }

  /* tools / forms */
  .tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
  .tabs button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 17px; padding: 12px 16px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
  .tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
  .tool { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
  @media (max-width: 800px) { .tool { grid-template-columns: 1fr; } }
  .tool[hidden] { display: none; }
  .field { display: grid; gap: 6px; margin-bottom: 14px; }
  .field label { font-weight: 600; font-size: 16px; }
  .field input, .field select, .field textarea { font: inherit; font-size: 17px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
  .field .hint { color: var(--muted); font-size: 14px; }
  .field.check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
  .field.check input { width: 20px; height: 20px; margin-top: 4px; }
  .field.check label { font-weight: 400; font-size: 15px; color: var(--ink-2); }
  .result { background: var(--accent-soft); border-radius: 12px; padding: 24px; display: grid; gap: 12px; align-content: start; align-self: start; }
  .result .big { font-family: var(--font-en-display); font-size: clamp(40px, 5vw, 54px); font-weight: 600; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
  .result .row { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); padding-top: 10px; }
  .result .row b { font-variant-numeric: tabular-nums; }
  .result .lbl { color: var(--ink-2); font-size: 15px; }
  .verdict { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 16px; }
  .verdict.ok { background: var(--ok-bg); color: var(--ok-fg); }
  .verdict.no { background: var(--no-bg); color: var(--no-fg); }
  .checks { display: grid; gap: 8px; font-size: 16px; }
  .checks div { display: flex; gap: 10px; align-items: baseline; }
  .checks .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 2px; background: var(--muted); }
  .checks .dot.ok { background: var(--ok-dot); }
  .checks .dot.no { background: var(--no-dot); }
  form.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
  form.panel .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  form.panel .three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
  @media (max-width: 560px) { form.panel .two, form.panel .three { grid-template-columns: 1fr; } }
  .sent { margin-top: 14px; color: var(--accent); font-weight: 600; }
  .sched { overflow: auto; max-height: 520px; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .sched:empty { display: none; }
  .sched table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
  .sched th, .sched td { text-align: right; padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .sched th:first-child, .sched td:first-child { text-align: left; }
  .sched th { color: var(--muted); font-weight: 600; position: sticky; top: 0; background: var(--surface); }
  .sched tr.year td { background: var(--surface-2); font-weight: 700; }
  .reports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 900px) { .reports { grid-template-columns: 1fr; } }
  .reports .grp { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
  .reports .grp h3 { font-size: 20px; margin-bottom: 10px; }
  .reports label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); padding: 5px 0; cursor: pointer; }
  .reports input { margin-top: 4px; }

  /* videos */
  .videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  @media (max-width: 900px) { .videos { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }
  a.video { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-decoration: none; color: var(--ink); }
  a.video:hover { border-color: var(--accent); }
  a.video .play { width: 44px; height: 31px; border-radius: 9px; background: #FF0000; color: #FFFFFF; display: grid; place-items: center; }
  a.video:hover .play { background: #CC0000; }
  a.video .play svg { margin-left: 3px; }
  a.video .t { font-weight: 700; font-size: 16px; line-height: 1.3; }
  a.video .s { color: var(--muted); font-size: 13px; }

  /* guide (seller / buyer) */
  .guide { display: grid; gap: 28px; }
  .step { display: grid; grid-template-columns: 300px 1fr; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; align-items: start; }
  .step img { width: 100%; border-radius: 10px; }
  .step h2 { font-size: 26px; margin-bottom: 12px; }
  .step .prose { max-width: none; }
  .step .prose p { font-size: 17px; }
  @media (max-width: 760px) { .step { grid-template-columns: 1fr; } }

  /* about */
  .vitae { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; font-size: 16px; }
  .vitae h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-family: var(--font-en-body); margin: 18px 0 8px; font-weight: 700; }
  .vitae h3:first-child { margin-top: 0; }
  .vitae ul { margin: 0; padding-left: 20px; }
  .vitae li { margin-bottom: 5px; color: var(--ink-2); }
  .creds { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
  .creds div { padding: 14px 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: 16px; }
  .creds div:last-child { border-bottom: 0; }
  .creds dt { color: var(--muted); font-weight: 600; }
  .creds dd { margin: 0; }
  @media (max-width: 480px) { .creds div { grid-template-columns: 1fr; gap: 4px; } }
  .poem { columns: 2; column-gap: 40px; font-family: var(--font-ko-display); font-size: 18px; line-height: 1.9; }
  .poem p { break-inside: avoid; margin-bottom: 22px; white-space: pre-line; }
  .poem p b { display: block; color: var(--gold); font-family: var(--font-ko-body); font-size: 14px; letter-spacing: .1em; }
  @media (max-width: 700px) { .poem { columns: 1; } }
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
  @media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
  .linklist { display: grid; gap: 8px; }
  .linklist a { display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
  .linklist a:hover { border-color: var(--accent); color: var(--accent); }
  .linklist a .ext { color: var(--muted); font-weight: 400; font-size: 14px; margin-left: auto; }

  /* contact */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
  @media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
  .contact-list { display: grid; gap: 16px; font-size: 18px; }
  .contact-list > div:not(.social) { display: grid; gap: 2px; }
  .contact-list .k { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-family: var(--font-en-body); }
  .contact-list a { font-weight: 600; }
  .social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
  .social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 600; color: var(--ink); background: var(--surface); }
  .social a img { width: 28px; height: 28px; border-radius: 6px; }
  .social a:hover { border-color: var(--accent); color: var(--accent); }

  /* faq + chips + survey */
  .faq { max-width: 820px; display: grid; gap: 8px; }
  .faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
  .faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: '+'; color: var(--gold); font-size: 22px; font-family: var(--font-en-display); flex: none; }
  .faq details[open] summary::after { content: '−'; }
  .faq .a { padding: 0 0 18px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .chips button { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .chips button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
  .mutuals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  @media (max-width: 900px) { .mutuals { grid-template-columns: 1fr; } }
  .mutuals .card ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
  .mutuals .card li { margin-bottom: 6px; }
  .radios { display: grid; gap: 6px; }
  .radios label { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--ink-2); font-weight: 400; }
  .radios input { margin-top: 5px; }
  .survey h3 { font-size: 20px; margin: 22px 0 10px; }
  .survey h3:first-child { margin-top: 0; }

  footer.site { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
  footer.site .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
  footer.site .links { display: flex; gap: 16px; flex-wrap: wrap; }
  footer.site a { color: var(--muted); }
  .eho { display: inline-flex; align-items: center; gap: 8px; }

  .mapsearch-frame { display: block; width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
  @media (max-width: 700px) { .mapsearch-frame { height: 620px; } }

  /* Simple search panel (homepage) */
  .searchpanel { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 24px; }
  .sp-head h2 { font-size: 28px; margin-top: 6px; }
  .sp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
  .sp-tab { font: inherit; font-size: 18px; font-weight: 700; padding: 16px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; min-height: 60px; }
  .sp-tab:hover { border-color: var(--accent); }
  .sp-tab.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .sp-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
  .sp-type { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg); }
  .sp-type-name { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--accent); }
  .sp-type-name small { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 6px; }
  .sp-type ul { margin: 8px 0 0; padding-left: 20px; font-size: 16px; color: var(--ink-2); }
  .sp-type li { margin: 2px 0; }
  .sp-tip { font-size: 17px; margin: 0 0 12px; }
  @media (max-width: 560px) { .searchpanel { padding: 16px; } .sp-tabs, .sp-types { grid-template-columns: 1fr; } .sp-tab { font-size: 17px; } }

  /* Village guide cards */
  .guide-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
  .guide-card .gc-name { font-family: var(--font-en-display); font-size: 24px; font-weight: 600; color: var(--accent); }
  .guide-card h3 { font-size: 19px; }
  .guide-card p { color: var(--ink-2); margin: 0; flex: 1; }
  .guide-card .gc-go { font-weight: 700; color: var(--accent); margin-top: 8px; }

  /* 3-button search row */
  .sp-tabs { grid-template-columns: repeat(3, 1fr); }
  .sp-tab { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; text-align: left; line-height: 1.25; }
  .sp-tab svg { flex: none; }
  .sp-tab.sp-link { background: #fff8e6; border-color: #c8a24a; color: #6b4e12; }
  .sp-tab.sp-link:hover { border-color: #a27f2c; background: #fbefcf; }
  @media (max-width: 760px) { .sp-tabs { grid-template-columns: 1fr; } .sp-tab { justify-content: flex-start; padding-left: 20px; } }

  /* guide card images */
  .guide-card { padding: 0; overflow: hidden; }
  .guide-card > :not(.gc-img) { margin-left: 22px; margin-right: 22px; }
  .guide-card .gc-name { margin-top: 16px; }
  .guide-card .gc-go { margin-bottom: 20px; }
  .gc-img { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
  .gc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .gc-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 12px; background: #FF0000; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
  .gc-play svg { margin-left: 3px; }
  .gc-img { overflow: hidden; flex: none; }
  .gc-img img { position: absolute; inset: 0; }

  /* Listing carousels */
  .listings .lc-row + .lc-row { margin-top: 40px; }
  .lc-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; margin-bottom: 14px; }
  .lc-head h3 { font-size: clamp(22px, 2.6vw, 28px); grid-column: 1; }
  .lc-head p { margin: 0; color: var(--muted); grid-column: 1; }
  .lc-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
  .lc-nav button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
  .lc-nav button:hover { border-color: var(--accent); color: var(--accent); }
  .lc-track { list-style: none; margin: 0; padding: 4px 2px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; }
  .lc-track li { scroll-snap-align: start; }
  .lc-card { width: 100%; display: block; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; cursor: pointer; font: inherit; color: var(--ink); transition: box-shadow .4s ease, transform .4s ease; }
  .lc-card:hover, .lc-card:focus-visible { box-shadow: var(--shadow); transform: translateY(-2px); }
  .lc-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
  .lc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .lc-city { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: #182119; font-weight: 700; font-size: 14px; padding: 3px 10px; border-radius: 999px; }
  .lc-sample { position: absolute; right: 10px; top: 10px; background: #8a2f2a; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; }
  .lc-body { display: grid; gap: 2px; padding: 12px 14px 14px; }
  .lc-price { font-family: var(--font-en-display); font-size: 24px; font-weight: 600; color: var(--accent); }
  .lc-facts { font-size: 16px; font-weight: 600; }
  .lc-addr { font-size: 15px; color: var(--muted); }
  .lc-note { margin: 24px 0 0; font-size: 14px; color: var(--muted); }
  @media (max-width: 700px) { .lc-track { grid-auto-columns: 78%; } .lc-nav button { width: 46px; height: 46px; } }

  .listing-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
  .listing-dialog::backdrop { background: rgba(10, 20, 15, .55); }
  .ld-close { position: absolute; right: 12px; top: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #182119; font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
  .ld-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .ld-body { padding: 18px 22px 22px; }
  .ld-sample { background: #fbeceb; color: #8a2f2a; font-weight: 700; padding: 8px 12px; border-radius: 8px; margin: 0 0 10px; font-size: 15px; }
  .ld-price { font-family: var(--font-en-display); font-size: 34px; font-weight: 600; color: var(--accent); line-height: 1.1; }
  .ld-addr { font-size: 19px; margin-top: 4px; }
  .ld-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 10px; }
  .ld-facts div { background: var(--bg); border-radius: 10px; padding: 10px; text-align: center; }
  .ld-facts b { display: block; font-size: 24px; }
  .ld-type { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
  .ld-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .ld-office { margin-top: 14px; font-size: 14px; color: var(--muted); }

  /* attached brand images */
  .gc-logo img { object-fit: contain; }
  .gc-komerica { background: radial-gradient(circle at center, #c9d48f 0%, #6f8048 60%, #46562e 100%); }
  .gc-komerica img { padding: 6px; }
  .gc-tv { background: linear-gradient(135deg, #1b2b3a, #3a5568); }
  .gc-tv img { position: absolute; inset: auto; left: 50%; top: 50%; width: 46%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 18px; box-shadow: 0 6px 20px rgba(0,0,0,.4); object-fit: cover; }
  .gc-tv .gc-play { left: auto; top: auto; right: 14px; bottom: 14px; transform: none; width: 54px; height: 38px; border-radius: 10px; }
  .guide-banner { display: block; margin: 0 0 22px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
  .guide-banner img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
  .guide-banner:hover img { transform: scale(1.015); }
  .sp-cities { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 16 / 5; }
  .sp-cities img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
  .sp-cities > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 12px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-family: var(--font-en-display); font-size: clamp(18px, 2.4vw, 26px); }
  @media (max-width: 560px) { .sp-cities { aspect-ratio: 16 / 8; } }

  /* KoMeRiCa bookshelf */
  .bookshelf { margin-top: 32px; padding: 24px; border-radius: 14px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); }
  .bs-head h3 { font-size: 24px; }
  .bs-head p { margin: 4px 0 18px; color: var(--muted); }
  .bs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .book { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); }
  .book img { width: 100%; max-width: 220px; aspect-ratio: 430 / 550; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: -3px 0 0 rgba(0,0,0,.08), 0 10px 24px rgba(0,0,0,.22); transition: transform .4s ease; }
  .book:hover img { transform: translateY(-4px) rotate(-1deg); }
  .book-t { margin-top: 14px; font-family: var(--font-en-display); font-size: 19px; font-weight: 600; color: var(--accent); }
  .book-s { font-size: 15px; color: var(--muted); max-width: 260px; flex: 1; }
  .book { height: 100%; }
  @media (max-width: 640px) { .bs-row { grid-template-columns: 1fr 1fr; gap: 16px; } .bs-row .book:last-child { grid-column: 1 / -1; } .book img { max-width: 150px; } }

  /* Start here videos */
  .sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .sh-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
  .yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #1b2320; cursor: pointer; overflow: hidden; }
  .yt-lite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .yt-lite:hover img { transform: scale(1.03); }
  .yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 12px; background: #FF0000; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
  .yt-play svg { margin-left: 3px; }
  .yt-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.78); color: #fff; font-size: 15px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
  .yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
  .sh-body { padding: 30px 20px 20px; position: relative; }
  .sh-step { position: absolute; left: 18px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 20px; border: 3px solid var(--surface); }
  .sh-body h3 { font-size: 21px; }
  .sh-title { font-weight: 700; color: var(--accent); margin: 4px 0; }
  .sh-body p { margin: 4px 0; }
  .sh-date { font-size: 14px; color: var(--muted); }
  .sh-meet { margin-top: 24px; display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
  .yt-small { border-radius: 10px; }
  .sh-meet .yt-frame { border-radius: 10px; }
  .sh-meet-body h3 { font-size: 24px; }
  .sh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
  .sh-more { font-size: 16px; }
  .sh-note { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
  @media (max-width: 900px) { .sh-grid { grid-template-columns: 1fr; } .sh-meet { grid-template-columns: 1fr; } }
  .book-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin-top: 10px; }
  .book-link { font: inherit; font-size: 15px; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .book-link:hover { color: var(--ink); }
  .video-dialog { width: min(900px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 14px; background: #000; color: #fff; }
  .video-dialog::backdrop { background: rgba(0,0,0,.75); }
  .vd-frame .yt-frame { border-radius: 14px 14px 0 0; }
  .vd-title { margin: 0; padding: 12px 18px; font-weight: 700; }
  .gc-logo { background: var(--surface); }
  .gc-logo img { object-fit: contain; padding: 8px; }

/* ---------- hero call-to-action + mobile bar ---------- */
.slider .cap { top: 14px; bottom: auto; left: 14px; right: auto; width: auto; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.45); font-size: 16px; }
.hero-cta { position: absolute; left: 24px; bottom: 28px; z-index: 3; display: flex; gap: 12px; flex-wrap: wrap; }
.btn.big { padding: 16px 28px; font-size: 20px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.btn.light { background: #fff; color: #182119; }
.btn.light:hover { filter: brightness(.96); }
.slider .dots { bottom: 18px; }
.mobbar { display: none; }
@media (max-width: 700px) {
  .hero-cta { left: 12px; right: 12px; bottom: 44px; gap: 8px; }
  .btn.big { flex: 1; justify-content: center; padding: 13px 10px; font-size: 17px; }
  .slider .cap { font-size: 13px; padding: 6px 10px; }
  .mobbar { display: grid; grid-template-columns: 1.4fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .mobbar a { padding: 15px 8px; text-align: center; font-weight: 800; font-size: 17px; text-decoration: none; color: var(--accent); }
  .mobbar a:first-child { background: var(--accent); color: var(--accent-ink); }
  body { padding-bottom: 54px; }
}
@media (max-width: 700px) {
  .slider .ctl { display: none; }
  .btn.big { text-align: center; font-size: 16px; white-space: nowrap; }
  .hero-cta { bottom: 40px; }
}
/* ---------- Village life gallery ---------- */
.lg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lg-item { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.lg-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.lg-item:hover img { transform: scale(1.04); }
.lg-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-weight: 700; font-size: 17px; }
@media (max-width: 900px) { .lg-grid { grid-template-columns: repeat(2, 1fr); } }
/* phone: buttons sit under the photo instead of covering it */
@media (max-width: 700px) {
  .slider { aspect-ratio: auto; height: 340px; background: var(--surface); }
  .slider img { inset: 0 0 66px 0; height: calc(100% - 66px); border-radius: 16px 16px 0 0; }
  .hero-cta { bottom: 10px; }
  .slider .dots { bottom: 76px; }
}
/* ---------- brand: two lines, site name in purple ---------- */
.brand { flex-direction: column; align-items: flex-start; gap: 3px; }
.brand .site { font-family: var(--font-en-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; color: #6a2c91; }
.brand .name { font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.2; white-space: nowrap; }
@media (max-width: 1180px) { .brand .name { display: block; font-size: 12px; } .brand .site { font-size: 21px; } }
@media (max-width: 700px) { .brand .site { font-size: 19px; } .brand .name { font-size: 11px; } }
/* ---------- IDX fallback box ---------- */
.idx-fallback { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; max-width: 760px; }
.idx-fallback p { font-size: 18px; margin: 0 0 14px; }
.idx-fallback .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
