@charset "UTF-8";

/* =========================================================
   FIGMA HOME CSS
   - Home.tsx HeroSlider 기준
========================================================= */

/* Hero */
.figma-hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.figma-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1000ms ease;
}

.figma-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.figma-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.figma-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.figma-hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
}

.figma-hero-content-inner {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
  color: #ffffff;
}

.figma-hero-title {
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.25;
  white-space: pre-line;
}

.figma-hero-sub {
  margin-bottom: 40px;
  color: #e5e7eb;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.figma-hero-title.is-animate {
  animation: figma-fade-up 0.7s ease both;
}

.figma-hero-sub.is-animate {
  animation: figma-fade-up 0.7s 0.15s ease both;
}

/* Hero Buttons */
.figma-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.figma-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 24px;

  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.figma-hero-btn-primary {
  color: #000000;
  background: #ffffff;
}

.figma-hero-btn-primary:hover {
  background: #f3f4f6;
}

.figma-hero-btn-outline {
  color: #ffffff;
  border: 1px solid #ffffff;
  background: transparent;
}

.figma-hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.figma-hero-arrow {
  margin-left: 8px;
}

/* Prev / Next */
.figma-hero-control {
  position: absolute;
  top: 50%;
  z-index: 20;

  width: 44px;
  height: 44px;
  border-radius: 9999px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);

  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.figma-hero-control:hover {
  background: rgba(255, 255, 255, 0.3);
}

.figma-hero-prev {
  left: 16px;
}

.figma-hero-next {
  right: 16px;
}

.figma-hero-control-icon {
  font-size: 28px;
  line-height: 1;
}

/* Dots */
.figma-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 8px;

  transform: translateX(-50%);
}

.figma-hero-dot {
  width: 8px;
  height: 8px;

  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);

  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.figma-hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.figma-hero-dot.is-active {
  width: 32px;
  background: #ffffff;
}

/* Progress */
.figma-hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;

  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.figma-hero-progress-bar {
  width: 0;
  height: 100%;
  background: #ffffff;
}

.figma-hero-progress-bar.is-active {
  animation: figma-progress 5s linear forwards;
}

/* Ken Burns */
.figma-hero-slide.is-active .figma-hero-image.kb-zoom-in {
  animation: figma-kb-zoom-in 6s ease-in-out forwards;
}

.figma-hero-slide.is-active .figma-hero-image.kb-zoom-out {
  animation: figma-kb-zoom-out 6s ease-in-out forwards;
}

.figma-hero-slide.is-active .figma-hero-image.kb-pan-left {
  animation: figma-kb-pan-left 6s ease-in-out forwards;
}

.figma-hero-slide.is-active .figma-hero-image.kb-pan-right {
  animation: figma-kb-pan-right 6s ease-in-out forwards;
}

/* Animations */
@keyframes figma-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes figma-progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

@keyframes figma-kb-zoom-in {
  from {
    transform: scale(1) translate(0, 0);
  }

  to {
    transform: scale(1.12) translate(0, 0);
  }
}

@keyframes figma-kb-zoom-out {
  from {
    transform: scale(1.12) translate(0, 0);
  }

  to {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes figma-kb-pan-left {
  from {
    transform: scale(1.1) translate(3%, 0);
  }

  to {
    transform: scale(1.1) translate(-3%, 0);
  }
}

@keyframes figma-kb-pan-right {
  from {
    transform: scale(1.1) translate(-3%, 0);
  }

  to {
    transform: scale(1.1) translate(3%, 0);
  }
}

/* Responsive */
@media (min-width: 640px) {
  .figma-hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .figma-hero-title {
      font-size: 72px;
    }

.figma-hero-sub {
  font-size: 24px;
  line-height: 32px;
}

  .figma-hero-prev {
    left: 32px;
  }

  .figma-hero-next {
    right: 32px;
  }
}

@media (max-width: 767px) {
  .figma-hero {
    height: 82vh;
  }

  .figma-hero-title {
    font-size: 40px;
  }

  .figma-hero-sub {
    font-size: 17px;
  }
}


/* Stats */
.figma-home-stats {
  padding: 64px 0;
  background: #f9fafb;
}

.figma-home-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.figma-stats-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}

.figma-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.figma-stat-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: #000000;
  border-radius: 9999px;
}

.figma-stat-svg {
  width: 32px;
  height: 32px;
  display: block;
}

.figma-stat-number {
  margin-bottom: 8px;
  color: #111827;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

.figma-stat-label {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .figma-home-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 768px) {
  .figma-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .figma-home-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}


/* Projects */
.figma-home-projects {
  padding: 80px 0;
  background: #ffffff;
}

.figma-projects-head {
  margin-bottom: 48px;
  text-align: center;
}

.figma-projects-title {
  margin: 0 0 16px;
  color: #111827;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

.figma-projects-sub {
  margin: 0;
  color: #6b7280;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.figma-projects-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 32px;
}

.figma-project-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 300ms ease;
}

.figma-project-card:hover {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.figma-project-image-wrap {
  height: 256px;
  overflow: hidden;
}

.figma-project-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.figma-project-card:hover .figma-project-image {
  transform: scale(1.1);
}

.figma-project-card-body {
  padding: 24px;
}

.figma-project-category {
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.figma-project-title {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.figma-projects-action {
  margin-top: 48px;
  text-align: center;
}

.figma-projects-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  color: #ffffff;
  background: #111827;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.figma-projects-button:hover {
  background: #1f2937;
}

.figma-projects-button-icon {
  width: 16px;
  height: 16px;
  display: block;
}

@media (min-width: 768px) {
  .figma-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .figma-projects-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* About */
.figma-home-about {
  padding: 80px 0;
  color: #ffffff;
  background: #111827;
}

.figma-about-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.figma-about-title {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

.figma-about-lead {
  margin: 0 0 24px;
  color: #d1d5db;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.figma-about-desc {
  margin: 0 0 32px;
  color: #9ca3af;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.figma-about-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.figma-about-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.figma-about-button-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.figma-about-image-wrap {
  position: relative;
  height: 384px;
}

.figma-about-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .figma-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-about-title {
    font-size: 48px;
    line-height: 1;
  }
}

/* CTA */
.figma-home-cta {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
}

.figma-cta-container {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.figma-cta-title {
  margin: 0 0 24px;
  color: #111827;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

.figma-cta-sub {
  margin: 0 0 32px;
  color: #4b5563;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.figma-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  color: #ffffff;
  background: #030712;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.figma-cta-button:hover {
  background: #111827;
}

.figma-cta-button-icon {
  width: 16px;
  height: 16px;
  display: block;
}

@media (min-width: 640px) {
  .figma-cta-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 768px) {
  .figma-cta-title {
    font-size: 48px;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .figma-cta-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Projects Page - Projects.tsx origin */
.figma-projects-origin {
  padding: 80px 0;
  background: #ffffff;
}

.figma-projects-origin-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.figma-projects-origin-header {
  margin-bottom: 48px;
  text-align: center;
}

.figma-projects-origin-title {
  margin: 0 0 16px;
  color: #000000;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

.figma-projects-origin-sub {
  margin: 0;
  color: #4b5563;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.figma-projects-origin-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.figma-projects-origin-filter-btn {
  min-height: 36px;
  padding: 8px 18px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}

.figma-projects-origin-filter-btn.is-active {
  color: #ffffff;
  background: #030712;
  border-color: #030712;
}

.figma-projects-origin-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}

.figma-projects-origin-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.figma-projects-origin-card {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 300ms ease;
}

.figma-projects-origin-link:hover .figma-projects-origin-card {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.10),
    0 8px 10px -6px rgba(0, 0, 0, 0.10);
}

.figma-projects-origin-image-wrap {
  position: relative;
  height: 224px;
  overflow: hidden;
}

.figma-projects-origin-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease;
}

.figma-projects-origin-link:hover .figma-projects-origin-image {
  transform: scale(1.1);
}

.figma-projects-origin-year {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 10px;
  color: #111827;
  background: #ffffff;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.figma-projects-origin-content {
  padding: 16px;
}

.figma-projects-origin-category {
  margin-bottom: 4px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.figma-projects-origin-card-title {
  margin: 0 0 4px;
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.figma-projects-origin-desc {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.figma-projects-origin-location {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.figma-projects-origin-empty {
  padding: 48px 0;
  color: #6b7280;
  font-size: 16px;
  text-align: center;
}

.figma-projects-origin-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.figma-projects-origin-count {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 20px;
}

.figma-projects-origin-progress {
  width: 192px;
  height: 4px;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 9999px;
}

.figma-projects-origin-progress-bar {
  width: 0;
  height: 100%;
  background: #9ca3af;
  border-radius: 9999px;
  transition: width 300ms ease;
}

.figma-projects-origin-link[hidden],
.figma-projects-origin-more[hidden],
.figma-projects-origin-top-button[hidden] {
  display: none;
}

.figma-projects-origin-more-button,
.figma-projects-origin-top-button {
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}

.figma-projects-origin-more-button:hover,
.figma-projects-origin-top-button:hover {
  color: #000000;
  background: #ffffff;
  border-color: #9ca3af;
}

.figma-projects-origin-top-button {
  padding-left: 20px;
  padding-right: 20px;
  color: #6b7280;
}

.figma-projects-origin-top-icon {
  width: 16px;
  height: 16px;
  display: block;
}

@media (min-width: 640px) {
  .figma-projects-origin-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .figma-projects-origin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .figma-projects-origin-title {
    font-size: 60px;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .figma-projects-origin-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .figma-projects-origin-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Project Detail Page - ProjectDetail.tsx origin */
.figma-project-detail-origin {
  background: #ffffff;
}

.figma-project-detail-origin-hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.figma-project-detail-origin-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.figma-project-detail-origin-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.6)
    );
}

.figma-project-detail-origin-back {
  position: absolute;
  top: 32px;
  left: 16px;
  right: auto;
  z-index: 2;
}

.figma-project-detail-origin-back-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  transition: color 200ms ease;
}

.figma-project-detail-origin-back-link:hover {
  color: #ffffff;
  background: transparent;
}

.figma-project-detail-origin-back-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.figma-project-detail-origin-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px;
}

.figma-project-detail-origin-hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.figma-project-detail-origin-category {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 12px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.figma-project-detail-origin-title {
  max-width: 896px;
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.025em;
}

.figma-project-detail-origin-desc {
  max-width: 576px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.figma-project-detail-origin-meta {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.figma-project-detail-origin-meta-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.figma-project-detail-origin-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 14px;
  line-height: 20px;
}

.figma-project-detail-origin-meta-icon {
  width: 18px;
  height: 18px;
  color: #9ca3af;
}

.figma-project-detail-origin-meta-item:last-child {
  color: #16a34a;
  font-weight: 500;
}

.figma-project-detail-origin-meta-item:last-child .figma-project-detail-origin-meta-icon {
  color: #22c55e;
}

.figma-project-detail-origin-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 16px;
}

.figma-project-detail-origin-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
}

.figma-project-detail-origin-sidebar {
  min-width: 0;
}

.figma-project-detail-origin-sticky {
  display: flex;
  flex-direction: column;
  gap: 40px;
}


.figma-project-detail-origin-info-block {
  padding-bottom: 0;
  border-bottom: 0;
}

.figma-project-detail-origin-section-title {
  margin: 0 0 16px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.figma-project-detail-origin-text {
  margin: 0;
  color: #374151;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
}

.figma-project-detail-origin-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.figma-project-detail-origin-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.figma-project-detail-origin-dot {
  width: 4px;
  height: 4px;
  margin-top: 6px;
  display: inline-block;
  flex: 0 0 auto;
  background: #9ca3af;
  border-radius: 9999px;
}

.figma-project-detail-origin-primary-button {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: #ffffff;
  background: #030712;
  border: 1px solid #030712;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}

.figma-project-detail-origin-primary-button:hover {
  background: #111827;
  border-color: #111827;
}

.figma-project-detail-origin-gallery {
  min-width: 0;
}

.figma-project-detail-origin-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.figma-project-detail-origin-gallery-count {
  color: #9ca3af;
  font-size: 12px;
  line-height: 16px;
}

.figma-project-detail-origin-gallery-main {
  overflow: hidden;
  border-radius: 12px;
}

.figma-project-detail-origin-gallery-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.figma-project-detail-origin-bottom {
  padding: 0 16px 80px;
}

.figma-project-detail-origin-bottom-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.figma-project-detail-origin-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}

.figma-project-detail-origin-outline-button:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.figma-project-detail-origin-button-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.figma-project-detail-origin-hero-content {
  padding: 48px;
}

.figma-project-detail-origin-back {
  left: 32px;
}

.figma-project-detail-origin-meta-inner,
.figma-project-detail-origin-content,
.figma-project-detail-origin-bottom {
  padding-left: 24px;
  padding-right: 24px;
}

.figma-project-detail-origin-hero {
  height: 75vh;
}

.figma-project-detail-origin-title {
  font-size: 60px;
  line-height: 1;
}

.figma-project-detail-origin-desc {
  font-size: 18px;
  line-height: 28px;
}

@media (min-width: 1024px) {
  .figma-project-detail-origin-hero-content,
  .figma-project-detail-origin-meta-inner,
  .figma-project-detail-origin-bottom {
    padding-left: 32px;
    padding-right: 32px;
  }

  .figma-project-detail-origin-content {
    padding-left: 32px;
    padding-right: 32px;
  }

  .figma-project-detail-origin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .figma-project-detail-origin-sidebar {
    grid-column: span 1 / span 1;
    order: 1;
  }

  .figma-project-detail-origin-gallery {
    grid-column: span 2 / span 2;
    order: 2;
  }

  .figma-project-detail-origin-sticky {
    position: sticky;
    top: 96px;
  }
}

@media (max-width: 767px) {
  .figma-project-detail-origin-back {
    top: 32px;
  }

  .figma-project-detail-origin-title {
    font-size: 36px;
    line-height: 40px;
  }

  .figma-project-detail-origin-desc {
    font-size: 18px;
    line-height: 28px;
  }

  .figma-project-detail-origin-content {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .figma-project-detail-origin-gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .figma-project-detail-origin-bottom-inner {
    flex-direction: column;
  }

  .figma-project-detail-origin-outline-button,
  .figma-project-detail-origin-primary-button {
    width: 100%;
  }
}

/* Admin Project Form */
.admin-project-form {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}

.admin-form-field {
  margin-bottom: 20px;
}

.admin-form-field label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.admin-form-field input,
.admin-form-field select,
.admin-form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  box-sizing: border-box;
}

.admin-form-field textarea {
  resize: vertical;
}

.admin-form-field input:focus,
.admin-form-field select:focus,
.admin-form-field textarea:focus {
  outline: none;
  border-color: #111827;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-form-help {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 18px;
}

.admin-form-field input[type="file"] {
  padding: 9px 12px;
  cursor: pointer;
}


/* Project Detail Gallery - ProjectDetail.tsx origin */
.figma-project-detail-origin-gallery-one,
.figma-project-detail-origin-gallery-two,
.figma-project-detail-origin-gallery-three,
.figma-project-detail-origin-gallery-four,
.figma-project-detail-origin-gallery-many-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.figma-project-detail-origin-gallery-many {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.figma-project-detail-origin-gallery-frame {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: #f3f4f6;
}

.figma-project-detail-origin-gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 700ms ease;
}

.figma-project-detail-origin-gallery-frame:hover .figma-project-detail-origin-gallery-image {
  transform: scale(1.05);
}

/* 1장: aspect-[16/9] */
.figma-project-detail-origin-gallery-one {
  display: block;
}

.figma-project-detail-origin-gallery-one .figma-project-detail-origin-gallery-frame {
  aspect-ratio: 16 / 9;
}

/* 2장: grid-cols-2 gap-3, aspect-[4/3] */
.figma-project-detail-origin-gallery-two .figma-project-detail-origin-gallery-frame {
  aspect-ratio: 4 / 3;
}

/* 3장: 첫 장 row-span-2, aspectRatio 3/4 / 나머지 4/3 */
.figma-project-detail-origin-gallery-three .figma-project-detail-origin-gallery-frame {
  aspect-ratio: 4 / 3;
}

.figma-project-detail-origin-gallery-three .figma-project-detail-origin-gallery-frame.is-first {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

/* 4장: 첫 장 col-span-2, aspect-[16/7] / 나머지 4/3 */
.figma-project-detail-origin-gallery-four .figma-project-detail-origin-gallery-frame {
  aspect-ratio: 4 / 3;
}

.figma-project-detail-origin-gallery-four .figma-project-detail-origin-gallery-frame.is-first {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

/* 5장 이상: 첫 장 wide + 나머지 2열 */
.figma-project-detail-origin-gallery-many > .figma-project-detail-origin-gallery-frame.is-wide {
  aspect-ratio: 16 / 7;
}

.figma-project-detail-origin-gallery-many-grid .figma-project-detail-origin-gallery-frame {
  aspect-ratio: 4 / 3;
}

.figma-project-detail-origin-gallery-many-grid .figma-project-detail-origin-gallery-frame.is-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.figma-project-detail-origin-gallery-empty {
  height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 14px;
}

[data-project-lightbox] {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

[data-project-lightbox].is-open {
  display: block;
}

[data-project-lightbox-backdrop] {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

[data-project-lightbox-content] {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 72px 96px 104px;
  box-sizing: border-box;
}

[data-project-lightbox-main] {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-project-lightbox-image] {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

[data-project-lightbox-count] {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 20px;
  transform: translateX(-50%);
}

[data-project-lightbox-close],
[data-project-lightbox-prev],
[data-project-lightbox-next],
[data-project-lightbox-thumbnail] {
  padding: 0;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

[data-project-lightbox-close] {
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 3;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: transparent;
  font-size: 42px;
  font-weight: 200;
  line-height: 48px;
}

[data-project-lightbox-prev],
[data-project-lightbox-next] {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 56px;
  height: 72px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  font-size: 56px;
  font-weight: 200;
  line-height: 72px;
  transform: translateY(-50%);
}

[data-project-lightbox-prev] {
  left: 24px;
}

[data-project-lightbox-next] {
  right: 24px;
}

[data-project-lightbox-prev]:hover,
[data-project-lightbox-next]:hover,
[data-project-lightbox-close]:hover {
  color: #ffffff;
}

[data-project-lightbox-thumbnails] {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  max-width: calc(100% - 64px);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  transform: translateX(-50%);
}

[data-project-lightbox-thumbnail] {
  width: 52px;
  height: 40px;
  flex: 0 0 auto;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  opacity: 0.55;
}

[data-project-lightbox-thumbnail].is-active {
  border-color: #ffffff;
  opacity: 1;
}

[data-project-lightbox-thumbnail] img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.is-project-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  [data-project-lightbox-content] {
    padding: 64px 16px 92px;
  }

  [data-project-lightbox-prev],
  [data-project-lightbox-next] {
    width: 44px;
    height: 56px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 44px;
    line-height: 56px;
  }

  [data-project-lightbox-prev] {
    left: 0;
  }

  [data-project-lightbox-next] {
    right: 0;
  }

  [data-project-lightbox-close] {
    top: 8px;
    right: 12px;
  }

  [data-project-lightbox-thumbnails] {
    bottom: 16px;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 767px) {
  .figma-project-detail-origin-gallery-two,
  .figma-project-detail-origin-gallery-three,
  .figma-project-detail-origin-gallery-four,
  .figma-project-detail-origin-gallery-many-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .figma-project-detail-origin-gallery-three .figma-project-detail-origin-gallery-frame.is-first,
  .figma-project-detail-origin-gallery-four .figma-project-detail-origin-gallery-frame.is-first,
  .figma-project-detail-origin-gallery-many-grid .figma-project-detail-origin-gallery-frame.is-wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

.admin-current-image {
  width: 100%;
  max-width: 320px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
}

.admin-current-image img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.admin-current-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.admin-current-gallery img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}

.figma-admin-delete-form {
  margin: 0;
}

.figma-admin-delete-form button {
  font-family: inherit;
}

.figma-admin-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.figma-admin-card-actions .ui-button {
  min-width: 64px;
}

.figma-admin-delete-form {
  margin: 0;
}

.figma-admin-delete-form button {
  font-family: inherit;
}

.admin-login-box {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.admin-login-title {
  margin: 0 0 24px;
  color: #111827;
  font-size: 28px;
  font-weight: 400;
  line-height: 36px;
  text-align: center;
}

.admin-login-form {
  width: 100%;
}

.admin-login-error {
  margin: 0 0 16px;
  color: #dc2626;
  font-size: 14px;
  line-height: 20px;
}

/* Contact Page - Contact.tsx origin */
.figma-contact-origin {
  padding: 80px 0;
  background: #ffffff;
}

.figma-contact-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.figma-contact-header {
  margin-bottom: 64px;
  text-align: center;
}

.figma-contact-title {
  margin: 0 0 16px;
  color: #111827;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

.figma-contact-sub {
  margin: 0;
  color: #4b5563;
  font-size: 20px;
  line-height: 28px;
}

.figma-contact-success {
  max-width: 896px;
  margin: 0 auto 32px;
  padding: 16px;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.figma-contact-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 48px;
}

.figma-contact-card,
.figma-contact-map-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.figma-contact-card-header {
  padding: 24px 24px 0;
}

.figma-contact-card-title {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.figma-contact-card-content {
  padding: 24px;
}

.figma-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.figma-contact-field label {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.figma-contact-field input,
.figma-contact-field textarea {
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  line-height: 20px;
  box-sizing: border-box;
}

.figma-contact-field input {
  height: 40px;
}

.figma-contact-field textarea {
  resize: vertical;
}

.figma-contact-field input:focus,
.figma-contact-field textarea:focus {
  outline: none;
  border-color: #111827;
}

.figma-contact-required {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.figma-contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.figma-contact-info-box {
  padding: 32px;
  background: #f9fafb;
  border-radius: 16px;
}

.figma-contact-info-title {
  margin: 0 0 24px;
  color: #111827;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.figma-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.figma-contact-info-item {
  display: flex;
  align-items: flex-start;
}

.figma-contact-info-icon {
  width: 48px;
  height: 48px;
  margin-right: 16px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #000000;
  border-radius: 8px;
}

.figma-contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.figma-contact-info-item h3 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.figma-contact-info-item p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 24px;
}

.figma-contact-map {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 8px;
}

.figma-contact-visit {
  padding: 32px;
  color: #ffffff;
  background: #000000;
  border-radius: 16px;
}

.figma-contact-visit h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.figma-contact-visit p {
  margin: 0 0 16px;
  color: #d1d5db;
  font-size: 16px;
  line-height: 24px;
}

.figma-contact-visit ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #d1d5db;
  list-style: none;
  font-size: 16px;
  line-height: 24px;
}

.admin-inquiry-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.admin-inquiry-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.admin-inquiry-table th,
.admin-inquiry-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;
}

.admin-inquiry-table th {
  color: #111827;
  background: #f9fafb;
  font-weight: 500;
}

.admin-inquiry-table tr:last-child td {
  border-bottom: 0;
}

.admin-inquiry-link {
  color: #111827;
  font-weight: 500;
  text-decoration: none;
}

.admin-inquiry-link:hover {
  text-decoration: underline;
}

.admin-inquiry-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 8px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 9999px;
  font-size: 12px;
  line-height: 16px;
}

.admin-inquiry-status.is-done {
  color: #166534;
  background: #dcfce7;
}

.admin-inquiry-empty {
  text-align: center !important;
  color: #9ca3af !important;
}

.admin-inquiry-detail {
  max-width: 896px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}

.admin-inquiry-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.admin-inquiry-detail-head h1 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 28px;
  font-weight: 400;
  line-height: 36px;
}

.admin-inquiry-detail-head p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 20px;
}

.admin-inquiry-message {
  min-height: 240px;
  padding: 24px 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.admin-inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.admin-inquiry-actions form {
  margin: 0;
}

@media (min-width: 640px) {
  .figma-contact-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 768px) {
  .figma-contact-title {
    font-size: 60px;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .figma-contact-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .figma-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .figma-contact-origin {
    padding: 64px 0;
  }

  .figma-contact-title {
    font-size: 40px;
    line-height: 1.15;
  }

  .figma-contact-sub {
    font-size: 18px;
  }

  .admin-inquiry-detail-head {
    flex-direction: column;
  }
}

.figma-contact-error {
  max-width: 896px;
  margin: 0 auto 32px;
  padding: 16px;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.admin-inquiry-row {
  cursor: pointer;
}

.admin-inquiry-row:hover {
  background: #f9fafb;
}
.figma-contact-message-wrap {
  position: relative;
}

.figma-contact-message-wrap textarea {
  padding-bottom: 32px;
}

.figma-contact-message-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 16px;
  pointer-events: none;
}

.figma-project-detail-origin-meta-item:last-child {
  color: #22c55e;
  font-weight: 400;
}

.figma-project-detail-origin-completion-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #22c55e;
}

.figma-project-detail-origin-meta-item:last-child span {
  line-height: 20px;
}

.figma-project-detail-origin-info-lines {
  white-space: pre-line;
}