/* ============================================================
   NODE & PEAK — Design System
   기획서 5.5 컬러 팔레트 + 5.6 타이포그래피 기반
   원칙: 절제 · 여백 · 무게감 · 도트 매트릭스
   ============================================================ */

:root {
  /* Brand */
  --color-navy: #101A38;
  --color-navy-700: #1B2647;
  --color-navy-900: #0A1226;
  --color-white: #FFFFFF;
  --color-gray-50: #FAFAFA;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #ECEDEF;
  --color-gray-300: #D9DBE0;
  --color-gray-500: #8B8F99;
  --color-gray-700: #4A4E59;
  --color-gray-900: #1A1D24;

  /* Semantic */
  --bg: var(--color-white);
  --bg-alt: var(--color-gray-100);
  --text: var(--color-gray-900);
  --text-muted: var(--color-gray-700);
  --text-subtle: var(--color-gray-500);
  --accent: var(--color-navy);
  --line: var(--color-gray-200);
  --line-strong: var(--color-gray-300);

  /* Typography — Pretendard for both KR and EN (Pretendard's Latin glyphs are Inter-based) */
  --font-kr: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --font-en: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;        /* prevents any wayward child from triggering page-wide horizontal scroll */
}
body {
  margin: 0;
  font-family: var(--font-kr);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }   /* normalize browser default `margin: 1em 40px` that breaks full-bleed bands */
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- Visually-hidden (screen-reader only) ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Skip link (visually hidden until focused) ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  background: var(--color-navy);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  line-height: 1.2;
  z-index: 999;
  transform: translateY(calc(-100% - 24px));
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}

/* Transparent header over dark hero (Home only, until scrolled) */
.page-home .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.page-home .site-header:not(.is-scrolled) .brand img {
  filter: brightness(0) invert(1);
}
.page-home .site-header:not(.is-scrolled) .primary-nav a {
  color: rgba(255, 255, 255, 0.85);
}
.page-home .site-header:not(.is-scrolled) .primary-nav a:hover,
.page-home .site-header:not(.is-scrolled) .primary-nav a.is-active {
  color: #fff;
}
.page-home .site-header:not(.is-scrolled) .primary-nav a.is-active::after {
  background: #fff;
}
.page-home .site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}
.header-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 28px; width: auto; }

.primary-nav ul {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
}
.primary-nav a {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 10px 2px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.primary-nav a:hover { color: var(--color-navy); }
.primary-nav a.is-active { color: var(--color-navy); }
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: var(--color-navy);
}

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute; left: 6px; right: 6px;
  height: 1.5px;
  background: var(--color-navy);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--line);
}
.mobile-nav ul { padding: 12px var(--gutter) 24px; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.mobile-nav a.is-active { color: var(--color-navy); }

@media (max-width: 860px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav.is-open { display: block; }
}

/* ---------- Main ---------- */
main { padding-top: var(--header-h); }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Two-column intro: editorial title (left) + body paragraph (right).
   Auto-collapses to 1-column on mobile. */
.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.split-intro > .title {
  color: var(--color-navy);
}
.split-intro > .body {
  color: var(--text-muted);
  max-width: 64ch;
  align-self: center;
  display: grid;
  gap: 20px;
}
@media (max-width: 720px) {
  .split-intro {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
  }
  .split-intro > .body { align-self: start; }
}
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--color-gray-100); }
.section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.section-dark a { color: var(--color-white); }

/* ---------- Typography utilities ---------- */
.eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--color-navy);
}
.section-dark .eyebrow { color: rgba(255, 255, 255, 0.85); }
.section-dark .eyebrow::before { background: rgba(255, 255, 255, 0.6); }

.h1, h1.display {
  font-size: clamp(32px, 5.2vw, 64px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.h2, h2.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.4;
}
.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--text-muted);
}
.text-en { font-family: var(--font-en); }
.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { background: var(--color-navy); color: #fff; }
.btn-primary { background: var(--color-navy); color: #fff; }
.btn-primary:hover { background: var(--color-navy-700); border-color: var(--color-navy-700); }
.btn-ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--color-navy); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Dot pattern (CI continuity) ---------- */
.dot-pattern {
  background-image: radial-gradient(rgba(16, 26, 56, 0.18) 1px, transparent 1.5px);
  background-size: 14px 14px;
}
.dot-pattern-light {
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1.5px);
  background-size: 14px 14px;
}

/* ---------- Brand signature: dot-rule divider ----------
   A horizontal row of dots used as a divider between major sections.
   Reinforces the logo's dot-matrix as a structural element, not just bg.
*/
.dot-rule {
  height: 1px;
  background-image: radial-gradient(currentColor 0.9px, transparent 1.4px);
  background-size: 14px 1px;
  background-repeat: repeat-x;
  background-position: center;
  color: rgba(16, 26, 56, 0.35);
  margin: 0;
}
.dot-rule.dot-rule-light { color: rgba(255, 255, 255, 0.35); }

/* ---------- Editorial section marker ----------
   Big numeral + horizontal rule + label.
   Replaces the generic "eyebrow + title" pattern.
*/
.section-marker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: 28px;
  margin-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.section-marker .num {
  font-family: var(--font-en);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 200;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--color-navy);
}
.section-marker .label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy);
  font-weight: 500;
  align-self: end;
  padding-bottom: clamp(8px, 1vw, 14px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-marker .label::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--color-navy);
}
.section-marker .meta {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  align-self: end;
  padding-bottom: clamp(10px, 1.2vw, 16px);
  text-transform: uppercase;
}
.section-dark .section-marker { border-bottom-color: rgba(255, 255, 255, 0.18); }
.section-dark .section-marker .num,
.section-dark .section-marker .label { color: #fff; }
.section-dark .section-marker .label::before { background: rgba(255, 255, 255, 0.6); }
.section-dark .section-marker .meta { color: rgba(255, 255, 255, 0.6); }

@media (max-width: 600px) {
  .section-marker { grid-template-columns: auto 1fr; }
  .section-marker .meta { display: none; }
}

/* ---------- Editorial timeline (Approach) ---------- */
.timeline {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-step {
  display: grid;
  grid-template-columns: clamp(96px, 14vw, 168px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.timeline-step:last-child { border-bottom: 1px solid var(--line); }
.timeline-step .num-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.timeline-step .num {
  font-family: var(--font-en);
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--color-navy);
}
.timeline-step .num-col::after {
  /* dot connector running down to the next step */
  content: "";
  position: absolute;
  left: 6px;
  top: clamp(70px, 11vw, 150px);
  bottom: -56px;
  width: 1px;
  background-image: radial-gradient(rgba(16, 26, 56, 0.4) 1px, transparent 1.4px);
  background-size: 1px 10px;
  background-repeat: repeat-y;
}
.timeline-step:last-child .num-col::after { display: none; }
.timeline-step .body {
  display: grid;
  gap: 6px;
  max-width: 60ch;
  padding-top: 16px;
}
.timeline-step .te {
  font-family: var(--font-en);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.timeline-step .tk {
  font-size: 14px;
  color: var(--text-subtle);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.timeline-step .desc {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.75;
}
@media (max-width: 600px) {
  .timeline-step { grid-template-columns: 72px 1fr; gap: 20px; }
  .timeline-step .num { font-size: 48px; }
  .timeline-step .num-col::after { top: 60px; }
}

/* =============================================================
   HOME — Hero (editorial, bottom-anchored)
============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));   /* extend image behind transparent header */
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: var(--color-navy);
  color: #fff;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Three-stop gradient: top dark for nav contrast, mid breathing, bottom dark for slogan readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 14, 30, 0.80) 0%, rgba(8, 14, 30, 0.20) 22%, rgba(8, 14, 30, 0.20) 55%, rgba(8, 14, 30, 0.75) 100%),
    linear-gradient(110deg, rgba(8, 14, 30, 0.55) 0%, rgba(8, 14, 30, 0.20) 60%, rgba(8, 14, 30, 0.10) 100%);
  pointer-events: none;
}
/* Subtle dot pattern in upper-right quadrant (signature element) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 50% 60% at 85% 25%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 85% 25%, #000 10%, transparent 70%);
  pointer-events: none;
}

.hero-row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-top {
  padding-top: calc(var(--header-h) + clamp(20px, 3vw, 32px));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.hero-top .hero-tag {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-top .hero-tag::before {
  content: "";
  width: 24px; height: 1px;
  background: rgba(255, 255, 255, 0.6);
}
.hero-top .np-mark { color: rgba(255, 255, 255, 0.85); }

.hero-mid {
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px);
}

.hero-bottom {
  padding-bottom: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: clamp(24px, 3vw, 36px);
  margin-top: clamp(24px, 3vw, 36px);
}

.hero h1.display {
  font-size: clamp(42px, 8.5vw, 120px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0;
  max-width: 13ch;
}
.hero h1.display .accent {
  display: block;
  font-weight: 300;
  font-style: italic;
}

.hero-sub {
  max-width: 36ch;
  font-size: clamp(14px, 1.1vw, 16px);
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  align-self: end;
  white-space: nowrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span + span::before {
  content: "·";
  color: rgba(255, 255, 255, 0.4);
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(20px, 3vw, 32px);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2.4s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  20% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll::after { animation: none; opacity: 0.6; transform: none; }
}

@media (max-width: 720px) {
  .hero-bottom {
    grid-template-columns: 1fr;
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
  }
  .hero-meta { white-space: normal; }
  .hero-scroll { display: none; }
  /* Top tag row (brand name + EST.) is a desktop editorial accent — remove on mobile to
     give the slogan more breathing room. */
  .hero-top { display: none; }
  .hero { grid-template-rows: auto 1fr auto; }
  .hero-mid { padding-top: calc(var(--header-h) + clamp(40px, 10vw, 80px)); }
}

/* Home — overview grid */
.home-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.home-overview .lead { margin-top: 24px; }
@media (max-width: 800px) {
  .home-overview { grid-template-columns: 1fr; }
}

/* Home — About: image + text split */
.home-about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
}
.home-about figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  isolation: isolate;
  background: var(--color-navy);
}
.home-about figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s var(--ease-out);
}
.home-about:hover figure img { transform: scale(1.03); }
.home-about figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 14, 30, 0.25) 100%);
  pointer-events: none;
}
.home-about .body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 2vw, 28px);
  max-width: 56ch;
}
@media (max-width: 800px) {
  .home-about { grid-template-columns: 1fr; }
  .home-about figure { aspect-ratio: 16 / 10; max-height: 420px; }
}

/* Home — Services tiles (image-led, replacing the old 4-card text grid) */
.services-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.service-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-navy);
  isolation: isolate;
  color: #fff;
}
.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1.4s var(--ease-out), filter 0.6s var(--ease);
}
.service-tile:hover img {
  transform: scale(1.045);
  filter: brightness(0.9);
}
.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 30, 0.10) 0%,
    rgba(8, 14, 30, 0.18) 38%,
    rgba(8, 14, 30, 0.85) 100%
  );
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.tile-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 40px);
  pointer-events: none;
}
.tile-content .num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.tile-content .num::before {
  content: "";
  width: 24px; height: 1px;
  background: rgba(255, 255, 255, 0.6);
}
.tile-content .te {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 4px;
}
.tile-content h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  max-width: 14ch;
}
.tile-arrow {
  position: absolute;
  top: clamp(20px, 2.5vw, 32px);
  right: clamp(20px, 2.5vw, 32px);
  z-index: 2;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.4s var(--ease-out);
  pointer-events: none;
}
.service-tile:hover .tile-arrow {
  background: #fff;
  color: var(--color-navy);
  border-color: #fff;
  transform: rotate(-45deg);
}

@media (max-width: 720px) {
  .services-tiles { grid-template-columns: 1fr; }
  .service-tile { aspect-ratio: 4 / 3; }
  .tile-content h3 { max-width: 18ch; }
}

/* Home — Approach summary: clean editorial 4-column.
   Numbers are the visual anchors. No decorative circles, no dotted lines —
   relies on typographic hierarchy + thin column separators. */
.approach-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.approach-summary .step {
  background: transparent;
  padding: clamp(28px, 3.5vw, 44px) clamp(18px, 2vw, 28px) clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.approach-summary .step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.10);
}
.approach-summary .step .n {
  font-family: var(--font-en);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: clamp(20px, 2.4vw, 28px);
}
.approach-summary .step .t {
  font-family: var(--font-en);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.approach-summary .step .k {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 800px) {
  .approach-summary { grid-template-columns: repeat(2, 1fr); }
  .approach-summary .step:nth-child(2)::after { display: none; }
  .approach-summary .step:nth-child(3),
  .approach-summary .step:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }
}
@media (max-width: 480px) {
  .approach-summary { grid-template-columns: 1fr; }
  .approach-summary .step:not(:last-child)::after { display: none; }
  .approach-summary .step:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }
}

/* Home — approach summary */
.approach-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.12);
}
.approach-summary .step {
  background: var(--color-navy);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.approach-summary .step .n {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}
.approach-summary .step .t {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.approach-summary .step .k {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 800px) {
  .approach-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .approach-summary { grid-template-columns: 1fr; }
}

/* Home — focus summary: balanced 3x2 grid with inline CTA in 6th cell */
.focus-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.focus-summary > li {
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 200px;
  background: #fff;
  transition: background 0.3s var(--ease);
}
.focus-summary > li:not(.cta):hover { background: var(--color-gray-50); }
.focus-summary .n {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 14px;
}
.focus-summary .t {
  font-family: var(--font-en);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.focus-summary .k {
  font-size: 13px;
  color: var(--text-subtle);
  font-weight: 500;
  margin-top: auto;
}

/* CTA cell — 6th slot, navy filled */
.focus-summary > li.cta {
  padding: 0;
  background: var(--color-navy);
}
.focus-summary > li.cta a {
  display: flex;
  flex-direction: column;
  width: 100%; height: 100%;
  padding: clamp(28px, 3vw, 40px);
  color: #fff;
  position: relative;
  isolation: isolate;
}
.focus-summary > li.cta a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.focus-summary > li.cta a:hover::before { opacity: 1; }
.focus-summary > li.cta .n {
  color: rgba(255, 255, 255, 0.65);
}
.focus-summary > li.cta .t {
  color: #fff;
  font-size: clamp(17px, 1.8vw, 22px);
  max-width: 14ch;
}
.focus-summary > li.cta .arrow-c {
  margin-top: auto;
  align-self: flex-end;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.4s var(--ease-out);
}
.focus-summary > li.cta a:hover .arrow-c {
  background: #fff;
  color: var(--color-navy);
  border-color: #fff;
  transform: rotate(-45deg);
}

@media (max-width: 800px) {
  .focus-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .focus-summary { grid-template-columns: 1fr; }
  .focus-summary > li { min-height: auto; }
}

/* =============================================================
   PAGE HERO — Editorial 3-column layout
   Index numeric (margin) | Title + lead (center) | Meta column (right)
   Replaces the generic eyebrow + h1 pattern across all sub-pages.
============================================================= */
.page-hero {
  padding: clamp(80px, 11vw, 152px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: clamp(64px, 9vw, 128px) minmax(0, 1fr) clamp(180px, 18vw, 240px);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.page-hero-grid.no-meta {
  grid-template-columns: clamp(64px, 9vw, 128px) minmax(0, 1fr);
}

.hero-index {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}
.hero-index .up-link {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  width: max-content;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.hero-index .up-link::before {
  content: "";
  width: 16px; height: 1px;
  background: currentColor;
  transition: width 0.2s var(--ease);
}
.hero-index .up-link:hover {
  color: var(--color-navy);
  gap: 12px;
}
.hero-index .up-link:hover::before { width: 24px; }
.hero-index .num {
  font-family: var(--font-en);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--color-navy);
}
.hero-index .label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
}

.hero-content h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  color: var(--color-navy);
  max-width: 20ch;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
}
.hero-content .ko-en {
  font-family: var(--font-en);
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.02em;
  color: var(--text-subtle);
  margin: 16px 0 0;
}
.hero-content .lead {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 60ch;
}

.hero-meta-col {
  border-top: 1px solid var(--color-navy);
  padding-top: 14px;
}
.hero-meta-col dl {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
}
.hero-meta-col dt {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
}
.hero-meta-col dd {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--color-navy);
  font-weight: 500;
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .page-hero-grid,
  .page-hero-grid.no-meta {
    grid-template-columns: clamp(56px, 12vw, 88px) minmax(0, 1fr);
  }
  .hero-meta-col {
    grid-column: 2;
    margin-top: clamp(28px, 4vw, 40px);
  }
}
@media (max-width: 640px) {
  /* Editorial meta column is supporting context for desktop magazine layout —
     redundant on small viewports where vertical space is at premium. */
  .hero-meta-col { display: none; }
}
@media (max-width: 560px) {
  .page-hero-grid,
  .page-hero-grid.no-meta { grid-template-columns: 1fr; }
}

/* =============================================================
   ABOUT
============================================================= */

.about-block {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--line);
}
.about-block:last-of-type { border-bottom: 0; }
.about-block h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--color-navy);
}
.about-block .body { display: grid; gap: 20px; max-width: 64ch; }
.about-block .body p { color: var(--text-muted); }
@media (max-width: 800px) {
  .about-block { grid-template-columns: 1fr; gap: 20px; }
}

/* About — full-bleed image band */
.about-image-band {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 560px;
  overflow: hidden;
  margin: clamp(60px, 8vw, 100px) 0;
}
.about-image-band img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 38, 0.0) 60%, rgba(10, 18, 38, 0.35) 100%);
  pointer-events: none;
}
@media (max-width: 600px) {
  .about-image-band { aspect-ratio: 4 / 5; max-height: none; }
}

.ci-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(48px, 6vw, 80px);
  background: var(--color-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ci-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, transparent 40%, #000 90%);
  -webkit-mask-image: linear-gradient(135deg, transparent 40%, #000 90%);
  pointer-events: none;
}
.ci-row > * { position: relative; z-index: 1; }
.ci-row .ci-mark {
  background: #fff;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-row .ci-mark img { max-height: 140px; width: auto; }
.ci-row .ci-meaning .eyebrow { color: rgba(255,255,255,0.85); }
.ci-row .ci-meaning .eyebrow::before { background: rgba(255,255,255,0.6); }
.ci-row h3 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 16px; }
.ci-row p { color: rgba(255,255,255,0.78); }
.ci-row dl { margin-top: 24px; display: grid; gap: 14px; }
.ci-row dt {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.ci-row dd { color: rgba(255,255,255,0.92); margin-top: 2px; }

@media (max-width: 800px) {
  .ci-row { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* =============================================================
   LOCATION FRAME — Headquarters card (About)
   Two-pane: legal info (left) | interactive map (right)
============================================================= */
.location-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  border: 1px solid var(--line);
  background: #fff;
  margin-top: clamp(32px, 4vw, 56px);
  overflow: hidden;
}
.location-info-pane {
  padding: clamp(36px, 4vw, 56px);
  background: var(--color-gray-50);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.location-info-pane .pane-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.location-info-pane .pane-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--color-navy);
}
.location-info-pane .pane-title {
  font-family: var(--font-en);
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--color-navy);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 36px;
}
.location-info-pane dl {
  display: grid;
  gap: 18px;
  margin: 0 0 36px;
}
.location-info-pane dt {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 4px;
}
.location-info-pane dd {
  font-size: 15px;
  color: var(--color-navy);
  margin: 0;
  font-weight: 500;
}
.location-info-pane dd a {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}
.location-info-pane dd a:hover { border-bottom-color: var(--color-navy); }
.location-info-pane .pane-actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.location-map {
  position: relative;
  min-height: 480px;
  background: var(--color-gray-100);
  margin: 0;
  isolation: isolate;       /* contain Leaflet's high z-indexes (markers 600, controls 1000+) */
  overflow: hidden;         /* clip pulse marker that exceeds map edges */
}
.location-map > div { position: absolute; inset: 0; }
.location-map::before {
  content: "Loading map";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  z-index: 1;
}
.location-map.is-ready::before { display: none; }
.location-map::after {
  /* Brand dot pattern overlay — ties map to CI */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 26, 56, 0.05) 1px, transparent 1.5px);
  background-size: 14px 14px;
  z-index: 410;
  mix-blend-mode: multiply;
}

/* Custom Leaflet marker */
.np-marker { width: 40px; height: 40px; }
.np-marker .dot {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  background: var(--color-navy);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(16, 26, 56, 0.45);
  z-index: 2;
}
.np-marker .pulse {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border: 1px solid var(--color-navy);
  border-radius: 50%;
  animation: npPulse 2.6s var(--ease-out) infinite;
  z-index: 1;
}
@keyframes npPulse {
  0%   { transform: translate(-50%, -50%) scale(0.45); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.6);  opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .np-marker .pulse { animation: none; opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
}

/* Leaflet UI re-skin to match brand */
.leaflet-container { font-family: var(--font-kr); background: var(--color-gray-100); }
.leaflet-control-zoom a {
  background: #fff !important;
  color: var(--color-navy) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  font-family: var(--font-en) !important;
}
.leaflet-control-zoom a:hover { background: var(--color-gray-50) !important; }
.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.85) !important;
  font-size: 10px !important;
  color: var(--text-subtle) !important;
  padding: 2px 8px !important;
}
.leaflet-control-attribution a { color: var(--color-navy) !important; }

@media (max-width: 800px) {
  .location-frame { grid-template-columns: 1fr; }
  .location-info-pane { border-right: 0; border-bottom: 1px solid var(--line); }
  .location-map { min-height: 360px; }
}

/* =============================================================
   BUSINESS
============================================================= */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.business-card {
  background: #fff;
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.business-card:hover { background: var(--color-navy); color: #fff; }
.business-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.business-card .num {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
}
.business-card:hover .num { color: rgba(255,255,255,0.7); }
.business-card .arrow-circle {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.business-card:hover .arrow-circle { border-color: #fff; background: rgba(255,255,255,0.08); }
.business-card .title-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.business-card:hover .title-en { color: rgba(255,255,255,0.7); }
.business-card h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--color-navy);
  transition: color 0.3s var(--ease);
}
.business-card:hover h3 { color: #fff; }
.business-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: auto;
  padding-top: 24px;
}
.business-card:hover p { color: rgba(255,255,255,0.78); }

@media (max-width: 720px) {
  .business-grid { grid-template-columns: 1fr; }
  .business-card { min-height: auto; }
}

/* Business detail */
.detail-axis {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.detail-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 520px;
  overflow: hidden;
}
.detail-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.detail-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 38, 0.0) 50%, rgba(10, 18, 38, 0.45) 100%);
  pointer-events: none;
}
@media (max-width: 600px) {
  .detail-banner { aspect-ratio: 4 / 3; max-height: none; }
}
.detail-body {
  display: grid;
  gap: clamp(20px, 2vw, 28px);
  max-width: 64ch;
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
}
.detail-body p {
  color: var(--text-muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
}
.detail-body .lead-quote {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 2px solid var(--color-navy);
}

/* =============================================================
   APPROACH
============================================================= */
.approach-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.approach-line .step {
  padding: clamp(32px, 4vw, 56px) clamp(20px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.approach-line .step:last-child { border-right: 0; }
.approach-line .step .n {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--color-navy);
  font-weight: 500;
}
.approach-line .step .te {
  font-family: var(--font-en);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}
.approach-line .step .tk {
  font-size: 14px;
  color: var(--text-subtle);
  font-weight: 500;
}
.approach-line .step .desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.approach-line .step::after {
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  width: 13px; height: 13px;
  background: var(--color-white);
  border: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
  display: none;
}
@media (max-width: 900px) {
  .approach-line { grid-template-columns: 1fr; }
  .approach-line .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .approach-line .step:last-child { border-bottom: 0; }
}

/* =============================================================
   FOCUS — Editorial vertical list (replaces card grid)
   Magazine-style numbered table-of-contents.
============================================================= */
.editorial-list {
  display: grid;
}
.editorial-list li {
  position: relative;
  border-top: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.editorial-list li:last-child { border-bottom: 1px solid var(--line); }
.editorial-list .ed-row {
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 88px) minmax(220px, 1fr) minmax(0, 1.6fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: baseline;
  padding: clamp(28px, 3.4vw, 44px) 0;
}
.editorial-list .num {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--text-subtle);
}
.editorial-list .titles { display: grid; gap: 4px; align-self: start; }
.editorial-list .te {
  font-family: var(--font-en);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.018em;
  line-height: 1.18;
}
.editorial-list .tk {
  font-size: 13px;
  color: var(--text-subtle);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.editorial-list .desc {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 56ch;
  align-self: start;
  padding-top: 8px;
}

@media (max-width: 800px) {
  .editorial-list .ed-row {
    grid-template-columns: clamp(40px, 9vw, 64px) minmax(0, 1fr);
    row-gap: 16px;
  }
  .editorial-list .desc {
    grid-column: 2;
  }
}

/* =============================================================
   SCOPE LIST — numbered editorial list (Business detail)
============================================================= */
.scope-list {
  display: grid;
  list-style: none;
  margin: 0; padding: 0;
}
.scope-list > li {
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 88px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.scope-list > li:last-child { border-bottom: 1px solid var(--line); }
.scope-list .n {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-subtle);
  font-weight: 500;
}
.scope-list .item {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--color-navy);
  letter-spacing: -0.005em;
  font-weight: 500;
}

/* =============================================================
   DETAIL NAV — single-strip pagination across 4 services
============================================================= */
.detail-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: clamp(20px, 2.4vw, 28px) clamp(16px, 2vw, 24px);
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.detail-nav-head .hd-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
}
.detail-nav-head .hd-up {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-navy);
  padding-bottom: 1px;
  transition: opacity 0.2s var(--ease);
}
.detail-nav-head .hd-up:hover { opacity: 0.65; }
.detail-nav ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0; padding: 0;
}
.detail-nav li {
  border-right: 1px solid var(--line);
}
.detail-nav li:last-child { border-right: 0; }
.detail-nav a, .detail-nav .current {
  display: block;
  padding: clamp(20px, 2.4vw, 28px) clamp(16px, 2vw, 24px);
  height: 100%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  background: #fff;
}
.detail-nav a:hover { background: var(--color-gray-100); }
.detail-nav .current {
  background: var(--color-navy);
  color: #fff;
  cursor: default;
}
.detail-nav .n {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 8px;
}
.detail-nav .current .n { color: rgba(255, 255, 255, 0.65); }
.detail-nav .te {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.detail-nav .current .te { color: #fff; }
.detail-nav .tk {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  display: block;
}
.detail-nav .current .tk { color: rgba(255, 255, 255, 0.92); }

@media (max-width: 800px) {
  .detail-nav ol { grid-template-columns: repeat(2, 1fr); }
  .detail-nav li:nth-child(2) { border-right: 0; }
  .detail-nav li:nth-child(1), .detail-nav li:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* =============================================================
   PRIVACY / Long-form
============================================================= */
.legal {
  padding: clamp(60px, 8vw, 100px) 0;
}
.legal h2 {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--color-navy);
  margin: 48px 0 16px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); font-size: 15px; line-height: 1.85; }
.legal ul { padding-left: 20px; list-style: disc; display: grid; gap: 6px; margin: 12px 0; }
.legal li::marker { color: var(--text-subtle); }

/* =============================================================
   BACK-TO-TOP BUTTON — fixed bottom-right, fades in on scroll
============================================================= */
.back-to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  width: 48px;
  height: 48px;
  background: var(--color-navy);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 90;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(8, 14, 30, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease),
    transform 0.3s var(--ease),
    background 0.2s var(--ease);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-navy-700);
}
.back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.back-to-top svg {
  transition: transform 0.3s var(--ease);
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.2s linear; }
  .back-to-top:hover svg { transform: none; }
}

/* =============================================================
   FOOTER
============================================================= */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.78);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 80%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 80%);
  pointer-events: none;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  position: relative;
  z-index: 1;
}
.footer-brand img {
  filter: brightness(0) invert(1);
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}
.footer-slogan {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
  font-style: italic;
}
.footer-info dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 20px;
  font-size: 14px;
}
.footer-info dt {
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}
.footer-info dd { color: rgba(255,255,255,0.92); margin: 0; }
.footer-info a { color: inherit; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 1px; }
.footer-info a:hover { border-bottom-color: #fff; }

.footer-meta { display: flex; flex-direction: column; gap: 24px; align-items: flex-end; }
.footer-links { display: flex; gap: 20px; font-size: 14px; }
.footer-links a { color: rgba(255,255,255,0.85); }
.footer-links a:hover { color: #fff; }
.copyright {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { align-items: flex-start; }
  .footer-info dl { grid-template-columns: 100px 1fr; }
}

/* =============================================================
   404
============================================================= */
.error-wrap {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px var(--gutter);
}
.error-wrap .code {
  font-family: var(--font-en);
  font-size: clamp(72px, 12vw, 144px);
  font-weight: 300;
  color: var(--color-navy);
  letter-spacing: -0.04em;
  line-height: 1;
}
.error-wrap p { color: var(--text-muted); margin: 16px 0 32px; }

/* =============================================================
   Reveal on scroll — restrained editorial entry animations
============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease-out),
    transform 1.1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Image-specific reveal: subtle scale-down on entry, plus opacity. */
.reveal-image {
  opacity: 0;
  transform: scale(1.045);
  transition:
    opacity 1.2s var(--ease-out),
    transform 1.6s var(--ease-out);
  will-change: opacity, transform;
}
.reveal-image.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger child reveals — for grids / lists */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 1s var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-image,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* =============================================================
   MOOD BAND — full-width image divider used across sub-pages
   Optional headline overlay (left-anchored).
============================================================= */
.mood-band {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 620px;
  overflow: hidden;
  background: var(--color-navy);
  isolation: isolate;
}
.mood-band > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.mood-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(8, 14, 30, 0.55) 0%, rgba(8, 14, 30, 0.20) 60%, rgba(8, 14, 30, 0.05) 100%);
  pointer-events: none;
}
.mood-band-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 5vw, 64px);
  pointer-events: none;
}
.mood-band-overlay .text {
  max-width: 32ch;
  color: #fff;
  pointer-events: auto;
}
.mood-band-overlay .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.mood-band-overlay .eyebrow::before { background: rgba(255, 255, 255, 0.6); }
.mood-band-overlay h2 {
  font-family: var(--font-en);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}
.mood-band-overlay h2 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 600px) {
  .mood-band { aspect-ratio: 4 / 3; max-height: none; }
}

/* =============================================================
   INTRO STAGE (Prototype chooser at "/")
============================================================= */
body.page-intro {
  background: var(--color-navy-900);
  color: #fff;
  min-height: 100vh;
  min-height: 100svh;
}
body.page-intro main { padding-top: 0; }

.intro-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  padding:
    clamp(56px, 7vw, 96px)             /* top — matches header presence on other pages */
    clamp(20px, 4vw, 64px)
    clamp(28px, 4vw, 56px);
}
.intro-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 255, 255, 0.04), transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 90%, rgba(255, 255, 255, 0.03), transparent 70%),
    var(--color-navy-900);
}
.intro-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
}

.intro-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.intro-brand img {
  filter: brightness(0) invert(1);
  height: 28px;
  width: auto;
}
.intro-meta {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.intro-body {
  align-self: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: clamp(40px, 6vw, 80px) 0;
}
.intro-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.intro-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: rgba(255, 255, 255, 0.6);
}
.intro-headline {
  font-family: var(--font-en);
  font-size: clamp(38px, 6.5vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 24px;
  max-width: 14ch;
}
.intro-headline em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}
.intro-lead {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  margin: 0 0 clamp(48px, 6vw, 72px);
  line-height: 1.7;
}

.intro-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}
/* <li> is removed from the layout flow so .opt becomes the direct grid item.
   Without this, .opt sits inside <li> and doesn't stretch to equalize heights. */
.intro-options > li { display: contents; }

.intro-options .opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(28px, 3vw, 40px);
  min-height: clamp(280px, 30vw, 360px);
  height: 100%;            /* fill grid cell — equalizes card heights */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease-out);
}
.intro-options .opt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.intro-options .opt:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-3px);
}
.intro-options .opt:hover::before { opacity: 1; }

.intro-options .opt-num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: clamp(20px, 2.4vw, 28px);
}
.intro-options .opt-icon {
  color: #fff;
  margin-bottom: clamp(20px, 2.4vw, 28px);
  opacity: 0.92;
  transition: transform 0.5s var(--ease-out);
}
.intro-options .opt:hover .opt-icon {
  transform: translateY(-2px);
}
.intro-options .opt-en {
  font-family: var(--font-en);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 4px;
}
.intro-options .opt-kr {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}
.intro-options .opt-desc {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 28ch;
}
.intro-options .opt-arrow {
  margin-top: auto;
  align-self: flex-start;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.4s var(--ease-out);
}
.intro-options .opt:hover .opt-arrow {
  background: #fff;
  color: var(--color-navy);
  border-color: #fff;
  transform: translateX(4px);
}

.intro-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding-top: clamp(24px, 4vw, 40px);
}

@media (max-width: 900px) {
  .intro-options { grid-template-columns: 1fr; gap: 12px; }
  .intro-options .opt { min-height: auto; padding: 28px; }
}
@media (max-width: 560px) {
  .intro-head { flex-direction: column; align-items: flex-start; }
  .intro-foot { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   MOBILE PREVIEW STAGE (/preview/mobile)
   Phone frame fits within viewport — no vertical page scroll.
============================================================= */
body.page-preview {
  background: var(--color-gray-100);
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.page-preview main { padding-top: 0; }

.preview-bar {
  flex: 0 0 auto;
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.preview-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.preview-back,
.preview-open {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.preview-back:hover,
.preview-open:hover { border-bottom-color: var(--color-navy); }
.preview-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.preview-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-navy);
  font-weight: 500;
}
.preview-dim {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

.preview-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px) 16px;
  gap: clamp(12px, 1.5vw, 20px);
}
.phone-frame {
  /* Width is the smaller of: max-width, viewport-bound, height-derived width.
     This guarantees the frame fits within viewport without breaking aspect ratio. */
  width: min(
    414px,
    calc(100vw - 32px),
    calc((100svh - 180px) * 414 / 896)
  );
  aspect-ratio: 414 / 896;
  background: #1a1a1a;
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(8px, 1vw, 14px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 24px 60px rgba(8, 14, 30, 0.18),
    0 8px 16px rgba(8, 14, 30, 0.10);
  position: relative;
  isolation: isolate;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 12px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: clamp(22px, 3.5vw, 36px);
  overflow: hidden;          /* clips the iframe's scrollbar that sits in extra width */
}
.phone-screen iframe {
  /* Extend iframe slightly past the screen edge so the iframe's own scrollbar
     gets hidden behind the phone-screen's overflow:hidden + rounded corners.
     The user can still scroll the iframe via touch/wheel. */
  width: calc(100% + 20px);
  height: 100%;
  border: 0;
  display: block;
}
.preview-caption {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  text-align: center;
  margin: 0;
  max-width: 56ch;
}

@media (max-width: 560px) {
  .preview-bar-inner { flex-wrap: wrap; gap: 8px 16px; padding: 10px 16px; }
  .preview-meta { flex: 1 1 100%; align-items: center; order: 3; }
}

/* =============================================================
   ASSETS PAGE (/assets)
============================================================= */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.swatch {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.swatch-chip {
  height: clamp(180px, 22vw, 280px);
}
.swatch--navy .swatch-chip { background: var(--color-navy); }
.swatch--white .swatch-chip {
  background: #FFFFFF;
  background-image: linear-gradient(45deg, rgba(0,0,0,0.04) 25%, transparent 25%, transparent 50%, rgba(0,0,0,0.04) 50%, rgba(0,0,0,0.04) 75%, transparent 75%);
  background-size: 16px 16px;
  border-bottom: 1px solid var(--line);
}
.swatch--gray .swatch-chip { background: var(--color-gray-100); }
.swatch-meta {
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.swatch-name {
  font-family: var(--font-en);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.005em;
}
.swatch-hex {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}
.swatch-use {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 720px) {
  .swatch-grid { grid-template-columns: 1fr; }
}

.type-scale {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.type-row {
  display: grid;
  grid-template-columns: clamp(160px, 18vw, 220px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.type-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
}
.type-sample { margin: 0; }
@media (max-width: 720px) {
  .type-row { grid-template-columns: 1fr; gap: 12px; }
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.logo-card {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.logo-card--dark .logo-stage { background: var(--color-navy); }
.logo-stage {
  flex: 1 1 auto;
  min-height: clamp(160px, 20vw, 220px);
  background: var(--color-gray-50);
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 40px);
}
.logo-card figcaption {
  padding: clamp(16px, 2vw, 20px) clamp(20px, 2.4vw, 28px);
  background: #fff;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .logo-grid { grid-template-columns: 1fr; }
}

.component-row {
  display: grid;
  grid-template-columns: clamp(160px, 18vw, 220px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.component-row:last-of-type { border-bottom: 1px solid var(--line); }
.component-title {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
  margin: 0;
}
.component-stage {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.component-stage--block { display: block; }
.component-stage-dark {
  display: inline-flex;
  padding: 16px;
  background: var(--color-navy);
}
@media (max-width: 720px) {
  .component-row { grid-template-columns: 1fr; gap: 12px; }
}

.photo-credit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(20px, 2vw, 28px);
  list-style: none;
  margin: 0; padding: 0;
}
.photo-credit figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-gray-100);
}
.photo-credit img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-credit-meta {
  padding: 14px 0 0;
  display: grid;
  gap: 4px;
}
.photo-use {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.005em;
}
.photo-file {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}
.photo-source {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 2px;
}
.photo-source:hover { color: var(--color-navy); }

.bp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.bp {
  background: #fff;
  padding: clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bp-name {
  font-family: var(--font-en);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.005em;
}
.bp-range {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .bp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .bp-grid { grid-template-columns: 1fr; }
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  main { padding-top: 0; }
}
