/* ================================================================
   PIWOODA MEDIA — vanilla HTML/CSS/JS homepage
   Typography: Noto Sans KR (100/300/400/500/700) + Cormorant Garamond
   Icons: Iconify web component (Phosphor Thin + Simple Icons)
   Scheme: dark ↔ light cinematic alternation
================================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg-dark: #0a0a0f;
  --bg-dark-2: #11111a;
  --bg-light: #fafaf7;
  --bg-light-2: #f1efe9;
  --ink: #14141a;
  --ink-soft: #3a3a44;
  --paper: #ededea;
  --paper-soft: #c9c9c3;
  --cyan: #1fc7c0;
  --cyan-soft: rgba(31, 199, 192, 0.18);
  --cyan-line: rgba(31, 199, 192, 0.4);
  --gold: #d4b778;
  --gold-soft: rgba(212, 183, 120, 0.18);
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-dark-strong: rgba(255, 255, 255, 0.18);
  --line-light: rgba(20, 20, 26, 0.1);

  --font-body: "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Noto Serif KR", "Noto Sans KR", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --space-section: clamp(80px, 10vw, 160px);
  --max-w: 1280px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Three.js fixed background canvas */
.bg-network {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* CSS2D constellation name labels */
.bg-labels {
  overflow: hidden;
  transition: opacity 0.5s var(--ease-out);
}
/* When a content-dense dark section dominates the viewport,
   JS adds .labels-quiet on <body> to push labels into the deep background. */
body.labels-quiet .bg-labels { opacity: 0.18; }
.bg-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.28em;
  line-height: 1.55;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: rgba(31, 199, 192, 0.32);
  user-select: none;
  transform: translate(-50%, 0);
  text-shadow: 0 0 8px rgba(31, 199, 192, 0.18);
}
.bg-label__latin { display: block; }
.bg-label__ko {
  display: block;
  margin-top: 2px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 8.5px;
  font-weight: 200;
  letter-spacing: 0.22em;
  opacity: 0.55;
}
.bg-label--accent {
  color: rgba(212, 183, 120, 0.36);
  text-shadow: 0 0 8px rgba(212, 183, 120, 0.18);
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, li { list-style: none; margin: 0; padding: 0; }
iconify-icon { display: inline-block; line-height: 0; }

/* Language-specific font priority */
html[lang="ja"] body { font-family: "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", system-ui, sans-serif; }
html[lang="zh"] body { font-family: "Noto Sans SC", "Noto Sans KR", "Noto Sans JP", system-ui, sans-serif; }
html[lang="en"] body { font-family: "Inter", "Noto Sans KR", system-ui, sans-serif; }

/* ---------- Shared section rules ---------- */
.section-dark {
  /* Transparent so the fixed Three.js network shows through;
     subtle vignette + grid are applied via ::before/::after overlays */
  background: transparent;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 90% at 50% 0%, rgba(20,20,31,0.35) 0%, rgba(10,10,15,0.55) 55%, rgba(5,5,9,0.72) 100%);
  pointer-events: none;
  z-index: -1;
}
.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

/* Heavier overlay for content-dense dark sections (Journey + Organization)
   — reduces constellation interference with readability. Hero/Footer keep lighter feel. */
.journey::before,
.org::before {
  background:
    radial-gradient(130% 90% at 50% 0%, rgba(10,10,16,0.72) 0%, rgba(6,6,11,0.86) 55%, rgba(3,3,6,0.92) 100%);
}
.journey::after,
.org::after {
  opacity: 0.18;
}
.section-light {
  background: var(--bg-light);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section-light::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(600px 300px at 20% -10%, var(--cyan-soft), transparent 70%),
    radial-gradient(500px 280px at 110% 110%, var(--gold-soft), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.section-light .eyebrow { color: var(--ink-soft); }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.dot--dark { background: var(--ink); box-shadow: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
  color: var(--ink);
}
.section-title--light { color: var(--paper); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
[data-reveal]:nth-child(4) { transition-delay: 0.24s; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(10,10,15,0.65), rgba(10,10,15,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s var(--ease-out);
}
.nav[data-on-light] {
  color: var(--ink);
  background: rgba(250, 250, 247, 0.75);
  border-bottom: 1px solid var(--line-light);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo-img {
  display: block;
  height: 26px;
  width: auto;
  transition: opacity 0.3s;
}
.nav__logo:hover .nav__logo-img { opacity: 0.85; }
.nav[data-on-light] .nav__logo-img { filter: invert(1); }
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.nav[data-on-light] .nav__lang {
  border-color: var(--line-light);
}
.nav__lang button {
  padding: 5px 10px;
  background: transparent;
  border: 0;
  color: inherit;
  opacity: 0.55;
  border-radius: 999px;
  transition: all 0.3s;
}
.nav__lang button:hover:not(:disabled) { opacity: 1; }
.nav__lang button.is-active {
  background: var(--cyan);
  color: var(--bg-dark);
  opacity: 1;
}
.nav[data-on-light] .nav__lang button.is-active {
  background: var(--ink);
  color: var(--paper);
}
.nav__lang button:disabled { cursor: not-allowed; opacity: 0.3; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 6vw, 80px);
}
.hero__video-tiles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  mix-blend-mode: normal;
}
.foot__video-tiles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.85;
  mix-blend-mode: lighten;
}
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.85;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(35% 45% at 50% 48%, rgba(10,10,15,0.72) 0%, rgba(10,10,15,0.35) 55%, transparent 75%),
    linear-gradient(180deg, rgba(10,10,15,0.5) 0%, transparent 20%, transparent 75%, rgba(10,10,15,0.9) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 0 100px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 40px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.2s forwards;
}
.hero__title {
  margin: 0 0 36px;
  line-height: 1;
  display: block;
}
.hero__logo {
  display: block;
  width: clamp(320px, 54vw, 720px);
  height: auto;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: heroLogoIn 1.6s var(--ease-out) 0.35s forwards;
  filter: drop-shadow(0 24px 60px rgba(31, 199, 192, 0.18));
  /* vector SVG → smooth antialiased rendering */
  image-rendering: auto;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}
@keyframes heroLogoIn {
  to { opacity: 1; transform: none; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero__tag-en {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: 0.01em;
  color: var(--paper);
  margin: 0 0 12px;
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 0.9s forwards;
}
.hero__tag-ko {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin: 0 0 32px;
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 1.1s forwards;
}
.hero__sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--paper-soft);
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 1.3s forwards;
  max-width: 420px;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--paper-soft);
  opacity: 0;
  animation: heroFade 1.2s var(--ease-out) 1.8s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--paper-soft) 40%, transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -44px; left: 0;
  width: 100%; height: 44px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrollPulse 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollPulse {
  0% { top: -44px; }
  100% { top: 44px; }
}

/* ---------- ABOUT ---------- */
.about {
  padding: var(--space-section) clamp(20px, 6vw, 80px);
}
.about__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bloom {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bloom__halo,
.bloom__halo--outer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  background: radial-gradient(closest-side, rgba(31,199,192,0.55), rgba(31,199,192,0.12) 55%, transparent 78%);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 1.4s 0.4s var(--ease-out), transform 1.6s 0.4s var(--ease-out);
}
.bloom__halo--outer {
  width: 90%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(212,183,120,0.18), rgba(31,199,192,0.08) 50%, transparent 80%);
  filter: blur(28px);
  transition-delay: 0.6s;
}
.bloom__flower {
  position: relative;
  display: block;
  width: 280px;
  height: 280px;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.4) rotate(-35deg);
  transform-origin: center center;
  transition: opacity 1.4s 0.2s var(--ease-out), transform 1.6s 0.2s var(--ease-out), color 0.6s;
  filter: drop-shadow(0 6px 24px rgba(31,199,192,0.2));
}
.bloom__petal-ring,
.bloom__petal-inner {
  transform-origin: 0 0;
  transition: transform 1.6s 0.3s var(--ease-out);
}
.bloom__petal-inner {
  color: var(--cyan);
}
.about.is-bloomed .bloom__petal-ring {
  animation: petalDrift 18s var(--ease-in-out) infinite;
}
.about.is-bloomed .bloom__petal-inner {
  animation: petalDrift 14s var(--ease-in-out) infinite reverse;
}
@keyframes petalDrift {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}
.bloom__center { color: var(--cyan); }
.bloom__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan), 0 0 32px rgba(31,199,192,0.5);
  opacity: 0;
  transition: opacity 0.8s 1.4s var(--ease-out);
}

.about.is-bloomed .bloom__halo,
.about.is-bloomed .bloom__halo--outer {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.about.is-bloomed .bloom__flower {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.about.is-bloomed .bloom__dot {
  opacity: 1;
  animation: bloomDotPulse 3s var(--ease-in-out) infinite 1.8s;
}

@keyframes bloomDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.about__text { max-width: 620px; }
.about__p {
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 300;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.85;
}
.about__p:first-of-type {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink);
  font-weight: 400;
}
.about__highlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 28px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.about__highlight-bar {
  width: 32px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* ---------- TRACK RECORD ---------- */
.record {
  padding: var(--space-section) clamp(20px, 6vw, 80px);
}
.record > .eyebrow,
.record > .section-title,
.record__lede,
.record__grid {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.record__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 760px;
  margin-bottom: 64px;
}
.record__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0 24px 24px;
  border-left: 1px solid rgba(20,20,26,0.18);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat__num sup {
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 0.05em;
  color: var(--cyan);
  font-weight: 400;
}
.stat__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .record__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ---------- JOURNEY / ROADMAP ---------- */
.journey {
  padding: var(--space-section) clamp(20px, 6vw, 80px);
}
.journey > .eyebrow,
.journey > .section-title,
.journey__lede,
.journey__path,
.journey__foot {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.journey__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--paper-soft);
  max-width: 760px;
  margin-bottom: 72px;
}
.journey__path {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 48px;
}
.phase {
  position: relative;
  padding: 44px 32px 32px;
  border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, rgba(20,20,28,0.6), rgba(12,12,18,0.45));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.6s var(--ease-out), border-color 0.4s, background 0.4s;
  overflow: hidden;
}
.phase::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.55;
}
.phase--1::before { background: linear-gradient(90deg, transparent, #6fe0d9, transparent); }
.phase--2::before { background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.75; }
.phase--3::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.85; }
.phase__index {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--paper-soft);
  opacity: 0.55;
}
.phase__icon {
  width: 64px;
  height: 64px;
  color: var(--cyan);
  opacity: 0.92;
  margin-bottom: 6px;
}
.phase--3 .phase__icon { color: var(--gold); }

.phase__stage {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--cyan);
  margin: 0;
}
.phase--3 .phase__stage { color: var(--gold); }

.phase__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 30px);
  color: var(--paper);
  margin: 0;
  letter-spacing: 0.01em;
}
.phase__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--paper-soft);
  margin: 0;
  min-height: 3.4em;
}
.phase__assets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}
.phase__assets li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  color: var(--paper);
}
.phase__badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.phase__badge--live {
  color: var(--cyan);
  border-color: var(--cyan-line);
  background: rgba(31,199,192,0.1);
}
.phase__badge--dev {
  color: var(--gold);
  border-color: var(--gold-soft);
  background: rgba(212,183,120,0.08);
}
.phase__badge--plan {
  color: var(--paper-soft);
  border-color: var(--line-dark-strong);
  border-style: dashed;
}

.phase__connector {
  width: 100%;
  height: 1px;
  align-self: center;
  opacity: 0.5;
}
.phase__connector-line {
  stroke: var(--cyan);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  fill: none;
}

.journey__foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.journey__note {
  font-size: 13px;
  font-weight: 300;
  color: var(--paper-soft);
  opacity: 0.75;
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line-dark-strong);
  letter-spacing: 0.01em;
}
.journey__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border: 1px solid var(--gold-soft);
  background: linear-gradient(135deg, rgba(212,183,120,0.08), rgba(31,199,192,0.04));
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 19px);
  font-style: italic;
  color: var(--paper);
  margin: 0;
}
.journey__cta-mark {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--gold);
  font-style: normal;
  filter: drop-shadow(0 0 12px rgba(212,183,120,0.5));
}

@media (max-width: 960px) {
  .journey__path {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .phase__connector { display: none; }
}

/* ---------- ORGANIZATION ---------- */
.org {
  padding: var(--space-section) clamp(20px, 6vw, 80px);
}
.org > .eyebrow,
.org > .section-title,
.org__top,
.org__grid {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.org > .section-title { margin-bottom: 64px; }

.org__top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}
.org-node {
  border: 1px solid var(--line-dark-strong);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(20,20,28,0.65), rgba(12,12,18,0.5));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  position: relative;
  overflow: hidden;
}
.org-node::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.6;
}
.org-node__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.org-node__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.org-node--ceo { grid-column: 1; }
.org-node--ceo .org-node__name { font-size: 34px; }

.org__meta {
  grid-column: 2;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}
.org-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--paper-soft);
}
.org-chip iconify-icon { color: var(--cyan); }
.org-chip--cto {
  border-style: dashed;
  border-color: var(--gold-soft);
  color: var(--paper-soft);
}
.org-chip--cto iconify-icon { color: var(--gold); }

.org__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.div-card {
  position: relative;
  padding: 40px 32px 36px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(160deg, rgba(20,20,28,0.6), rgba(12,12,18,0.45));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: transform 0.6s var(--ease-out), border-color 0.4s, background 0.4s;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
}
.div-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(200px 140px at var(--mx, 50%) var(--my, 0%), var(--cyan-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.div-card:hover {
  border-color: var(--cyan-line);
  background: linear-gradient(160deg, rgba(31,199,192,0.12), rgba(20,20,28,0.55));
}
.div-card:hover::before { opacity: 1; }
.div-card__icon {
  color: var(--cyan);
  opacity: 0.9;
}
.div-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--paper);
  margin: 0;
  letter-spacing: 0.01em;
}
.div-card__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--paper-soft);
  margin: 0;
  flex: 1;
}
.div-card__brand {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  padding: 5px 10px;
  border: 1px solid var(--gold-soft);
  text-transform: uppercase;
}
.div-card__brand--multi { gap: 8px; flex-wrap: wrap; }
.div-card__brand--multi span { display: inline-block; }
.div-card__brand--multi span + span::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.5;
}
.div-card--platform {
  border-color: var(--gold-soft);
  background:
    linear-gradient(160deg, rgba(212,183,120,0.12), rgba(20,20,28,0.55));
}
.div-card--platform:hover {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(212,183,120,0.18), rgba(31,199,192,0.08));
}
.div-card--platform .div-card__icon { color: var(--gold); }

/* ---------- FAMILY & SOCIAL ---------- */
.family {
  padding: var(--space-section) clamp(20px, 6vw, 80px);
}
.family > .eyebrow,
.family > .section-title,
.fam-group {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.fam-group + .fam-group { margin-top: 56px; }
.fam-group__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fam-group__title::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--ink-soft);
}
.fam-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
.fam-grid--compact { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fam-tile {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line-light);
  background: #fff;
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  overflow: hidden;
  will-change: transform;
}
.fam-tile__icon { color: var(--ink); opacity: 0.85; }
.fam-tile__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.fam-tile__sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fam-tile__go {
  position: absolute;
  right: 20px; bottom: 20px;
  color: var(--ink);
  opacity: 0.4;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.fam-tile:hover {
  border-color: var(--ink);
  box-shadow: 0 20px 40px rgba(20,20,26,0.08);
  transform: translateY(-2px);
}
.fam-tile:hover .fam-tile__go {
  opacity: 1;
  transform: translate(3px, -3px);
}
.fam-tile--hero {
  background: linear-gradient(135deg, #14141a 0%, #22222a 100%);
  color: var(--paper);
  border-color: transparent;
}
.fam-tile--hero .fam-tile__name,
.fam-tile--hero .fam-tile__icon,
.fam-tile--hero .fam-tile__go { color: var(--paper); }
.fam-tile--hero .fam-tile__sub { color: var(--paper-soft); }
.fam-tile--hero .fam-tile__icon { color: var(--cyan); opacity: 1; }

.fam-tile--ghost {
  background: transparent;
  border: 1px dashed var(--line-light);
  min-height: 120px;
}

.soc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.soc-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line-light);
  background: #fff;
  font-weight: 400;
  font-size: 14px;
  transition: border-color 0.3s, transform 0.4s var(--ease-out), background 0.3s;
}
.soc-pill__handle {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.55;
}
.soc-pill:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* ---------- FOOTER ---------- */
.foot {
  position: relative;
  padding: 80px clamp(20px, 6vw, 80px) 32px;
  overflow: hidden;
}
.foot__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}
/* Footer structure: hero row → column grid → meta bar → copyright */
.foot__hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}
.foot__brand { display: flex; flex-direction: column; gap: 10px; }
.foot__socials { display: inline-flex; align-items: center; gap: 4px; }
.foot__soc {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark-strong);
  color: var(--paper-soft);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.foot__soc:hover {
  color: var(--bg-dark);
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.foot__cols {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 60px);
  max-width: var(--max-w);
  margin: 0 auto 40px;
}

.foot__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.foot__col--ghost { display: none; } /* hidden until needed */

.foot__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-soft);
  margin: 0 0 4px;
  font-weight: 400;
}
.foot__col-title::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--cyan);
  margin-top: 8px;
  opacity: 0.7;
}

.foot__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__links a {
  font-size: 14px;
  font-weight: 300;
  color: var(--paper-soft);
  transition: color 0.3s;
  display: inline-block;
  width: fit-content;
}
.foot__links a:hover { color: var(--cyan); }

.foot__line-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.foot__line-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  padding: 2px 8px;
  border: 1px solid var(--cyan-line);
}
.foot__line-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--paper);
}
.foot__line-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
  color: var(--paper-soft);
  transition: color 0.3s;
  width: fit-content;
}
.foot__line-link:hover { color: var(--cyan); }

.foot__meta-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  max-width: var(--max-w);
  margin: 0 auto 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.foot__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.foot__meta-item--address {
  flex: 1 1 360px;
  min-width: 260px;
}
.foot__meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.75;
}
.foot__meta-value {
  font-size: 13px;
  font-weight: 300;
  color: var(--paper);
  letter-spacing: 0.01em;
  line-height: 1.55;
}
.foot__logo {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: 4px;
}
.foot__tag {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--cyan);
}
.foot__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-soft);
  margin: 0 0 16px;
}
.foot__line {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--paper-soft);
  margin: 0 0 8px;
}
.foot__meta {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--paper-soft);
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
}
.foot__meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.7;
  margin: 0;
  align-self: start;
  padding-top: 3px;
}
.foot__meta dd {
  margin: 0;
  font-weight: 300;
  color: var(--paper);
}
.foot__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--paper-soft);
  margin: 0 0 10px;
}
.foot__contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  padding: 2px 8px;
  border: 1px solid var(--cyan-line);
}
.foot__contact-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--paper);
}
.foot__contact--link {
  transition: color 0.3s;
}
.foot__contact--link:hover { color: var(--cyan); }
.foot__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--paper-soft);
  max-width: var(--max-w);
  margin: 0 auto;
}
.foot__totop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.foot__totop:hover { opacity: 1; color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__visual { max-width: 260px; margin: 0 auto; }
  .org__top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .org__meta {
    grid-column: 1;
    justify-content: flex-start;
  }
  .org-node--ceo, .org-node--cto { grid-column: 1; }
  .org__dotline { display: none; }
  .org__grid { grid-template-columns: 1fr; }
  .fam-grid { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .foot__meta-bar { gap: 16px 28px; }
  .foot__meta-item--address { flex: 1 1 100%; }
  .foot__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero__title { font-size: clamp(52px, 16vw, 80px); letter-spacing: 0.08em; }
  .hero__tag-en { font-size: 22px; }
  .nav__lang button { padding: 4px 6px; font-size: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__video { display: none; }
}
