/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --accent: #E94E1B;
  --accent-deep: #c43a13;
  --accent-warm: #F4A41C;
  --navy: #0F2A44;
  --navy-deep: #081827;
  --ink: #0E1620;
  --ink-2: #2A3441;
  --muted: #6B7785;
  --line: #E6E8EC;
  --bg: #ffffff;
  --bg-soft: #F6F5F1;
  --bg-cream: #FBF9F4;
  --grid-opacity: 1;
  --radius: 4px;
  --radius-lg: 10px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.h2, .pb__headline, .pb__cta, .prod__side a, .hero__eyebrow,
.pb__points li, .philos-card__ko, .mkt-card__ko, .about-card__ko,
.ct-tab__ko, .nav__dropdown-menu a, .cap__reason-list p {
  word-break: keep-all;
  text-wrap: pretty;
}
.hero__eyebrow { white-space: normal; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ─── Type ───────────────────────────────────────────────────────────── */
.h2 {
  font-family: "Noto Sans KR", "Inter", sans-serif;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.h2--light { color: #fff; }
.h2 em { font-style: normal; }

/* ─── Section label ──────────────────────────────────────────────────── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.sec-label--dark { color: rgba(255,255,255,0.55); }
.sec-label__bar {
  width: 32px; height: 1px; background: currentColor;
}
.sec-label__ko {
  font-family: "Noto Sans KR", sans-serif;
  letter-spacing: 0;
  font-size: 12px;
  color: inherit;
  opacity: 0.7;
}

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: "Noto Sans KR", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(233, 78, 27, 0.45);
}
.btn--primary:hover { box-shadow: 0 14px 32px -8px rgba(233, 78, 27, 0.55); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.hero--light .btn--ghost { color: var(--ink); border-color: rgba(15,42,68,0.25); }
.hero--light .btn--ghost:hover { background: rgba(15,42,68,0.04); }

/* ─── Placeholder ────────────────────────────────────────────────────── */
.ph {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 12px);
  background-color: rgba(255,255,255,0.6);
  border: 1px dashed rgba(255,255,255,0.4);
  border-radius: var(--radius);
  position: relative;
}
.ph--dark {
  background-color: rgba(0,0,0,0.15);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 12px);
  border-color: rgba(255,255,255,0.25);
}
.ph__label {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.4);
  padding: 6px 10px;
  border-radius: 2px;
}

/* ─── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: var(--line);
}
.hero--navy + .about { /* nothing — selector unused */ }
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo img {
  height: 44px;
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}
.nav--scrolled .nav__logo img { filter: none; }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  font-family: "Noto Sans KR", "Inter", sans-serif;
  color: rgba(255,255,255,0.85);
}
.nav--scrolled .nav__links { color: var(--ink); }
.nav__links a:hover { color: var(--accent); }
.nav__cta {
  padding: 10px 18px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: "Noto Sans KR", sans-serif;
}
@media (max-width: 980px) {
  .nav__links { display: none; }
}

/* Nav dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer;
}
.nav__caret { font-size: 9px; opacity: 0.7; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
  padding: 8px;
  display: flex;
  flex-direction: column;
  z-index: 100;
}
.nav__dropdown-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  height: 12px;
}
.nav__dropdown-menu a {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 500;
  white-space: nowrap;
}
.nav__dropdown-menu a:hover {
  background: var(--bg-soft);
  color: var(--accent);
}

/* Hero quick stats */
.hero__quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  margin-top: 24px;
  max-width: 820px;
}
.hero--light .hero__quick { border-top-color: rgba(15,42,68,0.12); }
.hero__quick-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero--light .hero__quick-item { border-right-color: rgba(15,42,68,0.08); }
.hero__quick-item:last-child { border-right: none; }
.hero__quick-lbl {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.55;
}
.hero__quick-val {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .hero__quick { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
}

/* Products section */
.prod {
  background: var(--bg);
  padding: 140px 0;
}
.prod__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.prod__head p { font-size: 17px; color: var(--ink-2); line-height: 1.7; margin: 0; }

.prod__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.prod__side {
  position: sticky;
  top: 100px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.prod__side-title {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 20px;
}
.prod__side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.prod__side a {
  display: block;
  padding: 10px 0 10px 12px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-left: 2px solid transparent;
  margin-left: -26px;
  padding-left: 24px;
  transition: color 0.2s, border-color 0.2s;
}
.prod__side a.is-active { font-weight: 700; }
.prod__content { display: flex; flex-direction: column; gap: 96px; }

/* Product Block */
.pb {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  scroll-margin-top: 100px;
}
.pb--rev { grid-template-columns: 1.1fr 1fr; }
.pb--rev .pb__media { order: 2; }
.pb--rev .pb__body { order: 1; }
.pb__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
}
.pb__media img { width: 100%; height: 100%; object-fit: cover; }
.pb__media--contain {
  background:
    repeating-linear-gradient(135deg, rgba(15,42,68,0.035) 0 1px, transparent 1px 14px),
    var(--bg-soft);
}
.pb__media--contain > img { object-fit: contain; padding: 28px; }
.pb__media-grid {
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 20px;
  box-sizing: border-box;
}
.pb__media-cell {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 10px;
}
.pb__media-cell img { width: 100%; height: 100%; object-fit: contain; }
.pb__media-slot {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    repeating-linear-gradient(135deg, rgba(15,42,68,0.04) 0 1px, transparent 1px 14px),
    var(--bg-soft);
  text-align: center;
  padding: 24px;
}
.pb__media-label {
  font-family: "Inter", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--muted);
  padding: 5px 12px;
  border: 1px solid var(--muted);
  border-radius: 100px;
  opacity: 0.6;
}
.pb__media-hint {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  color: var(--muted);
  max-width: 24ch;
  line-height: 1.5;
}
.pb__media-cap {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(15,22,32,0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 12px;
}
.pb__media-slot ~ .pb__media-cap { display: none; }

.pb__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.pb__label-en {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
}
.pb__label-ko {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pb__headline {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.pb__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.pb__points {
  list-style: none;
  margin: 0 0 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pb__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.pb__check {
  font-weight: 800;
  flex: 0 0 auto;
  margin-top: 1px;
}
.pb__note {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 20px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.pb__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid;
  border-radius: var(--radius);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
  align-self: flex-start;
}
.pb__cta:hover { background: rgba(233, 78, 27, 0.06); }

@media (max-width: 1024px) {
  .prod__layout { grid-template-columns: 1fr; }
  .prod__side { position: static; border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 16px; }
  .prod__side ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .prod__side a { margin-left: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; }
  .pb, .pb--rev { grid-template-columns: 1fr; gap: 24px; }
  .pb--rev .pb__media { order: 1; }
  .pb--rev .pb__body { order: 2; }
}
@media (max-width: 720px) {
  .prod__head { grid-template-columns: 1fr; gap: 24px; }
}

/* Capability */
.cap {
  background: var(--bg-cream);
  padding: 140px 0;
}
.cap__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.cap__head p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin: 0; }

.cap__table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
}
.cap__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  border-top: 1px solid var(--line);
}
.cap__row:first-child { border-top: none; }
.cap__row > div {
  padding: 22px 24px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.cap__row > div:not(:last-child) { border-right: 1px solid var(--line); }
.cap__row--head > div {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: var(--bg-soft);
}
.cap__label { font-weight: 700; color: var(--ink); }
.cap__value { color: var(--ink); font-weight: 500; }
.cap__check { font-weight: 800; margin-right: 6px; }

.cap__reason {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
}
.cap__reason-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}
.cap__reason-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cap__reason-list li {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.cap__reason-n {
  font-family: "Inter", monospace;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 700;
  flex: 0 0 auto;
}
.cap__reason-list p {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 900px) {
  .cap__head { grid-template-columns: 1fr; gap: 24px; }
  .cap__row { grid-template-columns: 1fr; }
  .cap__row > div { border-right: none !important; border-bottom: 1px solid var(--line); }
  .cap__reason { padding: 32px 24px; }
  .cap__reason-list { grid-template-columns: 1fr; }
}

/* Portfolio: 4-column tweak */
.port__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.port-card__slot {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 14px;
}
@media (max-width: 1024px) {
  .port__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .port__grid--4 { grid-template-columns: 1fr; }
}

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  color: #fff;
  background: #050B14;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero--light {
  background: var(--bg-cream);
  color: var(--ink);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: linear-gradient(to right, black 0%, black 30%, transparent 60%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 30%, transparent 60%);
  opacity: var(--grid-opacity);
}
.hero--light .hero__grid {
  background-image:
    linear-gradient(rgba(15,42,68,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,42,68,0.06) 1px, transparent 1px);
}
.hero__glow { position: absolute; inset: 0; }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.hero--light .hero__eyebrow { border-color: rgba(15,42,68,0.15); }
.hero__dot {
  width: 6px; height: 6px; border-radius: 50%;
}
.hero__sep { opacity: 0.4; }
.hero__title {
  font-family: "Noto Sans KR", "Inter", sans-serif;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 32px;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
  text-wrap: balance;
}
.hero__title--em {
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  max-width: 38ch;
  opacity: 0.78;
  margin: 0 0 24px;
}
.hero__sub--alt {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.7;
  max-width: 52ch;
  opacity: 0.6;
  margin: 0 0 40px;
  padding-top: 20px;
  border-top: 1px solid currentColor;
  border-color: rgba(255,255,255,0.12);
}
.hero--light .hero__sub--alt { border-color: rgba(15,42,68,0.12); }
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
  max-width: 720px;
}
.hero--light .hero__stats { border-top-color: rgba(15,42,68,0.12); }
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
}
.hero__stat-num {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.hero__stat-num small {
  font-size: 0.5em;
  font-weight: 500;
  opacity: 0.55;
  margin-left: 2px;
}
.hero__stat-lbl {
  font-size: 12px;
  font-family: "Noto Sans KR", sans-serif;
  opacity: 0.6;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 1;
  z-index: 0;
}
.hero--light .hero__bg-img { opacity: 1; }
.hero__bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,18,32,0.95) 0%,
    rgba(10,22,38,0.85) 22%,
    rgba(12,28,46,0.5) 40%,
    rgba(15,42,68,0.15) 58%,
    rgba(15,42,68,0) 75%
  );
  z-index: 1;
}
.hero--light .hero__bg-fade {
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #ffffff 28%,
    rgba(255,255,255,0.9) 45%,
    rgba(255,255,255,0.45) 65%,
    rgba(255,255,255,0) 85%
  );
}
.hero .hero__grid { z-index: 2; }
.hero .hero__glow { z-index: 2; }
.hero .hero__inner { position: relative; z-index: 3; }
.hero__visual { display: none; }

.hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 2px 0 rgba(255,255,255,0.04) inset;
  background: #000;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero--light .hero__image-slot {
  border-color: rgba(15,42,68,0.25);
  background:
    repeating-linear-gradient(135deg, rgba(15,42,68,0.04) 0 1px, transparent 1px 14px),
    rgba(15,42,68,0.02);
}
.hero__image-slot-label {
  font-family: "Inter", monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: 0.55;
}
.hero__image-slot-hint {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.5;
}
.hero__image-slot-hint code {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  background: rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 3px;
}
.hero--light .hero__image-slot-hint code { background: rgba(15,42,68,0.06); }
.palm-svg { width: 100%; height: auto; }
@media (max-width: 1024px) { .hero__visual { display: none; } }

.hero__scroll {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  z-index: 3;
}
.hero__scroll-line {
  width: 60px; height: 1px; background: currentColor; position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: -30%; top: 0; bottom: 0; width: 30%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine { to { left: 100%; } }

/* ─── About ──────────────────────────────────────────────────────────── */
.about {
  background: var(--bg);
  padding: 140px 0;
}
.about__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}
.about__intro p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.about__intro strong { color: var(--ink); font-weight: 700; }
.about__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about__meta div { display: flex; flex-direction: column; gap: 4px; }
.about__meta dt {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); font-weight: 600;
}
.about__meta dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }

.about__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}
.about-card {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-card:last-child { border-right: none; padding-right: 0; }
.about-card__n {
  font-family: "Inter", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.about-card__en {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.about-card__ko {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 4px 0 8px;
  letter-spacing: -0.01em;
}
.about-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }

.about__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__photo img { width: 100%; height: auto; display: block; }
.about__photo-cap {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(15, 22, 32, 0.82);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about__photo-tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; font-weight: 600; }
.about__photo-desc { font-size: 14px; font-family: "Noto Sans KR", sans-serif; }

@media (max-width: 900px) {
  .about__head { grid-template-columns: 1fr; gap: 32px; }
  .about__cards { grid-template-columns: repeat(2, 1fr); }
  .about-card { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .about-card:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
  .about-card:nth-child(even) { padding-left: 24px; }
}

/* ─── Philosophy ─────────────────────────────────────────────────────── */
.philos {
  background: var(--navy);
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.philos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 40% at 80% 0%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 40% at 80% 0%, black, transparent 80%);
  opacity: var(--grid-opacity);
}
.philos > * { position: relative; }
.philos__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}
.philos__lead {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 0;
}
.philos__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.philos-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 360px;
}
.philos-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.05); }
.philos-card__top { display: flex; align-items: center; gap: 16px; }
.philos-card__tag {
  font-family: "Inter", monospace;
  font-size: 12px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.philos-card__en {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.philos-card__ko {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
  font-weight: 700;
}
.philos-card__desc {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.philos-card__points {
  list-style: none;
  margin: auto 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.philos-card__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-family: "Noto Sans KR", sans-serif;
  color: rgba(255,255,255,0.85);
}
.philos-card__points .dot {
  width: 5px; height: 5px; border-radius: 50%;
}
.philos-card__num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}
.philos-card__num span { opacity: 0.6; }
@media (max-width: 900px) {
  .philos__head { grid-template-columns: 1fr; gap: 24px; }
  .philos__cards { grid-template-columns: 1fr; }
}

/* ─── Palmlock ───────────────────────────────────────────────────────── */
.palm {
  background: var(--bg-cream);
  padding: 140px 0;
}
.palm__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: stretch;
  margin-bottom: 80px;
}
.palm__brand {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 20px;
}
.palm__lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-top: 32px;
  max-width: 42ch;
}
.palm__lead strong { color: var(--ink); font-weight: 700; }
.palm__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.palm__hero-bg {
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.palm__hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.palm__hero-tag {
  font-family: "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}

.palm__features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}
.palm-feat {
  padding: 36px 24px 36px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.palm-feat:last-child { border-right: none; padding-right: 0; }
.palm-feat:not(:first-child) { padding-left: 24px; }
.palm-feat__n {
  font-family: "Inter", monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 12px;
}
.palm-feat h4 {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.palm-feat p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.palm__compare-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}
.cmp {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cmp__row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.5fr;
  border-top: 1px solid var(--line);
}
.cmp__row:first-child { border-top: none; }
.cmp__row > div {
  padding: 20px 24px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
}
.cmp__row > div:not(:last-child) { border-right: 1px solid var(--line); }
.cmp__row--head > div {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: var(--bg-soft);
}
.cmp__row--head .cmp__palm {
  background: var(--navy);
  color: #fff;
}
.cmp__label { font-weight: 700; color: var(--ink); }
.cmp__legacy { color: var(--muted); }
.cmp__row:not(.cmp__row--head) .cmp__palm { font-weight: 600; color: var(--ink); }
.cmp__row:not(.cmp__row--head) .cmp__palm::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 900px) {
  .palm__head { grid-template-columns: 1fr; }
  .palm__features { grid-template-columns: repeat(2, 1fr); }
  .palm-feat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px; }
  .palm-feat:not(:first-child) { padding-left: 24px; }
  .cmp__row { grid-template-columns: 1fr; }
  .cmp__row > div { border-right: none !important; border-bottom: 1px solid var(--line); }
}

/* ─── Portfolio ──────────────────────────────────────────────────────── */
.port {
  background: var(--bg);
  padding: 140px 0;
}
.port__head {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}
.port__head p { font-size: 17px; color: var(--ink-2); line-height: 1.7; margin: 0; }

.port__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 80px;
}
.port__grid.port__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.port-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.port-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.port-card--primary {
  grid-row: span 1;
  border-color: transparent;
  background: var(--navy);
  color: #fff;
}
.port-card--primary .port-card__tag,
.port-card--primary p {
  color: rgba(255,255,255,0.65);
}
.port-card__media {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.port-card--primary .port-card__media { aspect-ratio: 4/3; }
.port-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.port-card__palm {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.port-card__palm svg { max-width: 220px; }
.port-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}
.port-card__body { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.port-card__tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.port-card__body h3 {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 22px;
  margin: 4px 0 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.port-card__en {
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: var(--accent);
  font-weight: 600;
}
.port-card__body p {
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
  color: var(--ink-2);
}

.port__flow {
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.port__flow-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.port__flow-title small {
  font-size: 11px; letter-spacing: 0.18em; color: var(--muted); font-weight: 600;
}
.flow {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.flow__step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 140px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}
.flow__step:last-of-type {
  border-color: var(--accent);
  background: var(--ink);
  color: #fff;
}
.flow__n {
  font-family: "Inter", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 700;
}
.flow__step:last-of-type .flow__n { color: var(--accent); }
.flow__arrow {
  font-size: 20px;
  color: var(--muted);
  flex: 0 0 auto;
}

@media (max-width: 1024px) {
  .port__grid { grid-template-columns: repeat(2, 1fr); }
  .port-card--primary { grid-column: span 2; }
}
@media (max-width: 600px) {
  .port__grid { grid-template-columns: 1fr; }
  .port-card--primary { grid-column: span 1; }
  .port__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Markets ────────────────────────────────────────────────────────── */
.mkt {
  background: var(--ink);
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.mkt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: var(--grid-opacity);
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}
.mkt > * { position: relative; }
.mkt__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.mkt__lead {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.mkt__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mkt__grid > :nth-child(1),
.mkt__grid > :nth-child(2),
.mkt__grid > :nth-child(3) {
  grid-column: span 1;
}
.mkt-card {
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.mkt-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}
.mkt-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mkt-card__n {
  font-family: "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}
.mkt-card__en {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.mkt-card__ko {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
}
.mkt-card__rows {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mkt-card__row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.mkt-card__row-lbl {
  flex: 0 0 44px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  padding-top: 2px;
}
.mkt-card__row--val { color: #fff; font-weight: 500; }

@media (max-width: 1024px) {
  .mkt__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mkt__grid { grid-template-columns: 1fr; }
  .mkt__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Contact ────────────────────────────────────────────────────────── */
.ct {
  background: var(--bg);
  padding: 140px 0 120px;
}
.ct__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.ct__head p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin: 0; }

.ct__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}
.ct-tab {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ct-tab.is-active {
  border-color: var(--accent);
  color: var(--accent);
}
.ct-tab__en {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.ct-tab.is-active .ct-tab__en { color: var(--accent); }
.ct-tab__ko {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.ct-tab.is-active .ct-tab__ko { color: var(--accent); }

.ct__panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.ct__form {
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ct__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field span {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  font-family: "Noto Sans KR", "Inter", sans-serif;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.ct__submit { align-self: flex-start; margin-top: 8px; }
.ct__ok {
  background: rgba(233, 78, 27, 0.08);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  color: var(--accent);
}

.ct__info {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ct__info h3 {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.ct__info dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ct__info dl > div { display: flex; flex-direction: column; gap: 4px; }
.ct__info dt {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
}
.ct__info dd {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
.ct__info dd a { color: var(--accent); }
.ct__hours {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ct__hours span {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
}

@media (max-width: 900px) {
  .ct__head, .ct__panel { grid-template-columns: 1fr; gap: 24px; }
  .ct__tabs { grid-template-columns: repeat(2, 1fr); }
  .ct__row { grid-template-columns: 1fr; }
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.foot {
  background: var(--navy-deep);
  color: #fff;
  padding: 80px 0 0;
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 64px;
}
.foot__brand img { height: 56px; margin-bottom: 20px; }
.foot__brand p {
  font-family: "Noto Sans KR", sans-serif;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin: 0 0 8px;
  max-width: 32ch;
}
.foot__brand-biz {
  font-size: 12px !important;
  color: rgba(255,255,255,0.4) !important;
  line-height: 1.6;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.foot__cols h5 {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.5);
}
.foot__cols a {
  display: block;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  padding: 4px 0;
}
.foot__cols a:hover { color: var(--accent); }
.foot__bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 720px) {
  .foot__inner { grid-template-columns: 1fr; gap: 32px; }
  .foot__bar { flex-direction: column; gap: 8px; padding: 24px; }
}

/* ─── Reveal animations ──────────────────────────────────────────────── */
section { scroll-margin-top: 80px; }

@media (prefers-reduced-motion: no-preference) {
  .about__cards > *,
  .philos-card,
  .palm-feat,
  .port-card,
  .mkt-card,
  .ct-tab {
    opacity: 0;
    transform: translateY(16px);
    animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }
  .about__cards > *:nth-child(1) { animation-delay: 0.05s; }
  .about__cards > *:nth-child(2) { animation-delay: 0.12s; }
  .about__cards > *:nth-child(3) { animation-delay: 0.19s; }
  .about__cards > *:nth-child(4) { animation-delay: 0.26s; }
  .philos-card:nth-child(1) { animation-delay: 0.05s; }
  .philos-card:nth-child(2) { animation-delay: 0.15s; }
  .philos-card:nth-child(3) { animation-delay: 0.25s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Language switcher */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav__lang-btn {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.2s ease;
}
.nav__lang-btn:hover { color: #fff; }
.nav__lang-btn--active { color: #fff; }
.nav--scrolled .nav__lang-btn { color: rgba(15, 42, 68, 0.5); }
.nav--scrolled .nav__lang-btn:hover { color: var(--ink); }
.nav--scrolled .nav__lang-btn--active { color: var(--ink); }
.nav__lang-sep {
  color: rgba(255,255,255,0.25);
}
.nav--scrolled .nav__lang-sep { color: rgba(15, 42, 68, 0.2); }

/* ============================================================
   Mobile responsive — hamburger menu, drawer, breakpoint fixes
   ============================================================ */

/* Hamburger button — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 4px;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}
.nav__hamburger:focus { outline: none; }
.nav__hamburger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
  transform-origin: center;
}
.nav--scrolled .nav__hamburger span { background: var(--ink); }
.nav--mobile-open .nav__hamburger span { background: var(--ink); }
.nav--mobile-open .nav__hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav--mobile-open .nav__hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--mobile-open .nav__hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer — hidden on desktop. Sibling of <header> so backdrop-filter
   stacking context on the nav doesn't trap it. */
.nav__mobile {
  position: fixed;
  inset: 64px 0 0 0; /* sits below the mobile nav header */
  background: #fff;
  z-index: 60; /* above .nav (50) */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
  display: none; /* completely hide on desktop */
}
@media (max-width: 980px) {
  .nav__mobile { display: block; }
}
.nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__mobile-inner {
  padding: 32px 28px 64px;
  max-width: 560px;
  margin: 0 0 0 auto;          /* right-align the column on phones */
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;            /* right-align text inside */
  align-items: flex-end;        /* right-align flex children */
}
.nav__mobile-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.nav__mobile-section:last-of-type { border-bottom: none; }
.nav__mobile-label {
  font-family: "Noto Sans KR", "Inter", sans-serif;
  font-size: 22px;              /* bigger than menu items */
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
}
.nav__mobile-section a {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 0;
  text-decoration: none;
  line-height: 1.4;
}
.nav__mobile-section a:hover,
.nav__mobile-section a:active { color: var(--accent); }
.nav__mobile-contact {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  padding: 4px 0 !important;
}
.nav__mobile-lang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 0 0;
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.nav__mobile-lang .nav__lang-btn {
  color: rgba(15, 42, 68, 0.5);
  text-decoration: none;
}
.nav__mobile-lang .nav__lang-btn--active { color: var(--ink); }
.nav__mobile-lang .nav__lang-sep { color: rgba(15, 42, 68, 0.2); }

/* Show hamburger / hide desktop nav under 980px */
@media (max-width: 980px) {
  .nav__inner { padding: 14px 20px; gap: 0; }
  .nav__logo img { height: 36px; }
  .nav__lang { display: none; }
  .nav__hamburger { display: flex; margin-left: auto; }
  /* Push nav background to white when mobile drawer is open */
  .nav--mobile-open {
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    border-bottom-color: var(--line);
  }
  .nav--mobile-open .nav__logo img { filter: none; }
}

/* Hero — tighter on phones */
@media (max-width: 720px) {
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero__title { font-size: clamp(34px, 9vw, 52px) !important; line-height: 1.1; }
  .hero__sub, .hero__sub--alt { font-size: 15px !important; }
  /* On phones the device sits right-of-center in the source image — push it
     into view, keep the dark left side under the text for legibility. */
  .hero__bg-img { object-position: 72% center; opacity: 0.55; }
  .hero__bg-fade {
    background: linear-gradient(180deg, rgba(5,11,20,0.55) 0%, rgba(5,11,20,0.85) 70%, rgba(5,11,20,0.95) 100%) !important;
  }
}

/* About — single column on phones */
@media (max-width: 600px) {
  .about__cards { grid-template-columns: 1fr !important; gap: 16px; }
  .about__meta { grid-template-columns: 1fr !important; }
  .about__photo img { aspect-ratio: 4/3; object-fit: cover; }
  .h2 { font-size: clamp(26px, 6vw, 36px) !important; line-height: 1.25; }
}

/* Portfolio (사업영역) — single column with comfortable card sizing on phones */
@media (max-width: 600px) {
  .port__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .port__grid,
  .port__grid.port__grid--4 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .port-card {
    /* Each card occupies full width, easy to scan one-by-one */
    max-width: 100%;
  }
  .port-card__media {
    aspect-ratio: 16/10; /* slightly wider — fills phone screen better */
  }
  .port-card__body { padding: 20px 20px 24px; }
}

/* Capability table — stack on phones */
@media (max-width: 600px) {
  .cap__row {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 16px 0;
  }
  .cap__row--head { display: none; }
  .cap__label {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
  }
  .cap__reason { padding: 32px 24px !important; }
}

/* Products section — tighter padding, full-width image */
@media (max-width: 720px) {
  .pb { grid-template-columns: 1fr !important; gap: 24px !important; }
  .pb--rev .pb__media,
  .pb--rev .pb__body { order: unset !important; }
  .pb__media-cap { font-size: 12px; }
  .prod__side { display: none; } /* Side nav adds clutter on small screens */
}

/* Contact — stack tabs, single column form */
@media (max-width: 600px) {
  .ct__tabs { grid-template-columns: 1fr !important; gap: 8px; }
  .ct__row { grid-template-columns: 1fr !important; gap: 16px; }
  .ct__panel { gap: 24px; }
  .ct__info { padding: 24px !important; }
}

/* Section padding tighter on phones */
@media (max-width: 600px) {
  .about, .philos, .port, .cap, .prod, .mkt, .ct { padding: 80px 0 !important; }
  .sec-label { margin-bottom: 32px; }
}

/* Footer */
@media (max-width: 600px) {
  .foot__cols { grid-template-columns: 1fr !important; gap: 24px; }
  .foot__brand img { height: 44px; }
}
