:root {
  --bg: #f6f8fb;
  --ink: #14181f;
  --muted: #657083;
  --line: #dde3ec;
  --panel: #ffffff;
  --dark: #0b111a;
  --dark-soft: #121c2b;
  --accent: #00a7ff;
  --accent-2: #32e6a1;
  --red: #ff4d5e;
  --shadow: 0 20px 60px rgba(12, 22, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 6vw;
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid rgba(221, 227, 236, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  margin-top: 2px;
  max-width: 300px;
}

.site-nav {
  display: flex;
  gap: 30px;
  color: #2b3442;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 0;
}

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

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section,
.section-band,
.contact-section {
  padding: 96px 6vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 76px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(246,248,251,0.78)),
    radial-gradient(circle at 84% 22%, rgba(0,167,255,0.2), transparent 36%),
    radial-gradient(circle at 72% 82%, rgba(50,230,161,0.18), transparent 36%);
}

.eyebrow {
  margin: 0 0 14px;
  color: #0076b6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-title {
  max-width: none;
  font-size: clamp(42px, 4.2vw, 60px);
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
}

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

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.lead span {
  display: block;
}

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

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

.button.primary {
  color: #001522;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(0, 167, 255, 0.24);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255,255,255,0.75);
}

.hero-photo {
  position: relative;
  min-height: 560px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.06), rgba(5, 10, 18, 0.48)),
    url("./assets/hero-led-building.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 24%, rgba(0, 167, 255, 0.16), transparent 34%);
}

.hero-photo figcaption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 1;
  display: grid;
  gap: 10px;
  color: #fff;
}

.hero-photo span {
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 117, 190, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-photo strong {
  max-width: 520px;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.28;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -38px 6vw 0;
  position: relative;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 28px;
  background: var(--panel);
}

.trust-strip strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.trust-strip span {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-topline .section-heading {
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--accent);
  font-weight: 800;
}

.service-card p,
.work-item p,
.process-list span {
  color: var(--muted);
  line-height: 1.7;
}

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

.project-feature {
  background:
    radial-gradient(circle at 80% 10%, rgba(0,167,255,0.14), transparent 34%),
    linear-gradient(180deg, #f8fbff, #eef4fa);
}

.project-feature .section-heading {
  max-width: 840px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(12, 22, 38, 0.06);
}

.project-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

.project-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.project-card:hover .project-photo img {
  transform: scale(1.035);
}

[data-lightbox-gallery] .project-photo {
  cursor: zoom-in;
}

[data-lightbox-gallery] .project-photo::after {
  content: "크게 보기";
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(5, 10, 18, 0.64);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

[data-lightbox-gallery] .project-card:hover .project-photo::after {
  opacity: 1;
  transform: translateY(0);
}

.project-photo span {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #eaf7ff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(5,10,18,0.62);
  pointer-events: none;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 18px;
  line-height: 1.45;
}

.project-info time {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 10, 18, 0.78);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.photo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.photo-lightbox img {
  display: block;
  max-width: min(1120px, 94vw);
  max-height: 86vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  cursor: zoom-out;
  transform: scale(0.96);
  transition: transform 180ms ease;
}

.photo-lightbox.is-open img {
  transform: scale(1);
}

.photo-lightbox__caption {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: calc(100vw - 40px);
  padding: 10px 14px;
  border-radius: 999px;
  color: #eaf7ff;
  font-size: 14px;
  font-weight: 700;
  background: rgba(5, 10, 18, 0.66);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

body.is-lightbox-open {
  overflow: hidden;
}

.page-hero {
  padding: 96px 6vw 70px;
  color: #eef7ff;
  background:
    radial-gradient(circle at 78% 24%, rgba(0,167,255,0.2), transparent 34%),
    linear-gradient(135deg, #0b111a, #142033);
}

.page-hero h1 {
  max-width: 780px;
}

.project-list-section {
  padding-top: 58px;
}

.all-projects .project-photo {
  min-height: 240px;
}

.work-section {
  background: #f4f7fb;
}

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

.work-item {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 10px 28px rgba(12, 22, 38, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.work-item::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: translateY(-1px);
}

.work-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 167, 255, 0.28);
  box-shadow: 0 18px 40px rgba(12, 22, 38, 0.08);
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 42px;
}

.work-number {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.work-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
}

.compact {
  margin-bottom: 0;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.process-list strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 62px;
  padding: 54px 15vw;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-section h2 {
  white-space: nowrap;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  font-size: clamp(30px, 2.35vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-cards {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(190px, 0.88fr) minmax(310px, 1.3fr);
  gap: 38px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--ink);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 2px solid #1c2735;
  border-radius: 50%;
  color: #1c2735;
  font-style: normal;
}

.contact-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card span {
  display: grid;
  gap: 3px;
}

.contact-card em {
  color: var(--ink);
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contact-card strong {
  color: #0064b8;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  font-size: clamp(21px, 1.55vw, 25px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 34px 15vw;
  color: #1f2937;
  background: #fff;
}

.footer-info {
  display: grid;
  gap: 8px;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.55;
}

.footer-info p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  white-space: nowrap;
}

.footer-brand .brand-mark {
  width: 42px;
  height: 42px;
}

.footer-brand strong {
  display: block;
  color: #334155;
  font-size: 25px;
  line-height: 42px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

@media (max-width: 1020px) {
  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo {
    min-height: 480px;
  }

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

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

  .contact-cards {
    grid-template-columns: minmax(180px, 0.82fr) minmax(190px, 0.88fr) minmax(310px, 1.3fr);
    gap: 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 30px 6vw;
  }

  .footer-brand {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 6vw 20px;
    background: rgba(246, 248, 251, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .section,
  .section-band,
  .contact-section {
    padding: 68px 5vw;
  }

  .contact-section {
    gap: 28px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-card strong {
    font-size: 24px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-title span {
    white-space: normal;
  }

  .lead {
    font-size: 15px;
  }

  .hero-photo {
    min-height: 380px;
  }

  .hero-photo figcaption {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

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

  .section-topline {
    display: grid;
  }

  .trust-strip {
    margin: 0 5vw;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
