/* =========================================================
   SOLRICH Inc. — site styles
   Institutional advisory tone: deep charcoal, warm ivory,
   muted gold. Serif display, quiet sans body.
   Web fonts with system fallbacks: Cormorant Garamond (English
   display), Noto Serif KR (Korean display), Pretendard + Inter
   (body). Inline SVG and one local hero photograph.
   ========================================================= */

:root {
  /* core palette */
  --ink: #121417;
  --ink-soft: #191c20;
  --ink-lift: #202429;
  --ivory: #f8f7f4;
  --ivory-2: #f1efe9;
  --white: #ffffff;
  --gold: #b8860b;
  --gold-lift: #c99a3e;

  /* text */
  --text: #1b1e22;
  --muted: #5d626a;
  --muted-2: #8b8f96;
  --on-dark: #f3f0e9;
  --on-dark-muted: rgba(243, 240, 233, 0.66);
  --on-dark-faint: rgba(243, 240, 233, 0.44);

  /* lines */
  --line: rgba(18, 20, 23, 0.13);
  --line-soft: rgba(18, 20, 23, 0.08);
  --line-dark: rgba(243, 240, 233, 0.16);
  --line-dark-soft: rgba(243, 240, 233, 0.09);

  /* type — web fonts first, system stacks as fallback */
  /* display serif: Cormorant for Latin, Noto Serif KR for Hangul */
  --serif: "Cormorant Garamond", "EB Garamond", "Noto Serif KR", "Nanum Myeongjo",
    "AppleMyeongjo", "Batang", Georgia, "Times New Roman", serif;
  /* body sans: Pretendard covers Korean and Latin, Inter for Latin */
  --sans: "Pretendard Variable", "Pretendard", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1220px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.002em;
  line-height: 1.16;
}

p { margin: 0; }

ul { margin: 0; }

.muted { color: var(--muted-2); }

.num {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.015em;
  font-weight: 600;
  font-size: 1.14em;
  color: var(--text);
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 200;
  background: var(--ink);
  color: var(--ivory);
  padding: 10px 18px;
  font-size: 0.85rem;
}
.skip:focus { left: 16px; }

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

/* section label — numbered, letterspaced */
.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.label::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.label .idx { font-family: var(--mono); letter-spacing: 0.08em; opacity: 0.8; }
.section--dark .label { color: var(--gold-lift); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--ink {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.btn--ink:hover { background: var(--ink-lift); border-color: var(--ink-lift); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 20, 23, 0.28);
}
.btn--outline:hover { border-color: var(--ink); background: rgba(18, 20, 23, 0.04); }
.btn--ghost-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(243, 240, 233, 0.4);
}
.btn--ghost-dark:hover { border-color: var(--on-dark); background: rgba(243, 240, 233, 0.08); }
.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-lift); border-color: var(--gold-lift); }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: 0.7rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.textlink::after { content: "→"; transition: transform 0.25s var(--ease); }
.textlink:hover { border-bottom-color: currentColor; }
.textlink:hover::after { transform: translateX(4px); }
.section--dark .textlink { color: var(--gold-lift); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--on-dark);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(18, 20, 23, 0.62), rgba(18, 20, 23, 0));
}
.site-header.is-solid {
  background: rgba(248, 247, 244, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.nav a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.nav a:hover { opacity: 1; border-bottom-color: currentColor; }
.nav .nav-cta { display: none; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
}
.header-cta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.header-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* language toggle: EN | KR */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.lang-btn {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  padding: 5px 9px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-btn + .lang-btn { border-left: 1px solid currentColor; }
.lang-btn:hover { opacity: 0.85; }
.lang-btn.is-active { opacity: 1; color: var(--gold-lift); }
.site-header.is-solid .lang-btn.is-active { color: var(--gold); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: none;
  cursor: pointer;
  padding: 10px 9px;
  color: inherit;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 4px 0;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding: calc(var(--header-h) + 64px) 0 42px;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero > .wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* CSS fallback if the photograph fails to load */
  background:
    radial-gradient(1100px 620px at 72% 32%, rgba(201, 154, 62, 0.34), transparent 68%),
    linear-gradient(150deg, #1b1e22 0%, #121417 46%, #2a2418 100%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 52%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 20, 23, 0.86) 0%, rgba(18, 20, 23, 0.34) 26%, rgba(18, 20, 23, 0.42) 62%, rgba(18, 20, 23, 0.94) 100%),
    radial-gradient(90% 70% at 50% 46%, rgba(18, 20, 23, 0.55), rgba(18, 20, 23, 0.1) 72%);
}
.hero-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
}
.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-lift);
  margin-bottom: 32px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 28px;
  color: #fbf9f4;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}
.hero-word {
  display: block;
  font-size: clamp(3.6rem, 11vw, 9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
}
.hero-rule {
  display: block;
  width: 58px;
  height: 1px;
  background: var(--gold-lift);
  margin: 30px auto;
  opacity: 0.85;
}
.hero-sub {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(251, 249, 244, 0.92);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.55;
}
.hero-lede {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--on-dark-muted);
  font-size: 1rem;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 42px;
}
.hero-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  margin: 40px 0 0;
}
.hero-facts div {
  padding: 24px 0 0;
  text-align: center;
}
.hero-facts div + div { border-left: 1px solid var(--line-dark); }
.hero-facts dt {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lift);
  margin-bottom: 6px;
}
.hero-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: rgba(251, 249, 244, 0.9);
}

/* ---------- sections ---------- */
section[id], div[id="top"] { scroll-margin-top: calc(var(--header-h) + 10px); }

.section { padding: 116px 0; }
.section--light { background: var(--ivory); color: var(--text); }
.section--alt { background: var(--ivory-2); color: var(--text); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fbf9f4; }
.section--dark p { color: var(--on-dark-muted); }

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(2.1rem, 3.3vw, 3.05rem);
  margin-bottom: 22px;
}
.section-lede {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 66ch;
}
.section--dark .section-lede { color: var(--on-dark-muted); }

.section-head--split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 64px;
  max-width: none;
  align-items: end;
  margin-bottom: 66px;
}
.section-head--split .section-lede { max-width: 44ch; }

/* ---------- expertise ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.expertise {
  padding: 40px 44px 0 0;
}
.expertise + .expertise {
  border-left: 1px solid var(--line);
  padding-left: 44px;
}
.expertise-idx {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 22px;
}
.expertise h3 {
  font-size: 1.68rem;
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 20ch;
}
.expertise > p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 26px;
}
.tick {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}
.tick li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}
.tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- architecture ---------- */
.arch {
  border: 1px solid var(--line-dark);
  background: rgba(243, 240, 233, 0.022);
  padding: 32px 34px 34px;
}
.arch-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line-dark-soft);
  flex-wrap: wrap;
}
.arch-top h3 {
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--on-dark);
}
.arch-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.arch-flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
}
.arch-node {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(243, 240, 233, 0.05), rgba(243, 240, 233, 0.012));
}
.arch-node .node-step {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold-lift);
  margin-bottom: 14px;
}
.arch-node h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--on-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.arch-node p {
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--on-dark-faint);
}
.arch-arrow {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: var(--gold-lift);
  font-size: 1.05rem;
  opacity: 0.95;
}
.arch-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line-dark-soft);
}
.arch-strip div {
  padding: 20px 22px 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.arch-strip div + div {
  border-left: 1px solid var(--line-dark-soft);
  padding-left: 22px;
}
.arch-strip strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 7px;
}

.preview-head {
  margin: 88px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  flex-wrap: wrap;
}
.preview-head h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.preview-head p {
  font-size: 0.94rem;
  max-width: 52ch;
  line-height: 1.8;
  color: var(--on-dark-muted);
}

/* ---------- dashboard preview ---------- */
.dash {
  border: 1px solid rgba(18, 20, 23, 0.16);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, 0.85);
}
.dash-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: #f4f2ed;
  border-bottom: 1px solid var(--line-soft);
}
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(18, 20, 23, 0.18);
}
.dash-url {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  padding: 3px 12px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  flex: 0 1 auto;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-tag {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.dash-body { display: grid; grid-template-columns: 218px 1fr; min-height: 520px; }
.dash-side {
  background: var(--ink);
  color: var(--on-dark);
  padding: 24px 0 20px;
  display: flex;
  flex-direction: column;
}
.side-logo {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0 22px 24px;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark-soft);
  margin-bottom: 18px;
}
.side-logo em {
  font-style: normal;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.side-nav { display: flex; flex-direction: column; }
.side-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-left: 2px solid transparent;
  color: var(--on-dark-muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.035em;
  padding: 10px 22px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.side-item:hover { color: var(--on-dark); background: rgba(243, 240, 233, 0.04); }
.side-item.is-active {
  color: var(--gold-lift);
  border-left-color: var(--gold);
  background: rgba(201, 154, 62, 0.09);
}
.side-foot {
  margin-top: auto;
  padding: 22px 22px 0;
  border-top: 1px solid var(--line-dark-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-faint);
}
.dot-live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-lift);
}

.dash-main { padding: 26px 30px 30px; min-width: 0; }

.dash-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0 0 13px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.panel-title h4 {
  font-family: var(--serif);
  font-size: 1.24rem;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.panel-title span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.kpi { padding: 18px 20px 20px 0; min-width: 0; }
.kpi + .kpi { border-left: 1px solid var(--line-soft); padding-left: 20px; }
.kpi-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-value {
  display: block;
  font-family: var(--serif);
  font-size: 1.72rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
  margin-bottom: 7px;
}
.kpi-note {
  display: block;
  font-size: 0.79rem;
  line-height: 1.45;
  letter-spacing: 0.012em;
  color: var(--muted);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1;
}
.kpi-note.up { color: var(--gold); }
.kpi-note .num { color: inherit; font-size: 1.12em; letter-spacing: 0.02em; }

.dash-grid {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.dash-card { padding: 22px 24px; min-width: 0; }
.dash-grid .dash-card + .dash-card { border-left: 1px solid var(--line); }
.dash-grid + .dash-card { border: 1px solid var(--line); }
.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.dash-card-head h4 {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.chip-gold { color: var(--gold); border-color: rgba(184, 134, 11, 0.4); }

.chart-wrap { display: flex; gap: 14px; }
.chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--muted-2);
  padding: 0 0 24px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.chart-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 168px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.chart-bars.dense { gap: 5px; }
.cb {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  gap: 8px;
}
.cb > span {
  width: 100%;
  height: var(--h);
  display: block;
  background: linear-gradient(180deg, #2b3036 0%, #121417 100%);
  margin-top: auto;
}
.cb > span.is-peak { background: linear-gradient(180deg, var(--gold-lift) 0%, var(--gold) 100%); }
.cb em {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.meters { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.meters li {
  display: grid;
  grid-template-columns: 1fr 78px 40px;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
}
.meters li > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meters i {
  display: block;
  height: 3px;
  background: var(--line-soft);
  overflow: hidden;
}
.meters b { display: block; height: 100%; width: var(--w); background: var(--ink); }
.meters b.w-gold { background: var(--gold); }
.meters em {
  font-style: normal;
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
}
.dash-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.6;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th {
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 0 14px 11px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(18, 20, 23, 0.022); }
td:first-child { color: var(--text); }
td.pos { color: var(--gold); }

.pill {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid;
  border-radius: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill.ok { color: var(--gold); border-color: rgba(184, 134, 11, 0.4); }
.pill.warn { color: #8a5a12; border-color: rgba(138, 90, 18, 0.34); background: rgba(184, 134, 11, 0.08); }

.area-chart { position: relative; }
.area-chart svg { width: 100%; height: 190px; display: block; }
.grid-lines line { stroke: rgba(18, 20, 23, 0.08); stroke-width: 1; }
.area-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  padding-top: 8px;
}

.dash-caption {
  margin-top: 20px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--on-dark-faint);
}

/* ---------- insights ---------- */
.insight-list { border-top: 1px solid var(--line); }
.insight {
  display: grid;
  grid-template-columns: 168px 1fr 130px;
  gap: 40px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.insight:hover { background: rgba(18, 20, 23, 0.018); }
.insight-meta { display: flex; flex-direction: column; gap: 6px; }
.insight-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.insight-kind {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.insight h3 {
  font-size: 1.48rem;
  line-height: 1.32;
  margin-bottom: 12px;
  max-width: 30ch;
}
.insight p {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}
.insight-side {
  text-align: right;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 6px;
}
.insight-note {
  margin-top: 26px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(2.1rem, 3.2vw, 2.95rem); margin-bottom: 26px; }
.about-copy p {
  color: var(--on-dark-muted);
  font-size: 0.99rem;
  line-height: 1.9;
  margin-bottom: 18px;
}
.about-copy p strong { color: var(--on-dark); font-weight: 600; }
.about-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.about-mail {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 3px;
}
.about-mail:hover { color: var(--on-dark); border-bottom-color: var(--on-dark); }

.facts-card {
  border: 1px solid var(--line-dark);
  padding: 34px 32px;
  background: rgba(243, 240, 233, 0.022);
}
.facts-card h3 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lift);
  margin-bottom: 26px;
}
.facts-card dl { margin: 0; display: grid; gap: 20px; }
.facts-card dl > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark-soft);
}
.facts-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  line-height: 1.7;
}
.facts-card dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--on-dark);
}
.facts-card dd a { border-bottom: 1px solid var(--line-dark); }
.facts-card dd a:hover { border-bottom-color: var(--gold-lift); color: var(--gold-lift); }

/* ---------- early access ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 80px;
  align-items: start;
}
.access-copy h2 { font-size: clamp(2.1rem, 3.2vw, 2.95rem); margin-bottom: 24px; }
.access-copy .section-lede { margin-bottom: 34px; }
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.form-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 40px 38px;
  box-shadow: 0 40px 80px -68px rgba(18, 20, 23, 0.6);
}
.form-card h3 {
  font-size: 1.28rem;
  margin-bottom: 6px;
}
.form-card .form-intro {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-bottom: 26px;
  line-height: 1.6;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input {
  width: 100%;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease);
}
.field input::placeholder { color: #b3b0a9; }
.field input:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field.has-error input { border-bottom-color: #a4402f; }
.field-error {
  margin-top: 7px;
  font-size: 0.76rem;
  color: #a4402f;
  line-height: 1.5;
}
.form-note {
  margin-top: 20px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--muted-2);
}
.form-note a {
  color: var(--text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.form-note a:hover { color: var(--gold); }

.form-success { text-align: left; padding: 6px 0 2px; }
.success-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 20px;
}
.success-icon svg { width: 20px; height: 20px; }
.form-success h3 { margin-bottom: 12px; font-size: 1.3rem; }
.form-success p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.success-ref {
  font-family: var(--mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  color: var(--muted-2) !important;
  margin-top: 12px;
}
.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 76px 0 40px;
  border-top: 1px solid var(--line-dark-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark-soft);
}
.footer-brandname {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  color: #fbf9f4;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
  max-width: 34ch;
  line-height: 1.7;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lift);
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  font-size: 0.84rem;
  color: var(--on-dark-muted);
  padding: 5px 0;
  transition: color 0.2s var(--ease);
}
.footer-cols a:hover { color: var(--on-dark); }

.footer-legal {
  padding-top: 30px;
  font-size: 0.74rem;
  line-height: 1.9;
  color: var(--on-dark-faint);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.footer-legal .legal-entity {
  color: var(--on-dark-muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.footer-legal p { color: var(--on-dark-faint); }
.copyright { margin-top: 10px; }

/* ---------- Korean typography ---------- */
html[lang="ko"] body { font-size: 16px; line-height: 1.78; }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] h4 {
  line-height: 1.42;
  letter-spacing: -0.008em;
}
html[lang="ko"] .hero-word {
  font-family: var(--serif);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}
html[lang="ko"] .hero-sub { line-height: 1.6; letter-spacing: 0.01em; }
html[lang="ko"] .label { letter-spacing: 0.2em; }
html[lang="ko"] .nav a,
html[lang="ko"] .btn,
html[lang="ko"] .textlink,
html[lang="ko"] .tab,
html[lang="ko"] .chip,
html[lang="ko"] .field label,
html[lang="ko"] .kpi-label { letter-spacing: 0.08em; }
html[lang="ko"] .section-lede { line-height: 1.9; }
html[lang="ko"] .expertise h3 { max-width: none; }
html[lang="ko"] .insight h3 { max-width: none; }
html[lang="ko"] .facts-card dt { letter-spacing: 0.04em; }

/* secondary navigation on policy pages */
.nav-utility {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-utility a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav-utility a:hover { opacity: 1; border-bottom-color: currentColor; }

/* ---------- legal pages ---------- */
.page-legal { background: var(--ivory); }
.page-legal .site-header {
  position: sticky;
  background: rgba(248, 247, 244, 0.96);
  color: var(--text);
  border-bottom-color: var(--line);
}
.page-legal .lang-btn.is-active { color: var(--gold); }
.legal-page { padding: 72px 0 96px; }
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h1 {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  margin-bottom: 10px;
}
.legal-body .updated {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.legal-body h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 40px 0 14px;
}
.legal-body p, .legal-body li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
  margin-bottom: 12px;
}
.legal-body ul { padding-left: 18px; margin: 0 0 14px; }
.legal-body a {
  color: var(--text);
  border-bottom: 1px solid var(--gold);
}
.legal-body a:hover { color: var(--gold); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 64px 0 52px;
}
.legal-body .legal-lang-note {
  font-size: 0.8rem;
  color: var(--muted-2);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin-top: 40px;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .wrap { padding: 0 30px; }
  .section { padding: 92px 0; }
  .section-head--split { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .about-grid, .access-grid { grid-template-columns: 1fr; gap: 52px; }
  .expertise-grid { grid-template-columns: 1fr; border-top: 0; }
  .expertise { padding: 0 0 34px; border-top: 1px solid var(--line); }
  .expertise + .expertise {
    border-left: 0;
    padding-left: 0;
    padding-top: 34px;
  }
  .expertise h3 { max-width: none; }
  .arch-flow { flex-direction: column; }
  .arch-arrow { flex: 0 0 auto; padding: 10px 0; transform: rotate(90deg); }
  .arch-strip { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .arch-strip div + div { border-left: 0; padding-left: 0; }
  .arch-strip div:nth-child(even) { border-left: 1px solid var(--line-dark-soft); padding-left: 22px; }
  .insight { grid-template-columns: 140px 1fr; gap: 26px; }
  .insight-side { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; align-items: center; padding: 12px 0; overflow-x: auto; }
  .side-logo { padding: 0 18px; border: 0; margin: 0; white-space: nowrap; }
  .side-nav { flex-direction: row; }
  .side-item {
    width: auto;
    border-left: 0;
    border-bottom: 2px solid transparent;
    padding: 8px 14px;
    white-space: nowrap;
  }
  .side-item.is-active { border-left-color: transparent; border-bottom-color: var(--gold); }
  .side-foot { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 44px; }
  .footer-legal { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 30px 26px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    display: none;
    color: var(--on-dark);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 15px 0;
    font-size: 0.76rem;
    border-bottom: 1px solid var(--line-dark-soft);
    opacity: 0.85;
  }
  .nav .nav-cta { display: block; border-bottom: 0; padding-top: 20px; color: var(--gold-lift); }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-tools { gap: 14px; }
  .hero { min-height: 88vh; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { padding: 18px 0; }
  .hero-facts div + div { border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-actions .btn { flex: 1 1 auto; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 16px 16px 18px 0; }
  .kpi + .kpi { padding-left: 16px; }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(3), .kpi:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid .dash-card + .dash-card { border-left: 0; border-top: 1px solid var(--line); }
  .insight { grid-template-columns: 1fr; gap: 14px; }
  .insight-meta { flex-direction: row; gap: 16px; align-items: baseline; }
  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 42px; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { display: none; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-word { letter-spacing: 0.1em; text-indent: 0.1em; }
  .hero-sub { font-size: 1rem; }
  .hero-lede { font-size: 0.92rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .dash-bar { padding: 10px 14px; }
  .dash-url { display: none; }
  .dash-main { padding: 20px 16px 24px; }
  .dash-tabs { gap: 20px; }
  .tab { font-size: 0.66rem; letter-spacing: 0.1em; }
  .kpi-value { font-size: 1.32rem; }
  .chart-bars { height: 138px; gap: 6px; }
  .dash-card { padding: 18px; }
  .facts-card { padding: 26px 22px; }
  .facts-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .form-card { padding: 30px 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .legal-page { padding-top: 44px; }
  .nav-utility { gap: 18px; }
  .nav-utility a:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
