:root {
  --primary-color: #2c3e50;
  --accent-color: #2a9d8f;
  --surface-color: #f9f9f9;
  --surface-alt: #eef0f2;
  --text-muted: #6c757d;
  --navbar-height: 54px;
}

body {
  margin-top: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--primary-color);
  background-color: var(--surface-color);
}

body.lightbox-open {
  overflow: hidden;
}

.image-loading-shell {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(224, 230, 234, 0.85);
}

.image-loading-shell > img {
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease, transform 0.55s ease;
}

.image-loading-shell.is-loading > img {
  opacity: 0.14;
}

.image-loading-indicator {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(223, 230, 234, 0.34));
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-loading-shell.is-loaded > .image-loading-indicator {
  opacity: 0;
  visibility: hidden;
}

.image-loading-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(44, 62, 80, 0.16);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: imageLoadingSpin 0.8s linear infinite;
}

.site-navbar {
  --bs-navbar-padding-y: 0;
  min-height: var(--navbar-height);
  height: var(--navbar-height);
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.site-navbar .container {
  height: 100%;
  align-items: center;
}

.site-logo {
  width: auto;
  height: 34px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin-right: 1rem;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  padding: 0 0.1rem;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1;
  color: var(--primary-color) !important;
}

@media (min-width: 992px) {
  .site-navbar .navbar-collapse {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    height: 100%;
  }

  .site-navbar .navbar-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 100%;
    gap: 0.75rem;
  }

  .site-navbar .nav-item {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .site-navbar .nav-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
  }
}

.navbar-nav .nav-link.active {
  color: var(--accent-color) !important;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(24, 32, 42, 0.84), rgba(24, 32, 42, 0.84));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}

.hero-fps {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  min-width: 118px;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(42, 157, 143, 0.32);
  border-radius: 999px;
  background: rgba(20, 28, 36, 0.45);
  color: #99e3da;
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.hero h1,
.section-title,
.page-hero-title {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  font-size: clamp(1.3rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-copy {
  font-family: "SUIT", "Noto Sans KR", sans-serif;
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.88);
}

.section-title {
  position: relative;
  display: table;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}

.portfolio-detail-title {
  font-family: "Manrope", "Noto Sans KR", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.5rem auto 0;
  background: var(--accent-color);
}

.feature-tile,
.service-card,
.portfolio-card,
.contact-panel,
.about-panel {
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.feature-tile {
  padding: 1.5rem 1rem;
  text-align: center;
  background: #f7f7f7;
}

.feature-tile i,
.service-icon {
  color: var(--accent-color);
}

.service-card .service-icon {
  font-size: 27px;
}

.btn-primary,
.btn-submit {
  border: none;
  border-radius: 0.3rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
}

.btn-primary:hover,
.btn-submit:hover {
  background-color: #21867a;
}

.contact-submit-btn {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.contact-submit-btn.is-firing {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(42, 157, 143, 0.22);
}

.contact-submit-fx {
  position: absolute;
  inset: -240px;
  z-index: 2;
  pointer-events: none;
}

.muted-section {
  background-color: var(--surface-alt);
}

.client-logo {
  border-radius: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-card img {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 6px 18px rgba(24, 32, 42, 0.08);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-gallery video {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-card .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.portfolio-card .card-title {
  padding-top: 10px;
  text-align: center;
  transform: scale(1);
  transform-origin: center center;
  will-change: color, text-shadow, letter-spacing;
  transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease, letter-spacing 0.4s ease;
}

.portfolio-card:hover .card-title {
  color: #213948;
  letter-spacing: 0.01em;
  text-shadow: 0 0 0.01px currentColor, 0 8px 14px rgba(24, 32, 42, 0.06);
  transform: scale(1.1);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  align-self: center;
  min-width: 132px;
  margin-top: auto;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(42, 157, 143, 0.18);
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--accent-color);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card-cta i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.portfolio-card .card-cta {
  margin-bottom: 17px;
}

.card-cta:hover {
  border-color: rgba(42, 157, 143, 0.42);
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(42, 157, 143, 0.18);
}

.card-cta:hover i {
  transform: translateX(2px);
}

.portfolio-item {
  cursor: pointer;
}

.portfolio-card {
  cursor: pointer;
}

.portfolio-thumb {
  height: 200px;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform, filter;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 200px;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 0 22px rgba(24, 32, 42, 0.14),
    inset 0 0 58px rgba(24, 32, 42, 0.1);
}

.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.filter-btn {
  white-space: nowrap;
}

.portfolio-filter-scroll {
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.detail-img,
.detail-hero-shell {
  position: relative;
  overflow: hidden;
  height: 400px;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  background: #eef1f4;
}

.detail-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 0 28px rgba(24, 32, 42, 0.16),
    inset 0 0 76px rgba(24, 32, 42, 0.1);
}

.detail-hero-track {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.detail-hero-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.detail-hero-shell.is-tall .detail-hero-frame {
  height: auto;
  min-height: 100%;
  animation: detailHeroPanY var(--detail-hero-duration-y, 12s) cubic-bezier(0.25, 0, 0.35, 1) 0s infinite alternate;
  will-change: transform;
}

.detail-hero-shell.is-wide .detail-hero-track {
  height: 100%;
  animation: detailHeroPanX var(--detail-hero-duration-x, 12s) cubic-bezier(0.25, 0, 0.35, 1) 0s infinite alternate;
  will-change: transform;
}

.detail-hero-shell::after {
  content: "";
  position: absolute;
  inset: -12% auto -12% -35%;
  width: 22%;
  z-index: 3;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 28%,
    rgba(255, 255, 255, 0.52) 50%,
    rgba(255, 255, 255, 0.12) 72%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-45deg) translateX(-140%);
  opacity: 0;
  pointer-events: none;
  animation: detailHeroShine 10s ease-in-out infinite;
}

.detail-hero {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  filter: saturate(0.94);
}

.detail-hero-shell.is-short .detail-hero {
  height: 400px;
}

.detail-hero:hover {
  filter: saturate(1);
  transition: filter 0.35s ease;
}

.detail-info dt {
  font-weight: 600;
}

.about-img {
  width: 100%;
  height: 300px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.kiosk-gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: #dfe6ea;
  cursor: pointer;
  isolation: isolate;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kiosk-gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 0 22px rgba(24, 32, 42, 0.14),
    inset 0 0 58px rgba(24, 32, 42, 0.1);
}

.kiosk-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(24, 32, 42, 0.14);
}

.kiosk-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(24, 32, 42, 0.08));
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.kiosk-gallery-item:hover::after {
  opacity: 1;
}

.kiosk-gallery-item > .image-loading-shell {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.kiosk-gallery-thumb,
.kiosk-gallery-preview-video {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform, filter;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.kiosk-gallery-preview-video {
  background: transparent;
}

.kiosk-gallery-item:hover .kiosk-gallery-thumb,
.kiosk-gallery-item:hover .kiosk-gallery-preview-video {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.kiosk-lightbox[hidden] {
  display: none !important;
}

.kiosk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(12, 18, 24, 0.82);
  backdrop-filter: blur(10px);
}

.kiosk-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  height: 90vh;
  max-width: 90vw;
  max-height: 90vh;
}

.kiosk-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.kiosk-lightbox-video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.kiosk-lightbox-image.is-slide-prev,
.kiosk-lightbox-video.is-slide-prev {
  animation: kioskMediaSlidePrev 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.kiosk-lightbox-image.is-slide-next,
.kiosk-lightbox-video.is-slide-next {
  animation: kioskMediaSlideNext 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.kiosk-lightbox-close,
.kiosk-lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.kiosk-lightbox-close i,
.kiosk-lightbox-nav i {
  font-size: 1.2rem;
}

.kiosk-lightbox-close:hover,
.kiosk-lightbox-nav:hover {
  background: rgba(42, 157, 143, 0.78);
  transform: translateY(-1px);
}

.kiosk-lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.kiosk-lightbox-prev {
  left: 1.5rem;
}

.kiosk-lightbox-next {
  right: 1.5rem;
}

.kiosk-lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  min-width: 72px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(8px);
}

.kiosk-lightbox-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 4.5rem;
  left: 1.5rem;
  z-index: 1;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

@keyframes kioskMediaSlidePrev {
  0% {
    opacity: 0;
    transform: translateX(-88px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes kioskMediaSlideNext {
  0% {
    opacity: 0;
    transform: translateX(88px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes detailHeroEnter {
  0% {
    transform: translateY(18px) scale(0.985);
    opacity: 0;
    filter: saturate(0.9) blur(3px);
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: saturate(0.98) blur(0);
  }
}

@keyframes imageLoadingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes detailHeroFloat {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-7px) scale(1.008);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes detailHeroPanY {
  0% {
    transform: translateY(calc(var(--detail-hero-pan-y, 0px) / 2));
  }

  100% {
    transform: translateY(calc(var(--detail-hero-pan-y, 0px) / -2));
  }
}

@keyframes detailHeroPanX {
  0% {
    transform: translateX(calc(var(--detail-hero-pan-x, 0px) / 2));
  }

  100% {
    transform: translateX(calc(var(--detail-hero-pan-x, 0px) / -2));
  }
}

@keyframes detailHeroShine {
  0%,
  74% {
    transform: skewX(-45deg) translateX(-140%);
    opacity: 0;
  }

  3% {
    opacity: 0.9;
  }

  9% {
    transform: skewX(-45deg) translateX(640%);
    opacity: 0.55;
  }

  10%,
  100% {
    transform: skewX(-45deg) translateX(640%);
    opacity: 0;
  }
}

.contact-panel {
  position: relative;
  padding: 1.5rem;
}

.portfolio-admin-list {
  height: auto;
  overflow: visible;
}

.portfolio-admin-shell {
  padding-right: clamp(1rem, 2vw, 2rem);
  padding-left: clamp(1rem, 2vw, 2rem);
}

.portfolio-admin-page {
  overflow-x: hidden;
}

.portfolio-admin-shell .contact-panel {
  height: auto;
}

.portfolio-admin-filter {
  width: min(100%, 180px);
}

.portfolio-admin-counter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 100%;
}

.portfolio-admin-counter-summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 28px;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line-color);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.portfolio-admin-counter-summary strong {
  color: var(--text-muted);
  font-weight: 700;
}

.portfolio-admin-counter-summary em,
.portfolio-admin-count {
  color: var(--accent-color);
  font-style: normal;
  font-weight: 900;
}

.portfolio-admin-list .table-responsive {
  max-height: none;
  overflow: visible;
}

.portfolio-admin-list thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 253, 248, 0.96);
}

.portfolio-admin-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
}

.portfolio-admin-sort::after {
  content: "";
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  opacity: 0.28;
}

.portfolio-admin-sort[data-direction="asc"]::after {
  border-bottom: 6px solid currentColor;
  opacity: 0.9;
}

.portfolio-admin-sort[data-direction="desc"]::after {
  border-top: 6px solid currentColor;
  opacity: 0.9;
}

.portfolio-admin-list tbody tr,
.portfolio-admin-list tbody td {
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.portfolio-admin-list tbody tr {
  cursor: pointer;
}

.portfolio-admin-list tbody tr form,
.portfolio-admin-list tbody tr button {
  cursor: auto;
}

.portfolio-admin-list tbody tr:hover {
  box-shadow: inset 3px 0 0 var(--accent-color);
}

.portfolio-admin-list tbody tr:hover > td {
  --bs-table-bg: rgba(230, 83, 77, 0.07);
  background-color: rgba(230, 83, 77, 0.07) !important;
}

.portfolio-admin-list tbody tr.is-selected > td {
  --bs-table-bg: rgba(230, 83, 77, 0.12);
  background-color: rgba(230, 83, 77, 0.12) !important;
}

.portfolio-admin-list tbody tr.is-selected > td:first-child {
  box-shadow: inset 3px 0 0 var(--accent-color);
}

.portfolio-admin-list-title {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
}

.portfolio-admin-list-title img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-color);
  border-radius: 6px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.72);
}

.portfolio-admin-form-panel,
.portfolio-admin-preview-panel {
  position: sticky;
  top: 16px;
  align-self: flex-start;
}

.portfolio-admin-form-panel {
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.portfolio-admin-form {
  display: grid;
  gap: 0.85rem;
}

.portfolio-admin-field {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.portfolio-admin-field .form-label {
  margin-bottom: 0;
}

.portfolio-admin-field-no-label {
  grid-template-columns: 1fr;
}

.portfolio-admin-field-no-label > span {
  display: none;
}

.portfolio-admin-field textarea {
  min-height: 132px;
}

.portfolio-admin-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.portfolio-admin-title-category {
  grid-template-columns: minmax(0, 1.45fr) minmax(130px, 0.55fr);
}

.portfolio-admin-mini-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
}

.portfolio-admin-mini-field .form-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.portfolio-admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: calc(104px + 0.75rem);
}

.portfolio-admin-image-path-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 0.5rem;
  align-items: center;
}

.portfolio-admin-thumb-preview {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--line-color);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  transform-origin: center center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portfolio-admin-thumb-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-admin-thumb-preview:hover {
  z-index: 20;
  box-shadow: 0 24px 70px rgba(20, 22, 26, 0.22);
}

.portfolio-admin-thumb-zoom {
  position: fixed;
  z-index: 3000;
  width: min(760px, calc(100vw - 28px));
  height: auto;
  overflow: hidden;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 22, 26, 0.22);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96);
  transform-origin: center center;
  transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-admin-thumb-zoom[hidden] {
  display: none;
}

.portfolio-admin-thumb-zoom.is-visible {
  opacity: 1;
  transform: scale(1);
  transition-duration: 1s;
}

.portfolio-admin-thumb-zoom img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 28px);
  object-fit: contain;
}

.portfolio-admin-thumb-preview img[hidden] {
  display: none;
}

.portfolio-admin-preview {
  display: block;
  width: 100%;
  height: 72vh;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: #fff;
}

.portfolio-admin-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 30px;
  padding: 0 0.45rem;
  line-height: 1;
}

.portfolio-admin-actions-stack {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}

.contact-status-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}

.contact-status-overlay.is-visible {
  display: flex;
}

.contact-status-card {
  position: relative;
  width: min(100%, 420px);
  padding: 1.4rem 1.35rem 1.2rem;
  border: 1px solid rgba(42, 157, 143, 0.24);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(26, 33, 40, 0.14);
}

.contact-status-card.is-success {
  border-color: rgba(42, 157, 143, 0.32);
}

.contact-status-card.is-error {
  border-color: rgba(220, 53, 69, 0.24);
}

.contact-status-card.is-pending {
  border-color: rgba(42, 157, 143, 0.28);
}

.contact-status-label {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1f6f67;
}

.contact-status-message {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--primary-color);
}

.contact-status-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  color: #7b8791;
}

.contact-status-close.is-hidden {
  display: none;
}

#naverMap {
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  padding: 1rem 0;
  color: #bdc3c7;
  background-color: #2c3e50;
  line-height: 1.7;
}

.site-footer p {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-copy,
.footer-contact {
  font-size: 0.95rem;
}

::placeholder {
  color: #cccccc !important;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }
}

/* 2026 lightweight editorial refresh */
:root {
  --primary-color: #14161a;
  --accent-color: #e6534d;
  --accent-soft: #fff0ee;
  --mint-color: #7adfc5;
  --gold-color: #c7a44a;
  --surface-color: #f6f4ee;
  --surface-alt: #fffdf8;
  --surface-ink: #111317;
  --text-muted: #62666f;
  --line-color: rgba(20, 22, 26, 0.12);
  --shadow-soft: 0 18px 50px rgba(20, 22, 26, 0.08);
  --shadow-hover: 0 24px 70px rgba(20, 22, 26, 0.14);
  --navbar-height: 66px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin-top: var(--navbar-height);
  font-family: "SUIT", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(246, 244, 238, 0.98) 46%, rgba(255, 253, 248, 0.96)),
    var(--surface-color);
  color: var(--primary-color);
  text-rendering: optimizeLegibility;
}

.home-page {
  margin-top: 0;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.container {
  --bs-gutter-x: clamp(1.25rem, 4vw, 2rem);
}

.site-navbar {
  min-height: var(--navbar-height);
  height: var(--navbar-height);
  border-bottom: 1px solid rgba(20, 22, 26, 0.09);
  background: rgba(255, 253, 248, 0.86) !important;
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.site-logo {
  height: 31px;
}

.navbar-brand {
  margin-right: 1.25rem;
}

.navbar-toggler {
  border: 1px solid var(--line-color);
  border-radius: 6px;
  box-shadow: none !important;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.45rem 0;
  color: rgba(20, 22, 26, 0.72) !important;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.22s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s var(--ease-out);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-navbar .nav-item-network {
  margin-left: 3rem;
}

.site-navbar .nav-link-network {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(20, 22, 26, 0.58) !important;
}

.hero {
  min-height: calc(82vh - var(--navbar-height));
  padding: clamp(3.5rem, 10vw, 4.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  text-align: left;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, 0.88), rgba(10, 11, 14, 0.42) 56%, rgba(10, 11, 14, 0.76)),
    linear-gradient(135deg, #121317 0%, #1b1d23 58%, #111317 100%);
}

.home-page .hero {
  min-height: 82vh;
  padding-top: calc(var(--navbar-height) + clamp(3.5rem, 10vw, 4.5rem));
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  background: linear-gradient(0deg, rgba(230, 83, 77, 0.16), rgba(122, 223, 197, 0));
  pointer-events: none;
}

.hero-content {
  max-width: 1120px;
}

.hero h1 {
  max-width: 880px;
  margin-bottom: 1.45rem !important;
  font-family: "Manrope", "SUIT", sans-serif;
  font-size: clamp(2.9rem, 8vw, 3.7rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1::before {
  content: "XUP SOLUTION";
  display: block;
  margin-bottom: 1.1rem;
  color: var(--mint-color);
  font-family: "SUIT", "Noto Sans KR", sans-serif;
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  font-weight: 800;
  line-height: 1;
}

.hero-copy {
  max-width: 845px;
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 500;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background-color 0.26s ease, border-color 0.26s ease, transform 0.34s var(--ease-out);
}

.hero-link:hover {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: clamp(2.4rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.13);
}

.hero-stats div {
  min-height: 92px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--mint-color);
  font-family: "Manrope", "SUIT", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stats span {
  margin-top: 0.62rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-services-container {
  padding-top: 50px;
}

body > section.home-services-section.py-5 {
  padding-bottom: 60px !important;
}

body > section.home-clients-section.py-5 {
  padding-top: 50px !important;
}

.btn-primary,
.btn-submit,
.card-cta,
.filter-btn {
  border-radius: 6px;
  font-weight: 800;
}

.btn-primary,
.btn-submit {
  min-height: 48px;
  padding: 0.78rem 1.18rem;
  border: 1px solid var(--accent-color);
  background: var(--accent-color);
  box-shadow: 0 14px 34px rgba(230, 83, 77, 0.18);
  transition: transform 0.34s var(--ease-out), box-shadow 0.34s var(--ease-out), background-color 0.22s ease, border-color 0.22s ease;
}

.btn-primary:hover,
.btn-submit:hover {
  border-color: #cf4641;
  background: #cf4641;
  box-shadow: 0 18px 44px rgba(230, 83, 77, 0.24);
  transform: translateY(-2px);
}

body > section.py-5 {
  position: relative;
  padding-top: 10px !important;
  padding-bottom: clamp(4.5rem, 8vw, 7rem) !important;
}

body > section.py-5:first-of-type:not(.muted-section)::before {
  content: "";
  position: absolute;
  inset: calc(var(--navbar-height) * -1) 0 auto;
  z-index: -1;
  height: calc(260px + var(--navbar-height));
  background: linear-gradient(180deg, rgba(230, 83, 77, 0.08), rgba(255, 253, 248, 0));
}

.kiosk-page > section.py-5:first-of-type {
  padding-top: 38px !important;
}

.muted-section,
.bg-white {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 253, 248, 0.94)),
    var(--surface-alt) !important;
}

.section-title {
  display: block;
  margin-bottom: clamp(2.1rem, 4vw, 3rem);
  font-family: "Manrope", "SUIT", sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.55rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--primary-color);
}

.section-title::before {
  content: "XUP";
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent-color);
  font-family: "SUIT", "Noto Sans KR", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.section-title::after {
  width: 54px;
  height: 3px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--accent-color), var(--mint-color));
}

.feature-tile,
.service-card,
.portfolio-card,
.contact-panel,
.about-panel {
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.feature-tile {
  min-height: 158px;
  display: grid;
  align-content: center;
  padding: 1.55rem;
  text-align: left;
  transition: transform 0.42s var(--ease-out), box-shadow 0.42s var(--ease-out), border-color 0.28s ease;
}

.feature-tile:hover,
.service-card:hover,
.portfolio-card:hover {
  border-color: rgba(230, 83, 77, 0.28);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.feature-tile i,
.service-icon {
  color: var(--accent-color);
}

.feature-tile i {
  font-size: 1.65rem;
}

.feature-tile-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-tile-heading h5 {
  margin-bottom: 0;
}

.feature-tile h5,
.service-card h5,
.portfolio-card .card-title,
.contact-panel h5 {
  font-weight: 800;
  letter-spacing: 0;
  color: var(--primary-color);
}

.feature-tile p {
  margin: 0.58rem 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  word-break: keep-all;
}

.service-card {
  padding: 1.25rem;
  text-align: left;
}

.service-card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.service-card .service-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(230, 83, 77, 0.16);
  border-radius: 6px;
  background: var(--accent-soft);
  font-size: 1rem;
}

.service-card-heading h5 {
  margin-bottom: 0;
}

.service-card p {
  color: var(--text-muted);
  word-break: keep-all;
}

.service-card img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: none;
}

.service-gallery video {
  overflow: hidden;
  border: 1px solid var(--line-color);
  border-radius: 8px !important;
  box-shadow: var(--shadow-soft);
}

.portfolio-card {
  overflow: hidden;
  background: rgba(255, 253, 248, 0.92);
}

.portfolio-card.shadow-lg {
  box-shadow: var(--shadow-soft) !important;
}

.portfolio-thumb {
  height: 230px;
}

.portfolio-card::before {
  height: 230px;
  box-shadow:
    inset 0 -46px 70px rgba(17, 19, 23, 0.18),
    inset 0 0 1px rgba(255, 255, 255, 0.35);
}

.portfolio-card .card-body {
  padding: 1.12rem;
}

.portfolio-card .card-title {
  padding-top: 0;
  margin-bottom: 0;
  text-align: left;
  transform: none;
}

.portfolio-card:hover .card-title {
  color: var(--primary-color);
  letter-spacing: 0;
  text-shadow: none;
  transform: none;
}

.card-cta {
  align-self: flex-start;
  min-width: auto;
  margin-top: 0.15rem;
  padding: 0.68rem 0.84rem;
  border-color: rgba(20, 22, 26, 0.14);
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  font-size: 0.88rem;
}

.portfolio-card .card-cta {
  margin-bottom: 0;
}

.card-cta:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 14px 30px rgba(20, 22, 26, 0.14);
}

.filter-group {
  gap: 0.45rem;
  padding: 0.25rem;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.75);
}

.filter-group > .btn {
  border: 0;
}

.filter-btn {
  color: rgba(20, 22, 26, 0.68);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.contact-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.contact-panel p {
  color: var(--text-muted);
}

.contact-form-copy {
  max-width: 620px;
  margin-bottom: 1.35rem;
  font-size: 0.96rem;
  line-height: 1.7;
  word-break: keep-all;
}

.contact-panel[style] {
  background: rgba(255, 253, 248, 0.86) !important;
}

.form-label {
  color: rgba(20, 22, 26, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 46px;
  border-color: rgba(20, 22, 26, 0.13);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.74);
}

.form-control[type="file"] {
  padding: 0;
  line-height: 46px;
}

.form-control[type="file"]::file-selector-button {
  height: 46px;
  margin: 0 0.75rem 0 0;
  padding: 0 0.9rem;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  line-height: 46px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(230, 83, 77, 0.58);
  box-shadow: 0 0 0 0.22rem rgba(230, 83, 77, 0.12);
}

#naverMap {
  height: 360px;
  border-color: var(--line-color);
  border-radius: 8px;
}

.about-img,
.client-logo,
.detail-img,
.detail-hero-shell,
.kiosk-gallery-item,
.kiosk-lightbox-image,
.kiosk-lightbox-video {
  border-radius: 8px;
}

.about-img {
  height: 380px;
  box-shadow: var(--shadow-soft);
}

.client-logo {
  border: 1px solid rgba(20, 22, 26, 0.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 22, 26, 0.06);
}

.site-footer {
  margin-top: 0;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 12% 0%, rgba(230, 83, 77, 0.13), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(122, 223, 197, 0.11), transparent 28%),
    var(--surface-ink);
}

::placeholder {
  color: #a5a7ad !important;
}

@media (max-width: 991.98px) {
  .site-navbar {
    height: auto;
    min-height: var(--navbar-height);
  }

  .site-navbar .container {
    min-height: var(--navbar-height);
  }

  .site-navbar .navbar-collapse {
    margin: 0.6rem 0 0.9rem;
    padding: 0.8rem;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.96);
  }

  .navbar-nav .nav-link::after {
    bottom: 0.25rem;
  }

  .portfolio-admin-form-panel,
  .portfolio-admin-preview-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  body {
    margin-top: 0;
  }

  .hero {
    min-height: auto;
    padding: 5rem 0 4.25rem;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .feature-tile {
    min-height: 128px;
  }

  .portfolio-thumb,
  .portfolio-card::before {
    height: 210px;
  }

  .about-img {
    height: 260px;
  }

  .footer-copy,
  .footer-contact {
    font-size: 0.86rem;
  }

  .portfolio-admin-field {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .portfolio-admin-pair,
  .portfolio-admin-mini-field {
    grid-template-columns: 1fr;
  }

  .portfolio-admin-form-actions {
    padding-left: 0;
  }
}
