/* ==========================================================================
   Global design tokens
   ========================================================================== */
:root {
  --bg: #000;
  --text: #f7f8fb;
  --muted: #8d8f98;
  --line: rgba(255, 255, 255, 0.26);
  --blue: #2f82ff;
  --card: #001b43;
  --card-dark: rgba(0, 18, 44, 0.72);
}

/* ==========================================================================
   Base reset and document defaults
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

html {
  scrollbar-color: rgba(45, 120, 255, 0.9) #050505;
}

body {
  overflow-x: hidden;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #050505;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4d8cff, #0057ff);
  border-radius: 999px;
  /*border: 2px solid #050505;*/
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #79a8ff, #1e6bff);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Pretendard, "Noto Sans KR", Arial, sans-serif;
  line-height: 1.35;
}
html[lang="ko"] body {
  font-family: "Noto Sans KR", "Noto Sans", Arial, sans-serif;
}

html[lang="en"] body {
  font-family: "Noto Sans", Arial, sans-serif;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", "Noto Sans", Arial, sans-serif;
}

html[lang="zh-CN"] body {
  font-family: "Noto Sans SC", "Noto Sans", Arial, sans-serif;
}


main {
  overflow-x: hidden;
}

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

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

/* ==========================================================================
   Shared layout containers
   ========================================================================== */
.section-wrap,
.header-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==========================================================================
   Header and navigation
   ========================================================================== */
.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 30;
  height: 5rem;
  /*background: rgba(0, 0, 0, 0.68);*/
  /*backdrop-filter: blur(12px);*/
  background: black;
}

.header-inner {
  display: grid;
  grid-template-columns: 190px 1fr 86px;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 900;
  line-height: 0.92;
  width: 170px;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  border: 5px solid var(--blue);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  font-size: 0;
}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: 60px;
  color: #8f9098;
  /*font-size: 14px;*/
  font-size: 1rem;
  margin-left: 4rem;
}

.nav a {
  transition: color 0.5s ease-in-out;
}

.nav a.active {
  color: #fff;
  font-weight: 600;
}

.language-icon {
  width: 1rem;
  height: 1rem;
}

.lang-select {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.lang-select select {
  /*width: 44px;*/
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  appearance: none;
  cursor: pointer;
}

.lang-select option {
  background: #050505;
}

/* ==========================================================================
   Hero section
   ========================================================================== */
#top {
  scroll-margin-top: 6rem;
}

.hero {
  position: relative;
  height: calc(100svh - 5rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art {
  position: absolute;
  bottom: 0;
  width: 100vw;
  aspect-ratio: 1920 / 650;
  background: url("assets/hero-background.png") center top / cover no-repeat;
}

/*.hero-art::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background:*/
/*    linear-gradient(180deg, transparent 0 145px, rgba(0, 0, 0, 0.98) 175px 560px, transparent 720px),*/
/*    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46) 62%, transparent 78%);*/
/*}*/

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 6.4vw, 102px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.headline-second {
  background: radial-gradient(
          ellipse at 50% 115%,
          #0078ff 0%,
          #3780FF 24%,
          #ffffff 52%,
          #ffffff 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 54px 0 0;
  font-size: 24px;
  font-weight: 900;
  padding: 0 4rem;
}







.hero-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 100px;
}

.light-img {
  mix-blend-mode: screen;
  width: 50px;
  height: 40px;
  pointer-events: none;
}
/*.hero-tag {*/
/*  display: inline-block;*/
/*  margin: 0;*/
/*}*/

.hero-tag {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  column-gap: 0.25em;
}

html[lang="zh-CN"] .hero-tag {
  column-gap: 0;
}
html[lang="ja"] .hero-tag {
  column-gap: 0;
}

.hero-tag strong {
  margin-right: 0.25rem;
  font-weight: 600;
}

.hero-tag span {
  white-space: nowrap;
  font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 58px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.5);
}

.btn.primary,
.contact-form button {
  border-color: var(--blue);
  background: var(--blue);
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0.01;
  overflow: hidden;
}

/* ==========================================================================
   About section
   ========================================================================== */
.about {
  padding: 110px 0 220px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 180px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(64px, 6vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.intro-copy {
  /*margin: 32px 0 0;*/
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

/*.star-copy::before {*/
/*  content: "";*/
/*  display: block;*/
/*  width: 58px;*/
/*  height: 32px;*/
/*  margin-bottom: 18px;*/
/*  background: radial-gradient(circle, #fff 0 3%, #2f82ff 8%, transparent 70%);*/
/*}*/

.section-kicker {
  margin: 135px 0 60px;
  color: #7b7c83;
  font-size: 56px;
  font-weight: 400;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

/*.strength-grid article {*/
/*  min-height: 180px;*/
/*  padding: 30px 24px;*/
/*  background: linear-gradient(135deg, rgba(0, 35, 91, 0.95), rgba(0, 13, 31, 0.98));*/
/*  border-left: 2px solid #005bc6;*/
/*  border-radius: 7px;*/
/*}*/

.strength-grid article {
  min-height: 180px;
  padding: 30px 24px;

  background: linear-gradient(
          to top right,
          rgba(0, 91, 198, 0.55) 0%,
          rgba(0, 55, 135, 0.38) 35%,
          rgba(0, 25, 70, 0.22) 68%,
          rgba(0, 0, 0, 0.02) 100%
  );

  border-left: 2px solid rgba(0, 91, 198, 0.8);
  border-radius: 7px;
}

.strength-grid article h4 {
  margin-bottom: 24px;
}

h4 {
  /*margin: 0 0 24px;*/
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

p {
  /*word-break: keep-all;*/
}

.strength-grid p,
.team-lead,
.people-grid p,
.role-board p,
.difference-list p,
.service-grid p,
.project-copy {
  margin: 0;
  color: #d9dce6;
  font-size: 16px;
  line-height: 1.42;
}


.people-grid p ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding-left: 0;
}

.people-grid p li {
  position: relative;
  padding-left: 1rem;
}

.people-grid p li::before {
  content: "·";
  position: absolute;
  left: 0;
}

.difference-list p {
  justify-self: start;
  padding: 0 1rem;
}

/* ==========================================================================
   Team section
   ========================================================================== */
.team-block .section-kicker {
  margin-top: 120px;
  margin-bottom: 30px;
}

.team-lead {
  max-width: 690px;
  margin-bottom: 62px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 58px;
}

.people-grid article {
  min-height: 178px;
  padding: 20px 20px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.people-grid h4 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 22px;
}

.people-grid strong {
  display: block;
  margin-bottom: 28px;
  color: #fff;
}

.role-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 64px;
  /*background: var(--card);*/
}

.role-board article {
  min-height: 210px;
  padding: 38px 50px;
  background: var(--card);
}

.role-board article h4 {
  margin-bottom: 24px;
}

.role-board article.article-blank {
  background: transparent;
}

.role-board .role-offset {
  grid-column: 2;
  transform: translateY(100%);
}

/* ==========================================================================
   Difference section
   ========================================================================== */
.difference {
  display: grid;
  grid-template-columns: 1.2fr 1.7fr;
  gap: 60px;
  margin-top: -200px;
}

.difference h3 {
  margin: 85px 0 0;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.18;
}
.difference h3 span {
  white-space: nowrap;
}

.difference-list {
  grid-column: 1 / -1;
  display: grid;
  margin-top: 65px;
}

.difference-list article {
  display: grid;
  grid-template-columns: 120px 340px 1fr;
  align-items: center;
  min-height: 138px;
  border-top: 1px solid var(--line);
}

.difference-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.difference-list h4 {
  margin: 0;
  font-size: 30px;
}

.difference-list span {
  width: 74px;
  height: 74px;
  justify-self: center;
  filter: drop-shadow(0 0 18px rgba(47, 130, 255, 0.72));
}

.icon-wave {
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at 20% 50%, transparent 0 8px, #2f82ff 9px 14px, transparent 15px 22px);
}

.icon-circle {
  border: 1px solid #2f82ff;
  border-radius: 50%;
  background: radial-gradient(circle, #000 0 24%, #2f82ff 25% 35%, #00194a 40% 100%);
}

.icon-chart {
  clip-path: polygon(0 72%, 35% 58%, 62% 26%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, #00194a, #2f82ff);
}

.icon-stack {
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at center, #2f82ff 0 5px, #00194a 6px 12px, transparent 13px 19px);
}

/* ==========================================================================
   Services section
   ========================================================================== */
.services {
  position: relative;
  min-height: 1080px;
  padding: 80px 0 160px;
}

.services-art {
  position: absolute;
  top: 180px;
  right: 0;
  /*right: calc((min(1200px, calc(100vw - 48px)) - 100vw) / 2);*/
  width: min(61vw, 1020px);
  aspect-ratio: 1113 / 555;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.08) 36%, rgba(0, 0, 0, 0.9) 100%), url("assets/service-background.png") right top / contain no-repeat;
  opacity: 0.95;
}

/*.services-head {*/
/*  position: relative;*/
/*  z-index: 1;*/
/*  margin-bottom: 88px;*/
/*}*/

/*.service-grid {*/
/*  position: relative;*/
/*  z-index: 1;*/
/*  display: grid;*/
/*  grid-template-columns: repeat(2, minmax(0, 1fr));*/
/*  gap: 95px 42px;*/
/*  width: min(790px, 72%);*/
/*}*/

/*.service-grid article {*/
/*  min-height: 260px;*/
/*  padding: 30px 18px 0;*/
/*  border-top: 1px solid var(--line);*/
/*  border-bottom: 1px solid var(--line);*/
/*}*/

/*.service-grid span {*/
/*  display: block;*/
/*  margin-bottom: 42px;*/
/*  color: var(--blue);*/
/*  font-size: 14px;*/
/*}*/

/*.service-grid h4 {*/
/*  font-size: 27px;*/
/*}*/

.services-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  /* 첫 번째 행은 작게, 나머지 두 행은 서비스 카드 높이 */
  grid-template-rows: minmax(110px, auto) repeat(2, minmax(260px, auto));

  column-gap: 48px;
  row-gap: 0;

  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* 1번 + 2번 합침 */
.services-title {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.services-title h2 {
  margin: 0;
}

/* 3번 */
.services-copy {
  grid-column: 3;
  grid-row: 1;
  padding-bottom: 30px;
}

/* 공통 카드 */
.service-card,
.service-empty {
  min-height: 260px;
  height: 100%;
  padding: 30px 18px;
  box-sizing: border-box;
}

.service-card {
  position: relative;
}

.service-card.has-top,
.service-empty.has-top {
  border-top: 1px solid var(--line);
}

.service-card.has-bottom,
.service-empty.has-bottom {
  border-bottom: 1px solid var(--line);
}

.card-index {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 1rem;
  font-weight: bold;
}

.service-card h4 {
  margin: 0 0 18px;
  font-size: 27px;
}

.service-card p {
  margin: 0;
}

.bullet-line {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
}

.bullet-dot {
  display: inline-block;
}

/* 4번 */
.service-card:nth-of-type(1) {
  grid-column: 1;
  grid-row: 2;
}

/* 5번 */
.service-card:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}

/* 8번 */
.service-card:nth-of-type(3) {
  grid-column: 2;
  grid-row: 3;
}

/* 9번 */
.service-card:nth-of-type(4) {
  grid-column: 3;
  grid-row: 3;
}

/* ==========================================================================
   Projects section
   ========================================================================== */
.projects {
  position: relative;
  /*overflow: hidden;*/
  min-height: 2260px;
  padding: 175px 0 0;
}

/*.projects-bg {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), #000 72%), url("assets/project-background.png") center top / cover no-repeat;*/
/*  opacity: 0.32;*/
/*}*/
.projects-bg {
  position: absolute;
  top: 0;
  pointer-events: none;
}

.projects-bg img {
  display: block;
  width: 100%;
  height: auto;

  -webkit-mask-image: linear-gradient(
          180deg,
          #000 0%,
          #000 78%,
          transparent 100%
  );
  mask-image: linear-gradient(
          180deg,
          #000 0%,
          #000 78%,
          transparent 100%
  );
}

.pattern-bg {
  position: absolute;
  left: 0;
  top: 80%;
  width: 60%;
  aspect-ratio: 908 / 544;
  opacity: .5;
  background: url("assets/pattern.png") center top / cover no-repeat;
  mix-blend-mode: screen;

  -webkit-mask-image:
          linear-gradient(to right, #000 0%, #000 78%, transparent 100%),
          linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image:
          linear-gradient(to right, #000 0%, #000 78%, transparent 100%),
          linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);

  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.projects-inner {
  position: relative;
  z-index: 1;
}

.project-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  min-height: 690px;
}

.project-copy {
  max-width: 540px;
  margin-top: 360px;
  font-size: 20px;
  font-weight: 800;
}

.timeline {
  margin: 0;
  padding: 0 0 0 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: start;
  min-height: 170px;
}

.timeline time {
  color: rgba(255, 255, 255, 0.68);
  font-size: 48px;
  font-weight: 900;
}
.timeline time strong {
  color: rgba(255, 255, 255, 1);
}

.timeline span {
  padding-top: 13px;
  color: #fff;
  font-size: 17px;
  line-height: 1.42;
}

.project-showcase {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  margin-top: 40px;
}

/*.project-showcase {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  gap: 24px;*/
/*}*/

/*.project-showcase button {*/
/*  border: 0;*/
/*  background: transparent;*/
/*  color: rgba(255, 255, 255, 0.58);*/
/*  font-size: 78px;*/
/*}*/

.dashboard-shot-container {
  position: relative;
  justify-self: center;
  width: 100%;
  /*max-width: 816px;*/
  aspect-ratio: 816 / 492;;
}

.dashboard-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-screen {
  position: absolute;
  inset: 4px;
  object-fit: cover;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

.dashboard-content {
  position: absolute;
  inset: 24px;
  object-fit: cover;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  /*background: url("assets/project-01.png") center top / cover no-repeat;*/
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

/* 각각의 슬라이드 */
.dashboard-slide {
  position: absolute;
  width: 100%;
  aspect-ratio: 16 / 9;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
          opacity 0.6s ease,
          visibility 0.6s ease;
}

.dashboard-slide.active {
  opacity: 1;
  visibility: visible;
}

.dashboard-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.dashboard-overlay {
  position: absolute;
  bottom: 24px;
  width: 100%;
  height: 50%;
  background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0) 0%,
          rgba(0, 0, 0, 0.08) 35%,
          rgba(0, 0, 0, 0.35) 65%,
          rgba(0, 0, 0, 1) 100%
  );
}

.dashboard-overlay-black {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 24px;
  background: black;
}

.mobile-shot-container {
  position: relative;
}

.mobile-shot {
  width: min(1240px, 100%);
  margin: 95px auto 0;
}

/* 버튼 */
.project-slider-btn {
  justify-self: center;
  width: 72px;
  height: 72px;
  border: 0;
  background: transparent;
  /*border: 1px solid rgba(255, 255, 255, 0.24);*/
  /*border-radius: 999px;*/
  /*background: rgba(255, 255, 255, 0.06);*/
  color: #fff;
  font-size: 72px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
          background 0.2s ease,
          border-color 0.2s ease,
          transform 0.2s ease;
}

.project-slider-btn:hover {
  /*background: rgba(255, 255, 255, 0.14);*/
  /*border-color: rgba(255, 255, 255, 0.4);*/
  /*transform: translateY(-1px);*/
}

.pattern-bg-project {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
  /*height: 25%;*/
  /*height: 25%;*/
  opacity: .5;
  aspect-ratio: 908 / 544;
  background: url("assets/pattern.png") center top / cover no-repeat;
  transform: rotate(180deg);
  mix-blend-mode: screen;

  -webkit-mask-image:
          linear-gradient(to right, #000 0%, #000 78%, transparent 100%),
          linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image:
          linear-gradient(to right, #000 0%, #000 78%, transparent 100%),
          linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);

  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* ==========================================================================
   Contact section
   ========================================================================== */
.contact {
  padding: 165px 0 90px;
  text-align: center;
}

.contact h2 {
  font-size: clamp(50px, 7vw, 90px);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 0 40%, rgba(255, 255, 255, 0.24) 75%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


html[lang="ja"] .contact h2 {
  font-size: clamp(50px, 6vw, 80px);
}



.contact > p {
  margin: 56px 0 58px;
  color: #fff;
  font-size: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 30px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: #000;
  color: #fff;
  padding: 13px 17px;
  font: inherit;
  font-size: 15px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  margin-top: 0;
  border: 0;
  cursor: pointer;
}

.map {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ==========================================================================
   Success modal
   ========================================================================== */
/* ===== 문의 성공 창  ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);

  z-index: 99999;

  justify-content: center;
  align-items: center;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  width: 420px;
  max-width: 90%;
  background: #1f2226;
  color: #fff;
  border-radius: 12px;
  padding: 36px 32px 32px;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: none;
  color: #aaa;
  font-size: 32px;
  cursor: pointer;
}

.modal-ok {
  width: 150px;
  height: 46px;
  border: none;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
/* ===== 문의 성공 창 끝 ===== */

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-info {
  margin-top: 72px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive layout: tablet and mobile
   ========================================================================== */

@media (min-width: 1400px) {
  .hero-tags {
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .nav {
    gap: 40px;
  }
}


@media (max-width: 850px) {
  .nav {
    margin-left: 1rem;
  }
}

@media (min-width: 769px) {
  .nav a:hover {
    color: #fff;
  }
}

@media (max-width: 769px) {

  .section-wrap {
    width : min(1200px, calc(100% - 36px));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 8px;
    width: min(1200px, calc(100% - 24px));
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: space-around;
    gap: 12px;
    font-size: 12px;
    margin-left: 0;
  }

  .site-header {
    height: 6rem;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    align-self: flex-end;
  }

  .hero {
    height: calc(100svh - 6rem);
  }

  .hero-art {
    top: 104px;
  }

  .hero-content {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    justify-content: space-evenly;
    width: 100%;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: clamp(32px, 10vw, 100px);
    line-height: 1.1;
    padding: 0 1rem;
  }

  .hero-tags,
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 0;
  }

  .hero-tags {
    /*margin: 3rem 0;*/
    gap: 4px;
  }

  .hero-tags h4 {
    font-size: 1rem;
  }

  /*.hero-tags span {*/
  /*  display: none;*/
  /*}*/

  /*.btn {*/
  /*  width: 200px;*/
  /*  height: 40px;*/
  /*}*/

  .intro-grid,
  .project-top,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-grid h2 {
    font-size: clamp(32px, 10vw, 100px);
  }

  .intro-grid span {
    white-space: nowrap;
  }

  .section-kicker {
    font-size: clamp(32px, 10vw, 100px)
  }

  .strength-grid,
  .people-grid,
  .role-board,
  .service-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .strength-grid {
    gap: 1rem;
  }

  .strength-grid article {
    padding: 16px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .strength-grid article h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .people-grid {
    gap: 2rem;
  }

  .people-grid {
    gap: 0;
  }
  .people-grid article:nth-child(2) {
    border-top: 0;
  }

  .people-grid strong {
    margin-bottom: 1rem;
  }

  .role-board .role-offset {
    grid-column: auto;
    transform: none;
  }

  .role-board {
    margin-top: 2rem;
  }

  .role-board article {
    padding : 1rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .role-board article h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .role-board article.article-blank {
    display: none;
  }
  .article-blank {
    display: none;
  }

  .difference {
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 2rem;
  }
  .difference h3 {
    font-size: 2.5rem;
  }

  .difference-list {
    margin-top: 0;
  }

  .difference-list article {
    grid-template-columns: 48px 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .difference-list article img {
    width: 36px;
    justify-self: center;
  }

  .difference-list article h4 {
    font-size: 1.2rem;
    justify-self: start;
  }

  .difference-list p {
    grid-column: 1/3;
    justify-self: center;
  }

  .services {
    padding-top: 0;
  }

  .services-art {
    width: 100%;
    opacity: 0.35;
    right: 0;
  }

  .services-title h2 {
    font-size: clamp(32px, 10vw, 100px);
  }

  .intro-copy {
    font-weight: 500;
  }

  .service-card h4 {
    font-size: 1.5rem;
  }

  .about {
    padding: 110px 0;
  }
  #services {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  #projects {
    margin-top: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .project-top {
    gap: 64px;
  }

  .project-top h2 {
    font-size: clamp(32px, 10vw, 100px);
  }

  .project-copy.star-copy {
    margin-top: 4rem;
    font-size: 1rem;
    font-weight: 600;
  }

  .contact h2 {
    white-space: normal;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline li {
    grid-template-columns: 92px 1fr;
    min-height: 100px;
    margin-bottom: 1rem;
  }

  .timeline span {
    padding-top: 6px;
    font-size: .8rem;
  }

  .timeline time {
    font-size: 32px;
  }

  .project-showcase {
    grid-template-columns: 24px 1fr 24px;
    gap: 8px;
    margin: 5rem 0;
  }

  .project-slider-btn {
    width: 36px;
    height: 36px;
    font-size: 28px;
    flex: 0 0 auto;
  }

  .dashboard-shot-container {
    width: min(100%, 816px);
  }

  .dashboard-content {
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: 4px;
  }

  .mobile-shot {
    margin-top: 45px;
  }

  .projects {
    min-height: 100vh;
  }

  #contact {
    padding-top: 6rem;
  }

  #contact h2 {
    font-size: clamp(32px, 10vw, 100px);
  }

  #contact p {
    font-size: 1.5rem;
    margin: 3rem 0;
  }

  /*.contact h2 {*/
  /*  font-size: clamp(52px, 7vw, 112px);*/
  /*  font-weight: 900;*/
  /*  letter-spacing: 0;*/
  /*  white-space: nowrap;*/
  /*  background: linear-gradient(180deg, #fff 0 40%, rgba(255, 255, 255, 0.24) 75%, rgba(255, 255, 255, 0) 100%);*/
  /*  -webkit-background-clip: text;*/
  /*  background-clip: text;*/
  /*  color: transparent;*/
  /*}*/

  .footer-info {
    font-size: 12px;
  }

}

/* 기본은 PC 그리드만 보이게 */
/* ==========================================================================
   Mobile services layout
   ========================================================================== */
.services-grid-mobile {
  display: none;
}

/* 모바일 */
@media (max-width: 768px) {

  .btn {
    width: 200px;
    height: 40px;
    font-size: 14px;
  }

  .services-grid {
    display: none;
  }

  .services-grid-mobile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
  }

  .services-grid-mobile .services-title {
    width: 100%;
  }

  .services-grid-mobile .services-title h2 {
    margin: 0;
  }

  .services-grid-mobile .services-copy {
    width: 100%;
  }

  .services-grid-mobile .service-card {
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .services-grid-mobile .service-card:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .services-grid-mobile .card-index {
    display: block;
    margin-bottom: 16px;
  }

  .services-grid-mobile .service-card h4 {
    margin: 0 0 16px;
  }

  .services-grid-mobile .service-card p {
    margin: 0;
  }

  .services-grid-mobile .bullet-line {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    line-height: 1.2;
  }

  .services-grid-mobile .bullet-line:first-child {
    margin-top: 1rem;
  }

  .services-grid-mobile .bullet-dot {
    flex: 0 0 auto;
  }
}

@media (max-width: 579px) {

  .strength-grid p,
  .team-lead,
  .people-grid p,
  .role-board p,
  .difference-list p,
  .service-grid p,
  .project-copy {
    color: #d9dce6;
    font-size: 12px;
    line-height: 1.42;
  }

  .section-kicker {
    margin-bottom: 40px;
  }

  .light-img {
    width: 40px;
    height: 30px;
  }

  .services-grid-mobile .bullet-line {
    font-size: 12px;
  }

  .contact h2 {
    color: white;
    position: relative;
  }
  .contact h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 5vw;
    pointer-events: none;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            #000 100%
    );
  }
}

/* ==========================================================================
   Anchor offset helpers
   ========================================================================== */
section {
  scroll-margin-top: 6rem;
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 7rem;
  }
}

/* ==========================================================================
   Language menu
   ========================================================================== */
.lang-menu {
  position: relative;
  z-index: 1000;
  justify-self: end;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 8px 10px;
}

.lang-trigger .language-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-trigger .language-icon img {
  width: 1rem;
  height: 1rem;
  display: block;
}

#currentLanguageText {
  opacity: 0.8;
  transition: opacity 0.5s ease-in-out;
}

#currentLanguageText:hover {
  opacity: 1;
}

.lang-modal {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 96px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(12, 16, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
          opacity 0.2s ease,
          visibility 0.2s ease,
          transform 0.2s ease;
}

.lang-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lang-option.active {
  background: rgba(59, 130, 246, 0.18);
  color: #fff;
}

@media (max-width: 768px) {
  .lang-modal {
    right: 0;
    top: calc(100% + 8px);
  }

  .lang-trigger {
    padding: 6px 8px;
    padding-top: 0;
    gap: 4px;
  }
  #currentLanguageText {
    font-size: .8rem;
  }
  .lang-trigger .language-icon img {
    width: 12px;
    height: 12px;
  }
}
