:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-soft: #fafaf8;
  --surface-warm: #f7f5f0;
  --text: #161616;
  --muted: #666666;
  --line: #e5e5df;
  --line-strong: #d8d8d1;
  --shadow: 0 16px 40px rgba(20, 20, 20, 0.05);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-sans: "Pretendard", "SUIT", "Aptos", "Malgun Gothic", sans-serif;
  --width: min(1180px, calc(100vw - 40px));
  --hero-size: clamp(2.55rem, 5vw, 4.55rem);
  --section-size: clamp(1.36rem, 1.72vw, 1.8rem);
  --body-size: 0.97rem;
  --meta-size: 0.78rem;
  --nav-size: 0.9rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(180deg, #f6f6f3 0%, var(--bg) 52%, #f2f1ec 100%);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.012;
  background-image:
    linear-gradient(105deg, rgba(30, 30, 30, 0.08) 0 1px, transparent 1px 72px),
    linear-gradient(18deg, rgba(255, 255, 255, 0.42) 0 1px, transparent 1px 96px);
  background-position: 0 0, 22px 18px;
  background-size: 180px 140px, 220px 160px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 245, 242, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 229, 223, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: var(--width);
  margin: 0 auto;
  min-height: 72px;
}

.brand {
  font-size: var(--nav-size);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: var(--nav-size);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  transition:
    transform 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.header-cta {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 600;
}

.button-primary {
  border: 1px solid #1f1f1f;
  background: #1f1f1f;
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.header-cta:hover,
.button:hover,
.gallery-item:hover {
  transform: translateY(-2px);
}

.section {
  width: var(--width);
  margin: 0 auto;
  padding: 96px 0;
}

.section-surface {
  position: relative;
  overflow: hidden;
  padding: 88px 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 245, 240, 0.74)),
    var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.section-surface::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.018;
  background-image:
    linear-gradient(108deg, rgba(20, 20, 20, 0.08) 0 1px, transparent 1px 86px),
    linear-gradient(24deg, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px 118px);
  background-position: 0 0, 34px 20px;
  background-size: 210px 150px, 260px 180px;
  mix-blend-mode: multiply;
}

.section-surface > * {
  position: relative;
  z-index: 1;
}

#overview {
  padding-top: 68px;
  padding-bottom: 68px;
  background: transparent;
  border-color: rgba(229, 229, 223, 0.7);
}

#overview .section-heading {
  margin-bottom: 26px;
}

#overview .info-card {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.58);
}

#portfolio,
#album {
  padding-top: 112px;
  padding-bottom: 112px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 245, 240, 0.58)),
    var(--surface);
  box-shadow: var(--shadow);
}

#portfolio::before,
#album::before {
  opacity: 0.024;
}

#process {
  padding-top: 86px;
  padding-bottom: 86px;
}

#faq {
  padding-top: 74px;
  padding-bottom: 74px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 54px;
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(120deg, rgba(250, 249, 245, 0.66), rgba(245, 245, 242, 0));
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.step-card h3,
.info-card h3,
.faq-list summary {
  margin: 0;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 660px;
  font-size: var(--hero-size);
  line-height: 1.08;
  font-weight: 700;
}

.eyebrow,
.info-index,
.step-index,
.media-note,
.lightbox-caption {
  font-size: var(--meta-size);
  line-height: 1.55;
  color: var(--muted);
}

.eyebrow,
.info-index,
.step-index {
  font-weight: 600;
}

.hero-text,
.section-text,
.why-copy p,
.info-card p,
.value-list span,
.step-card p,
.album-copy p,
.album-features li,
.faq-list p,
.contact-copy p {
  font-size: var(--body-size);
  line-height: 1.78;
  color: var(--muted);
}

.hero-text {
  max-width: 560px;
  margin-top: 20px;
}

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

.hero-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  list-style: none;
}

.hero-flow li {
  position: relative;
  padding: 18px 18px 20px;
}

.hero-flow li + li {
  border-left: 1px solid var(--line);
}

.hero-flow li + li::before {
  position: absolute;
  top: 24px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--surface);
  transform: rotate(45deg);
  content: "";
}

.hero-flow span {
  display: block;
  color: var(--muted);
  font-size: var(--meta-size);
  font-weight: 700;
}

.hero-flow strong {
  display: block;
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.hero-flow p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.album-features li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.hero-visual,
.why-panel,
.contact-card {
  min-width: 0;
}

.media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-card img,
.gallery-item img {
  object-fit: contain;
}

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

.section-heading h2,
.contact-copy h2 {
  font-size: var(--section-size);
  line-height: 1.24;
  font-weight: 700;
  white-space: nowrap;
}

.section-text {
  margin-top: 12px;
}

.overview-pricing {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(216, 216, 209, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.overview-pricing-label {
  margin: 0;
  color: var(--muted);
  font-size: var(--meta-size);
  line-height: 1.55;
  font-weight: 600;
}

.overview-pricing-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pricing-item {
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.pricing-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pricing-item strong {
  font-size: 1rem;
  font-weight: 700;
}

.pricing-item span {
  color: var(--text);
  font-size: 1.14rem;
  line-height: 1.4;
  font-weight: 700;
}

.pricing-item em {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  font-style: normal;
  padding-top: 6px;
  border-top: 1px solid rgba(229, 229, 223, 0.85);
}

.overview-pricing-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

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

.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card h3,
.step-card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.42;
}

.info-card p,
.step-card p {
  margin-top: 10px;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(360px, 1fr);
  gap: 40px;
  align-items: stretch;
}

.why-copy p + p {
  margin-top: 16px;
}

.why-copy p:first-child {
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.72;
}

.why-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.value-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.value-list strong {
  font-size: 0.94rem;
  font-weight: 700;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.62fr);
  gap: 18px;
  align-items: start;
}

.portfolio-side,
.portfolio-strip {
  display: grid;
  gap: 18px;
}

.portfolio-side {
  align-content: start;
}

.portfolio-strip {
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gallery-lead {
  align-self: stretch;
}

.portfolio-side .gallery-item:last-child {
  width: 100%;
  justify-self: end;
}

.portfolio-strip .gallery-item:nth-child(2),
.portfolio-strip .gallery-item:nth-child(5) {
  margin-top: 16px;
}

.portfolio-slider {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.slider-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.slider-intro p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.72;
}

.film-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--line-strong) transparent;
}

.rail-item {
  flex: 0 0 clamp(190px, 23vw, 280px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.04);
  scroll-snap-align: start;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.rail-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 36px rgba(20, 20, 20, 0.07);
}

.rail-item img {
  height: 230px;
  object-fit: contain;
  background: var(--surface-soft);
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.gallery-item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.08);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  list-style: none;
}

.step-card {
  position: relative;
  padding: 28px 22px;
}

.step-card + .step-card {
  border-left: 1px solid var(--line);
}

.step-card + .step-card::before {
  position: absolute;
  top: 30px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--surface);
  transform: rotate(45deg);
  content: "";
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft);
}

.album-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.album-layout-text {
  grid-template-columns: minmax(0, 760px);
}

.album-copy {
  display: grid;
  gap: 18px;
  padding: 8px 0;
}

.album-copy h3 {
  max-width: 520px;
  margin: 2px 0 0;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.album-result-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.album-result-flow span {
  position: relative;
  color: var(--text);
  font-size: var(--meta-size);
  font-weight: 700;
}

.album-result-flow span + span {
  padding-left: 18px;
}

.album-result-flow span + span::before {
  position: absolute;
  left: 2px;
  color: var(--muted);
  content: "→";
}

.album-features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.album-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 12px;
}

.contact-section {
  padding-top: 106px;
  padding-bottom: 128px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-copy {
  max-width: 620px;
}

.contact-copy p:last-child {
  margin-top: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(18, 18, 18, 0.82);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  display: grid;
  gap: 14px;
  max-width: min(1080px, 100%);
  max-height: calc(100vh - 80px);
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  background: #ffffff;
}

.lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.4rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .hero,
  .why-layout,
  .portfolio-layout,
  .album-layout,
  .contact-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .overview-grid,
  .hero-flow,
  .portfolio-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-flow li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hero-flow li:nth-child(3) {
    border-left: 0;
  }

  .hero-flow li:nth-child(3)::before {
    display: none;
  }

  .portfolio-side .gallery-item:last-child {
    width: 100%;
  }

  .slider-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .step-card + .step-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step-card + .step-card::before {
    display: none;
  }
}

@media (max-width: 780px) {
  :root {
    --width: min(1180px, calc(100vw - 24px));
    --hero-size: clamp(2.08rem, 9.4vw, 3.05rem);
    --section-size: clamp(1.06rem, 3.9vw, 1.42rem);
  }

  .header-inner {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-surface {
    padding: 64px 20px;
    border-radius: 24px;
  }

  .hero {
    gap: 28px;
    min-height: auto;
  }

  .hero-flow,
  .overview-grid,
  .portfolio-strip,
  .album-thumbs {
    grid-template-columns: 1fr;
  }

.portfolio-strip .gallery-item:nth-child(2),
.portfolio-strip .gallery-item:nth-child(5) {
  margin-top: 0;
}

  .hero-flow li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-flow li + li::before {
    display: none;
  }

  .rail-item {
    flex-basis: min(78vw, 300px);
  }

  .rail-item img {
    height: 220px;
  }

  .contact-card {
    padding: 26px 20px;
  }
}
