:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #5d636d;
  --paper: #fffdf8;
  --line: #ddd8ce;
  --red: #e11919;
  --orange: #ff7a1a;
  --blue: #244cff;
  --green: #19c37d;
  --yellow: #ffd029;
  --soft: #f3eee6;
}

* {
  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", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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;
  min-height: 76px;
  padding: 16px 72px;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(221, 216, 206, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.12;
}

.brand-text strong {
  font-size: 23px;
  letter-spacing: 0;
}

.brand-text span {
  color: #555;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}

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

.nav a {
  min-width: 64px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.nav a:hover {
  background: var(--soft);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 80px 72px;
  color: #fff;
  background: #08090f;
  border-bottom: 1px solid #1c2334;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 16%, rgba(225, 25, 25, 0.22), transparent 22rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.86) 48%, rgba(0, 0, 0, 0.38) 100%),
    url("./assets/hero-cyber-studio.png") center right / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px) saturate(0.7) contrast(1.15);
  opacity: 0.26;
  transform: scale(1.04);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.88) 48%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(180deg, rgba(8, 9, 15, 0.12) 0%, rgba(8, 9, 15, 0.86) 100%);
  background-size: 64px 64px, 64px 64px, auto;
}

.hero-content {
  position: relative;
  max-width: 900px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: 86px;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 span:nth-child(2) {
  color: #fff;
}

h1 span:nth-child(3) {
  color: var(--red);
}

h1 span:nth-child(4) {
  color: #fff;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 29px;
  font-weight: 850;
  line-height: 1.42;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 17px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font: inherit;
  font-size: 20px;
  font-weight: 950;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.72);
}

.sound-button {
  color: #fff;
  background: #111;
  border-color: #fff;
}

.section {
  padding: 104px 72px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 58px;
  line-height: 1.14;
  letter-spacing: 0;
}

.stack p,
.business-list p {
  color: var(--muted);
  font-size: 24px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 64px;
}

.metrics article,
.business-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metrics article {
  min-height: 150px;
  padding: 24px;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 42px;
  line-height: 1.1;
}

.metrics span {
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.business-section {
  background: #f7f8f4;
  border-top: 1px solid var(--line);
}

.business-list {
  display: grid;
  gap: 14px;
}

.business-list article {
  padding: 24px;
}

.business-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  font-size: 31px;
  line-height: 1.2;
}

.contact-section {
  background: #fffdf8;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
  gap: 76px;
  align-items: start;
}

.contact-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 28px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 12px 15px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 21px;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(225, 25, 25, 0.16);
}

.contact-status {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 72px;
  color: #fff;
  background: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-right: 28px;
    padding-left: 28px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 44px;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
    padding: 12px 16px 10px;
    overflow: hidden;
  }

  .brand {
    flex: 0 0 auto;
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100% - 36px);
    max-width: 100%;
    gap: 0;
  }

  .nav a {
    min-width: 0;
    min-height: 36px;
    padding: 6px 4px;
    border-radius: 0;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
  }

  .hero {
    min-height: calc(100svh - 104px);
    padding: 46px 18px 64px;
  }

  .hero-media {
    background:
      radial-gradient(circle at 78% 12%, rgba(225, 25, 25, 0.18), transparent 16rem),
      linear-gradient(180deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.96) 100%),
      url("./assets/hero-cyber-studio.png") center top / cover no-repeat;
  }

  .hero-media::after {
    background:
      linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
      linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.82) 44%, rgba(0, 0, 0, 0.96) 100%);
    background-size: 42px 42px, 42px 42px, auto;
  }

  .eyebrow,
  .section-label {
    font-size: 16px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.08;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-copy {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-tags {
    margin-bottom: 24px;
  }

  .hero-tags span {
    min-height: 36px;
    font-size: 15px;
  }

  .button {
    width: 100%;
    min-height: 60px;
    font-size: 20px;
  }

  .section {
    padding: 64px 20px;
  }

  h2 {
    font-size: 36px;
  }

  .stack p,
  .business-list p {
    font-size: 21px;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .metrics strong {
    font-size: 34px;
  }

  .contact-copy {
    font-size: 22px;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 20px;
  }
}
