:root{--build-id:"0e7d86c0-2b53-44dc-990f-4f88bb54c449";}
/* ====================================
   이비소로22 - 그릇 전문 스타일시트
   변수: L15, C20, T24, B10, N05, K10, S05, H10, F3, CS10
   ==================================== */

/* 1. Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Malgun Gothic", "Noto Sans KR", -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: #991b1b;
  background-color: #fee2e2;
}

/* 2. 색상 변수 (C20) */
:root {
  --primary: #dc2626;
  --bg: #fee2e2;
  --text: #991b1b;
  --accent: #ef4444;
  --heading: #991b1b;
  --link: #991b1b;
}

/* 3. 타이포그래피 (H10) */
h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.015em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.715rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--heading);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* 4. 레이아웃 (S05) */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
}

.section-gap {
  gap: 5rem;
}

/* 5. 네비게이션 (N05) */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(254, 226, 226, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--primary);
}

/* 6. 버튼 (B10) */
.btn {
  display: inline-block;
  border-radius: 0.75rem;
  padding: 1.125rem 2.25rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  opacity: 1;
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* 7. 카드 (K10) */
.card {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateX(5px);
}

/* 8. 히어로 섹션 (L15 - 컴팩트 히어로) */
.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* 9. 그리드 갤러리 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

/* 10. 푸터 */
footer {
  background: rgba(220, 38, 38, 0.05);
  padding: 4rem 0 2rem;
  border-top: 2px solid var(--primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  font-size: 0.875rem;
}

/* 11. 접근성 */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* 12. 반응형 */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(254, 226, 226, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 13. Privacy/Terms 페이지용 */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 10rem 2rem 5rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

.doc-container p {
  font-size: 1.125rem;
  line-height: 1.8;
}

/* 14. 유틸리티 */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

ul.styled-list {
  list-style: none;
  padding-left: 0;
}

ul.styled-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

ul.styled-list li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
}