/* RAYMSYS — 공식 홈페이지 스타일
   브랜드 기준: GIF 경진대회 로고 패키지(C 링다운 + D 시그널 테일)
   구성: 공통 상단바·하단바 + 4개 페이지(회사 소개 / 기술 역량 / 사업 영역 / 협력 문의) */

@font-face {
  font-family: "Pretendard Local";
  src: url("../fonts/pretendard.woff2") format("woff2");
  font-display: swap;
}

:root {
  --navy: #0f1921;
  --navy-2: #13212b;
  --navy-3: #1a2c38;
  --ink: #1b2434;
  --deep: #0e8499;
  --deep-2: #0b6f80;
  --signal: #69c7d5;
  --signal-2: #a5e6ee;
  --white: #ffffff;
  --paper: #f5f8f8;
  --paper-2: #eaf1f2;
  --line: #dbe4e6;
  --line-dark: rgba(255, 255, 255, 0.1);
  --muted: #5d6c75;
  --muted-dark: #8fa3ad;

  --sans: "Pretendard Variable", Pretendard, "Pretendard Local", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5.5vw, 88px);
  --max: 1280px;
  --header-h: 76px;
  --subnav-h: 54px;
  --radius: 6px;
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 공통 타이포 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dark .eyebrow,
.page-head .eyebrow {
  color: var(--signal);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.34;
}

.section-lead {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
  color: var(--muted);
}

.dark .section-lead {
  color: var(--muted-dark);
}

.accent {
  color: var(--deep);
}

.dark .accent {
  color: var(--signal);
}

/* ---------- 버튼 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn:hover svg {
  transform: translateX(3px);
}

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

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

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.btn-line {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.btn-line:hover {
  border-color: var(--deep);
  color: var(--deep);
}

/* ---------- 상단바 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(15, 25, 33, 0.96);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
  color: var(--white);
}

.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand img {
  width: 150px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  position: relative;
}

.menu-link {
  position: relative;
  display: block;
  padding: 26px 2px;
  font-size: 16px;
  font-weight: 500;
  color: #c9d6dc;
  transition: color 0.2s;
}

.menu-link:hover,
.menu-link.is-active {
  color: var(--white);
}

.menu-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--signal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

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

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

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

/* ---------- 페이지 전환 ---------- */

.js .page {
  display: none;
}

.js .page.is-active {
  display: block;
}

.page.page-enter {
  animation: page-in 0.45s ease both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- 회사 소개: 히어로 ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  padding: calc(var(--header-h) + clamp(48px, 9vh, 104px)) 0 0;
  background:
    radial-gradient(1000px 600px at 78% 40%, rgba(14, 132, 153, 0.22), transparent 70%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-canvas {
  position: absolute;
  top: var(--header-h);
  right: 0;
  bottom: 96px;
  width: 58%;
  height: auto;
  max-width: none;
  opacity: 0.95;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}

.hero > .wrap {
  position: relative;
  z-index: 1;
  flex: 1;
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.hero h1 .accent {
  display: inline-block;
  background: linear-gradient(90deg, var(--signal), var(--signal-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 28px 0 40px;
  max-width: 520px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.85;
  color: #a9bac3;
}

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

.hero-strip {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 9vh, 110px);
  border-top: 1px solid var(--line-dark);
  background: rgba(15, 25, 33, 0.6);
}

.hero-strip ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-strip li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 26px 20px 28px 0;
}

.hero-strip li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line-dark);
}

.hero-strip .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--signal);
}

.hero-strip strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.hero-strip small {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}

/* ---------- 페이지 머리말 ---------- */

.page-head {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(14, 132, 153, 0.24), transparent 70%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}

.page-head h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.page-lead {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.85;
  color: #a9bac3;
}

.page-head-wave {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  width: min(380px, 40vw);
  opacity: 0.18;
  pointer-events: none;
}

/* ---------- 하위 메뉴 바 ---------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  height: var(--subnav-h);
  background: var(--navy-2);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}

.subnav ul {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: var(--subnav-h);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav ul::-webkit-scrollbar {
  display: none;
}

.subnav li {
  flex: 0 0 auto;
}

.subnav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-size: 14.5px;
  color: var(--muted-dark);
  white-space: nowrap;
  transition: color 0.2s;
}

.subnav li:first-child a {
  padding-left: 0;
}

.subnav a:hover,
.subnav a.is-active {
  color: var(--white);
}

.subnav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--signal);
}

.subnav li:first-child a.is-active::after {
  left: 0;
}

/* ---------- 섹션 공통 ---------- */

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head .section-lead {
  margin: 0;
  justify-self: end;
}

.dark {
  background: var(--navy);
  color: var(--white);
}

.tint {
  background: var(--paper);
}

/* ---------- 회사 소개 ---------- */

.vision {
  position: relative;
  overflow: hidden;
}

.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 80px;
  align-items: start;
}

.vision-statement {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.vision-statement em {
  font-style: normal;
  color: var(--deep);
}

.vision-body p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--muted);
}

.vision-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}

.vision-facts div {
  padding: 22px 16px 0 0;
}

.vision-facts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--deep);
  text-transform: uppercase;
}

.vision-facts dd {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.vision-mark {
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 360px;
  opacity: 0.05;
  pointer-events: none;
}

/* 공지사항 */

.notice-board {
  border-top: 2px solid var(--ink);
  background: var(--white);
}

.notice-columns,
.notice-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 120px 28px;
  align-items: center;
  gap: 16px;
}

.notice-columns {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.notice-columns span:nth-child(3) {
  text-align: right;
}

.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice + .notice {
  border-top: 1px solid var(--line);
}

.notice-head {
  width: 100%;
  min-height: 64px;
  padding: 14px 20px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.notice-head:hover {
  background: var(--paper);
}

.notice-cat {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--deep);
}

.is-pinned .notice-cat {
  background: var(--deep);
  color: var(--white);
}

.notice-title {
  font-size: 16px;
  font-weight: 600;
}

.notice-head time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

.notice-head svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.2s;
}

.notice-head[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.notice-body {
  padding: 4px 20px 28px calc(20px + 96px + 16px);
  font-size: 15.5px;
  line-height: 1.9;
  color: #3f4e57;
}

.notice-body p {
  margin: 0 0 10px;
}

.notice-body a {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-empty {
  margin: 0;
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
}

.notice-more {
  display: flex;
  margin: 24px auto 0;
}

/* ---------- 순환 구조 그림 (사업 영역·기술 역량 첫 화면) ---------- */

.overview {
  padding: clamp(64px, 8vw, 112px) 0;
}

.overview-light {
  --wheel-track: #dbe4e6;
  --wheel-accent: #0e8499;
  --wheel-node: #ffffff;
  --wheel-text: #1b2434;
  --wheel-muted: #5d6c75;
  --wheel-hub: #0f1921;
  --wheel-hub-text: #ffffff;
  --wheel-hub-sub: #69c7d5;
  background: var(--white);
}

.overview-dark {
  --wheel-track: rgba(255, 255, 255, 0.12);
  --wheel-accent: #69c7d5;
  --wheel-node: #13212b;
  --wheel-text: #ffffff;
  --wheel-muted: #8fa3ad;
  --wheel-hub: rgba(105, 199, 213, 0.1);
  --wheel-hub-text: #ffffff;
  --wheel-hub-sub: #69c7d5;
  background: var(--navy-2);
  border-bottom: 1px solid var(--line-dark);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px 72px;
  align-items: center;
}

.wheel {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  overflow: visible;
  color: var(--wheel-accent);
}

.wheel .spin {
  fill: none;
  stroke: var(--wheel-accent);
  stroke-width: 1;
  stroke-dasharray: 2 12;
  opacity: 0.45;
  transform-origin: 300px 300px;
  animation: wheel-spin 60s linear infinite;
}

@keyframes wheel-spin {
  to {
    transform: rotate(360deg);
  }
}

.wheel .ring-track {
  fill: none;
  stroke: var(--wheel-track);
  stroke-width: 1;
}

.wheel .arc {
  fill: none;
  stroke: var(--wheel-accent);
  stroke-width: 2;
}

.wheel .arc-label {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  fill: var(--wheel-muted);
}

.wheel .node circle {
  fill: var(--wheel-node);
  stroke: var(--wheel-accent);
  stroke-width: 1.5;
}

.wheel .node .num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  fill: var(--wheel-accent);
}

.wheel .node .name {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  fill: var(--wheel-text);
  letter-spacing: -0.02em;
}

.wheel .hub circle {
  fill: var(--wheel-hub);
  stroke: var(--wheel-accent);
  stroke-width: 1;
}

.wheel .hub-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  fill: var(--wheel-hub-text);
  letter-spacing: -0.03em;
}

.wheel .hub-sub {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  fill: var(--wheel-hub-sub);
}

.loop-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.loop-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.overview-dark .loop-list li {
  border-color: var(--line-dark);
}

.loop-list .n {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--wheel-accent);
}

.loop-list strong {
  font-size: 16.5px;
  font-weight: 700;
}

.loop-list .role {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--deep);
  vertical-align: 2px;
}

.overview-dark .loop-list .role {
  background: rgba(105, 199, 213, 0.12);
  color: var(--signal);
}

.loop-list p {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--wheel-muted);
}

.loop-back {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--wheel-accent);
}

.overview-dark .loop-back {
  border-color: var(--line-dark);
}

.loop-back svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ---------- 기술 역량 ---------- */

.page-dark {
  background: var(--navy);
  color: var(--white);
}

.tech-row {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line-dark);
  background: var(--navy);
}

.tech-row:nth-of-type(even) {
  background: #111d26;
}

.tech-row-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.tech-row:nth-of-type(even) .tech-visual {
  order: -1;
}

.kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--signal);
}

.tech-copy h2 {
  margin-top: 14px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.35;
}

.tech-copy .summary {
  margin: 20px 0 26px;
  font-size: 16.5px;
  line-height: 1.85;
  color: #b4c4cb;
}

.tech-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--navy-3), rgba(8, 15, 20, 0.6));
  border: 1px solid var(--line-dark);
  overflow: hidden;
}

.tech-visual svg {
  width: 100%;
  height: 100%;
}

.tech-proof {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.tech-proof h3 {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted-dark);
}

.tech-proof ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-proof li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #c8d6dc;
}

.tech-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--signal);
}

.tech-proof li b {
  color: var(--white);
  font-weight: 600;
}

.flow-line {
  stroke-dasharray: 6 6;
  animation: flow 1.6s linear infinite;
}

@keyframes flow {
  to {
    stroke-dashoffset: -24;
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  color: #43535c;
}

.dark .tags li,
.page-dark .tags li {
  background: rgba(105, 199, 213, 0.08);
  border-color: rgba(105, 199, 213, 0.22);
  color: #c6dde2;
}

/* 역량 맵 */

.tech-map {
  background: var(--navy-2);
}

.tech-matrix {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tech-matrix table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.tech-matrix th,
.tech-matrix td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line-dark);
  text-align: center;
}

.tech-matrix thead th {
  font-weight: 500;
  font-size: 13px;
  color: var(--muted-dark);
}

.tech-matrix tbody th {
  text-align: left;
  font-weight: 600;
  color: #dbe6ea;
  white-space: nowrap;
}

.tech-matrix .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(105, 199, 213, 0.15);
}

.tech-matrix .dot.half {
  background: transparent;
  border: 1.5px solid var(--signal);
  box-shadow: none;
}

.matrix-legend {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-dark);
}

.matrix-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.principle {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 16px 40px;
  align-items: baseline;
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid rgba(105, 199, 213, 0.22);
  border-radius: 12px;
  background: rgba(105, 199, 213, 0.05);
}

.principle .eyebrow {
  margin: 0;
}

.principle p:not(.eyebrow) {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #c8d6dc;
}

.principle b {
  color: var(--white);
}

/* ---------- 사업 영역 ---------- */

.biz-row {
  padding: clamp(64px, 7vw, 100px) 0;
  border-bottom: 1px solid var(--line);
}

.biz-row:nth-of-type(even) {
  background: var(--paper);
}

.biz-row-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px 80px;
  align-items: start;
}

.biz-head .idx {
  display: block;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--deep);
}

.biz-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--deep);
}

.biz-row:nth-of-type(even) .biz-icon {
  background: var(--white);
}

.biz-icon svg {
  width: 30px;
  height: 30px;
}

.biz-head h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
  margin-bottom: 20px;
}

.tags-label {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.biz-desc {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.9;
  color: #3f4e57;
}

.biz-body h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.biz-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.biz-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.7;
}

.biz-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 1px;
  background: var(--deep);
}

.biz-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.biz-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
}

.biz-links a::after {
  content: "→";
  color: var(--deep);
}

.biz-links a:hover {
  border-color: var(--deep);
  color: var(--deep);
}

/* ---------- 협력 절차 ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  position: relative;
  padding: 0 28px 0 0;
}

.process li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--deep);
}

.process li::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.process li:last-child::after {
  right: 28px;
}

.process .node {
  position: relative;
  z-index: 1;
  display: block;
  width: 11px;
  height: 11px;
  margin: 10px 0 26px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--deep);
}

.process h3 {
  font-size: 20px;
}

.process p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 연구·기술 성과 (데이터가 있을 때만 표시) ---------- */

.evidence-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.evidence-list .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--deep);
}

.evidence-list h3 {
  margin: 10px 0;
  font-size: 18px;
  line-height: 1.45;
}

.evidence-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.evidence-list .attr {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: #7b8b93;
}

/* ---------- 문의 ---------- */

.contact {
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px 80px;
}

.contact-title {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.28;
}

.topics-title {
  margin: 40px 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #dbe6ea;
}

.contact-topics {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-topics li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  color: #c8d6dc;
}

.contact-topics li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  border: 1.5px solid var(--signal);
}

.contact-mail {
  margin: 24px 0 0;
  font-size: 15px;
  color: #c8d6dc;
}

.contact-mail a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 36px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #b8c7ce;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(8, 15, 20, 0.5);
  color: var(--white);
  font-size: 15px;
  transition: border-color 0.2s;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--signal);
}

.contact-form .form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-guide {
  margin: 0 0 4px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(105, 199, 213, 0.08);
  border: 1px solid rgba(105, 199, 213, 0.2);
  font-size: 14px;
  line-height: 1.7;
  color: #c8d6dc;
}

.form-guide b {
  color: var(--white);
  font-weight: 600;
}

.form-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-dark);
}

.contact-wave {
  position: absolute;
  left: var(--gutter);
  bottom: 40px;
  width: 300px;
  opacity: 0.12;
  pointer-events: none;
}

/* ---------- 하단바 ---------- */

.site-footer {
  padding: 26px 0;
  background: #0b141a;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- 등장 애니메이션 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 반응형 ---------- */

@media (max-width: 1080px) {
  .tech-row-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tech-row:nth-of-type(even) .tech-visual,
  .tech-visual {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  .biz-row-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .wheel {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
    --subnav-h: 50px;
  }

  /* backdrop-filter 는 고정 위치 메뉴 패널의 기준 상자를 바꾸므로 모바일에서는 끈다 */
  .site-header {
    background: var(--navy);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px var(--gutter) 32px;
    overflow-y: auto;
    background: rgba(15, 25, 33, 0.99);
    border-top: 1px solid var(--line-dark);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .menu-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

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

  .menu-item {
    border-bottom: 1px solid var(--line-dark);
  }

  .menu-link {
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
  }

  .menu-link.is-active::after {
    display: none;
  }

  .menu-link.is-active {
    color: var(--signal);
  }

  .brand img {
    width: 128px;
  }

  .hero {
    min-height: 0;
  }

  .hero-canvas {
    position: relative;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 260px;
    margin-top: 40px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  }

  .hero-strip {
    margin-top: 0;
  }

  .hero-strip ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-strip li:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .section-head,
  .vision-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head .section-lead {
    justify-self: start;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }

  .process li:nth-child(2)::after {
    right: 28px;
  }

  .evidence-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-strip li {
    padding: 20px 12px 20px 0;
    gap: 10px;
  }

  .hero-strip li + li {
    padding-left: 14px;
  }

  .hero-strip strong {
    font-size: 15px;
  }

  .hero-strip small {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .page-head-wave {
    display: none;
  }

  .subnav a {
    padding: 0 12px;
    font-size: 14px;
  }

  .subnav a.is-active::after {
    left: 12px;
    right: 12px;
  }

  .vision-facts {
    grid-template-columns: 1fr;
  }

  .vision-facts div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .notice-columns {
    display: none;
  }

  .notice-head {
    grid-template-columns: minmax(0, 1fr) 20px;
    grid-template-areas:
      "cat icon"
      "title icon"
      "date icon";
    gap: 6px 12px;
    padding: 16px 4px;
  }

  .notice-cat {
    grid-area: cat;
  }

  .notice-title {
    grid-area: title;
    font-size: 15.5px;
  }

  .notice-head time {
    grid-area: date;
    text-align: left;
    font-size: 12px;
  }

  .notice-head svg {
    grid-area: icon;
  }

  .notice-body {
    padding: 0 4px 24px;
  }

  .tech-proof ul,
  .biz-points {
    grid-template-columns: 1fr;
  }

  .overview-figure {
    margin: 0 calc(var(--gutter) * -1 + 2px);
  }

  .wheel .node .name {
    font-size: 17px;
  }

  .wheel .node .num {
    font-size: 14px;
  }

  .wheel .arc-label {
    font-size: 17px;
  }

  .wheel .hub-title {
    font-size: 27px;
  }

  .wheel .hub-sub {
    font-size: 12.5px;
  }

  .principle {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .process {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .process li {
    padding: 0 0 0 30px;
  }

  .process li::before {
    position: absolute;
    left: 30px;
    top: -2px;
  }

  .process li::after {
    top: 6px;
    bottom: -38px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .process li:last-child::after {
    display: none;
  }

  .process .node {
    position: absolute;
    left: 0;
    top: 2px;
    margin: 0;
  }

  .process h3 {
    margin-top: 26px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }


  .contact-wave {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
