:root {
  --ink: #10131a;
  --muted: #5d6675;
  --line: #dfe5ee;
  --blue: #0876c9;
  --navy: #071735;
  --gold: #ffc400;
  --green: #1e9a6d;
  --paper: #f6f8fb;
  --white: #ffffff;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(7, 23, 53, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 5px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: #aebbd0;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 15px;
  font-weight: 700;
}

nav a {
  color: #e9eef8;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(56px, 9vw, 110px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 72px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 23, 53, 0.95), rgba(7, 23, 53, 0.72) 46%, rgba(7, 23, 53, 0.36)),
    image-set(url("assets/roadside-wall.png") 1x);
  background-size: cover;
  background-position: center top;
  transform: scale(1.02);
}

.hero-copy,
.hero-stats {
  position: relative;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.03;
  letter-spacing: 0;
}

h1 span,
h2 span {
  display: block;
}

.lead {
  max-width: 760px;
  color: #e0e9f8;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.65;
}

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

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
}

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

.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-stats {
  display: grid;
  gap: 12px;
  align-self: end;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.hero-stats span {
  display: block;
  color: #bfcae0;
  font-size: 14px;
  font-weight: 700;
}

.hero-stats strong {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 34px);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--white);
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.14;
}

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

.value-grid article,
.steps article {
  min-height: 174px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.value-grid span {
  color: var(--blue);
  font-weight: 900;
}

h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.value-grid p,
.steps p,
.pilot p,
.check-list {
  color: var(--muted);
  line-height: 1.72;
}

.system {
  background: #eef3fa;
}

.projects {
  background: #eef3fa;
}

.video-section {
  color: var(--white);
  background: #071735;
}

.video-section .section-title {
  color: var(--white);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 42px);
}

.patent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.patent-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  align-content: start;
}

.patent-panel > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(20, 43, 78, 0.14);
}

.system-layout.wide {
  grid-template-columns: minmax(420px, 1.25fr) minmax(0, 0.75fr);
}

.system-layout img,
.project-card img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(20, 43, 78, 0.14);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(20, 43, 78, 0.12);
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.project-card div {
  padding: clamp(20px, 3vw, 30px);
}

.project-card h3 {
  margin-top: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.24;
}

.project-card p {
  color: var(--muted);
  line-height: 1.72;
}

.project-card strong {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--gold);
  background: var(--navy);
  font-size: 15px;
}

.project-label {
  margin-bottom: 8px;
  color: var(--blue) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.patent-panel .steps article {
  min-height: 190px;
  height: 100%;
}

.steps b {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.concept-video {
  position: relative;
  height: clamp(360px, 52vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)),
    #0a1d42;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.video-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 52px);
  padding: clamp(24px, 5vw, 64px);
  opacity: 0;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.scene-one {
  animation-name: sceneOne;
}

.scene-two {
  animation-name: sceneTwo;
}

.scene-copy b,
.scene-copy span {
  display: block;
}

.scene-copy b {
  max-width: 560px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.1;
}

.scene-copy span {
  max-width: 560px;
  color: #dce8f7;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.55;
}

.parking-board,
.road-board {
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.parking-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(28px, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
  padding: clamp(16px, 3vw, 34px);
}

.parking-board em {
  position: absolute;
  z-index: 2;
  left: 10%;
  top: 50%;
  width: 30%;
  height: 34%;
  border: 7px solid #dfe8f5;
  border-radius: 8px;
  box-shadow:
    0 0 0 2px rgba(36, 140, 255, 0.55),
    0 0 24px rgba(36, 140, 255, 0.9);
  transform: translateY(-50%);
  animation: botxMove 7.5s ease-in-out infinite alternate;
}

.parking-board i {
  position: relative;
  display: block;
  min-height: 54px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffd84e, #d99100);
  box-shadow: 0 0 18px rgba(255, 196, 0, 0.32);
}

.parking-board i:nth-child(n + 13) {
  background: linear-gradient(180deg, #f24545, #a90d1d);
  box-shadow: 0 0 18px rgba(255, 58, 58, 0.28);
}

.road-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(40px, 1fr));
  align-items: end;
  gap: clamp(10px, 2vw, 20px);
  padding: clamp(18px, 4vw, 42px);
  background:
    linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.22) 24% 25%, transparent 25% 49%, rgba(255, 255, 255, 0.22) 49% 50%, transparent 50% 74%, rgba(255, 255, 255, 0.22) 74% 75%, transparent 75%),
    rgba(255, 255, 255, 0.08);
}

.road-board i {
  display: block;
  height: 16px;
  border-radius: 999px;
  animation: pulseLine 1.4s ease-in-out infinite alternate;
}

.road-board .blue {
  background: #248cff;
  box-shadow: 0 0 24px #248cff;
}

.road-board .green {
  background: #29d279;
  box-shadow: 0 0 24px #29d279;
}

.road-board .red {
  background: #ff2c2c;
  box-shadow: 0 0 24px #ff2c2c;
}

.video-caption {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-caption span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

@keyframes sceneOne {
  0%,
  43% {
    opacity: 1;
    transform: translateY(0);
  }

  50%,
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes sceneTwo {
  0%,
  48% {
    opacity: 0;
    transform: translateY(20px);
  }

  55%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseLine {
  from {
    transform: translateY(0);
    filter: brightness(0.9);
  }

  to {
    transform: translateY(-10px);
    filter: brightness(1.35);
  }
}

@keyframes botxMove {
  from {
    transform: translate(0, -50%);
  }

  to {
    transform: translate(170%, -50%);
  }
}

.pilot {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(135deg, #071735, #063f82 58%, #166a7a);
}

.pilot p {
  color: #dce8f7;
  font-size: 18px;
}

.check-list {
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #f1f6ff;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 420px);
  gap: clamp(22px, 5vw, 72px);
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--white);
}

.contact-logo {
  display: block;
  width: min(320px, 72vw);
  margin-top: 18px;
}

address {
  display: grid;
  gap: 12px;
  font-style: normal;
  font-size: 18px;
}

address a,
address span,
address strong {
  display: block;
  padding: 16px 18px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: var(--paper);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 72px);
  color: #cad4e4;
  background: var(--navy);
}

@media (max-width: 900px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
  }

  .hero,
  .split,
  .system-layout,
  .system-layout.wide,
  .pilot,
  .contact,
  .project-grid,
  .patent-grid,
  .video-scene {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 12px;
  }

  nav a {
    white-space: nowrap;
  }

  h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 17px;
  }

  .value-grid,
  .steps,
  .project-grid,
  .patent-grid {
    grid-template-columns: 1fr;
  }

  .concept-video {
    height: 560px;
  }

  .video-scene {
    align-content: center;
  }

  .value-grid article,
  .steps article {
    min-height: 0;
  }
}
