:root {
  --ink: #111827;
  --muted: #536173;
  --line: #d9e1ea;
  --soft-line: #edf2f7;
  --paper: #ffffff;
  --quiet: #f6f8fb;
  --blue: #0b73e0;
  --blue-deep: #064f9f;
  --teal: #0f9f8f;
  --warm: #f6efe4;
  --shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Pretendard",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(217, 225, 234, 0.72);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 176px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 3px;
  background: #ffffff;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-workshop {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #183e66;
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.nav-workshop .accent {
  color: #f4a72c;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #2f3b4a;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-deep);
  background: #eef6ff;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 82svh;
  max-height: 820px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 34%, rgba(255, 255, 255, 0.12) 72%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.18) 48%, rgba(255, 255, 255, 0.62) 100%);
}

.hero-content {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 160px 0 86px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.12;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 720px;
  font-size: 64px;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: #344254;
  font-size: 20px;
  overflow-wrap: anywhere;
  word-break: normal;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-deep);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button.ghost {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(11, 115, 224, 0.22);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 48px));
  margin: -36px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 16px;
  background: #ffffff;
  color: #1f2a37;
  font-weight: 800;
  text-align: center;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2,
.contact-section h2 {
  font-size: 42px;
}

.section-note {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

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

.intro-grid article,
.service-grid article,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.intro-grid article,
.service-grid article {
  padding: 28px;
}

.intro-grid strong,
.service-grid h3,
.project-card h3,
.timeline h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.intro-grid p,
.service-grid p,
.project-card p,
.timeline p,
.contact-section p {
  margin: 14px 0 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
}

.project-card.featured {
  grid-column: span 2;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(22, 33, 47, 0.94)),
    #111827;
  border-color: #172333;
}

.project-card.featured p,
.project-card.featured li,
.project-card.featured .project-topline {
  color: #d7e6f6;
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #e8f4ff;
}

.featured .status {
  color: #ffffff;
  background: var(--blue);
}

.project-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}

.project-card li {
  color: #3d4c5f;
  font-weight: 700;
}

.project-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--blue-deep);
  font-weight: 800;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
}

.timeline-section {
  width: 100%;
  max-width: none;
  background: var(--quiet);
  margin-top: 108px;
  padding: 94px max(24px, calc((100vw - var(--max)) / 2));
}

.timeline {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 30px;
  background: #ffffff;
}

.timeline time {
  color: var(--blue-deep);
  font-weight: 850;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-list a,
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 850;
}

.download-list a:hover,
.download-list a:focus-visible {
  border-color: rgba(11, 115, 224, 0.46);
  box-shadow: 0 12px 26px rgba(11, 115, 224, 0.12);
  outline: none;
}

.download-list small {
  color: var(--blue-deep);
  font-size: 14px;
}

.services-section {
  width: 100%;
  max-width: none;
  margin-top: 108px;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--warm);
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tag-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-wall span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #243143;
  font-weight: 850;
}

.contact-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 112px auto 0;
  padding: 0 0 96px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #7dc6ff;
}

.contact-section p {
  color: #cfdae8;
  font-size: 18px;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.contact-link span {
  color: #a8bad0;
  font-size: 13px;
  font-weight: 800;
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue-deep);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero h1 {
    max-width: 620px;
    font-size: 50px;
  }

  .trust-strip,
  .project-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .project-card.featured {
    grid-column: span 2;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    padding: 2px;
  }

  .brand-logo {
    width: 128px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-workshop {
    justify-content: center;
    min-height: 46px;
    font-size: 18px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 58%, rgba(255, 255, 255, 0.34) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.44) 48%, rgba(255, 255, 255, 0.78) 100%);
  }

  .hero-content,
  .section,
  .contact-section,
  .site-footer,
  .trust-strip {
    width: min(var(--max), calc(100% - 36px));
    max-width: calc(100vw - 36px);
  }

  .hero-content {
    padding: 116px 0 58px;
    width: min(340px, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
  }

  .eyebrow {
    font-size: 13px;
  }

  .hero h1,
  .section-heading h2,
  .contact-section h2 {
    font-size: 34px;
  }

  .hero-copy,
  .contact-section p {
    font-size: 17px;
  }

  .hero-copy {
    max-width: 100%;
    word-break: break-all;
  }

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

  .trust-strip,
  .project-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: -24px;
  }

  .trust-strip span {
    min-height: 58px;
  }

  .section {
    padding-top: 78px;
  }

  .section-heading.split {
    display: block;
  }

  .section-note {
    margin-top: 14px;
  }

  .project-card,
  .project-card.featured {
    grid-column: auto;
    min-height: auto;
  }

  .timeline-section,
  .services-section {
    margin-top: 78px;
    padding: 76px 18px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px;
  }

  .download-list a {
    min-height: 68px;
    padding: 16px 18px;
  }

  .contact-section {
    margin-top: 78px;
    padding-bottom: 72px;
  }

  .contact-inner {
    padding: 28px;
    gap: 34px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 390px) {
  .brand strong {
    font-size: 14px;
  }

  .hero h1,
  .section-heading h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .intro-grid article,
  .service-grid article,
  .project-card {
    padding: 22px;
  }
}

/* ─────────────────────────────────────────────
   추가 스타일 — 작업실(소개·입찰·게임·엑셀) 섹션
   기존 규칙은 그대로 두고 아래에 추가만 했습니다.
   ───────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, #eef4fb 0%, #f6f8fb 60%, #fdf8ee 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.about-copy p {
  margin: 0 0 16px;
  color: #344254;
  font-size: 18px;
}

.about-menu {
  margin-top: 10px;
}

.about-logo {
  justify-self: center;
  width: min(280px, 70%);
  padding: 26px;
  background: #fdf8ee;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.workshop-subtitle {
  margin: 54px 0 10px;
  font-size: 26px;
  font-weight: 850;
  color: var(--ink);
}

.workshop-subtitle:first-of-type {
  margin-top: 0;
}

.workshop-desc {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--muted);
}

.workshop-grid article .status {
  margin-bottom: 14px;
}

.workshop-grid article strong {
  display: block;
}

.workshop-grid article p {
  margin-top: 10px;
}

.game-placeholder-card {
  border-style: dashed !important;
  background: var(--quiet) !important;
  text-align: center;
  display: grid;
  place-content: center;
}

.about-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #243143;
  font-weight: 850;
}

.about-menu a:hover,
.about-menu a:focus-visible {
  color: var(--blue-deep);
  border-color: rgba(11, 115, 224, 0.46);
  box-shadow: 0 12px 26px rgba(11, 115, 224, 0.12);
  outline: none;
}

/* 이메일 문의 — 대표 연락처 강조 */
.contact-link--primary {
  border-color: rgba(125, 198, 255, 0.55);
  background: linear-gradient(135deg, rgba(11, 115, 224, 0.28), rgba(255, 255, 255, 0.06));
}

.contact-link--primary strong {
  font-size: 19px;
  letter-spacing: 0.2px;
}

.contact-link--primary:hover,
.contact-link--primary:focus-visible {
  border-color: #7dc6ff;
  background: linear-gradient(135deg, rgba(11, 115, 224, 0.4), rgba(255, 255, 255, 0.1));
}

/* 고정 헤더에 제목이 가려지지 않도록 이동 위치 보정 */
section[id],
h3[id] {
  scroll-margin-top: 88px;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-logo {
    width: min(240px, 60%);
  }
}
