@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --bg: #fbf7f1;
  --paper: #fffaf4;
  --ink: #221b17;
  --muted: #756b62;
  --line: #ded1c2;
  --soft: #f3e9dc;
  --accent: #b8835b;
  --accent-dark: #7a4e32;
  --rose: #d9b4a7;
  --sage: #a9b09b;
  --reverse: #fffaf4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  letter-spacing: -0.018em;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(22px, 4vw, 56px);
  background: rgba(251, 247, 241, 0.88);
  border-bottom: 1px solid rgba(34, 27, 23, 0.12);
  backdrop-filter: blur(16px);
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #4f443c;
}

nav a { position: relative; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
nav a:hover::after { width: 100%; }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 20%, rgba(216, 180, 167, 0.26), transparent 34%),
    linear-gradient(135deg, #fffaf4 0%, #f7eee4 58%, #efe0d1 100%);
}

.hero-text {
  padding: clamp(58px, 8vw, 112px) clamp(24px, 4vw, 56px) clamp(44px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1 {
  margin-bottom: 28px;
  max-width: 880px;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 760;
}

h2 {
  margin-bottom: 42px;
  font-size: clamp(36px, 5.2vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.052em;
  font-weight: 760;
}

h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 740;
}

.lead {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.65;
  color: #4d433b;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--ink); color: var(--reverse); border-color: var(--ink); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghost { background: rgba(255, 250, 244, 0.42); color: var(--ink); border-color: rgba(34, 27, 23, 0.34); }
.btn.ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.hero-card {
  margin: clamp(18px, 3vw, 40px) clamp(20px, 4vw, 56px) clamp(18px, 3vw, 40px) 0;
  background: var(--soft);
  overflow: hidden;
  min-height: 600px;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(88, 63, 42, 0.18);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02) sepia(0.08);
}

.intro {
  padding: clamp(70px, 9vw, 128px) clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #2a211d;
  color: var(--reverse);
}

.intro p {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(30px, 4.3vw, 64px);
  line-height: 1.22;
  letter-spacing: -0.055em;
  font-weight: 680;
}

.section {
  padding: clamp(74px, 9vw, 126px) clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.section > .eyebrow,
.section > h2 {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: clamp(28px, 3.2vw, 42px);
  min-height: 330px;
  background: rgba(255, 250, 244, 0.74);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(112, 86, 62, 0.08);
}

.card::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(184, 131, 91, 0.13);
}

.card span {
  display: block;
  margin-bottom: 74px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-dark);
}

.card p {
  max-width: 460px;
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  color: #574c43;
  letter-spacing: -0.024em;
}

.dark {
  background: #342824;
  color: var(--reverse);
}
.dark .eyebrow { color: #e1b99a; }
.dark .card {
  background: rgba(255, 250, 244, 0.08);
  color: var(--reverse);
  border-color: rgba(255, 250, 244, 0.22);
  box-shadow: none;
}
.dark .card::before { background: rgba(217, 180, 167, 0.18); }
.dark .card span { color: #e9c3a8; }
.dark .card p { color: #e4d7cc; }
.card.light { background: rgba(255, 250, 244, 0.08); color: var(--reverse); }

.gallery { background: #fffaf4; }
.gallery-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  filter: saturate(0.84) contrast(1.02) sepia(0.06);
  transition: filter 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-grid img:hover {
  filter: saturate(1) contrast(1.02);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(112, 86, 62, 0.16);
}

.cta {
  text-align: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(169, 176, 155, 0.22), transparent 30%),
    linear-gradient(135deg, #f5eadf, #fffaf4);
}
.cta .eyebrow, .cta h2 { text-align: center; }
.cta p {
  margin: -14px auto 30px;
  max-width: 560px;
  color: #574c43;
  font-size: 17px;
}

.site-footer {
  padding: 62px clamp(24px, 4vw, 56px) 44px;
  background: #2a211d;
  color: var(--reverse);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 0.85fr;
  gap: clamp(28px, 4vw, 52px);
  border-top: 1px solid rgba(255, 250, 244, 0.18);
  padding-top: 36px;
}

.footer-column h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.footer-column h4 {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e1b99a;
}

.footer-column p {
  margin: 0 0 10px;
  color: #dfd1c6;
  line-height: 1.72;
  font-size: 14px;
  letter-spacing: -0.015em;
}
.footer-column a:hover { text-decoration: underline; }

.footer-link-btn {
  display: block;
  width: fit-content;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: #dfd1c6;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.footer-link-btn:hover { border-bottom-color: #e1b99a; color: #fffaf4; }

.policy-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(34, 27, 23, 0.72);
  padding: 46px 20px;
}
.policy-modal.is-open { display: block; }

.policy-modal-box {
  position: relative;
  max-width: 880px;
  max-height: 84vh;
  overflow-y: auto;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px);
  background: #fffaf4;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(34, 27, 23, 0.26);
}

.policy-modal-box h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 760;
}

.policy-modal-box h3 {
  margin: 30px 0 8px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.policy-modal-box p,
.policy-modal-box li {
  font-size: 15px;
  color: #4f443c;
  line-height: 1.82;
  letter-spacing: -0.018em;
}
.policy-modal-box ul { margin: 10px 0 10px 20px; padding: 0; }

.policy-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf4;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.policy-close:hover { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }

@media (max-width: 980px) {
  nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero-card { min-height: auto; margin: 0 24px 34px; }
  .hero-card img { height: auto; }
  .cards.two { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { height: 64px; }
  nav { display: none; }
  h1 { font-size: clamp(40px, 13vw, 62px); line-height: 1.12; }
  h2 { font-size: clamp(34px, 11vw, 50px); }
  .lead { font-size: 17px; }
  .btn { width: 100%; }
  .card { min-height: auto; padding: 26px 22px 32px; }
  .card span { margin-bottom: 44px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 30px; }
  .policy-modal { padding: 20px 12px; }
}
