* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.stage {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.title {
  font-weight: 400;
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.tagline {
  margin-top: 12px;
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 22px);
  color: #fff;
}

.actions {
  margin-top: 56px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.action {
  color: #fff;
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: 0.04em;
  padding: 4px 2px;
  transition: opacity 0.15s ease;
}

.action:hover { opacity: 0.6; }

/* portfolio placeholder */
.blank {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back {
  position: fixed;
  top: 24px;
  left: 24px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.6;
  z-index: 10;
}
.back:hover { opacity: 1; }

/* -------- form/admin -------- */
.form-page { background: #000; }

/* display 를 준 상자는 hidden 을 무시한다. 접힌 칸이 빈 자리로 남는 것을 막는다 */
[hidden] { display: none !important; }

.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 96px;
}

.form-head { margin-bottom: 48px; }

.form-title {
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.form-sub {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}

.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.form-note strong { font-weight: 700; color: #fff; }

.form-contact {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.form-contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-contact a:hover { opacity: 0.7; }

.order-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fset {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.fset-title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  gap: 20px;
}
.row.col { grid-template-columns: 1fr; }
.row.col label { margin-bottom: 8px; }

.row label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  padding-top: 10px;
  letter-spacing: 0.02em;
}

.row label .req { color: #c22121; margin-left: 2px; }

.row label .hint {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  letter-spacing: 0;
}

.row input,
.row textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 0;
  transition: border-color 0.15s ease;
}

.row input:focus,
.row textarea:focus {
  outline: none;
  border-color: #fff;
}

.row textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.row input::placeholder,
.row textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 0 4px 20px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.fset-note {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.fset-note strong { color: rgba(255,255,255,0.85); font-weight: 400; }

/* 못 쓰는 조합을 사기 전에 알리는 자리. 흐린 안내문과 같은 톤이면 그냥 지나친다 */
.fset-note.warn {
  margin: 12px 0 4px;
  padding: 13px 15px;
  border-left: 2px solid #c22121;
  background: rgba(194,33,33,0.08);
  color: rgba(255,255,255,0.75);
}
.fset-note.warn strong { color: #fff; }

/* 주문 상품 고르는 줄 */
.picks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.pick:hover { border-color: rgba(255,255,255,0.5); }
.pick:has(input:checked) {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

.pick input[type="radio"] {
  accent-color: #c22121;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.pick-name {
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
}

/* 라디오 몇 개를 한 줄에 세우는 칸 */
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  min-height: 44px;
}
.choices.col { flex-direction: column; align-items: flex-start; gap: 12px; }

.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
}
.choice input[type="radio"] {
  accent-color: #c22121;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.choice:hover { color: #fff; }

.color-input {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.color-input input[type="text"] { flex: 1; }
.color-input input[type="color"] {
  width: 44px;
  height: 44px;
  padding: 2px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
}

.submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.submit-btn {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.submit-btn:hover:not(:disabled) { opacity: 0.7; }
.submit-btn:disabled { opacity: 0.4; cursor: default; }

.form-status {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: right;
  margin-top: 8px;
  min-height: 1.4em;
}
.form-status.err { color: #ff6b6b; }

/* -------- admin -------- */
.admin-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.admin-bar > span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: auto;
}
.ghost-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.ghost-btn:hover { border-color: #fff; }

.empty {
  text-align: center;
  padding: 60px 0;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

.order-card {
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 20px;
  padding: 20px;
}

.order-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
}
.order-date {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.order-name {
  font-size: 14px;
  color: #fff;
  margin-right: auto;
}
.del-btn {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  cursor: pointer;
}
.del-btn:hover { color: #ff6b6b; border-color: #ff6b6b; }

.order-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.order-tbl th,
.order-tbl td {
  padding: 8px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.order-tbl th {
  width: 180px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-right: 16px;
}
.order-tbl td {
  color: #fff;
}
.order-tbl td pre {
  font-family: inherit;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

/* mobile */
@media (max-width: 640px) {
  .form-wrap { padding: 72px 20px 72px; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row label { padding-top: 0; }
  .order-tbl th { width: 130px; }
}

/* -------- products (상품 설명) -------- */
.products-page { background: #000; }

.pwrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 96px 24px 96px;
}

.phead { margin-bottom: 64px; }

.prod { padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15); margin-bottom: 72px; }

.prod-no {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.prod-tt { font-size: clamp(22px, 3vw, 30px); font-weight: 400; letter-spacing: 0.01em; }
.prod-dd {
  margin-top: 14px;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  word-break: keep-all;
}
.prod-hint { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.35); }
.prod-soon {
  margin-top: 22px;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 14px;
}

/* -------- 진열대 -------- */

.pgal { display: grid; gap: 28px; }
@media (min-width: 860px) { .pgal { grid-template-columns: 1fr 1fr; gap: 32px; } }

.ptile {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,0.15);
  background: #000;
  transition: border-color .25s;
}
.ptile:hover { border-color: rgba(255,255,255,0.5); }

/* 액자는 두 칸이 같은 높이여야 진열대로 보인다. 표지 원본 비율이 서로 달라
   (2320×1600 과 1160×800) 액자를 고정하고 안에서 채워 자른다 */
.ptile-th { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0a; }
.ptile-th img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .35s ease;
}
.ptile:hover .ptile-th img { transform: scale(1.02); }

.ptile-tx { display: block; padding: 24px 22px 26px; border-top: 1px solid rgba(255,255,255,0.15); }
.ptile-no { display: block; font-size: 11px; letter-spacing: 0.14em; color: rgba(255,255,255,0.4); }
.ptile-tt { display: block; margin-top: 12px; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: 0.01em; }
.ptile-dd {
  display: block; margin-top: 12px;
  font-size: 13px; line-height: 1.8;
  color: rgba(255,255,255,0.65); word-break: keep-all;
}
.ptile-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 11px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}
.ptile-meta::after {
  content: "자세히 보기 →";
  flex: 0 0 auto;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}
.ptile:hover .ptile-meta::after { color: #fff; }

.pgroup { margin-top: 44px; }
.pgroup-tt {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.pgroup-tt em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.pcard {
  display: block;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #fff;
  transition: border-color 0.15s ease;
}
.pcard:hover { border-color: #fff; }

.pcard-th {
  display: block;
  position: relative;
  aspect-ratio: 1440 / 994;
  background: #111;
  overflow: hidden;
}
.pcard-th img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pcard-play {
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 3px 7px;
}

.pcard-tx { display: block; padding: 13px 14px 15px; }
.pcard-tt { display: block; font-size: 14px; letter-spacing: 0.01em; line-height: 1.4; }
.pcard-dd {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  word-break: keep-all;
}

.pfoot {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  gap: 28px;
}

/* 크게 보기 — 1440px 녹화는 휴대폰 폭에서 글씨가 안 읽힌다. 원래 크기로 두고 가로로 민다 */
.plight {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99;
  display: flex;
  flex-direction: column;
}

.plight-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.plight-tt {
  margin-right: auto;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.plight-sc {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  align-items: center;
}
.plight-sc img { width: 1440px; max-width: none; height: auto; flex: 0 0 auto; }

.plight-scene {
  padding: 12px 16px 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.1);
  word-break: keep-all;
}

@media (max-width: 900px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pwrap { padding: 72px 20px 72px; }
  .pgrid { grid-template-columns: 1fr; gap: 12px; }
  .plight-tt { font-size: 12px; }
}
