/* ===== EDINET — NHN Cloud inspired light theme ===== */
:root {
  --color-bg: #ffffff;
  --color-bg-subtle: #f7f8fa;
  --color-bg-muted: #eef1f6;
  --color-surface: #ffffff;
  --color-border: #e5e8ef;
  --color-border-strong: #d1d6e0;
  --color-text: #1a1d26;
  --color-text-secondary: #4b5568;
  --color-text-muted: #6b7280;
  --color-primary: #0066ff;
  --color-primary-hover: #0052cc;
  --color-primary-light: #e8f1ff;
  --color-brand: #0088d1;
  --color-header-bg: #ffffff;
  --color-hero-start: #0a1628;
  --color-hero-end: #0d2847;
  --font-sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 64px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
  --container: min(1200px, 92vw);
  --mobile-gutter: 0.5cm;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}

.logo--dynamic:hover {
  opacity: 1;
}

.logo--dynamic:hover .logo__mark {
  transform: scale(1.02);
  filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.22));
}

.logo--dynamic:hover .logo__tagline {
  color: var(--color-text);
}

.logo__mark {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(200px, 52vw);
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: logoEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.header .logo__mark {
  height: 39px;
  max-width: min(162px, 52vw);
}

.header .logo__tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.logo__tagline {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: -0.025em;
  line-height: 1.25;
  white-space: nowrap;
  padding-left: 0.75rem;
  margin-left: 0.65rem;
  border-left: 1px solid var(--color-border-strong);
  align-self: center;
  opacity: 0;
  animation: taglineIn 0.7s ease 0.35s forwards;
  transition: color 0.3s ease;
}

.logo--footer .logo__mark {
  height: 54px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
}

@keyframes logoEnter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes logoShine {
  0%, 72%, 100% {
    transform: translateX(-130%) skewX(-12deg);
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  88% {
    transform: translateX(130%) skewX(-12deg);
    opacity: 0;
  }
}

@keyframes taglineIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.nav__link:hover,
.nav__trigger:hover,
.nav__link.active {
  background: var(--color-bg-subtle);
  color: var(--color-primary);
}

.nav__link--cta {
  margin-left: 0.5rem;
  background: var(--color-primary) !important;
  color: #fff !important;
}

.nav__link--cta:hover {
  background: var(--color-primary-hover) !important;
}

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav__item:hover .nav__sub,
.nav__item.is-open .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav__sub a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: 6px;
}

.nav__sub a:hover {
  background: var(--color-bg-subtle);
  color: var(--color-primary);
}

.nav__sub a.is-current {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

.footer__col a.is-current,
.footer__col a[aria-current="page"] {
  background: none;
  color: #5eb8ff;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  border-color: var(--color-border-strong);
  color: var(--color-text);
  background: var(--color-surface);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
}

.btn--white:hover {
  background: var(--color-primary-light);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.link-arrow::after {
  content: "→";
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow--sm {
  font-size: 0.85rem;
  margin-top: auto;
}

/* ===== Hero (dynamic) ===== */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  background: linear-gradient(135deg, var(--color-hero-start) 0%, var(--color-hero-end) 50%, #0a3d6e 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.55) 0%, rgba(13, 40, 71, 0.35) 45%, rgba(10, 61, 110, 0.25) 100%),
    linear-gradient(to bottom, rgba(10, 22, 40, 0.2) 0%, rgba(10, 22, 40, 0.55) 100%);
}

.hero__grid {
  z-index: 2;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(48px, 48px); }
}

.hero__orb {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 420px;
  height: 420px;
  top: -10%;
  right: 5%;
  background: rgba(0, 150, 255, 0.45);
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -5%;
  background: rgba(0, 102, 255, 0.35);
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 35%;
  background: rgba(6, 182, 212, 0.3);
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.08); }
}

.hero > .container.hero__layout {
  position: relative;
  z-index: 2;
  width: min(1200px, 92vw);
  max-width: none;
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
  padding-left: clamp(1rem, 6vw, 5rem);
  padding-right: clamp(1rem, 18vw, 14rem);
}

.hero__inner {
  max-width: 640px;
  width: 100%;
  text-align: left;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__title-line {
  display: inline-block;
  white-space: nowrap;
}

.hero__highlight {
  background: linear-gradient(90deg, #00c8ff, #66b3ff, #00a8ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__quick-nav {
  display: none;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.hero__quick-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.hero__quick-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--glow {
  box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.5);
  animation: btnPulse 2.5s ease infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(0, 102, 255, 0.35); }
  50% { box-shadow: 0 4px 32px rgba(0, 168, 255, 0.55); }
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metric strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.hero-metric strong::after {
  content: "+";
  font-size: 1rem;
  color: var(--color-brand);
  margin-left: 2px;
}

.hero-metric span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero__floats {
  position: relative;
  min-height: 320px;
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-float span:last-child {
  color: rgba(255, 255, 255, 0.9);
}

.hero-float--1 {
  top: 8%;
  right: 10%;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-float--2 {
  top: 42%;
  left: 0;
  animation: floatCard 7s ease-in-out infinite -2s;
}

.hero-float--3 {
  bottom: 8%;
  right: 0;
  animation: floatCard 5.5s ease-in-out infinite -4s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: rgba(255, 255, 255, 0.85);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* Entrance animations */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.12s * var(--i, 0));
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.is-loaded .animate-in {
  animation-play-state: running;
}

/* ===== Story scroll (NHN-inspired split panels) ===== */
.story-scroll {
  position: relative;
  z-index: 2;
  margin-top: -1rem;
  background: var(--color-bg);
}

.story-scroll__head {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-scroll__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.story-scroll__title {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.story-scroll__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--color-primary) 0%, #00a8e8 55%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.story-scroll__lead {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 32rem;
  margin-inline: auto;
}

.story-scroll__head.is-visible {
  opacity: 1;
  transform: none;
}

.story-panel {
  min-height: min(88vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  position: relative;
}

.story-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(90%, 720px);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 102, 255, 0.25) 15%,
    var(--color-primary) 50%,
    rgba(0, 102, 255, 0.25) 85%,
    transparent 100%
  );
  opacity: 0.85;
}

.story-panel:last-of-type::after {
  display: none;
}

.story-panel__frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.story-panel__visual {
  order: 1;
  overflow: visible;
}

.story-panel__content {
  order: 2;
}

.story-panel--reverse .story-panel__visual {
  order: 2;
}

.story-panel--reverse .story-panel__content {
  order: 1;
}

.story-panel__visual,
.story-panel__content {
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.story-panel__visual {
  transform: translateX(-48px);
}

.story-panel__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transform: translateX(48px);
  padding: 0;
}

.story-panel--reverse .story-panel__visual {
  transform: translateX(48px);
}

.story-panel--reverse .story-panel__content {
  transform: translateX(-48px);
}

.story-panel.is-active .story-panel__visual,
.story-panel.is-active .story-panel__content {
  opacity: 1;
  transform: none;
}

.story-panel.is-active .story-panel__content {
  transition-delay: 0.15s;
}

.story-panel--visual-lg .story-panel__frame {
  grid-template-columns: 1.12fr 0.88fr;
  max-width: 1180px;
}

.story-panel--visual-lg.story-panel--reverse .story-panel__frame {
  grid-template-columns: 0.88fr 1.12fr;
}

.story-panel--visual-lg .story-visual {
  min-height: calc(300px + 2cm);
  max-height: min(54vh, calc(460px + 2cm));
  aspect-ratio: 16 / 10;
}

.story-panel--visual-lg .story-visual__icon {
  transform: translate(-50%, -50%) scale(1.2);
}

.story-panel--visual-lg.is-active .story-visual__icon {
  animation: storyIconFloatLg 4s ease-in-out infinite alternate;
}

@keyframes storyIconFloatLg {
  from { transform: translate(-50%, -50%) scale(1.2) translateY(0); }
  to { transform: translate(-50%, -50%) scale(1.2) translateY(-8px); }
}

/* Visual panel — futuristic mesh */
.story-visual {
  position: relative;
  width: calc(100% + 2cm);
  margin: -1cm;
  aspect-ratio: 4 / 3;
  min-height: calc(260px + 2cm);
  max-height: min(48vh, calc(400px + 2cm));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 6px 20px rgba(0, 40, 120, 0.08);
}

.story-visual--about {
  background: #0a1628;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.story-visual--about .story-visual__video,
.story-visual--business .story-visual__video,
.story-visual--solution .story-visual__video,
.story-visual--contact .story-visual__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}

.story-visual--about .story-visual__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    160deg,
    rgba(10, 22, 40, 0.72) 0%,
    rgba(10, 22, 40, 0.45) 45%,
    rgba(10, 22, 40, 0.55) 100%
  );
  pointer-events: none;
}

.story-visual--business {
  background: #0c1830;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.story-visual--solution {
  background: #0a1628;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.story-visual--contact {
  background: #0a1628;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.story-visual--contact .story-visual__photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    120deg,
    rgba(10, 22, 40, 0.15) 0%,
    rgba(10, 22, 40, 0.05) 45%,
    rgba(0, 102, 255, 0.12) 100%
  );
  pointer-events: none;
}

.story-visual__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(0, 168, 232, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(99, 102, 241, 0.3), transparent 50%);
  animation: storyMesh 12s ease-in-out infinite alternate;
}

.story-visual__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}

.story-visual__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: storyOrb 8s ease-in-out infinite alternate;
}

.story-visual__orb--1 {
  width: 45%;
  height: 45%;
  top: 10%;
  right: 5%;
  background: rgba(0, 168, 232, 0.5);
}

.story-visual__orb--2 {
  width: 35%;
  height: 35%;
  bottom: 15%;
  left: 10%;
  background: rgba(0, 102, 255, 0.45);
  animation-delay: -3s;
}

.story-visual__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.story-panel.is-active .story-visual__icon {
  animation: storyIconFloat 4s ease-in-out infinite alternate;
}

.story-visual__logo {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.story-visual__brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  width: min(88%, 360px);
}

.story-visual__logo-line {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.3;
}

.story-visual__logo-line--top {
  text-align: left;
}

.story-visual__logo-line--bottom {
  text-align: right;
}

.story-visual__wordmark-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 4px 24px rgba(0, 168, 232, 0.35));
}

.story-panel.is-active .story-visual__wordmark-img {
  animation: storyLogoFloat 5s ease-in-out infinite alternate;
}

@keyframes storyLogoFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@keyframes storyMesh {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, -2%) scale(1.05); }
}

@keyframes storyOrb {
  from { transform: translate(0, 0); }
  to { transform: translate(8px, -12px); }
}

@keyframes storyIconFloat {
  from { transform: translate(-50%, -50%) translateY(0); }
  to { transform: translate(-50%, -50%) translateY(-8px); }
}

.story-panel__index {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-bg-muted);
  margin-bottom: 0.75rem;
}

.story-panel.is-active .story-panel__index {
  color: transparent;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, rgba(0, 102, 255, 0.15) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.story-panel__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.story-panel__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.story-panel__desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.story-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--color-primary);
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .story-panel__link:hover {
    color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    gap: 0.75rem;
  }

  .story-panel__link--primary:hover {
    color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
  }
}

.story-panel__link--primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.story-panel--accent .story-panel__content {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

@media (max-width: 900px) {
  .story-panel {
    min-height: auto;
    padding: 1.75rem 0;
  }

  .story-panel__frame,
  .story-panel--visual-lg .story-panel__frame,
  .story-panel--visual-lg.story-panel--reverse .story-panel__frame {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 100%;
  }

  .story-panel__visual {
    order: 1 !important;
    transform: translateY(24px);
  }

  .story-panel__content {
    order: 2 !important;
    transform: translateY(24px);
  }

  .story-panel--reverse .story-panel__visual,
  .story-panel--reverse .story-panel__content {
    transform: translateY(24px);
  }

  .story-panel.is-active .story-panel__visual,
  .story-panel.is-active .story-panel__content {
    transform: none;
  }

  .story-panel__content {
    align-items: center;
    text-align: center;
  }

  .story-panel__desc {
    margin-inline: auto;
  }

  .story-visual {
    width: 100%;
    margin: 0;
    max-height: 260px;
    min-height: 180px;
    aspect-ratio: 16 / 10;
  }

  .story-panel--visual-lg .story-visual {
    max-height: 280px;
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-panel__visual,
  .story-panel__content {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .story-visual__mesh,
  .story-visual__orb,
  .story-panel.is-active .story-visual__icon,
  .story-panel.is-active .story-visual__wordmark-img {
    animation: none;
  }
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section__head {
  margin-bottom: 2.5rem;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section__title {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 520px;
}

.section__desc--wide {
  max-width: 640px;
}

/* ===== Solution tabs ===== */
.solutions {
  background: var(--color-bg-subtle);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.solution-panels {
  position: relative;
}

.solution-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.solution-panel.is-active {
  display: grid;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.solution-panel__content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.solution-panel__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.solution-panel__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.solution-panel__content > p {
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

.solution-panel__features {
  margin-bottom: 1.5rem;
}

.solution-panel__features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.4rem;
}

.solution-panel__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}

.solution-panel__visual {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8f1ff 0%, #d4e4ff 100%);
  position: relative;
  overflow: hidden;
}

.solution-panel__visual::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 102, 255, 0.08), transparent 30%);
  animation: spinSlow 12s linear infinite;
}

.solution-panel__visual--port {
  background: linear-gradient(145deg, #0d2847 0%, #0096ff 100%);
}

.solution-panel__visual--si {
  background: linear-gradient(145deg, #1e293b 0%, #6366f1 100%);
}

.solution-panel__visual--comm {
  background: linear-gradient(145deg, #0f172a 0%, #3b82f6 100%);
}

.solution-panel__visual--edi {
  background: linear-gradient(145deg, #134e4a 0%, #14b8a6 100%);
}

.solution-panel__visual--web {
  background: linear-gradient(145deg, #312e81 0%, #8b5cf6 100%);
}

.solution-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.solutions__more {
  text-align: center;
  margin-top: 1.75rem;
}

/* ===== Service grid ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:hover .m-icon {
  transform: translateY(-2px) scale(1.05);
}

.service-card .m-icon {
  margin-bottom: 0.85rem;
}

.service-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  flex: 1;
  margin-bottom: 1rem;
}

/* ===== About teaser (main page) ===== */
.about-teaser {
  background: var(--color-bg-subtle);
}

.about-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-teaser-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-teaser-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.about-teaser-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.about-teaser-card p {
  flex: 1;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.about-teaser-card .m-icon {
  margin-bottom: 0.35rem;
}

/* ===== About ===== */
.about {
  background: transparent;
}

.page-about-body {
  padding-bottom: 4rem;
}

.page-about-body .about {
  padding: 0;
}

.page-layout--about {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.about-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.35rem 1rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-tab:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.about-tab.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.15);
}

.about-tab__label {
  font-size: 0.92rem;
  font-weight: 600;
}

.about-panels {
  position: relative;
  min-height: 320px;
}

.about-panel {
  display: none;
  animation: aboutPanelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-panel.is-active {
  display: block;
}

@keyframes aboutPanelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-panel__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-panel__title--history {
  margin-bottom: 1.5rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.about-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.about-stat strong::after {
  content: "+";
  font-size: 1.1rem;
}

.about-stat span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  padding: 1.35rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

/* Greeting */
.greeting-card {
  padding: 2rem 2.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.greeting-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.greeting-quote {
  margin: 0 0 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-primary);
}

.greeting-quote h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.greeting-quote p,
.greeting-vision {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.greeting-vision {
  margin-bottom: 1.5rem;
}

.greeting-card__sign {
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

.greeting-card__role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.greeting-card__name {
  font-size: 1.1rem;
}

.greeting-card__name strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* History */
.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--color-border);
  margin-left: 0.5rem;
  padding-left: 1.5rem;
}

.history-group {
  position: relative;
  padding-bottom: 1.75rem;
}

.history-group::before {
  content: "";
  position: absolute;
  left: -1.65rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.history-group--founding::before {
  width: 12px;
  height: 12px;
  left: -1.75rem;
}

.history-group__year {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.history-group__list {
  list-style: disc;
  padding-left: 1.15rem;
}

.history-group__list li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

.history-group__list li::marker {
  color: var(--color-primary);
}

.m-icon--greeting {
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.m-icon--history {
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}

.info-card .m-icon {
  margin-bottom: 0.75rem;
}

.info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ===== Clients logo grid ===== */
.clients-logo-grid {
  margin-top: 0.5rem;
}

.clients-logo-grid__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.875rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.clients-logo-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 0.875rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.clients-logo-grid__item:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.clients-logo-grid__item img {
  display: block;
  max-width: 100%;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Legacy marquee (unused) */
.clients__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients__track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.clients__track span {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Resources ===== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.resource-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s ease;
}

.resource-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.resource-card:hover .m-icon {
  transform: scale(1.08);
}

.resource-card .m-icon {
  margin-bottom: 1rem;
}

.resource-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.resource-card--highlight {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.resource-card--highlight p {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== CTA banner ===== */
.cta-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-hero-start), #0d3d7a);
}

.cta-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-banner__text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.cta-banner__text p {
  color: rgba(255, 255, 255, 0.75);
}

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact__subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.contact__list li {
  margin-bottom: 1rem;
}

.contact__list strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact__list a:hover {
  color: var(--color-primary);
}

.family-sites {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.family-sites strong {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.family-sites a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.contact-form {
  padding: 2rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-message.success { color: #059669; }
.form-message.error { color: #dc2626; }

/* ===== Footer ===== */
.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.4rem;
}

.footer__col a:hover {
  color: var(--color-brand);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__links {
  display: flex;
  gap: 1.25rem;
}

.footer__links a:hover {
  color: #fff;
}

/* ===== Top button ===== */
.top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ===== Scroll sections & reveal ===== */
.scroll-section {
  position: relative;
}

.scroll-section::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(120px, 20vw);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transform: translateX(-50%) scaleX(0);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  pointer-events: none;
}

.scroll-section.is-inview::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 0.85;
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s ease;
  will-change: opacity, transform, filter;
}

.reveal[data-reveal="up"],
.reveal:not([data-reveal]) {
  transform: translateY(48px);
}

.reveal[data-reveal="left"] {
  transform: translateX(-56px);
}

.reveal[data-reveal="right"] {
  transform: translateX(56px);
}

.reveal[data-reveal="scale"] {
  transform: translateY(32px) scale(0.9);
}

.reveal[data-reveal="blur"] {
  transform: translateY(28px);
  filter: blur(10px);
}

.reveal[data-reveal="flip"] {
  transform: perspective(900px) rotateX(14deg) translateY(36px);
  transform-origin: center bottom;
}

.reveal.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.scroll-section.is-inview .service-card.visible:hover,
.scroll-section.is-inview .resource-card.visible:hover {
  transform: translateY(-6px);
}

.stagger-group .reveal.visible:nth-child(1) { transition-delay: 0.05s; }
.stagger-group .reveal.visible:nth-child(2) { transition-delay: 0.12s; }
.stagger-group .reveal.visible:nth-child(3) { transition-delay: 0.19s; }
.stagger-group .reveal.visible:nth-child(4) { transition-delay: 0.26s; }
.stagger-group .reveal.visible:nth-child(5) { transition-delay: 0.33s; }
.stagger-group .reveal.visible:nth-child(6) { transition-delay: 0.4s; }
.stagger-group .reveal.visible:nth-child(7) { transition-delay: 0.47s; }

/* ===== Modern icons ===== */
.m-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.m-icon svg {
  width: 24px;
  height: 24px;
}

.m-icon--lg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.m-icon--lg svg {
  width: 26px;
  height: 26px;
}

.m-icon--xl {
  width: 88px;
  height: 88px;
  border-radius: 24px;
}

.m-icon--xl svg {
  width: 44px;
  height: 44px;
}

.m-icon--pulse {
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.25); }
  50% { box-shadow: 0 0 0 16px rgba(0, 102, 255, 0); }
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.m-icon--port {
  color: #fff;
  background: linear-gradient(135deg, #0066ff, #00a8ff);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.m-icon--si {
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.m-icon--comm {
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
}

.m-icon--design {
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.m-icon--web {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.m-icon--logis {
  color: #fff;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.m-icon--rnd {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.m-icon--about {
  color: #fff;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.25);
}

.m-icon--business {
  color: #fff;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
}

.m-icon--solution {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.25);
}

.m-icon--contact {
  color: #fff;
  background: linear-gradient(135deg, #0066ff, #00c8ff);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.m-icon--mission {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

.m-icon--vision {
  color: #fff;
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.m-icon--on-dark {
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-float .m-icon--lg {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .animate-in,
  .hero__orb,
  .hero__grid,
  .hero-float,
  .hero__scroll-line,
  .btn--glow,
  .m-icon--pulse,
  .solution-panel__visual::before,
  .clients__track {
    animation: none !important;
  }

  .hero__highlight,
  .logo__tagline {
    animation: none !important;
  }

  .logo__tagline {
    opacity: 1;
    transform: none;
  }

  .animate-in,
  .reveal,
  .scroll-section::after {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  .scroll-section.is-inview::after {
    transform: translateX(-50%) scaleX(1);
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero > .container.hero__layout {
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 6vw, 3rem);
  }

  .story-panel {
    min-height: auto;
  }

  .story-visual {
    max-height: 240px;
  }

  .service-grid,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-logo-grid__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .solution-panel {
    grid-template-columns: 1fr;
  }

  .solution-panel__visual {
    min-height: 180px;
  }
}

@media (max-width: 960px) {
  .logo__tagline {
    display: none;
  }

  .logo__mark {
    height: 40px;
    max-width: min(168px, 54vw);
  }

  .header .logo__mark {
    height: 32px;
    max-width: min(136px, 54vw);
  }
}

@media (max-width: 420px) {
  .hero__title-line {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--mobile-gutter);
    box-sizing: border-box;
  }

  .header {
    padding-inline: var(--mobile-gutter);
    box-sizing: border-box;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 1.25rem) 0 1rem;
    justify-content: flex-start;
  }

  .hero__inner {
    max-width: 100%;
  }

  .hero__eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.65rem;
  }

  .hero__title {
    font-size: clamp(1.65rem, 5.5vw, 2.25rem);
    margin-bottom: 0.85rem;
  }

  .hero__desc {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.1rem;
  }

  .hero__actions {
    margin-bottom: 0.85rem;
  }

  .hero__quick-nav {
    display: flex;
  }

  .hero__metrics {
    gap: 0.5rem 1rem;
    padding-top: 0.85rem;
    justify-content: space-between;
  }

  .hero-metric {
    flex: 1;
    min-width: 0;
    text-align: center;
  }

  .hero-metric strong {
    font-size: 1.3rem;
  }

  .hero-metric span {
    font-size: 0.72rem;
  }

  .hero__scroll {
    display: none;
  }

  /* Mobile simplify — balanced preset */
  .hero__metrics {
    display: none;
  }

  .hero__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__actions .btn--ghost {
    display: none;
  }

  .story-scroll {
    margin-top: 0;
    padding-top: 0;
  }

  .story-scroll__head {
    display: none;
  }

  .story-panel {
    min-height: auto;
    padding: 0.65rem 0;
  }

  .story-panel::after {
    display: none;
  }

  .story-panel__visual {
    display: none !important;
  }

  .story-panel__frame,
  .story-panel--visual-lg .story-panel__frame,
  .story-panel--visual-lg.story-panel--reverse .story-panel__frame {
    gap: 0;
  }

  .story-panel__content {
    order: 1 !important;
    align-items: flex-start;
    text-align: left;
    padding: 1.15rem 1.2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transform: none !important;
  }

  .story-panel--accent .story-panel__content {
    padding: 1.15rem 1.2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    align-items: flex-start;
    text-align: left;
  }

  .story-panel__index {
    font-size: 1.75rem;
  }

  .story-panel__title {
    font-size: 1.15rem;
  }

  .story-panel__desc {
    font-size: 0.88rem;
    margin-inline: 0;
  }

  .story-panel__link {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .section.resources {
    display: none;
  }

  .clients-logo-grid__item:nth-child(n + 9) {
    display: none;
  }

  .clients .section__desc::after {
    content: " · 모바일에서는 주요 파트너만 표시됩니다";
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
  }

  .family-sites {
    display: none;
  }

  .cta-banner {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 1cm;
    padding: 0.25rem;
    box-sizing: border-box;
  }

  .header .header__inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    box-sizing: border-box;
  }

  .logo__mark {
    height: 36px;
    max-width: min(150px, 54vw);
  }

  .header .logo__mark {
    height: 29px;
    max-width: min(122px, 54vw);
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    padding: 1rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    display: none;
  }

  .nav__item.is-open .nav__sub {
    display: block;
  }

  .nav__link--cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .about-tabs,
  .about-teaser__grid {
    grid-template-columns: 1fr;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .clients-logo-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
