:root {
  color-scheme: dark;
  --bg: #020403;
  --deep: #080b0b;
  --panel: #101010;
  --panel-2: #121916;
  --moon: #fffaf0;
  --muted: #b7c4bd;
  --soft: #d7ff94;
  --soft-2: #c2ecaa;
  --cyan: #8be7ff;
  --amber: #f7c66a;
  --line: rgba(255, 250, 240, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  font-family: "Noto Sans KR", "Segoe UI", Roboto, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* 고정 헤더(87px) 아래로 섹션 제목이 가려지지 않도록 */
section[id] {
  scroll-margin-top: 104px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--moon);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 키보드 포커스 기본 표시 (마우스 클릭 시에는 나타나지 않음) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--soft);
  outline-offset: 3px;
  border-radius: 4px;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

body::before {
  position: fixed;
  inset: -10%;
  z-index: -2;
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(215, 255, 148, 0.12) 19% 20.5%, transparent 22% 46%, rgba(139, 231, 255, 0.09) 47% 49%, transparent 50% 100%),
    repeating-linear-gradient(115deg, transparent 0 86px, rgba(255, 250, 240, 0.035) 87px 88px, transparent 89px 176px),
    linear-gradient(135deg, #020403 0%, #070e0c 43%, #141207 100%);
  background-size: 170% 170%, 176px 176px, 100% 100%;
  transform: translateZ(0);
  will-change: transform;
  animation: siteFlow 20s ease-in-out infinite alternate;
  content: "";
}

body::after {
  position: fixed;
  inset: -10%;
  z-index: -1;
  opacity: .44;
  background:
    radial-gradient(circle, rgba(215, 255, 148, 0.32) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(139, 231, 255, 0.22) 0 1px, transparent 1.8px),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #020403 92%);
  background-position: 0 0, 34px 52px, 0 0;
  background-size: 104px 104px, 164px 164px, 100% 100%;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
  animation: particleWall 24s linear infinite;
  content: "";
}

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

img {
  max-width: 100%;
}

.top-banner {
  position: relative;
  z-index: 70;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 18px;
  color: #13200a;
  background: var(--soft-2);
  font-size: 14px;
  line-height: 1.3;
}

.top-banner span,
.eyebrow,
.service-card span,
.evolution-panel span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.top-banner strong {
  font-weight: 700;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  display: grid;
  /* 데스크톱에서는 메뉴 버튼이 숨겨지므로 2칼럼.
     3칼럼으로 두면 빈 3번째 트랙 앞의 gap 28px 만큼 네비가 우측 끝에서 밀린다. */
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 22px max(20px, calc((100vw - 1220px) / 2));
  color: var(--moon);
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  background: rgba(2, 4, 3, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 42px;
}

.brand img {
  display: block;
  width: 140px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 42px);
  color: rgba(255, 250, 240, 0.82);
  font-size: 17px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-button {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.08);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--moon);
  transition: transform 200ms ease, opacity 160ms ease;
}

/* 열린 상태: 햄버거 → X */
.site-header.is-open .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 740px;
  display: grid;
  align-items: center;
  padding: 132px max(20px, calc((100vw - 1220px) / 2)) 72px;
  overflow: visible;
}

.motion-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 1;
  overflow: hidden;
  pointer-events: none;
  background: #020403;
  transform: translateZ(0);
  contain: paint;
}

.motion-field canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.motion-field::before,
.motion-field::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  content: "";
}

.motion-field::before {
  z-index: 1;
  opacity: .82;
  background:
    linear-gradient(90deg, rgba(2, 4, 3, .76), rgba(2, 4, 3, .24) 45%, rgba(2, 4, 3, .86)),
    linear-gradient(180deg, rgba(2, 4, 3, .18), rgba(2, 4, 3, .72));
}

.motion-field::after {
  z-index: 2;
  opacity: .5;
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(215, 255, 148, .08) 19% 20.5%, transparent 22% 46%, rgba(139, 231, 255, .07) 47% 49%, transparent 50% 100%),
    repeating-linear-gradient(112deg, transparent 0 92px, rgba(255, 250, 240, .045) 93px 94px, transparent 95px 184px);
  background-size: 170% 170%, 184px 184px;
  animation: siteFlow 18s ease-in-out infinite alternate;
}

.hero::after {
  display: none;
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .9fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: .98;
}

/* display:block 이 의도한 줄바꿈을 만듭니다. nowrap 을 쓰면 문구가 길어질 때
   줄이 접히지 못해 페이지 전체에 가로 스크롤이 생기므로 어절 단위 줄바꿈으로 처리 */
h1 span {
  display: block;
  word-break: keep-all;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: clamp(32px, 5.4vw, 74px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
  word-break: keep-all;
}

#about-title {
  max-width: 760px;
  font-size: clamp(26px, 3.8vw, 52px);
}

#about-title span {
  display: block;
  word-break: keep-all;
  text-wrap: balance;
}

.about-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

.section-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
}

/* 회사소개의 리드 문단은 위 블록과 간격을 더 둔다 (빈 <br> 대신 여백으로 처리) */
.intro-section > .section-lead {
  margin-top: 44px;
}

h3 {
  color: #ffffff;
  font-size: clamp(21px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.22;
  word-break: keep-all;
}

.hero-copy p {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(17px, 1.5vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 680px;
}

/* 직계 자식만 칩으로 처리 (링크 안의 ↗ 아이콘이 칩이 되지 않도록) */
.hero-tags > span,
.hero-tags > a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 250, 240, .16);
  border-radius: 999px;
  color: rgba(255, 250, 240, .78);
  background: rgba(255, 250, 240, .06);
  font-size: 14px;
  font-weight: 800;
}

/* 링크가 연결된 칩: 클릭 가능함을 시안 계열로 구분 (라임은 내부 강조용으로 유지) */
.hero-tags > a {
  color: var(--moon);
  border-color: rgba(139, 231, 255, .38);
  transition: border-color 160ms ease, background 160ms ease;
}

.hero-tags > a:hover,
.hero-tags > a:focus-visible {
  border-color: var(--cyan);
  background: rgba(139, 231, 255, .12);
}

.hero-tags .ext {
  font-size: 11px;
  line-height: 1;
  color: var(--cyan);
  transition: transform 160ms ease;
}

.hero-tags > a:hover .ext {
  transform: translate(1px, -1px);
}

/* 페이지 내 이동(↓)은 외부 링크(↗)와 방향을 구분 */
.hero-tags > a:hover .ext.jump {
  transform: translateY(2px);
}

/* 고정 헤더에 카드가 가려지지 않도록 (section[id] 규칙은 섹션에만 적용됨) */
.service-card[id] {
  scroll-margin-top: 104px;
}

.hero-tags > span:first-child {
  color: #efffde;
  border-color: rgba(215, 255, 148, .46);
  background: rgba(215, 255, 148, .12);
  box-shadow: 0 0 34px rgba(215, 255, 148, .12);
}

.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-action {
  color: #10200a;
  background: var(--soft-2);
}

.secondary-action {
  border: 1px solid rgba(255, 250, 240, .28);
  color: var(--moon);
  background: rgba(255, 250, 240, .06);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  transform: translateY(-3px);
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) max(20px, calc((100vw - 1220px) / 2));
  --section-overlay-start: rgba(2, 4, 3, .68);
  --section-overlay-end: rgba(2, 4, 3, .56);
  --section-glow: rgba(215, 255, 148, .055);
}

.section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  background: transparent;
  pointer-events: none;
  content: "";
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.intro-section .section-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}

.intro-section {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(54px, 6vw, 84px);
}

.intro-section,
.business-section,
.history-section,
.esg-section {
  background: transparent;
}

.statement p,
.contact-box p,
.service-card p,
.evolution-panel p,
.proof-grid span {
  color: var(--muted);
}

.statement p,
.contact-box p {
  font-size: clamp(17px, 1.5vw, 21px);
}

.evolution-section {
  --section-overlay-start: rgba(2, 4, 3, .56);
  --section-overlay-end: rgba(8, 11, 11, .54);
  background: transparent;
}

.evolution-panel {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.about-points {
  margin-top: 24px;
}

.evolution-panel article {
  display: grid;
  grid-template-columns: 72px minmax(0, .45fr) minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.evolution-panel span,
.service-card span {
  color: var(--soft);
}

.evolution-panel h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.evolution-panel p {
  margin-bottom: 0;
}

.ceo-message {
  display: grid;
  grid-template-columns: minmax(220px, .36fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  margin-top: clamp(56px, 7vw, 104px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 250, 240, .14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 255, 148, .08), transparent 38%),
    #101010;
  box-shadow: var(--shadow);
}

.ceo-sign {
  display: grid;
  align-content: start;
  gap: 12px;
}

.ceo-sign span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ceo-sign strong {
  color: #ffffff;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.08;
}

.ceo-text {
  display: grid;
  gap: 16px;
}

.ceo-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.ceo-text p:first-child {
  color: var(--moon);
  font-size: 19px;
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-width: 0;
  min-height: 464px;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid rgba(255, 250, 240, .14);
  border-radius: 8px;
  background: #101010;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card.accent {
  border-color: rgba(215, 255, 148, .28);
  background:
    linear-gradient(180deg, rgba(215, 255, 148, .08), transparent 42%),
    #101010;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(215, 255, 148, .48);
  background: #141a13;
}

.service-card img {
  width: 100%;
  /* height:auto 가 있어야 HTML width/height 속성(presentational hint)을 덮고
     aspect-ratio 가 높이를 결정합니다 */
  height: auto;
  aspect-ratio: 267 / 150;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 18px;
}

.service-card h3 {
  min-height: 70px;
  margin: 10px 0 14px;
  font-size: 25px;
}

.service-card p {
  margin-bottom: 0;
}

.service-card.wide {
  grid-column: 1 / -1;
  min-height: 0;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.service-card.wide img {
  width: clamp(280px, 36%, 460px);
  margin-bottom: 0;
}

.service-card.wide .service-card-body {
  display: flex;
  flex-direction: column;
}

/* 수상 이력 표기 (span 을 쓰면 .service-card span 의 eyebrow 스타일을 받으므로 strong/p 사용) */
.award-note {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 255, 148, .3);
  border-left-width: 3px;
  border-radius: 6px;
  background: rgba(215, 255, 148, .07);
}

.award-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 900;
}

.service-card .award-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.service-card.wide h3 {
  min-height: 0;
}

.service-card.wide .service-points {
  margin-top: 6px;
}

.service-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-points li + li {
  margin-top: 6px;
}

.proof-section {
  background: transparent;
}

.history-section {
  --section-overlay-start: rgba(8, 11, 11, .58);
  --section-overlay-end: rgba(2, 4, 3, .62);
  --section-glow: rgba(139, 231, 255, .06);
  background: transparent;
}

.history-stream {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.history-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, .14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(139, 231, 255, .055), transparent 40%),
    #101010;
}

.history-card time {
  display: block;
  margin-bottom: 16px;
  color: var(--soft);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1;
}

.history-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.history-card li::marker {
  color: var(--soft);
}

/* 연혁 내 수상 항목 — 프로젝트 나열과 구분 */
.history-card li.is-award strong {
  color: var(--soft);
  font-weight: 900;
}

.history-stream.is-collapsed .history-card:nth-child(n + 7) {
  display: none;
}

.history-toggle {
  display: block;
  margin: 28px auto 0;
  padding: 12px 28px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid rgba(215, 255, 148, .32);
  border-radius: 999px;
  background: rgba(215, 255, 148, .06);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.history-toggle:hover,
.history-toggle:focus-visible {
  border-color: rgba(215, 255, 148, .6);
  background: rgba(215, 255, 148, .12);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-grid article {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
}

.proof-grid strong {
  color: #ffffff;
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 500;
  line-height: .9;
}

.contact-section {
  padding-bottom: 148px;
  --section-overlay-start: rgba(2, 4, 3, .54);
  --section-overlay-end: rgba(18, 33, 12, .68);
  --section-glow: rgba(215, 255, 148, .1);
  background: transparent;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.download-card {
  min-height: 168px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 250, 240, .14);
  border-radius: 8px;
  background: #101010;
}

.download-card span {
  color: var(--soft);
  font-size: 15px;
  font-weight: 900;
}

.download-card a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(215, 255, 148, .34);
  border-radius: 6px;
  color: #10200a;
  background: var(--soft-2);
  font-weight: 900;
}

.location-wrap {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.location-card {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 250, 240, .14);
  border-radius: 8px;
  background: #101010;
}

.location-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.location-card dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 250, 240, .12);
}

/* 마지막 항목 아래 구분선이 뜨지 않도록 */
.location-card dl > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.location-card dt {
  color: var(--soft);
  font-weight: 900;
}

.location-card dd {
  margin: 0;
  color: var(--moon);
}

/* 전화·메일 링크 탭 영역 확보 (최소 44px) */
.location-card dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -11px 0;
  text-decoration: underline;
  text-decoration-color: rgba(255, 250, 240, .3);
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease;
}

.location-card dd a:hover,
.location-card dd a:focus-visible {
  text-decoration-color: var(--soft);
}

.location-card .primary-action {
  justify-self: start;
}

.contact-box h2,
.location-wrap h2 {
  margin-bottom: 22px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(20px, calc((100vw - 1220px) / 2));
  border-top: 1px solid rgba(139, 231, 255, .16);
  color: var(--muted);
  /* 로고 블루(#0060A8) 계열의 아주 어두운 파생색 */
  background: rgba(5, 20, 31, .94);
}

.site-footer img {
  width: 132px;
  height: auto;
}

.site-footer p {
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 앵커 이동 대상은 등장 애니메이션 없이 즉시 확정 위치에 둔다.
   애니메이션 중에는 scrollIntoView 가 변형된 위치를 기준으로 계산해 어긋난다. */
[data-reveal].is-anchor-target {
  opacity: 1;
  transform: none;
  transition: none;
}

@keyframes siteFlow {
  from {
    transform: translate3d(-3%, 1%, 0) scale(1.02);
  }
  to {
    transform: translate3d(4%, -3%, 0) scale(1.02);
  }
}

@keyframes heroScan {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(1.5%, -1%, 0);
  }
}

@keyframes lightSweep {
  from {
    transform: translate3d(-10%, 3%, 0) scale(1.04);
    opacity: .56;
  }
  to {
    transform: translate3d(9%, -5%, 0) scale(1.04);
    opacity: .84;
  }
}

@keyframes particleWall {
  from {
    transform: translate3d(-2%, 2%, 0) scale(1.02);
  }
  to {
    transform: translate3d(9%, -8%, 0) scale(1.02);
  }
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
  }

  .hero-inner,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 720px;
  }

  .service-grid,
  .proof-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-wrap,
  .ceo-message {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  /* 본문의 수동 줄바꿈은 데스크톱 전용. 좁은 화면에서는 각 줄이 또 접혀
     줄 길이가 들쭉날쭉해지므로 자연스러운 줄바꿈에 맡긴다.
     (CEO 서명의 "대표이사/서상철" 줄바꿈은 레이아웃이라 유지) */
  .hero-copy p br,
  .about-lead br,
  .section-lead br {
    display: none;
  }

  .top-banner {
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .site-header {
    top: 0;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    z-index: 70;
    display: none;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 250, 240, .2);
    border-radius: 10px;
    background: #04060a;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    background: rgba(215, 255, 148, .1);
  }

  .site-header.is-open .site-nav {
    display: grid;
    justify-content: stretch;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .service-grid,
  .proof-grid,
  .history-stream,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card.wide {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .service-card.wide img {
    width: 100%;
  }

  .history-stream.is-collapsed .history-card:nth-child(n + 7) {
    display: block;
  }

  .history-stream.is-collapsed .history-card:nth-child(n + 5) {
    display: none;
  }

  .evolution-panel article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .location-card dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .top-banner strong {
    display: none;
  }

  .brand img {
    width: 122px;
  }

  h1 {
    font-size: clamp(36px, 10vw, 44px);
  }

  h2 {
    font-size: clamp(31px, 11vw, 48px);
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
