:root{
  --bg:#0b0c10;
  --fg:#f4f4f5;
  --muted:#a1a1aa;
  --card:#111218;
  --line:#24252b;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background:var(--bg);
  color:var(--fg);
  line-height:1.7;
}

a{color:inherit; text-decoration:none}
.container{max-width:980px; margin:0 auto; padding:32px 18px}

.header{
  position:sticky; top:0;
  background:rgba(11,12,16,.82);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 18px;
}
.logo{font-weight:700; letter-spacing:.4px}
.nav a{margin-left:14px; color:var(--muted)}
.nav a:hover{color:var(--fg)}

.footer{
  border-top:1px solid var(--line);
  padding:18px;
  color:var(--muted);
  text-align:center;
}

.btn{
  display:inline-block; margin-top:14px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
}

.grid{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap:14px;
}

.card{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--card);
}
.thumb{aspect-ratio: 4/5; background:#0f1015}
.thumb img{width:100%; height:100%; object-fit:cover; display:block}
.card-title{padding:12px 12px 14px; color:var(--muted)}
.card:hover .card-title{color:var(--fg)}

.work-title{margin:16px 0 6px; font-size:28px}
.work-meta{color:var(--muted); margin-bottom:16px}
.work-img{
  width:100%;
  border-radius:18px;
  border:1px solid var(--line);
}
.work-text{margin-top:10px; color:var(--fg)}
.work-back{margin-top:22px; color:var(--muted)}
.work-back a:hover{color:var(--fg)}

.caption{
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .5px;
}
.caption-title{
  font-style: italic;
}
.hero img{
  width:100%;
  border-radius:18px;
  margin-bottom:24px;
}

.hero-text{
  font-weight:300;
  font-size:22px;
  max-width:700px;
  margin-bottom:24px;
}
header .logo img{
  height: 25px !important;
  width: auto !important;
  display: block;
}

/* ===== HOME HERO ===== */
.home-hero{
  min-height: calc(100vh - 64px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  padding: 72px 20px 48px;
}

/* 배경 안정화: 가장자리 비네트 + 중앙 은은한 글로우 */
.home-hero::before{
  content:"";
  position:absolute; inset:0;
  /*background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.06), rgba(0,0,0,0) 45%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.85) 100%);*/
  pointer-events:none;
}

.home-hero-inner{
  position:relative;
  max-width: 980px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 18px;
}

/* 중앙 로고 크기: 화면에 맞게 자동 조절 */
.home-hero-logo{
  width: min(820px, 92vw);
  height:auto;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.55));
  animation: breathe 3.6s ease-in-out infinite;
}

@keyframes breathe{
  0%, 100% { transform: translateY(0); opacity: 0.98; }
  50%      { transform: translateY(-8px); opacity: 0.1; }
}

/* 한 줄 문장: 더 얇고 고급스럽게 */
.home-hero-tagline{
  margin-top: 6px;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.02em;
  opacity: 0.86;
}

/* CTA 버튼: 미니멀, 테두리만 */
.home-hero-btn{
  margin-top: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  text-decoration:none;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: transform .18s ease, border-color .18s ease, opacity .18s ease, background .18s ease;
}

.home-hero-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  opacity: 1;
}


/* ===== HEADER UPGRADE ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 22px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0));
  backdrop-filter: blur(10px);
}

.nav a{
  opacity: 0.72;
  text-decoration:none;
  margin-left: 18px;
  transition: opacity .18s ease;
}
.nav a:hover{ opacity: 1; }
