/* Gold24k — modern minimal
   paper 바탕, ink 글자, stone 구분, gold 는 밑줄·포커스에만 */
:root {
  --paper: #FBFAF8;
  --stone: #E8E4DD;
  --ink: #2C2A28;
  --mute: #857F76;
  --gold: #A8843A;

  --serif: 'Gowun Batang', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  /* 화면 가장자리에서 본문 시작선까지의 거리 (사진 띠 정렬용) */
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, p { margin: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -48px; z-index: 20;
  padding: 8px 14px; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* Header: PC는 메인 사진 위에 투명하게 겹치고, 메뉴는 로고 옆(빈 배경 쪽)에 둔다 */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.header-inner {
  display: flex; align-items: center; gap: 56px;
  height: 80px;
}
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; padding: 4px 0; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }

/* Buttons & links */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 3px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #45413D; }
.text-link {
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  padding: 6px 0;
}
.text-link:hover { color: var(--gold); }

/* Hero: 사진이 화면 폭을 가득 채우고, 글은 왼쪽 빈 배경 위에 */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  /* 폭에 비례해 높이 제한(62vw): 세로가 긴 화면에서도 모델이 글 쪽으로 밀려오지 않게 */
  min-height: min(100vh, 1000px, 62vw);
  min-height: min(100svh, 1000px, 62vw);
  background: var(--stone);
  overflow: hidden;
}
.hero-photo, .hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-photo img {
  object-fit: cover;
  object-position: 100% 0%;
  animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes settle {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}
.hero-text {
  position: relative;
  /* 왼쪽 여백 + 글 폭 (얼굴에 닿지 않게) */
  width: min(50%, calc(var(--edge) + 580px));
  padding: 128px 0 96px var(--edge);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 3.3vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.hero-title span { display: block; }
.hero-lead {
  margin-top: 24px;
  max-width: 24em;
  font-size: 17px;
  color: var(--mute);
}
.credential { margin-top: 20px; font-size: 15px; }
.credential small { display: block; font-size: 12px; color: var(--mute); }
.hero .actions { margin-top: 36px; }

/* Wall: 서순라길 돌담처럼 가로로 이어지는 사진 띠 */
.wall { padding: 112px 0 0; }
.wall-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.wall-track {
  --wall-h: clamp(300px, 30vw, 400px);
  list-style: none;
  margin: 0;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 0 var(--edge) 20px;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
}
.wall-item { flex: none; scroll-snap-align: start; }
.wall-item img {
  height: var(--wall-h);
  width: auto;
  background: var(--stone);
}

/* About */
.about { padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: center;
}
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.about-body { max-width: 30em; }
.about-body p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.9;
}
.about-body p + p { margin-top: 1em; }

/* Services */
.services { padding: 0 0 120px; }
.service-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}
.service { border-top: 1px solid var(--ink); padding-top: 20px; }
.service dt {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service dd { margin: 0; font-size: 15px; color: var(--mute); }
.services-note { margin-top: 40px; font-size: 15px; }

/* Section heading */
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

/* Visit */
.visit { padding: 96px 0 120px; border-top: 1px solid var(--stone); }
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 64px;
  align-items: start;
}
.info { margin: 0 0 40px; max-width: 34em; }
.info-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--stone);
}
.info-row:first-child { border-top: 1px solid var(--stone); }
.info-row dt { color: var(--mute); font-size: 14px; padding-top: 2px; }
.info-row dd { margin: 0; font-size: 16px; }
.info-row a { text-decoration: none; }
.info-note { color: var(--mute); font-size: 14px; }
.visit-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--stone); }

/* FAQ */
.faq { padding: 0 0 120px; }
.faq-list { max-width: 44em; border-top: 1px solid var(--stone); }
.faq-item { border-bottom: 1px solid var(--stone); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 32px 20px 0;
  position: relative;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 4px; top: 18px;
  font-size: 20px; color: var(--mute); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; color: var(--mute); }

/* Footer */
.site-footer {
  background: var(--stone);
  padding: 56px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
}
.footer-brand img { height: 30px; width: auto; }
.footer-links { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 20px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.footer-links a:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.icon { width: 18px; height: 18px; flex: none; fill: currentColor; }
.biz { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.biz div { display: flex; gap: 12px; }
.biz dt { color: var(--mute); flex: none; }
.biz dd { margin: 0; }
.biz a { text-decoration: none; }
.copy { margin-top: 48px; color: var(--mute); font-size: 12px; }

/* 작은 PC: 메뉴가 사진 속 얼굴에 닿지 않도록 간격을 줄인다 */
@media (min-width: 900px) and (max-width: 1199px) {
  .header-inner { gap: 32px; }
  .nav { gap: 18px; font-size: 14px; }
}
@media (min-width: 900px) and (max-width: 999px) {
  .nav-store { display: none; }   /* 메인 버튼에 스마트스토어 링크가 있다 */
}

/* Mobile */
@media (max-width: 899px) {
  /* 모바일: 사진 윗부분이 바로 얼굴이라 메뉴 글자는 숨기고 로고만 사진 위에 */
  .header-inner { height: 64px; }
  .nav { display: none; }
  .brand img { height: 28px; }
  .nav { gap: 18px; font-size: 14px; }

  /* 모바일: 사진이 첫 화면을 채우고, 아래 흰 캐미솔 위에 글 */
  .hero {
    display: flex; flex-direction: column; justify-content: flex-end; position: relative;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-photo { position: absolute; inset: 0; }
  .hero-photo img { object-position: 24% 0%; }
  .hero-photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(251, 250, 248, .96) 0%, rgba(251, 250, 248, .7) 28%, rgba(251, 250, 248, 0) 52%);
  }
  .hero-text { width: auto; align-self: stretch; padding: 0 var(--gutter) 36px; }
  .hero-title { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .hero-lead { font-size: 15px; margin-top: 14px; color: var(--ink); opacity: .75; }
  .hero .actions { margin-top: 24px; }

  .wall { padding-top: 80px; }
  .wall-title { font-size: 1.3rem; margin-bottom: 20px; }
  .wall-track { gap: 10px; --wall-h: 340px; }

  .about { padding: 88px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .services { padding-bottom: 88px; }
  .service-list { grid-template-columns: 1fr; }
  .service {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-top-color: var(--stone);
  }
  .service:first-child { border-top-color: var(--ink); }
  .service dt { font-size: 1.1rem; margin: 0; }

  .visit { padding: 72px 0 88px; }
  .visit-grid { grid-template-columns: 1fr; gap: 48px; }
  .visit-photo img { aspect-ratio: 4 / 5; }
  .actions .btn { flex: 1 1 auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .biz { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img { animation: none; }
  .btn { transition: none; }
}
