/* =============================================
   디자인예감 — 공통 스타일시트
   카페24 웹호스팅용 순수 CSS
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: #333;
  letter-spacing: -0.01em;
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid #e5e5e5; position: relative; }
.site-header__inner {
  max-width: 1400px; margin: 0 auto; padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header__logo img { height: 2.75rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4rem; list-style: none; }
.site-nav a { font-size: 0.9375rem; color: #525252; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: #171717; font-weight: 500; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #333; transition: .3s; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 5rem; border-top: 1px solid #e5e5e5; }
.site-footer__inner {
  max-width: 1400px; margin: 0 auto; padding: 2.5rem 2rem;
  display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
}
.site-footer__info { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.8125rem; color: #737373; }
.site-footer__name { font-weight: 500; color: #171717; }
.site-footer__meta { line-height: 1.8; }
.site-footer__blog { font-family: Georgia,serif; font-size: 1.5rem; font-style: italic; letter-spacing: -.02em; color: #262626; align-self: flex-start; }

/* ---------- Container ---------- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 3rem; }
.container--narrow { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.container--md { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }

/* ---------- Page Title ---------- */
.page-title { font-size: 2rem; font-weight: 300; line-height: 1.55; letter-spacing: -0.02em; color: #262626; padding-top: 5rem; }

/* ---------- Hero Slider ---------- */
.hero { position: relative; height: 78vh; width: 100%; overflow: hidden; background: #f5f5f5; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero__slide.active { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3); padding: 1.5rem; text-align: center; color: #fff;
}
.hero__title { font-size: clamp(1.75rem,4vw,3rem); font-weight: 700; letter-spacing: -.02em; text-shadow: 0 2px 8px rgba(0,0,0,.4); margin-bottom: 1rem; line-height: 1.3; }
.hero__sub { max-width: 42rem; font-size: clamp(1rem,1.5vw,1.25rem); line-height: 1.7; opacity: .9; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hero__dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: .5rem; }
.hero__dot { height: 6px; border-radius: 9999px; border: none; background: rgba(212,212,212,.6); width: 16px; transition: width .3s, background .3s; padding: 0; }
.hero__dot.active { width: 32px; background: #262626; }

/* ---------- About ---------- */
.about-intro__right { margin-top: 3rem; display: flex; justify-content: flex-end; }
.about-intro__text { max-width: 36rem; font-size: .875rem; line-height: 2; color: #525252; }
.about-intro__text p + p { margin-top: .75rem; }
.about-panorama { margin-top: 4rem; }
.about-panorama img { width: 100%; height: 340px; object-fit: cover; }
.about-works { margin-top: 5rem; }
.about-works__title { font-size: 1.5rem; font-weight: 300; line-height: 1.6; letter-spacing: -.02em; color: #262626; }
.about-works__list { margin: 2.5rem auto 5rem; max-width: 1100px; font-size: .75rem; line-height: 2; color: #737373; text-align: justify; padding: 0 3rem; }

/* ---------- Service ---------- */
.service-list { margin-top: 5rem; padding-bottom: 2.5rem; display: flex; flex-direction: column; gap: 5rem; }
.service-item { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; }
.service-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.service-item__title { font-size: 1.125rem; font-weight: 500; color: #171717; }
.service-item__body { margin-top: 1.5rem; font-size: .875rem; line-height: 2; color: #525252; }

/* ---------- Portfolio ---------- */
.portfolio-grid { margin-top: 4rem; display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; row-gap: 3.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px)  { .portfolio-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(4,1fr); } }
.portfolio-card { cursor: pointer; }
.portfolio-cover { background: #efece7; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.portfolio-cover__book { height: 100%; width: 72%; box-shadow: 0 18px 30px -12px rgba(0,0,0,.25); }
.portfolio-card__title { margin-top: 1.25rem; font-size: .875rem; font-weight: 500; line-height: 1.4; color: #262626; }
.portfolio-more { display: flex; justify-content: center; padding-bottom: 4rem; }
.btn-more { border: 1px solid #d4d4d4; background: #fff; border-radius: 9999px; padding: .75rem 2rem; font-size: .875rem; font-weight: 500; color: #525252; transition: background .2s, color .2s; }
.btn-more:hover { background: #fafafa; color: #171717; }

/* ---------- Contact ---------- */
.contact-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 4rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field label { font-size: .75rem; color: #737373; }
.form-field input, .form-field textarea { border: 1px solid #d4d4d4; padding: .625rem .75rem; font-size: .8125rem; font-family: inherit; outline: none; transition: border-color .2s; background: #fff; color: #333; }
.form-field input:focus, .form-field textarea:focus { border-color: #737373; }
.form-field textarea { resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; }
.btn-submit { border: 1px solid #a3a3a3; background: none; padding: .625rem 2rem; font-size: .75rem; letter-spacing: .2em; color: #525252; transition: background .2s, color .2s; }
.btn-submit:hover { background: #171717; color: #fff; }
.contact-info { padding-top: 2rem; display: flex; flex-direction: column; gap: 2rem; font-size: .875rem; color: #262626; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .container, .container--narrow, .container--md { padding: 0 1.25rem; }
  .site-header__inner { padding: 1rem 1.25rem; }
  .site-nav {
    display: none; flex-direction: column; gap: 1.5rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 1.5rem 1.25rem;
    border-bottom: 1px solid #e5e5e5; z-index: 100;
  }
  .site-nav.open { display: flex; }
  .hamburger { display: flex; }
  .page-title { font-size: 1.5rem; padding-top: 2.5rem; }
  .about-intro__right { justify-content: flex-start; }
  .service-item { grid-template-columns: 1fr; }
  .service-item img { max-width: 260px; }
  .site-footer__inner { flex-d