@charset "utf-8";
/* ==========================================================================
   MunhwaSoft — munhwasoft.com
   Figma: [naddy] 문화소프트 홈페이지 디자인 개발
   Design tokens extracted from the Figma file (colors / type / spacing).
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

/* ---------- Tokens ---------- */
:root {
  --bg:            #07080B;
  --bg-deep:       #000000;
  --bg-elev:       #0E1015;
  --surface:       rgba(255, 255, 255, .03);
  --surface-2:     rgba(255, 255, 255, .05);
  --line:          rgba(255, 255, 255, .08);
  --line-strong:   rgba(255, 255, 255, .14);

  --text:          #FFFFFF;
  --text-2:        #D7DBE2;
  --text-3:        #9AA0A9;
  --text-4:        #5F636C;

  --blue:          #1E6BFF;
  --blue-hi:       #3B82F6;
  --blue-lt:       #6AA6FF;
  --blue-card:     #4E8CFF;

  --radius-pill:   100px;
  --radius-xl:     24px;
  --radius-lg:     18px;
  --radius-md:     16px;
  --radius-sm:     12px;

  --container:     1144px;
  --header-h:      81px;

  --sans: "Instrument Sans", "Pretendard Variable", Pretendard, -apple-system,
          BlinkMacSystemFont, system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --kr:   "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--kr);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding-block: 120px; }
.section--tight { padding-block: 96px; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 14px;
}
.h-display {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.h-section {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.28;
  letter-spacing: -.02em;
}
.h-section--kr { font-family: var(--kr); font-weight: 800; }
.h-card {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.lead   { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.75; color: var(--text-3); }
.body   { font-size: 15px; line-height: 1.78; color: var(--text-3); }
.small  { font-size: 13px; line-height: 1.7; color: var(--text-4); }
.accent { color: var(--blue-lt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 24px;
  border: 0; border-radius: var(--radius-pill);
  font-family: var(--kr); font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
}
.btn__ico {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; flex: 0 0 26px;
  transition: transform .25s var(--ease);
}
.btn:hover .btn__ico { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 24px rgba(30, 107, 255, .34); }
.btn--primary:hover { background: #2f78ff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(30,107,255,.46); }
.btn--primary .btn__ico { background: rgba(255,255,255,.22); }
.btn--light { background: #F3F4F6; color: #0B0D12; }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--light .btn__ico { background: #0B0D12; color: #fff; }
.btn--lg { padding: 17px 24px 17px 30px; font-size: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--text);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(7, 8, 11, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(7,8,11,.94); }
.header__inner {
  max-width: 1920px; margin-inline: auto; height: 100%;
  padding-inline: clamp(24px, 4.4vw, 84px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo { display: block; flex: 0 0 auto; }
.header__logo svg, .header__logo img { width: 95px; height: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  position: relative; font-size: 15px; color: var(--text-3);
  padding-block: 4px; transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--text); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { flex: 0 0 auto; }
.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(1200px, 92vh);
  display: flex; align-items: center;
  overflow: hidden;
  background: #04050A;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,5,10,.55) 0%, rgba(4,5,10,0) 26%, rgba(4,5,10,0) 62%, var(--bg) 100%);
}
.hero__inner { width: 100%; padding-block: 120px; }
.hero__title { max-width: 1144px; }
.hero__sub { margin-top: 22px; font-size: clamp(15px, 1.3vw, 22px); color: var(--text-2); }
.hero--center { text-align: center; }
.hero--center .hero__sub { margin-inline: auto; max-width: 760px; }
.hero--short { min-height: min(880px, 76vh); }

/* Capability list inside hero */
.caps { margin-top: clamp(56px, 9vw, 132px); display: grid; gap: 4px; }
.caps__row {
  display: grid; grid-template-columns: 300px 1fr; align-items: baseline;
  gap: 24px; padding: 10px 16px 10px 0;
  border-radius: var(--radius-sm);
  transition: background-color .3s var(--ease), padding .3s var(--ease);
}
.caps__row:hover { background: rgba(255,255,255,.06); padding-left: 16px; }
.caps__name {
  font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.2; letter-spacing: -.02em; color: rgba(255,255,255,.42);
  transition: color .3s var(--ease);
}
.caps__row:hover .caps__name { color: #fff; }
.caps__desc { font-size: clamp(13px, 1vw, 18px); color: var(--text-3); transition: color .3s var(--ease); }
.caps__row:hover .caps__desc { color: var(--text-2); }

/* ---------- About block (home) ---------- */
.about-block { position: relative; overflow: hidden; padding-block: 40px; min-height: 500px; display: flex; align-items: center; }
.about-block__visual {
  position: absolute; z-index: 0; right: -2%; top: 50%; transform: translateY(-50%);
  width: min(690px, 56vw); height: auto; border-radius: var(--radius-xl);
  opacity: .9; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 100% at 60% 40%, #000 40%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 60% 40%, #000 40%, transparent 78%);
}
.about-block__grid {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.about-block__body { display: grid; gap: 26px; justify-items: start; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.card__body { position: relative; z-index: 1; padding: 36px 38px 34px; display: flex; flex-direction: column; height: 100%; }
.card__desc { margin-top: 18px; color: var(--text-3); }
.card--blue { border-color: transparent; }
.card--blue .card__desc, .card--blue .h-card { color: #fff; }
.card--blue .card__desc { color: rgba(255,255,255,.9); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 30px; }
.grid-3 .tags { gap: 7px; }
.grid-3 .tag { padding: 7px 11px; font-size: 11.5px; }
.tag {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .01em;
  padding: 8px 14px; border-radius: var(--radius-pill); white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--text-2);
  background: rgba(255,255,255,.04);
}
.card--blue .tag { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.14); }

/* Bento grid for services */
.bento { display: grid; gap: 20px; }
.bento__row { display: grid; gap: 20px; }
.bento__row--a { grid-template-columns: 656fr 464fr; }
.bento__row--b { grid-template-columns: 464fr 661fr; }
.bento .card { min-height: 286px; }
.card--svc-blue {
  background: linear-gradient(134deg, #3D82FF 0%, #5290FF 48%, #6098FF 100%);
  border-color: transparent;
  box-shadow: 0 26px 60px -30px rgba(56, 126, 255, .9);
}
.card--svc-dark { background: linear-gradient(168deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.012) 100%); }
.card--svc-navy {
  background:
    radial-gradient(90% 130% at 12% 0%, rgba(44, 92, 210, .40) 0%, transparent 62%),
    linear-gradient(170deg, #101A33 0%, #0B0F1C 100%);
  border-color: rgba(90, 140, 255, .18);
}
.card__ico { margin-bottom: 16px; }
.card__ico img { width: 46px; height: auto; }

/* 3-up / 4-up grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- Testimonials marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 56s linear infinite; }
.marquee:hover .marquee__track, .marquee__track:focus-within { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
.quote {
  flex: 0 0 356px; padding: 34px 32px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  display: flex; flex-direction: column; min-height: 300px;
}
.quote__stars { color: var(--blue-hi); font-size: 14px; letter-spacing: 3px; }
.quote__text { margin-top: 22px; font-size: 15px; line-height: 1.8; color: var(--text-2); }
.quote__meta { margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); }
.quote__name { font-size: 14px; font-weight: 600; }
.quote__role { margin-top: 4px; font-size: 13px; color: var(--text-4); }
.marquee-hint { margin-top: 26px; text-align: center; font-size: 12px; color: var(--text-4); }

/* ---------- Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: transparent;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--text-3);
  cursor: pointer; transition: all .22s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.chip__n { font-size: 11px; color: var(--text-4); }
.chip[aria-selected="true"] {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 4px 18px rgba(30,107,255,.42);
}
.chip[aria-selected="true"] .chip__n { color: rgba(255,255,255,.75); }

/* ---------- Timeline (awards) ---------- */
.timeline { display: grid; grid-template-columns: 160px 1fr; gap: 0 0; }
.timeline__col { position: relative; }
.tl-year {
  display: grid; grid-template-columns: 160px 1fr; align-items: start;
  gap: 0;
}
.tl-year__label {
  position: relative; padding-right: 34px; text-align: right;
  font-family: var(--sans); font-weight: 700; font-size: 34px; letter-spacing: -.02em;
}
.tl-year__label::after {
  content: ""; position: absolute; right: -7px; top: 12px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--blue); background: var(--bg);
}
.tl-items { display: grid; gap: 14px; padding-left: 34px; border-left: 1px solid rgba(255,255,255,.12); padding-bottom: 34px; }
.tl-year:last-child .tl-items { border-left-color: transparent; padding-bottom: 0; }
.tl-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px 26px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.tl-item:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateX(4px); }
.tl-item h3 { font-size: 16px; font-weight: 600; }
.tl-item p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--text-3); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.partner {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 20px 22px; text-align: center;
  transition: transform .28s var(--ease), border-color .28s var(--ease), background-color .28s var(--ease);
}
.partner:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.partner__logo { height: 96px; display: grid; place-items: center; margin-bottom: 18px; }
.partner__logo img { max-height: 96px; width: auto; object-fit: contain; }
.partner__name { font-size: 15px; font-weight: 600; color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; text-align: center; border-radius: 32px;
  padding: clamp(56px, 7vw, 96px) 24px;
  background: linear-gradient(118deg, #2C7BFF 0%, #4E8CFF 52%, #6098FF 100%);
  box-shadow: 0 30px 90px -30px rgba(46, 124, 255, .75);
}
.cta-band h2 { font-family: var(--kr); font-weight: 700; font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.025em; }
.cta-band p { margin-top: 18px; font-size: clamp(15px, 1.2vw, 18px); color: rgba(255,255,255,.92); }
.cta-band .btn { margin-top: 34px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 64px 72px; background: var(--bg-deep); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__desc { margin-top: 18px; max-width: 340px; font-size: 14px; line-height: 1.75; color: var(--text-4); }
.footer__nav { display: flex; gap: 28px; }
.footer__nav a { font-size: 14px; font-weight: 500; color: var(--text-3); transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--text); }
.footer__copy { margin-top: 52px; font-size: 13px; color: var(--text-4); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive — the Figma file ships desktop only (1920).
   Breakpoints below are authored to preserve the design's hierarchy,
   spacing rhythm and type scale on narrower screens.
   ========================================================================== */
@media (max-width: 1200px) {
  .about-block__visual { right: -14%; width: 86vw; opacity: .55; }
}
@media (max-width: 1024px) {
  .section { padding-block: 88px; }
  .bento__row--a, .bento__row--b { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .caps__row { grid-template-columns: 220px 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav, .header__cta { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff;
    transition: transform .28s var(--ease), opacity .2s var(--ease);
  }
  .nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

  .mobile-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    background: rgba(7,8,11,.98); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 30px; display: grid; gap: 4px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 18px; justify-content: center; }

  .section { padding-block: 72px; }
  .hero { min-height: auto; }
  .hero__inner { padding-block: 96px 84px; }
  .caps__row { grid-template-columns: 1fr; gap: 6px; padding-block: 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .caps__row:hover { padding-left: 8px; }
  .caps__name { color: #fff; }
  .bento__row--a, .bento__row--b, .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .about-block__grid { grid-template-columns: 1fr; gap: 26px; }
  .about-block__visual { position: relative; right: auto; top: auto; transform: none; width: 100%; margin-bottom: 26px; opacity: .8; }
  .about-block { min-height: 0; display: block; padding-block: 0; overflow: visible; }
  .card__body { padding: 28px 24px; }
  .timeline, .tl-year { grid-template-columns: 1fr; }
  .tl-year__label { text-align: left; padding-right: 0; margin-bottom: 16px; font-size: 28px; }
  .tl-year__label::after { display: none; }
  .tl-items { padding-left: 0; border-left: 0; padding-bottom: 26px; }
  .partners { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partner__logo { height: 70px; } .partner__logo img { max-height: 70px; }
  .quote { flex-basis: 280px; min-height: 264px; padding: 26px 24px; }
  .footer__top { flex-direction: column; }
  .footer__nav { flex-wrap: wrap; gap: 18px 24px; }
}
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .cta-band { border-radius: 24px; }
  .partners { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.quick-form {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center;
  max-width: 820px; margin: 44px auto 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill);
}
.quick-form input {
  background: transparent; border: 0; padding: 14px 22px; font-size: 15px; min-width: 0;
}
.quick-form input::placeholder { color: var(--text-4); }
.quick-form .btn { padding: 13px 26px; }

.contact-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.contact-chip:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.contact-chip svg { color: var(--blue-lt); flex: 0 0 auto; }

.form-card {
  max-width: 820px; margin: 56px auto 0; padding: clamp(28px, 4vw, 48px);
  background: rgba(10, 12, 18, .72); border: 1px solid var(--line); border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}
.form-card > h2 { font-size: 24px; font-weight: 600; }
.form-card > p  { margin-top: 10px; font-size: 17px; color: var(--text-3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.field { display: grid; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: 15px; font-weight: 600; }
.field .req { color: var(--blue-hi); }
.field input, .field textarea {
  width: 100%; padding: 16px 18px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 16px; color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: rgba(30,107,255,.06); }

.agree { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: 0 0 20px; }
.agree a { text-decoration: underline; text-underline-offset: 3px; color: var(--text-2); }
.form-card .btn[type="submit"] { width: 100%; margin-top: 28px; justify-content: center; font-size: 18px; padding-block: 20px; }
.form-status { margin-top: 16px; font-size: 14px; min-height: 20px; }
.form-status.is-error   { color: #FF8A8A; }
.form-status.is-success { color: #6FE0A6; }
.form-status.is-pending { color: var(--text-3); }
.form-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--text-4); }
.form-note strong { color: var(--text-2); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; overflow: hidden; min-height: 380px;
  padding: 36px 30px; border-radius: var(--radius-xl);
  background: linear-gradient(178deg, rgba(255,255,255,.04) 0%, rgba(24,49,110,.55) 100%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: rgba(90,140,255,.42); }
.step__n { font-family: var(--sans); font-weight: 800; font-size: 60px; line-height: 1; color: var(--blue-lt); letter-spacing: -.03em; }
.step h3 { margin-top: 34px; font-size: 20px; font-weight: 700; }
.step p { margin-top: 14px; font-size: 14px; line-height: 1.75; color: var(--text-3); }
.step__ico { margin-top: auto; align-self: flex-end; }
.step__ico img { width: 72px; height: auto; }

/* Map / visit */
.visit { display: grid; grid-template-columns: 1.02fr 1fr; gap: 24px; }
.map-card {
  position: relative; min-height: 380px; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(255,255,255,.10) 49.6%, rgba(255,255,255,.10) 50.4%, transparent 50.4%),
    linear-gradient(0deg,  transparent 61.6%, rgba(255,255,255,.10) 61.6%, rgba(255,255,255,.10) 62.4%, transparent 62.4%),
    #0B0D13;
}
.map-card__pin { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); text-align: center; }
.map-card__pin b {
  display: inline-block; padding: 7px 14px; border-radius: var(--radius-pill);
  background: #16181F; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 600;
}
.map-card__dot { width: 24px; height: 24px; margin: 12px auto 0; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 8px rgba(30,107,255,.22); }
.map-card .btn { position: absolute; right: 24px; bottom: 24px; }

.info-card { padding: 36px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.info-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row__ico { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(30,107,255,.14); color: var(--blue-lt); }
.info-row > span { display: block; }
.info-row__k { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); }
.info-row__v { display: block; margin-top: 5px; font-size: 14px; color: var(--text-2); }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.faq__item {
  background: rgba(16, 20, 30, .72); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.faq__item.is-open { border-color: rgba(90,140,255,.34); background: rgba(20, 26, 40, .86); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 26px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 600;
}
.faq__mark {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-size: 16px; line-height: 1; transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__mark { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq__item.is-open .faq__a { max-height: 340px; }
.faq__a p { padding: 0 26px 26px; font-size: 14px; line-height: 1.8; color: var(--text-3); }

/* Contact page background */
.bg-space { position: relative; isolation: isolate; }
.bg-space::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../images/contact-bg.jpg") center / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .visit { grid-template-columns: 1fr; }
}
.pcard__org-ico { color: var(--blue-lt); flex: 0 0 auto; }

@media (max-width: 860px) {
  .quick-form { grid-template-columns: 1fr; border-radius: var(--radius-xl); padding: 14px; gap: 10px; }
  .quick-form input { border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .quick-form .btn { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.prose-block p { font-size: 15px; line-height: 2; color: var(--text-3); }
.prose-block p + p { margin-top: 6px; }
.prose-block strong { color: var(--text); font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.stat {
  padding: 30px 28px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .28s var(--ease), border-color .28s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.stat--blue {
  background: linear-gradient(150deg, #3F82FF 0%, #629BFF 100%);
  border-color: transparent; box-shadow: 0 18px 46px -18px rgba(62,130,255,.85);
}
.stat__n { font-family: var(--sans); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.stat__k { margin-top: 16px; font-size: 13px; line-height: 1.65; color: var(--text-3); }
.stat--blue .stat__k { color: rgba(255,255,255,.94); }

.numbered { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ncard {
  position: relative; overflow: hidden; padding: 30px 26px 26px; min-height: 330px;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035) 0%, rgba(14,20,38,.62) 100%);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.ncard:hover, .ncard.is-active { transform: translateY(-5px); border-color: rgba(90,140,255,.5); }
.ncard.is-active { background: linear-gradient(180deg, rgba(28,64,150,.55) 0%, rgba(12,24,56,.75) 100%); }
.ncard__n {
  align-self: flex-end; font-family: var(--sans); font-weight: 700; font-size: 40px; line-height: 1;
  color: rgba(255,255,255,.16); letter-spacing: -.03em; margin-bottom: 26px;
}
.ncard.is-active .ncard__n { color: rgba(255,255,255,.5); }
.ncard h3 { font-size: 18px; font-weight: 700; }
.ncard p { margin-top: 14px; font-size: 14px; line-height: 1.75; color: var(--text-3); }
.ncard .tags { padding-top: 22px; gap: 7px; }
.ncard .tag { font-size: 11px; padding: 6px 12px; }

.plain-banner {
  margin-top: 24px; padding: 34px 30px; text-align: center;
  border-radius: var(--radius-lg); border: 1px solid rgba(90,140,255,.24);
  background: linear-gradient(180deg, rgba(24,52,120,.34) 0%, rgba(12,22,48,.34) 100%);
  font-size: 15px; line-height: 2; color: var(--text-3);
}
.plain-banner strong { color: var(--text); font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1.06fr; gap: 60px; align-items: start; }
.shields { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; }
.shield__ico { color: var(--blue-lt); margin-bottom: 14px; }
.shield h3 { font-size: 16px; font-weight: 700; }
.shield p { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--text-3); }

.pledge {
  display: flex; align-items: center; gap: 26px; margin-top: 56px; padding: 30px 34px;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface);
}
.pledge__ico {
  flex: 0 0 92px; width: 92px; height: 92px; border-radius: var(--radius-md);
  display: grid; place-items: center; color: var(--blue-lt);
  background: linear-gradient(150deg, rgba(50,100,220,.30), rgba(20,40,100,.30));
  border: 1px solid rgba(90,140,255,.3);
}
.pledge h3 { font-size: 17px; font-weight: 700; }
.pledge p { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.pledge .tags { padding-top: 16px; margin-top: 0; }

.checks { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.check {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px;
  border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text-2);
}
.check svg { flex: 0 0 auto; color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; }

.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fact { padding: 26px 28px; border-radius: var(--radius-md); border: 1px solid var(--line); background: rgba(16,22,38,.5); }
.fact__k { font-size: 12px; font-weight: 600; color: var(--blue-lt); margin-bottom: 12px; }
.fact h3 { font-size: 16px; font-weight: 700; }
.fact p { margin-top: 8px; font-size: 14px; color: var(--text-4); }

.patents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.patent { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.patent:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.patent__fig { aspect-ratio: 16 / 11; display: grid; place-items: center; padding: 26px; background: radial-gradient(120% 100% at 50% 30%, rgba(40,80,190,.28), transparent 70%); }
.patent__fig img { max-height: 100%; width: auto; object-fit: contain; }
.patent__body { padding: 22px 26px 26px; border-top: 1px solid var(--line); }
.patent__k { font-size: 12px; font-weight: 600; color: var(--blue-lt); }
.patent h3 { margin-top: 12px; font-size: 17px; font-weight: 700; }
.patent p { margin-top: 8px; font-size: 13px; color: var(--text-4); }

.philosophy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.phil {
  padding: 28px 26px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(14,20,38,.5));
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.phil:hover { transform: translateY(-5px); border-color: rgba(90,140,255,.42); }
.phil__k { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-lt); }
.phil__ico { margin: 20px 0 24px; height: 56px; }
.phil__ico img { height: 56px; width: auto; }
.phil h3 { font-size: 17px; font-weight: 700; }
.phil p { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--text-3); }

.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.team__col { padding: 0 26px; border-left: 1px solid var(--line); }
.team__col:first-child { padding-left: 0; border-left: 0; }
.team__n { font-family: var(--sans); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.team__col h3 { margin-top: 22px; font-size: 16px; font-weight: 700; }
.team__ko { margin-top: 6px; font-size: 13px; color: var(--blue-lt); }
.team__col p { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.team-note {
  display: flex; align-items: center; gap: 14px; margin-top: 44px; padding-top: 30px;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3);
}
.team-note svg { color: var(--blue-lt); flex: 0 0 auto; }

.story { display: grid; gap: 42px; padding-left: 26px; border-left: 1px solid rgba(255,255,255,.12); }
.story__item { position: relative; }
.story__item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(30,107,255,.18);
}
.story__item--muted::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.story__y { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--blue-lt); }
.story__item h3 { margin-top: 8px; font-size: 17px; font-weight: 700; }
.story__item p { margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--text-3); }

.talk {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: clamp(32px, 4vw, 56px); border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(125deg, rgba(24,44,100,.42) 0%, rgba(10,12,18,.72) 55%);
}
.talk h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.talk p { margin-top: 18px; font-size: 15px; line-height: 1.85; color: var(--text-3); }
.talk__side { display: grid; gap: 14px; }
.talk__row { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius-md); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.talk__row .info-row__ico { flex: 0 0 40px; width: 40px; height: 40px; }
.talk__row > span:not(.info-row__ico) { display: block; }
.talk .btn { width: 100%; justify-content: center; padding-block: 20px; font-size: 16px; }

/* ==========================================================================
   Projects page
   ========================================================================== */
.stat-curve { position: relative; margin-top: 40px; }
.stat-curve svg { width: 100%; height: auto; display: block; }
.curve-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -8px; text-align: center; }
.curve-stat__n { font-family: var(--sans); font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; letter-spacing: -.03em; }
.curve-stat__n small { font-size: .46em; color: var(--blue-lt); font-weight: 700; }
.curve-stat p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--text-3); }

.featured__checks { display: grid; gap: 16px; margin: 32px 0 44px; }
.featured__checks li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; }
.featured__checks svg { flex: 0 0 auto; color: #fff; background: var(--blue); border-radius: 50%; padding: 4px; }

.workflow { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-xl); border: 1px solid var(--line); background: rgba(12,15,24,.66); }
.workflow__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.workflow__title { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-lt); }
.workflow__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.workflow__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-lt); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.wf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wf-step { padding: 26px 22px; border-radius: var(--radius-md); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.wf-step__n { font-family: var(--sans); font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: -.03em; }
.wf-step h3 { margin-top: 46px; font-size: 15px; font-weight: 700; }
.wf-step p { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.workflow__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.workflow__foot .tags { margin-top: 0; padding-top: 0; }

.project-group + .project-group { margin-top: 56px; }
.project-group__label {
  display: inline-block; margin-bottom: 20px; padding: 8px 16px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.05); font-size: 13px; font-weight: 600;
}
.project-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
.pcard { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.pcard:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.pcard__fig { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0C0F16; }
.pcard__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__fig img { transform: scale(1.04); }
.pcard__fig--empty { display: grid; place-items: center; align-content: center; color: var(--text-4); font-size: 13px; gap: 10px; padding-bottom: 46px; }
.pcard__org {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
  border-radius: var(--radius-pill); background: rgba(12,14,20,.82);
  backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: #fff;
}
.pcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard__cat { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-lt); }
.pcard__status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); }
.pcard__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.pcard__status--patent i { background: var(--blue-lt); }
.pcard h3 { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.pcard p { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--text-3); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 26px; }
.pcard__foot .tags { margin: 0; padding: 0; }
.pcard__go { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.pcard:hover .pcard__go { background: var(--blue); border-color: var(--blue); color: #fff; }

@media (max-width: 1024px) {
  .stats, .numbered, .philosophy, .patents, .wf-steps, .project-row, .curve-stats { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .team__col { padding-inline: 20px; }
  .team__col:nth-child(odd) { padding-left: 0; border-left: 0; }
  .split, .talk { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .stats, .numbered, .philosophy, .patents, .wf-steps, .project-row, .curve-stats,
  .fact-grid, .shields, .team { grid-template-columns: 1fr; }
  .team__col { padding: 0 0 0 20px; border-left: 1px solid var(--line); }
  .team__col:first-child { padding-left: 20px; border-left: 1px solid var(--line); }
  .ncard { min-height: 0; }
  .pledge { flex-direction: column; align-items: flex-start; gap: 20px; }
  .workflow__head, .workflow__foot { flex-direction: column; align-items: flex-start; }
}

/* Narrow-screen safety: long unbreakable tokens (emails, URLs) must not
   push a grid track wider than its container. */
.talk, .split, .visit, .talk__side { min-width: 0; }
.talk > *, .split > *, .visit > *, .talk__row, .info-row { min-width: 0; }
.info-row__v, .talk__row span, .contact-chip, .footer__desc { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .talk { padding: 26px 20px; }
  .talk__row { padding: 16px 16px; gap: 12px; }
  .info-card { padding: 26px 20px; }
  .form-card { padding: 24px 20px; }
}

/* ==========================================================================
   Designer interaction notes (Figma 캔버스 주석 반영)
   ========================================================================== */

/* [노트] 호버 확장 카드 — 호버 대상 카드의 폭이 확대되어 나머지 카드를 압축하고,
   배경이 다크 톤에서 브라이트 블루로 전환된다. 01→02→03→04 동일 패턴. */
.numbered { display: flex; gap: 18px; align-items: stretch; }
.numbered .ncard {
  flex: 1 1 0; min-width: 0;
  transition: flex-grow .5s var(--ease), background .4s var(--ease),
              border-color .4s var(--ease), transform .3s var(--ease);
}
.ncard > h3, .ncard > p, .ncard > .tags { min-width: 200px; }
.numbered .ncard.is-active { flex-grow: 1.45; }
.numbered:hover .ncard.is-active:not(:hover) {
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.035) 0%, rgba(14,20,38,.62) 100%);
  border-color: var(--line);
}
.numbered:hover .ncard.is-active:not(:hover) .ncard__n { color: rgba(255,255,255,.16); }
.numbered .ncard:hover {
  flex-grow: 1.45; transform: none;
  background: linear-gradient(158deg, #2F72F5 0%, #4A87FF 55%, #5B93FF 100%);
  border-color: transparent;
  box-shadow: 0 24px 56px -26px rgba(58, 124, 255, .9);
}
.numbered .ncard:hover .ncard__n { color: rgba(255,255,255,.55); }
.numbered .ncard:hover p { color: rgba(255,255,255,.92); }
.numbered .ncard:hover .tag { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.16); color: #fff; }

/* [노트] Ai/ML 목록 — 진입 시 영역이 하이라이트되며 설명 텍스트가 동적으로 표시 */
.caps__desc { opacity: .55; transform: translateX(-6px);
  transition: opacity .32s var(--ease), transform .32s var(--ease), color .3s var(--ease); }
.caps__row:hover .caps__desc { opacity: 1; transform: none; }
@media (hover: none) {   /* 호버가 없는 기기에선 전 항목을 기본 노출 */
  .caps__name { color: #fff; }
  .caps__desc { opacity: 1; transform: none; }
}

/* [노트] 고객 평가 — 터치 환경에서도 스크롤이 자연스럽게 작동해야 하며,
   우측 엣지 그래디언트와 "더 보기" CTA로 연속성을 표현한다. */
.marquee-hint { display: flex; align-items: center; justify-content: center; gap: 8px; }
.marquee-hint svg { color: var(--text-3); }
.marquee-hint .hint-touch { display: none; }
@media (hover: none) {
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee__track { animation: none; width: max-content; padding-inline: 18px; }
  .quote { scroll-snap-align: center; }
  .marquee-hint .hint-auto { display: none; }
  .marquee-hint .hint-touch { display: inline; }
}

/* [노트] 스크롤-트리거 — 커브가 스크롤 진행도에 따라 그려지고,
   포인트 이동에 맞춰 우측 숫자와 레이블이 순차 전환된다. */
/* 초기 숨김은 JS가 [data-anim]을 붙였을 때만 — 스크립트가 안 돌면 전부 그대로 보인다 */
.stat-curve path.curve-line { transition: stroke-dashoffset .2s linear; }
.stat-curve[data-anim] path.curve-line { stroke-dasharray: var(--len, 1400); stroke-dashoffset: var(--len, 1400); }
.stat-curve .pt, .stat-curve .drop { transform-box: fill-box; transform-origin: center;
  transition: opacity .35s var(--ease), transform .35s var(--ease); }
.stat-curve .drop { opacity: .28; }
.stat-curve[data-anim] .pt { opacity: 0; transform: scale(.4); }
.stat-curve[data-anim] .drop { opacity: 0; }
.stat-curve[data-anim] .pt.is-on { opacity: 1; transform: scale(1); }
.stat-curve[data-anim] .drop.is-on { opacity: .28; }
.curve-stat { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.curve-stats[data-anim] .curve-stat { opacity: .3; transform: translateY(10px); }
.curve-stats[data-anim] .curve-stat.is-on { opacity: 1; transform: none; }

@media (max-width: 1024px) { .numbered { flex-wrap: wrap; } .numbered .ncard { flex: 1 1 44%; } }
@media (max-width: 860px) {
  .numbered { flex-direction: column; }
  .numbered .ncard, .numbered .ncard.is-active, .numbered:hover .ncard.is-active { flex: 1 1 auto; }
  .ncard > h3, .ncard > p, .ncard > .tags { min-width: 0; }
  .curve-stat { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stat-curve[data-anim] path.curve-line { stroke-dashoffset: 0; }
  .stat-curve[data-anim] .pt, .stat-curve[data-anim] .drop,
  .curve-stats[data-anim] .curve-stat { opacity: 1; transform: none; }
}

/* ==========================================================================
   통계 카드 — 정적 강조 대신 호버 강조로 통일
   (다른 카드들이 전부 호버로 밝아지는데 여기만 늘 파랗게 켜져 있어 어색함)
   ========================================================================== */
.stat { transition: transform .28s var(--ease), border-color .28s var(--ease),
                    background .3s var(--ease), box-shadow .3s var(--ease); }
.stat--blue { background: var(--surface); border-color: var(--line); box-shadow: none; }
.stat--blue .stat__k { color: var(--text-3); }
.stat:hover {
  transform: translateY(-4px);
  background: linear-gradient(150deg, #3F82FF 0%, #629BFF 100%);
  border-color: transparent;
  box-shadow: 0 18px 46px -18px rgba(62, 130, 255, .85);
}
.stat:hover .stat__k { color: rgba(255, 255, 255, .94); }
@media (hover: none) {   /* 호버가 없는 기기에선 대표 지표를 정적으로 강조 */
  .stat--blue { background: linear-gradient(150deg, #3F82FF 0%, #629BFF 100%);
                border-color: transparent; box-shadow: 0 18px 46px -18px rgba(62,130,255,.85); }
  .stat--blue .stat__k { color: rgba(255, 255, 255, .94); }
}

/* ==========================================================================
   좁은 화면: 1920px 시안 기준으로 넣은 본문 강제 줄바꿈(<br>)을 해제한다.
   그대로 두면 글자가 왼쪽에만 몰리고 오른쪽이 크게 비어 보인다.
   제목(h1/h2)의 줄바꿈은 의도된 것이라 유지한다.
   ========================================================================== */
@media (max-width: 860px) {
  .lead br, .body br, .section-head p br,
  .prose-block p br, .card__desc br, .shield p br, .ncard p br, .phil p br,
  .team__col p br, .story__item p br, .fact p br, .tl-item p br,
  .step p br, .wf-step p br, .pcard p br, .quote__text br, .patent p br,
  .talk p br, .plain-banner br, .curve-stat p br, .stat__k br,
  .footer__desc br, .hero__sub br, .info-row__v br, .cta-band p br,
  .featured__checks br, .marquee-hint br { display: none; }
}

/* ==========================================================================
   한글 줄바꿈 품질
   브라우저 기본값(word-break: normal)은 한글을 아무 글자 사이에서나 끊는다.
   그래서 "보유하고 있습니 / 다." 처럼 어절이 잘린다.
   keep-all 로 어절을 지키고, 그래도 안 들어가는 긴 토큰만 마지막 수단으로 분리한다.
   ========================================================================== */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 제목 — 줄 길이를 고르게 나눠 마지막 줄에 한 단어만 떨어지는 것을 막는다 */
h1, h2, h3, h4,
.h-display, .h-section, .h-card,
.ncard h3, .pcard h3, .step h3, .wf-step h3,
.shield h3, .phil h3, .fact h3, .tl-item h3, .patent h3,
.cta-band h2, .talk h2, .form-card > h2, .info-card h3 { text-wrap: balance; }

/* 본문 — 마지막 줄에 단어 하나만 남는 것을 방지 (미지원 브라우저는 그냥 무시) */
p, li, .lead, .body, .card__desc, .stat__k, .info-row__v,
.quote__text, .plain-banner, .footer__desc, .caps__desc { text-wrap: pretty; }

/* 이메일·URL 처럼 끊을 수 없는 라틴 토큰만 예외적으로 어디서든 분리 */
.info-row__v, .talk__row span, .contact-chip, .footer__desc { overflow-wrap: break-word; }
a[href^="mailto:"], a[href^="http"] { overflow-wrap: anywhere; }

/* 파트너 기관명은 "중소벤처기업진흥공단"처럼 길고 띄어쓰기가 없다.
   좁은 화면에서 keep-all 이면 카드를 밀어내므로 이 요소만 분리를 허용한다. */
.partner__name { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .partner { padding: 24px 12px 18px; }
  .partner__name { font-size: 13px; line-height: 1.45; }
}

/* 쉼표로 나뉜 절을 통째로 묶어, 한 줄에 다 안 들어가면 쉼표 자리에서 줄이 바뀌게 한다.
   (고정 breakpoint 없이 어떤 폭에서도 문장이 어중간하게 끊기지 않는다) */
.clause { display: inline-block; }

/* 좁은 화면에서 prose-block 의 line-height:2 는 줄과 문단 간격이 비슷해져
   문단 경계가 사라진다. 줄 간격을 줄이고 문단 사이를 벌려 구조를 살린다. */
@media (max-width: 860px) {
  .prose-block p { line-height: 1.8; }
  .prose-block p + p { margin-top: 16px; }
}
