:root {
  --ink: #101418;
  --muted: #64707d;
  --line: rgba(16, 20, 24, 0.12);
  --paper: #f5f7fb;
  --white: #ffffff;
  --navy: #07111f;
  --blue: #2458ff;
  --cyan: #16bdd8;
  --lime: #b6d84c;
  --shadow: 0 24px 70px rgba(16, 20, 24, 0.12);
  --pad: clamp(20px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad);
  color: var(--white);
  background: rgba(7, 17, 31, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: var(--navy);
  font-weight: 950;
}

.brand-text {
  font-size: 19px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.site-header nav a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.84);
}

.site-header nav a:hover {
  border-color: rgba(182, 216, 76, 0.72);
  background: rgba(182, 216, 76, 0.12);
  color: var(--white);
}

main {
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% 6%, rgba(36, 88, 255, 0.12), transparent 62%),
    radial-gradient(680px 420px at 8% 22%, rgba(182, 216, 76, 0.18), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f3f6fb 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.58fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(76px, 9vw, 128px) var(--pad);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(780px 480px at 20% 10%, rgba(182, 216, 76, 0.26), transparent 60%),
    radial-gradient(820px 480px at 86% 16%, rgba(36, 88, 255, 0.34), transparent 62%),
    linear-gradient(135deg, #07111f 0%, #111b2d 54%, #08111a 100%);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
}

.hero-label,
.section-title span,
.inquiry-copy span,
.proof-section span {
  display: block;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-label {
  color: var(--lime);
}

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

.hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.7;
}

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

.button,
.inquiry-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary,
.inquiry-form button {
  background: var(--lime);
  color: var(--navy);
  box-shadow: 0 16px 44px rgba(182, 216, 76, 0.24);
}

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

.project-board {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  padding: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-head strong {
  color: var(--lime);
}

.board-focus {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  padding: 22px;
}

.board-focus span {
  display: block;
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.board-focus strong {
  display: block;
  font-size: 24px;
  line-height: 1.3;
}

.board-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.board-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  padding: 14px;
}

.board-list dt {
  color: var(--lime);
  font-weight: 950;
}

.board-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(44px, 6vw, 78px) var(--pad);
  background: var(--white);
}

.statement p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.statement span {
  max-width: 220px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
  text-transform: uppercase;
}

.work-section,
.process-section,
.inquiry-section,
.proof-section {
  padding: clamp(76px, 9vw, 124px) var(--pad);
}

.section-title {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-title h2,
.proof-section h2,
.inquiry-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-grid article,
.process-grid li,
.inquiry-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(16, 20, 24, 0.08);
}

.work-grid article {
  position: relative;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  animation: work-card-select 9.6s ease-in-out infinite;
}

.work-grid article:nth-child(3) {
  background: var(--navy);
  color: var(--white);
}

.work-grid article:nth-child(3) p {
  color: rgba(255, 255, 255, 0.68);
}

.work-grid article:nth-child(2) {
  animation-delay: 2.4s;
}

.work-grid article:nth-child(3) {
  animation-delay: 4.8s;
}

.work-grid article:nth-child(4) {
  animation-delay: 7.2s;
}

.work-grid article::before {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease;
}

.work-grid span {
  display: block;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-grid h3,
.process-grid h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.work-grid p,
.process-grid p,
.inquiry-copy p,
.proof-section li {
  color: var(--muted);
  line-height: 1.7;
}

@keyframes work-card-select {
  0%,
  12% {
    border-color: rgba(182, 216, 76, 0.64);
    box-shadow: 0 28px 78px rgba(36, 88, 255, 0.16), 0 0 0 6px rgba(182, 216, 76, 0.12);
    transform: translateY(-6px);
  }

  18%,
  100% {
    border-color: var(--line);
    box-shadow: 0 18px 54px rgba(16, 20, 24, 0.08);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-grid article {
    animation: none;
  }
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  background: var(--navy);
  color: var(--white);
}

.proof-section span {
  color: var(--lime);
}

.proof-section h2 {
  color: var(--white);
}

.proof-section ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-section li {
  border-left: 4px solid var(--lime);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.72);
}

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

.process-grid li {
  min-height: 240px;
  padding: 28px;
}

.process-grid span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 36px;
  background: var(--lime);
  color: var(--navy);
  font-weight: 950;
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  background:
    radial-gradient(720px 360px at 12% 6%, rgba(36, 88, 255, 0.12), transparent 64%),
    #ffffff;
}

.inquiry-copy {
  position: sticky;
  top: 112px;
}

.inquiry-copy p {
  max-width: 420px;
  margin-top: 18px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: #253040;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(36, 88, 255, 0.68);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(36, 88, 255, 0.12);
}

textarea {
  resize: vertical;
}

.full,
.form-message,
.inquiry-form button {
  grid-column: 1 / -1;
}

.form-message {
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
}

.form-message.success {
  color: #1f6a41;
}

.form-message.error {
  color: #9e342f;
}

.inquiry-form button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 38px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #0b2026;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.company-info {
  max-width: 980px;
  margin: 8px 0 0;
  color: rgba(216, 229, 231, 0.82);
  font-size: 13px;
  line-height: 1.65;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 229, 231, 0.16);
  color: #9fb4b8;
  font-size: 13px;
  font-weight: 800;
}

.footer-policy-links a {
  color: #d8e5e7;
}

.footer-policy-links button {
  padding: 0;
  color: #d8e5e7;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.footer-policy-links a:hover,
.footer-policy-links button:hover {
  color: var(--lime);
}

.footer-admin-link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #102024 !important;
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.policy-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 25, 29, 0.58);
  backdrop-filter: blur(8px);
}

.policy-panel[hidden] {
  display: none;
}

.policy-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 34px;
  box-shadow: var(--shadow);
}

.policy-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.policy-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 30px;
}

.policy-body {
  color: var(--muted);
  line-height: 1.75;
}

.policy-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.policy-template {
  display: none;
}

@media (max-width: 980px) {
  .hero,
  .proof-section,
  .inquiry-section {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inquiry-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
  }

  .work-grid,
  .process-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

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

  .project-board,
  .work-grid article,
  .process-grid li,
  .inquiry-form {
    border-radius: 14px;
  }
}
