:root {
  --op-bg: #f3f4f6;
  --op-bg-alt: #ffffff;
  --op-text: #111827;
  --op-text-muted: #4b5563;
  --op-subtle: #6b7280;
  --op-border: #e5e7eb;
  --op-accent: #2563eb;
  --op-accent-soft: #eff6ff;
  --op-radius-lg: 18px;
  --op-radius-xl: 28px;
  --op-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --op-transition-fast: 0.18s ease-out;
  --op-container-width: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--op-bg);
  color: var(--op-text);
}

/* 루트 & 공통 레이아웃 */

.op-root {
  min-height: 100vh;
}

.op-container {
  width: 100%;
  max-width: var(--op-container-width);
  margin: 0 auto;
  padding: 0 18px;
}

/* 헤더 */

.op-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(249, 250, 251, 0.96);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.op-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.op-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: radial-gradient(circle at top left, #2563eb, #38bdf8);
  color: #f9fafb;
}

.op-logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

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

.op-nav-link {
  font-size: 14px;
  text-decoration: none;
  color: var(--op-subtle);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color var(--op-transition-fast), color var(--op-transition-fast),
    transform var(--op-transition-fast);
}

.op-nav-link:hover {
  background-color: rgba(37, 99, 235, 0.06);
  color: var(--op-text);
  transform: translateY(-1px);
}

.op-nav-cta {
  background-color: var(--op-accent);
  color: #f9fafb;
  font-weight: 500;
}

.op-nav-cta:hover {
  background-color: #1d4ed8;
}

.op-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

/* HERO */

.op-hero {
  position: relative;
  padding: 64px 0 72px;
  background-image: url("https://images.unsplash.com/photo-1526498460520-4c246339dccb?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.op-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(249, 250, 251, 0.92),
    rgba(249, 250, 251, 0.88),
    rgba(249, 250, 251, 0.7)
  );
}

.op-hero-inner {
  position: relative;
  z-index: 1;
}

.op-hero-card {
  max-width: 640px;
  padding: 24px 24px 26px;
  border-radius: var(--op-radius-xl);
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--op-shadow-soft);
}

/* 타이포 공통 */

.op-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

.op-hero-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.op-hero-subtitle {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--op-text-muted);
}

.op-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.op-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--op-transition-fast), color var(--op-transition-fast),
    box-shadow var(--op-transition-fast), transform var(--op-transition-fast),
    border-color var(--op-transition-fast);
}

.op-btn-primary {
  background-color: var(--op-accent);
  color: #f9fafb;
  box-shadow: var(--op-shadow-soft);
}

.op-btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.op-btn-outline {
  background-color: #ffffff;
  border-color: #cbd5f5;
  color: #1e293b;
}

.op-btn-outline:hover {
  background-color: #111827;
  border-color: #111827;
  color: #f9fafb;
}

.op-hero-meta {
  margin: 0;
  font-size: 13px;
  color: var(--op-subtle);
}

/* 공통 섹션 */

.op-section {
  padding: 56px 0 60px;
}

.op-section-alt {
  background-color: var(--op-bg-alt);
}

.op-section-inner {
  max-width: 860px;
  margin: 0 auto;
}

.op-section-header {
  margin-bottom: 18px;
}

.op-section-title {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.op-section-text {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--op-text-muted);
}

.op-section-text strong {
  color: #111827;
}

.op-section-text-narrow {
  max-width: 640px;
}

/* 레이아웃: 2단 */

.op-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* ABOUT 리스트 */

.op-about-list {
  display: grid;
  gap: 10px;
}

.op-about-item {
  background-color: #ffffff;
  border-radius: var(--op-radius-lg);
  border: 1px solid var(--op-border);
  padding: 12px 14px 14px;
}

.op-about-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #111827;
}

.op-about-item p {
  margin: 0;
  font-size: 14px;
  color: var(--op-subtle);
}

/* SERVICES 카드 */

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

.op-card {
  background-color: #ffffff;
  border-radius: var(--op-radius-lg);
  border: 1px solid var(--op-border);
  padding: 16px 14px 16px;
}

.op-card-title {
  margin: 0 0 6px;
  font-size: 15px;
  color: #111827;
}

.op-card-text {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--op-subtle);
}

.op-card-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--op-subtle);
}

.op-card-list li {
  margin-bottom: 3px;
}

/* PROCESS 타임라인 */

.op-timeline {
  margin-top: 4px;
  border-left: 2px solid #e5e7eb;
  padding-left: 14px;
  display: grid;
  gap: 14px;
}

.op-timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
}

.op-timeline-badge {
  align-self: flex-start;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background-color: var(--op-accent-soft);
  color: #1d4ed8;
  margin-left: -15px;
}

.op-timeline-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #111827;
}

.op-timeline-body p {
  margin: 0;
  font-size: 14px;
  color: var(--op-text-muted);
}

/* WORK GRID */

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

.op-work-card {
  border-radius: var(--op-radius-lg);
  border: 1px solid var(--op-border);
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.op-work-thumb {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Unsplash 예시 이미지 */
.op-work-thumb-1 {
  background-image: url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=900&q=80");
}
.op-work-thumb-2 {
  background-image: url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=900&q=80");
}
.op-work-thumb-3 {
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=900&q=80");
}

.op-work-body {
  padding: 12px 14px 14px;
}

.op-work-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #111827;
}

.op-work-body p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--op-subtle);
}

.op-work-tag {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

/* CONTACT */

.op-contact-grid {
  gap: 26px;
}

.op-contact-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--op-subtle);
}

.op-contact-list li {
  margin-bottom: 4px;
}

.op-contact-box {
  border-radius: var(--op-radius-lg);
  border: 1px solid var(--op-border);
  background-color: #ffffff;
  padding: 14px 14px 16px;
}

.op-contact-title {
  margin: 0 0 8px;
  font-size: 16px;
  color: #111827;
}

.op-contact-lines {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--op-subtle);
}

.op-contact-lines li {
  margin-bottom: 4px;
}

.op-contact-note {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.6;
}

/* 푸터 */

.op-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  background-color: #f9fafb;
  padding: 16px 0 20px;
}

.op-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
}

.op-footer-brand,
.op-footer-meta {
  margin: 0;
}

/* 유틸 */

.op-only-desktop {
  display: inline;
}

/* 반응형 */

@media (max-width: 960px) {
  .op-two-col {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .op-section {
    padding: 48px 0 52px;
  }

  .op-hero {
    padding: 52px 0 60px;
  }

  .op-hero-card {
    padding: 20px 18px 22px;
  }
}

@media (max-width: 720px) {
  .op-header-inner {
    height: 56px;
  }

  .op-nav {
    display: none;
  }

  .op-nav-toggle {
    display: block;
  }

  .op-section {
    padding: 40px 0 46px;
  }

  .op-card-grid,
  .op-work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-only-desktop {
    display: none;
  }

  .op-container {
    padding: 0 14px;
  }
}
