:root {
  --bg: #fff; --ink: #17191c; --muted: #5f6670; --line: #e6e8ec;
  --glow: #dce8ff; --primary: #2a5fe8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 1rem/1.7 Pretendard, -apple-system, system-ui, sans-serif;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
header .wrap { max-width: none; padding: 0 clamp(16px, 3vw, 40px); }
header img { height: 22px; display: block; }
nav { display: flex; gap: 24px; font-weight: 500; font-size: .95rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }

.hero { padding: 120px 0 112px; text-align: center; }
.hero h1 img { width: min(560px, 86vw); display: block; margin: 0 auto; mix-blend-mode: multiply; }
header img { mix-blend-mode: multiply; }
.hero p { margin-top: 28px; font-size: 1.15rem; }

section.group { padding: 88px 0 24px; }
section.group h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
section.group > .wrap > p { color: var(--muted); margin-top: 6px; }

.item {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.item:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
.thumb {
  aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; background: #fff;
}
.thumb img { display: block; }
.thumb.cover img { width: 100%; height: 100%; object-fit: cover; }
.thumb.mark img { width: 34%; height: auto; }
.thumb.wide img { width: 78%; height: auto; }

.item h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.item h3 small { font-size: .95rem; font-weight: 400; color: var(--muted); margin-left: 8px; }
.state {
  display: inline-block; margin-top: 8px; padding: 2px 12px;
  border: 1px solid var(--line); border-radius: 9999px; font-size: .85rem; color: var(--muted);
}
.item p { margin-top: 12px; max-width: 34em; }
.stack { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.link {
  display: inline-block; margin-top: 18px; padding: 10px 20px; border-radius: 9999px;
  background: var(--primary); color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem;
}

footer { margin-top: clamp(96px, 12vw, 160px); background: #f1f1f2; color: #5f6368; font-size: 13px; padding: clamp(36px, 5vw, 56px) 0 40px; }
footer a { color: inherit; }
footer p { margin: 0 0 4px; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: start; }
.foot-logo { height: 22px; margin-top: 2px; mix-blend-mode: multiply; }
.foot-main p:first-child { color: #202124; font-weight: 500; }
.sns { display: flex; gap: 10px; }
.sns a { width: 40px; height: 40px; border-radius: 50%; background: #e3e3e6; color: #3c4043; display: grid; place-items: center; transition: background-color .2s ease, color .2s ease; }
.sns a:hover { background: #17191c; color: #fff; }
.biz { margin-top: 40px; line-height: 1.7; }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  nav { gap: 16px; }
  .hero { padding: 88px 0 80px; }
  .item { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
}
/* 마우스 올리면: 그림이 살짝 커지고 테두리가 진해짐, 메뉴는 밑줄, 버튼은 살짝 떠오름 */
.thumb { transition: border-color .25s ease; }
.thumb img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.item:hover .thumb { border-color: #c9ccd2; }
.item:hover .thumb img { transform: scale(1.04); }
.item h3 { transition: color .2s ease; }
.item:hover h3 { color: var(--primary); }
nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s ease, color .2s ease; padding-bottom: 2px; }
nav a:hover { background-size: 100% 1px; }
.link { transition: transform .2s ease, background-color .2s ease; }
.link:hover { background: #1f4fd0; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .thumb img, .link, nav a { transition: none; }
  .item:hover .thumb img, .link:hover { transform: none; }
}

/* 홈 줄 = 상세 페이지 링크 */
a.item { color: inherit; text-decoration: none; }
.more { display: inline-block; margin-top: 16px; font-size: .9rem; font-weight: 500; color: var(--primary); }
.more::after { content: " →"; display: inline-block; transition: transform .2s ease; }
a.item:hover .more::after { transform: translateX(4px); }

/* 상세 페이지 */
.detail { padding: 48px 0 0; }
.detail .wrap { max-width: 860px; }
.back { font-size: .9rem; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.detail h1 { margin-top: 28px; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.detail h1 small { display: block; margin-top: 6px; font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.detail .state { margin-top: 14px; }
.lead { margin-top: 20px; font-size: 1.2rem; }
.hero-img { margin-top: 40px; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.hero-img.cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-img.logo img { width: 46%; height: auto; }
.detail h2 { margin-top: 64px; font-size: 1.35rem; font-weight: 600; }
.detail h2 + p, .detail h2 + ul { margin-top: 14px; }
.detail p + p { margin-top: 12px; }
.points { list-style: none; border-top: 1px solid var(--line); }
.points li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail .stack { font-size: 1rem; color: var(--ink); margin-top: 14px; }
.gallery { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery figure { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; display: block; }
.gallery figcaption { padding: 10px 14px; font-size: .875rem; color: var(--muted); }
.detail .link { margin-top: 48px; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } .detail { padding-top: 32px; } }
