/* ========== BEAU UNIVERSE — Crimson Luxury Edition ========== */

:root {
  /* ---- Crimson × Metallic Gold — Logo-derived palette ---- */
  --bg:          #0C0204;          /* near-black deep crimson */
  --bg-2:        #180508;          /* dark crimson */
  --ink:         #EDE3CC;          /* warm metallic champagne */
  --ink-soft:    #C4A87A;          /* muted gold */
  --ink-mute:    #7A6252;          /* very muted */
  --line:        rgba(237,227,204,0.09);
  --line-strong: rgba(237,227,204,0.18);
  --paper:       #140306;          /* deepest */

  /* Primary accent → metallic gold */
  --coral:       #C89840;
  --coral-deep:  #9A7030;

  /* Secondary accent → muted silver-teal */
  --sage:        #8EA8A0;
  --sage-deep:   #607870;

  /* Tertiary → bright gold */
  --gold:        #D4AA58;

  --serif: "Newsreader", "Cormorant Garamond", "Noto Serif KR", ui-serif, serif;
  --sans:  "Manrope", "Pretendard Variable", "Pretendard", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --maxw:  1320px;
  --pad-x: clamp(20px, 4vw, 64px);
}

/* Light theme fallback */
[data-theme="light"] {
  --bg:          #F3ECE2;
  --bg-2:        #E8DFD0;
  --ink:         #1E1815;
  --ink-soft:    #4A3F3A;
  --ink-mute:    #8F8278;
  --line:        rgba(30,24,21,0.10);
  --line-strong: rgba(30,24,21,0.20);
  --paper:       #FAF4EA;
  --coral:       #8C3F52;
  --coral-deep:  #5C2233;
  --sage:        #5E7E6F;
  --sage-deep:   #3D5D50;
  --gold:        #B58F5A;
}

/* Gradient text → solid color in light mode (gold on cream = low contrast) */
[data-theme="light"] .tech-card .stat .n {
  background: none;
  -webkit-text-fill-color: var(--coral);
  color: var(--coral);
}
[data-theme="light"] .market-table .tam .val {
  background: none;
  -webkit-text-fill-color: var(--coral);
  color: var(--coral);
}
[data-theme="light"] .road-col .yr {
  background: none;
  -webkit-text-fill-color: var(--coral);
  color: var(--coral);
}

/* Accent variants */
[data-accent="mauve"]  { --coral: #C89840; --coral-deep: #9A7030; }
[data-accent="jade"]   { --coral: #6A9890; --coral-deep: #4A7068; }
[data-accent="bronze"] { --coral: #C87840; --coral-deep: #9A5828; }
[data-accent="plum"]   { --coral: #A86898; --coral-deep: #784868; }
[data-accent="teal"]   { --coral: #C89840; --coral-deep: #9A7030; }
[data-accent="navy"]   { --coral: #C89840; --coral-deep: #9A7030; }
[data-accent="coral"]  { --coral: #C89840; --coral-deep: #9A7030; }

/* ===== BASE ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-line-break: strict;
  line-break: strict;
}
strong, b { font-weight: 700; color: var(--ink); }
body[data-lang="en"], body[data-lang="vi"] { word-break: normal; line-break: auto; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== TYPE SYSTEM ===== */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}
body[data-lang="ko"] .eyebrow,
body[data-lang="ja"] .eyebrow,
body[data-lang="zh"] .eyebrow { letter-spacing: 0.08em; }
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.display { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; }
.kor     { font-family: var(--sans);  font-weight: 700; letter-spacing: -0.02em; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0;
  padding-bottom: 0.08em;
}
.section-title em {
  font-style: italic;
  color: var(--coral);
  font-weight: 500;
}
body[data-lang="ko"] .section-title,
body[data-lang="ja"] .section-title,
body[data-lang="zh"] .section-title { line-height: 1.35; }
body[data-lang="ko"] .hero-title,
body[data-lang="ja"] .hero-title,
body[data-lang="zh"] .hero-title { line-height: 1.15; }
body[data-lang="ko"] .cta h2,
body[data-lang="ja"] .cta h2,
body[data-lang="zh"] .cta h2 { line-height: 1.2; }

.lede {
  font-size: clamp(17px, 1.25vw, 19px);
  font-weight: 500;
  color: var(--ink);
  opacity: 0.88;
  max-width: 56ch;
  line-height: 1.75;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  border-bottom: 1px solid var(--line-strong);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  height: 40px;
  overflow: hidden;
}
.brand-logo {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 180px !important;
  display: block !important;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 18px;
  background: var(--coral);
  color: #0C0204;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--gold); }
.nav-cta::after { content: "→"; font-family: var(--serif); font-size: 16px; }

@media (max-width: 760px) { .nav-links { display: none; } }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px var(--pad-x) 80px;
  overflow: hidden;
  border-bottom: 1px solid rgba(237,227,204,0.09);
  /* Always dark — regardless of theme toggle */
  background:
    radial-gradient(ellipse 130% 90% at 65% 45%, rgba(140,10,28,0.70) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 15% 80%, rgba(70,5,15,0.55) 0%, transparent 60%),
    #0C0204;
  /* Force dark-theme CSS variables so ALL child elements use light text */
  --bg:          #0C0204;
  --bg-2:        #180508;
  --ink:         #EDE3CC;
  --ink-soft:    #C4A87A;
  --ink-mute:    #7A6252;
  --line:        rgba(237,227,204,0.09);
  --line-strong: rgba(237,227,204,0.18);
  --coral:       #C89840;
  --coral-deep:  #9A7030;
  --gold:        #D4AA58;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-meta .right {
  text-align: right;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C4A87A;   /* always gold — hero is always dark */
  line-height: 1.8;
}

/* ── Metallic gold gradient title — mirrors the logo treatment ── */
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 11vw, 180px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
  padding-bottom: 0.05em;
  background: linear-gradient(
    158deg,
    #FFFAF0  0%,
    #F0DC98  15%,
    #D4AA50  34%,
    #A88030  50%,
    #D4AA50  66%,
    #F0DC98  82%,
    #FFFAF0  100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .it { font-style: italic; }

/* Gradient works for all languages — no language-specific color override */

.hero-sub {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
}
.hero-sub h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.35;
  margin: 0;
  color: #C8A858;   /* always gold — hero is always dark */
  max-width: 18ch;
}
.hero-sub p {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  color: #EDE3CC;   /* always champagne white — hero is always dark */
  opacity: 0.90;
  max-width: 42ch;
}
@media (max-width: 800px) { .hero-sub { grid-template-columns: 1fr; } }

/* Orbit */
.orbit {
  position: absolute;
  right: -180px;
  top: 90px;
  width: 720px;
  height: 720px;
  pointer-events: none;
  opacity: 0.6;
}
.orbit circle.ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
@media (max-width: 1100px) { .orbit { opacity: 0.18; right: -300px; } }
@media (max-width: 760px) {
  .orbit {
    width: 460px;
    height: 460px;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    opacity: 0.30;
  }
}
@media (max-width: 480px) {
  .orbit {
    width: 360px;
    height: 360px;
    right: 50%;
    top: 52%;
    transform: translate(50%, -50%);
    opacity: 0.25;
  }
}

/* Hero strip */
.hero-strip {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-strip .cell {
  padding: 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-strip .cell:last-child { border-right: none; }
.hero-strip .k {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C4A87A;   /* always gold */
  white-space: nowrap;
}
.hero-strip .v {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.3;
  color: #EDE3CC;   /* always champagne */
  white-space: nowrap;
}
@media (max-width: 780px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip .cell:nth-child(2n) { border-right: none; }
  .hero-strip .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ===== SECTION SHELL ===== */
section.s {
  padding: 120px var(--pad-x);
  position: relative;
}
section.s.alt { background: var(--bg-2); }
.s-inner { max-width: var(--maxw); margin: 0 auto; }
.s-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.s-head .right { align-self: end; }
@media (max-width: 900px) {
  .s-head { grid-template-columns: 1fr; gap: 24px; }
  section.s { padding: 80px var(--pad-x); }
}

/* ===== PARADIGM ===== */
.venn-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .venn-wrap { grid-template-columns: 1fr; } }
.venn { position: relative; width: 100%; aspect-ratio: 1/1; max-width: 520px; margin: 0 auto; }
.venn svg { width: 100%; height: 100%; }

.paradigm { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.paradigm .row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  align-items: baseline;
  gap: 20px;
}
.paradigm .row.hdr {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 0;
}
.paradigm .row.future {
  background: linear-gradient(90deg, rgba(200,152,64,0.08), transparent);
}
.paradigm .col-time {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.paradigm .future .col-time { color: var(--coral); }
.paradigm .col-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.35;
  color: var(--ink);
}
.paradigm .col-name small {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 4px;
  font-style: normal;
}
@media (max-width: 700px) {
  .paradigm .row { grid-template-columns: 90px 1fr; }
  .paradigm .col-name + .col-name { grid-column: 2; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 8px; }
}

/* ===== TECH CARDS ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.tech-card {
  grid-column: span 6;
  background: var(--bg);
  padding: 40px 36px 36px;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: background 0.4s ease;
}
.tech-card:hover { background: var(--bg-2); }
.tech-card .num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.tech-card .badge {
  position: absolute;
  top: 36px; right: 36px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
  border: 1.5px solid var(--coral);
  color: var(--coral);
  border-radius: 999px;
  white-space: nowrap;
}
.tech-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 28px 0 6px;
}
.tech-card h3 .it { font-style: italic; }
.tech-card .kor-sub { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 24px; }
.tech-card p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.85;
  margin: 0 0 14px;
  max-width: 44ch;
}
.tech-card .stats {
  margin-top: auto;
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.tech-card .stat .n {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.1;
  display: block;
  /* Metallic gold accent on numbers */
  background: linear-gradient(160deg, #E8D49A 0%, #C8A858 50%, #E2CC8C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tech-card .stat .l {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
  display: block;
}
.tech-card .viz {
  position: absolute;
  right: -1px; bottom: -1px;
  width: 200px; height: 200px;
  pointer-events: none;
  opacity: 0.7;
}
@media (max-width: 900px) { .tech-card { grid-column: span 12; min-height: 320px; } }

/* ===== FORM FACTORS ===== */
.forms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 40px 32px 36px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.form-card:hover { border-color: rgba(200,152,64,0.4); }
.form-card .lbl {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.form-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin: 14px 0 4px;
  line-height: 1.1;
}
.form-card .sub { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 24px; }
.form-card .device { margin-top: auto; display: flex; align-items: center; justify-content: center; flex: 1; }
@media (max-width: 880px) { .forms { grid-template-columns: 1fr; } }

/* ===== MARKET ===== */
.market-table {
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.market-table > div {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.market-table .hdr-cell {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 18px;
}
.market-table .tier {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 2.4vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.market-table .tier small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-top: 6px;
  font-style: normal;
}
.market-table .val {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.25;
  color: var(--ink);
}
.market-table .val small {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  display: block;
  margin-top: 4px;
}
.market-table .tam .val {
  background: linear-gradient(160deg, #E8D49A 0%, #C8A858 50%, #E2CC8C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 800px) {
  .market-table { grid-template-columns: 1fr 1fr; }
  .market-table .hdr-cell:first-child { display: none; }
}

/* ===== ROADMAP ===== */
.road {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.road-col {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.road-col:last-child { border-right: none; }
.road-col .yr {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(160deg, #E8D49A 0%, #C8A858 50%, #E2CC8C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.road-col .step {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: uppercase;
  white-space: nowrap;
}
.road-col h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 1.9vw, 26px);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.road-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.road-col li {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1.65;
  padding-left: 16px;
  position: relative;
}
.road-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--coral);
}
.road-col.future { background: rgba(200,152,64,0.05); }
@media (max-width: 880px) {
  .road { grid-template-columns: 1fr; }
  .road-col { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ===== TEAM ===== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.exec { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.exec .role {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
  white-space: nowrap;
}
.exec .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 3.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 6px;
}
.exec .kn { font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 18px; }
.exec .av {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bg-2), var(--paper));
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.exec .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.88) contrast(1.05);
}
.exec .av.has-photo::after { display: none; }
.exec .av::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 35%, rgba(200,152,64,0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(80,4,14,0.35), transparent 55%);
  mix-blend-mode: overlay;
}
.exec .tag { font-size: 14.5px; font-weight: 500; color: var(--ink); opacity: 0.85; line-height: 1.65; }
@media (max-width: 800px) { .team { grid-template-columns: 1fr; } }

/* ===== AWARDS ===== */
.awards {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.awards .award {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.awards .award .ic {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--coral);
}

/* ===== CTA ===== */
.cta {
  padding: 140px var(--pad-x) 120px;
  background:
    radial-gradient(ellipse 90% 110% at 75% 50%, rgba(90,6,18,0.65) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(50,3,10,0.5)  0%, transparent 60%),
    #060103;
  color: #EDE3CC;
  position: relative;
  overflow: hidden;
  /* Force dark-theme CSS variables */
  --ink:         #EDE3CC;
  --ink-soft:    #C4A87A;
  --ink-mute:    #7A6252;
  --line:        rgba(237,227,204,0.09);
  --line-strong: rgba(237,227,204,0.18);
  --coral:       #C89840;
  --coral-deep:  #9A7030;
  --gold:        #D4AA58;
}
.cta-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }

/* Metallic gold CTA title */
.cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  padding-bottom: 0.05em;
  background: linear-gradient(
    158deg,
    #F8F0DC  0%,
    #E8D49A  18%,
    #C8A858  36%,
    #A88030  50%,
    #C8A858  64%,
    #E2CC8C  80%,
    #F5EDD5  100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta h2 .it { font-style: italic; }
/* CTA h2 gradient consistent across all languages */

.cta-row {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid var(--line-strong);
}
.cta-row p {
  font-size: 18px;
  font-weight: 500;
  color: #C4A87A;   /* always gold — CTA is always dark */
  line-height: 1.7;
  max-width: 48ch;
  margin: 0;
}
.cta-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--coral); color: #0C0204; }
.btn-primary:hover { background: var(--gold); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn::after { content: "→"; font-family: var(--serif); font-size: 17px; line-height: 1; }
@media (max-width: 800px) {
  .cta-row { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

/* CTA orbit */
.cta-orbit { position: absolute; top: -200px; right: -250px; width: 900px; height: 900px; opacity: 0.10; pointer-events: none; }

/* ===== FOOTER ===== */
footer {
  background: #040102;
  color: rgba(237,227,204,0.4);
  padding: 40px var(--pad-x);
  border-top: 1px solid var(--line);
  font-size: 13px;
}
footer .f-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer a:hover { color: var(--ink); }

/* ===== Tweaks panel ===== */
.tweaks-host { z-index: 60; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== MOBILE NAV — HAMBURGER ===== */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  margin-left: 8px;
  border-radius: 8px;
  transition: background 0.2s;
  align-items: center;
  justify-content: center;
}
.nav-hamburger:hover { background: var(--line-strong); }
.nav-hamburger .ico-close { display: none; }
.nav-hamburger[aria-expanded="true"] .ico-open  { display: none; }
.nav-hamburger[aria-expanded="true"] .ico-close { display: block; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  z-index: 48;
  background: var(--bg);
  padding: 36px var(--pad-x) 56px;
  flex-direction: column;
  overflow-y: auto;
  border-top: 1px solid var(--line-strong);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 28px;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--coral); }
.mobile-menu .m-cta {
  margin-top: 32px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--coral);
  color: #0C0204 !important;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--sans);
  border-bottom: none !important;
  letter-spacing: 0 !important;
  width: fit-content;
}
.mobile-menu .m-cta::after { content: "→"; font-family: var(--serif); font-size: 18px; }
.mobile-menu .m-cta:hover { background: var(--gold) !important; }

@media (max-width: 760px) {
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ===== SMALL MOBILE (≤ 480px) ===== */
@media (max-width: 480px) {
  .hero { padding-top: 96px; padding-bottom: 48px; }
  .hero-meta { margin-bottom: 24px; gap: 12px; }
  .hero-title { font-size: clamp(44px, 12.5vw, 72px) !important; }
  .hero-sub { margin-top: 24px; gap: 20px; }
  .hero-sub h2 { font-size: clamp(20px, 5.5vw, 28px) !important; max-width: 100%; }
  .hero-sub p { font-size: 15px; }
  .hero-strip .v { font-size: clamp(16px, 4.2vw, 22px); }
  section.s { padding: 56px var(--pad-x); }
  .section-title { font-size: clamp(30px, 8.5vw, 52px) !important; }
  .s-head { margin-bottom: 36px; }
  .lede { font-size: 15px; }
  .paradigm .row { grid-template-columns: 72px 1fr; }
  .tech-card { padding: 24px 18px 20px; min-height: 240px; }
  .tech-card h3 { font-size: clamp(26px, 7.5vw, 38px) !important; margin: 16px 0 4px; }
  .tech-card .stats { gap: 18px; }
  .tech-card .badge { top: 24px; right: 18px; }
  .form-card { min-height: 280px; padding: 28px 20px; }
  .form-card h3 { font-size: clamp(26px, 7.5vw, 36px) !important; }
  .market-table { grid-template-columns: auto 1fr; }
  /* vw 기반 clamp — 362px~480px 전 구간에서 자동 스케일 */
  .market-table > div {
    padding: clamp(6px, 1.8vw, 10px) clamp(6px, 2vw, 10px);
  }
  .market-table .hdr-cell {
    padding: clamp(5px, 1.5vw, 8px) clamp(6px, 2vw, 10px);
    font-size: clamp(8px, 2.3vw, 10px);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .market-table .tier {
    font-size: clamp(11px, 3.5vw, 15px) !important;
    white-space: nowrap;
  }
  .market-table .val {
    font-size: clamp(13px, 4vw, 18px) !important;
    white-space: nowrap;
  }
  .market-table .val small {
    white-space: nowrap;
    font-size: clamp(8px, 2.2vw, 10px);
  }
  .road-col { padding: 24px 16px; }
  .road-col .yr { font-size: clamp(36px, 10vw, 48px) !important; }
  .cta { padding: 72px var(--pad-x) 64px; }
  .cta h2 { font-size: clamp(36px, 11vw, 72px) !important; }
  .cta-row { margin-top: 32px; padding-top: 28px; gap: 24px; }
  .cta-row p { font-size: 16px; }
  .btn { padding: 13px 20px; font-size: 14px; }
  .cta-actions { gap: 10px; }
  .lang-switch { flex-shrink: 0; overflow: visible; }
  footer .f-inner { flex-direction: column; }
  footer { padding: 32px var(--pad-x); }
}

/* ===== TABLET (481px–800px) ===== */
@media (min-width: 481px) and (max-width: 800px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .tech-card { padding: 32px 28px; }
  .cta { padding: 100px var(--pad-x) 88px; }
  .cta h2 { font-size: clamp(48px, 9vw, 100px) !important; }
}

/* ===== EXTRA-SMALL (≤ 380px) — 362px 대응, 전 언어 1줄 보장 ===== */
@media (max-width: 380px) {

  /* ── NAV ── */
  .brand-logo { max-width: 110px !important; }
  .lang-switch { max-width: none !important; overflow: visible !important; }

  /* ── HERO META: flex 2행 방지 ── */
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 16px;
  }
  .hero-meta .right { display: none; } /* 362px에서 company info 생략 */

  /* ── EYEBROW: 긴 언어(EN/VI/MN) 1줄 보장 ── */
  .eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
  }
  .eyebrow::before { width: 16px; }

  /* ── HERO TITLE ── */
  .hero { padding-top: 84px; padding-bottom: 32px; }
  .hero-title { font-size: clamp(34px, 10vw, 48px) !important; }
  .hero-sub { margin-top: 18px; gap: 14px; }
  .hero-sub h2 { font-size: clamp(17px, 4.8vw, 22px) !important; }
  .hero-sub p   { font-size: 13.5px; }

  /* ── HERO STRIP ── */
  .hero-strip .cell { padding: 14px 12px; }
  .hero-strip .v { font-size: clamp(14px, 3.9vw, 18px) !important; }
  .hero-strip .k { font-size: 10px; letter-spacing: 0.08em; }

  /* ── SECTIONS ── */
  section.s { padding: 44px 16px; }
  --pad-x: 16px;
  .section-title { font-size: clamp(24px, 7vw, 34px) !important; }
  .lede { font-size: 13.5px; }

  /* ── TECH CARDS ── */
  .tech-card { padding: 20px 14px; }
  .tech-card h3 { font-size: clamp(20px, 6.5vw, 28px) !important; }
  .tech-card .badge { font-size: 9px !important; padding: 4px 8px; }

  /* ── FORM CARDS ── */
  .form-card { padding: 22px 16px; }
  .form-card h3 { font-size: clamp(20px, 6.5vw, 28px) !important; }

  /* ── MARKET TABLE: clamp()로 ≤480px에서 자동 처리되므로 별도 재정의 불필요 ── */

  /* ── ROADMAP ── */
  .road-col { padding: 18px 12px; gap: 12px; }
  .road-col .yr { font-size: clamp(28px, 9vw, 38px) !important; }

  /* ── CTA ── */
  .cta { padding: 56px 16px 48px; }
  .cta h2 { font-size: clamp(28px, 9.5vw, 48px) !important; }
  .cta-row p { font-size: 14px; }
  .btn { padding: 11px 16px; font-size: 13px; }

  /* ── MOBILE MENU: 긴 VI/MN 항목 1줄 보장 ── */
  .mobile-menu a { font-size: 22px; padding: 14px 0; }
  .mobile-menu .m-cta { font-size: 14px; padding: 13px 22px; }

  /* ── PARADIGM TABLE ── */
  .paradigm .row { grid-template-columns: 60px 1fr; gap: 12px; }
  .paradigm .col-name { font-size: clamp(16px, 4.5vw, 20px) !important; }

  /* ── TEAM ── */
  .exec .name { font-size: clamp(28px, 8.5vw, 38px) !important; }

  /* ── FOOTER ── */
  footer { padding: 24px 16px; font-size: 12px; }
}

/* ================================================================
   HIGH-DPI 프리미엄 폰 보정
   Galaxy S25/Ultra, iPhone 14 Pro~, Pixel 7+ 등
   CSS 뷰포트는 360~430px으로 좁지만 물리 화면은 6~7인치급
   DPR ≥ 2.75 이면 폰트를 ~25% 상향
   ================================================================ */
@media (max-width: 480px) and (min-resolution: 2.75dppx) {

  /* 시장 테이블 */
  .market-table > div      { padding: clamp(9px, 2.2vw, 13px) !important; }
  .market-table .hdr-cell  {
    font-size: clamp(11px, 2.9vw, 13px) !important;
    padding: clamp(8px, 2vw, 11px) clamp(9px, 2.2vw, 13px) !important;
    letter-spacing: 0.05em !important;
  }
  .market-table .tier      { font-size: clamp(14px, 3.9vw, 18px) !important; }
  .market-table .val       { font-size: clamp(17px, 4.5vw, 22px) !important; }
  .market-table .val small { font-size: clamp(11px, 2.7vw, 13px) !important; }

  /* 섹션 타이틀 & 기타 */
  .section-title  { font-size: clamp(32px, 8.5vw, 54px) !important; }
  .hero-title     { font-size: clamp(46px, 12.5vw, 80px) !important; }
  .hero-sub h2    { font-size: clamp(22px, 5.5vw, 30px) !important; }
  .tech-card h3   { font-size: clamp(28px, 7.5vw, 42px) !important; }
  .form-card h3   { font-size: clamp(28px, 7.5vw, 40px) !important; }
  .road-col .yr   { font-size: clamp(38px, 10vw, 54px) !important; }
  .cta h2         { font-size: clamp(38px, 10.5vw, 80px) !important; }

  /* 네비게이션 메뉴 */
  .mobile-menu a      { font-size: 26px; }
  .mobile-menu .m-cta { font-size: 16px; }

  /* eyebrow 레이블 */
  .eyebrow { font-size: 13px !important; letter-spacing: 0.10em !important; }
}
