/* mate. 디자인 기본 — 색·글꼴·버튼. 색을 바꾸려면 아래 :root 값만 고치세요. */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,600&family=Gaegu:wght@400;700&family=Gowun+Batang:wght@400;700&display=swap");

:root {
  --butter: #f4e39a;
  --butter-deep: #e9cf5f;
  --cream: #faf8f1;
  --sage: #a8b59a;
  --sage-deep: #6f7d62;
  --ink: #33372f;
  --ink-soft: #5d6157;
  --beige: #e8ded0;
  --line: #e4ddcf;
  --white: #fffefa;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif-en: "Fraunces", "Times New Roman", serif;
  --serif-ko: "Gowun Batang", "Nanum Myeongjo", serif;
  --hand: "Gaegu", "Nanum Pen Script", cursive;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--sage-deep); outline-offset: 2px; border-radius: 6px; }

.logo { font-family: var(--serif-en); font-weight: 600; letter-spacing: -0.04em; text-decoration: none; }
.logo b { color: var(--butter-deep); font-weight: 600; }
.en { font-family: var(--serif-en); letter-spacing: 0.02em; }
.hand { font-family: var(--hand); font-weight: 700; }
.eyebrow { font-family: var(--serif-en); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--cream); font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.butter { background: var(--butter); border-color: var(--butter); color: var(--ink); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }

/* 사진 자리 — assets/photos 에 그림 파일을 넣으면 자동으로 사진이 보인다 */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius); margin: 0;
  background: linear-gradient(155deg, var(--ph-a, #efe3c4), var(--ph-b, #d9dccb));
  aspect-ratio: var(--ratio, 4/5);
}
.ph::after { /* 필름 결 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .ph-art { position: absolute; inset: 0; display: grid; place-items: center; }
.ph .ph-cap {
  position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 2;
  font-family: var(--hand); font-size: 18px; color: rgba(51,55,47,.72); line-height: 1.2;
}
.ph.has-img .ph-art, .ph.has-img .ph-cap { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
}
.notice-ai { font-size: 12px; color: var(--ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
