/* ── 히어로 ───────────────────────────────
   사진 한 장이 화면 전체를 채우고 그 위에 글이 얹힌다.
   .hero는 화면 폭을 꽉 채우므로 .container를 붙이지 않는다.
   좌우 여백은 안쪽의 .hero-inner가 담당한다. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding-top: 60px;
  padding-bottom: 80px;
  overflow: hidden;
}

/* 사진 자리. 사진이 없으면 한지 질감이 그대로 보인다 */
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--paper);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* 글자가 사진에 묻히지 않도록 왼쪽을 덮는 막 */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--hero-scrim);
}

.hero-inner { position: relative; width: 100%; }

.hero-copy { max-width: 560px; }
.hero-copy h1 { white-space: pre-line; margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 42px; max-width: 30ch; }
.hero-rule { margin-top: 64px; }
.hero-tagline {
  display: block;
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--ink-soft); text-transform: uppercase;
}

/* 사진이 아직 없을 때만 보이는 안내 문구 */
.hero-ph {
  position: absolute;
  right: 6%; bottom: 12%;
  font-family: var(--serif); font-size: 16px;
  color: var(--ink-soft); letter-spacing: 0.1em;
  border: 1px solid var(--line);
  background: var(--label-veil);
  padding: 10px 18px;
}

/* ── 섹션 헤더 ─────────────────────────── */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 56px;
}
.section-head h2 { max-width: 620px; white-space: pre-line; }
.link-more {
  font-size: 13px; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
  white-space: nowrap;
}
.link-more:hover { border-bottom-color: var(--ink); }

/* ── 작품 그리드 ───────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.work-card { cursor: pointer; }
.work-figure {
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
  overflow: hidden;
  margin-bottom: 18px;
}
.work-figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.work-card:hover .work-figure img { transform: scale(1.03); }
.work-figure.is-empty {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
}
.work-figure.is-empty span {
  font-family: var(--serif); font-size: 16px;
  color: var(--ink-soft); letter-spacing: 0.08em;
  background: var(--label-veil); padding: 8px 14px;
}
.work-cat {
  display: block; font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink-soft); text-transform: uppercase; margin-bottom: 8px;
}
.work-meta h3 { font-size: 20px; }

/* ── 소개 미리보기 ─────────────────────── */
.intro-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.intro-visual {
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border: 1px solid var(--line);
}

/* ── 서비스 3종 ────────────────────────── */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.service-item { background: var(--bg); padding: 52px 40px; }
.service-item h3 { margin-bottom: 14px; }
.service-item p { color: var(--ink-soft); font-size: 15px; }
.service-num {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--brick); display: block; margin-bottom: 20px;
}

/* ── 문의 배너 ─────────────────────────── */
.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 18px; white-space: pre-line; }
.cta-banner .lead { margin-bottom: 38px; }

@media (max-width: 1023px) {
  .hero {
    min-height: calc(100vh - 76px);
    padding-top: 40px;
    padding-bottom: 72px;
  }
  .hero-rule { margin-top: 44px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-split { grid-template-columns: 1fr; gap: 44px; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  /* 좁은 화면에서는 사진을 가로로 자르면 꽃이 잘려나가므로
     글을 위로 올리고 막을 위→아래 방향으로 바꾼다. */
  .hero {
    align-items: flex-start;
    min-height: 88vh;
    padding-top: 56px;
  }
  .hero-bg { background-position: 62% center; }
  .hero-scrim { background: var(--hero-scrim-narrow); }
  .hero-ph { right: 50%; transform: translateX(50%); bottom: 6%; font-size: 14px; }

  .work-grid { grid-template-columns: 1fr; gap: 44px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-item { padding: 38px 26px; }
}

/* ── 페이지 머리 ───────────────────────── */
.page-head { padding-top: 88px; padding-bottom: 72px; }
.page-head h1 { max-width: 780px; white-space: pre-line; margin-bottom: 22px; }
.page-head .lead { max-width: 620px; }

/* ── 소개 ─────────────────────────────── */
.artist-split {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 72px; align-items: start;
}
.artist-photo {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background: var(--paper);
}
.artist-name { font-size: 30px; margin-bottom: 6px; }
.artist-role {
  font-size: 11px; letter-spacing: 0.28em;
  color: var(--brick); text-transform: uppercase; margin-bottom: 30px; display: block;
}

.process-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.process-step { border-top: 1px solid var(--brick); padding-top: 26px; }
.process-step .num {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--ink-soft); display: block; margin-bottom: 18px;
}
.process-step h3 { margin-bottom: 12px; }
.process-step p { color: var(--ink-soft); font-size: 15px; }

@media (max-width: 1023px) {
  .artist-split { grid-template-columns: 1fr; gap: 44px; }
  .artist-photo { max-width: 420px; }
  .process-list { grid-template-columns: 1fr; gap: 34px; }
  .page-head { padding-top: 56px; padding-bottom: 48px; }
}

/* ── 필터 ─────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0; margin-bottom: 56px;
}
.filter-btn {
  border: 1px solid transparent; background: none;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-soft); padding: 8px 18px; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active { color: var(--ink); border-color: var(--line); }

.empty-note {
  padding: 80px 0; text-align: center;
  color: var(--ink-soft); font-size: 15px;
}

/* ── 라이트박스 ────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: var(--overlay);
  display: none; align-items: center; justify-content: center;
  padding: 48px;
}
.lightbox.is-open { display: flex; }
.lightbox-inner {
  max-width: 960px; width: 100%;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: center;
}
.lightbox-inner .work-figure { margin: 0; aspect-ratio: 3 / 4; }
.lightbox-text { color: var(--on-overlay); }
.lightbox-text h3 { font-size: 30px; margin-bottom: 10px; color: var(--on-overlay); }
.lightbox-text .work-cat { color: var(--on-overlay-dim); }
.lightbox-text p { color: var(--on-overlay-soft); font-size: 15px; margin-top: 20px; }
.lightbox-close {
  position: absolute; top: 28px; right: 34px;
  background: none; border: 0; cursor: pointer;
  color: var(--on-overlay); font-size: 30px; line-height: 1;
  font-family: var(--sans);
}

@media (max-width: 767px) {
  .lightbox { padding: 24px; }
  .lightbox-inner { grid-template-columns: 1fr; gap: 24px; }
  .lightbox-inner .work-figure { aspect-ratio: 4 / 3; }
  .filter-bar { margin-bottom: 36px; }
}

/* ── 폼 ───────────────────────────────── */
.form-split {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: 80px; align-items: start;
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px;
}
.field { display: flex; flex-direction: column; }
.field.is-full { grid-column: 1 / -1; }
.field label {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px;
}
.field label .req { color: var(--brick); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 0; width: 100%;
  transition: border-color .2s;
}
.field select { padding: 12px 0; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-bottom-color: var(--sage);
}
.form-actions { grid-column: 1 / -1; margin-top: 14px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 18px; }

.form-success {
  border: 1px solid var(--sage);
  padding: 30px 34px; margin-top: 28px;
  display: none;
}
.form-success.is-shown { display: block; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ── 일정표 ───────────────────────────── */
.schedule { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td {
  text-align: left; padding: 20px 14px;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.schedule th {
  font-family: var(--sans); font-weight: 400;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom-color: var(--ink);
}
.schedule td:first-child { font-family: var(--serif); white-space: nowrap; }
.seat-full { color: var(--brick); }
.seat-open { color: var(--sage); }

.schedule-cards { display: none; }
.schedule-card {
  border-bottom: 1px solid var(--line); padding: 22px 0;
}
.schedule-card .date {
  font-family: var(--serif); font-size: 17px; margin-bottom: 6px;
}
.schedule-card .row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--ink-soft); margin-top: 6px;
}

@media (max-width: 1023px) {
  .form-split { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 767px) {
  .form-grid { grid-template-columns: 1fr; }
  .schedule { display: none; }
  .schedule-cards { display: block; }
}
