/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #111111;
  --dark: #222222;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --border: #e0e0e0;
  --white: #ffffff;
  --accent: #1a1a1a;
  --font-en: 'Montserrat', sans-serif;
  --font-kr: 'Noto Sans KR', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-en);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.1rem;
}

.en {
  font-family: var(--font-en);
}

.kr {
  font-family: var(--font-kr);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--black);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-en);
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

.btn-solid {
  background: var(--black);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--dark);
  border-color: var(--dark);
}

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

#header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 36px;
}

.nav-menu a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--black);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.nav-contact-btn {
  display: none;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 40px;
  flex-direction: column;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--black);
  opacity: 0;
  transform: translateY(12px);
}

/* 메뉴가 열리면 각 항목이 시간차로 하나씩 나타남 */
.mobile-menu.open a {
  animation: mobileMenuIn 0.4s ease forwards;
}

.mobile-menu.open a:nth-child(1) {
  animation-delay: 0.05s;
}

.mobile-menu.open a:nth-child(2) {
  animation-delay: 0.12s;
}

.mobile-menu.open a:nth-child(3) {
  animation-delay: 0.19s;
}

.mobile-menu.open a:nth-child(4) {
  animation-delay: 0.26s;
}

.mobile-menu.open a:nth-child(5) {
  animation-delay: 0.33s;
}

.mobile-menu.open a:nth-child(6) {
  animation-delay: 0.40s;
}

@keyframes mobileMenuIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MAIN CONTENT OFFSET ===== */
main {
  padding-top: 64px;
}

/* ===== HERO (HOME) ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
  min-height: 500px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-section:hover .hero-image img {
  transform: scale(1.03);
}

.hero-image.right-img {
  order: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  background: var(--white);
}

.hero-content.right-content {
  order: 0;
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 380px;
  margin-bottom: 36px;
  line-height: 1.75;
}

/* ===== SECTION DIVIDER (small strip) ===== */
.strip-section {
  background: var(--black);
  color: var(--white);
  padding: 60px 40px;
  text-align: center;
}

.strip-section p {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  opacity: 0.85;
}

.strip-section .btn {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.strip-section .btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 80px 40px 60px;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 560px;
}

/* ===== PRODUCT GRID ===== */
.product-list-bg {
  background: var(--light-gray);
}

.product-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  background: var(--light-gray);
  overflow: hidden;
  cursor: pointer;
}

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8e8e6;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-info {
  padding: 20px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.product-card-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-card-info span {
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

/* index "Our Leather" preview header */
.leather-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

/* Color swatches */
.swatch-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  position: relative;
  min-height: 810px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero-img {
  position: absolute;
  inset: 0;
  background: var(--light-gray);
  overflow: hidden;
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for text legibility over the image */
.about-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.25));
}

.about-hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
  color: #fff;
}

.about-hero-text .section-label {
  color: rgba(255, 255, 255, 0.85);
}

.about-hero-text h1 {
  margin-bottom: 24px;
  color: #fff;
}

.about-hero-text p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  max-width: 540px;
}

.values-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 60px;
}

.value-item {}

.value-item .num {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--border);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.value-item h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.value-item p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.8;
}

.info-section {
  background: var(--light-gray);
  padding: 80px 40px;
}

.info-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.info-inner h2 {
  margin-bottom: 24px;
}

.info-inner p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border);
}

.info-table td {
  padding: 12px 0;
  font-size: 0.88rem;
  vertical-align: top;
}

.info-table td:first-child {
  color: var(--gray);
  width: 140px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== COLOR PAGE ===== */
.color-filter {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 0;
}

.color-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.color-pill {
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-family: var(--font-en);
  color: var(--gray);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: capitalize;
}

.color-pill:hover {
  border-color: var(--black);
  color: var(--black);
}

.color-pill.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.color-results {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px;
}

.color-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
}

.color-swatch-card {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--light-gray);
}

.color-swatch-card:hover .color-card-info {
  opacity: 1;
}

.color-card-visual {
  width: 100%;
  height: 100%;
}

.color-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s;
}

.color-card-info strong {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2px;
}

.color-card-info span {
  font-size: 0.75rem;
  opacity: 0.75;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-detail {
  margin-bottom: 12px;
}

.contact-detail .label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.contact-detail .val {
  font-size: 0.92rem;
}

.contact-form h2 {
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--black);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand .logo img {
  height: 30px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--black);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--black);
}

.footer-col address {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.9;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gray);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--black);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-detail-img {
  background: var(--light-gray);
  aspect-ratio: 1;
  overflow: hidden;
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info .tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.product-detail-info h1 {
  margin-bottom: 20px;
}

.product-detail-info .desc {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
}

.spec-table td {
  padding: 12px 0;
  font-size: 0.85rem;
  vertical-align: top;
}

.spec-table td:first-child {
  color: var(--gray);
  width: 140px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.color-swatches-detail h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--gray);
}

.swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.swatch-item {
  text-align: center;
  cursor: pointer;
}

.swatch-item .color-box {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  margin-bottom: 6px;
  transition: transform 0.2s;
}

.swatch-item:hover .color-box {
  transform: scale(1.05);
}

.swatch-item span {
  font-size: 0.7rem;
  color: var(--gray);
  display: block;
}

/* ===== UTILITY ===== */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 8px;
}

.hidden {
  display: none;
}

/* ===== SCROLL FADE ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: 0 !important;
    min-height: 360px;
  }

  .hero-content {
    order: 1 !important;
    padding: 60px 40px;
  }

  .hero-content.right-content {
    order: 1;
  }

  .about-hero {
    min-height: 630px;
  }

  .about-hero-text {
    padding: 60px 20px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-contact-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* About Simon Guard 섹션: 모바일에서 이미지를 텍스트 위로 */
  .home-about {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .home-about .home-about-img {
    order: -1;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .page-header {
    padding: 40px 20px 32px;
  }

  .product-grid {
    padding: 40px 20px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  /* index "Our Leather" preview: stack title above the button */
  .leather-preview-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* index "Our Leather" preview: 2 x 3 grid, max 6 items */
  #leatherGrid {
    grid-template-columns: 1fr 1fr !important;
  }

  #leatherGrid .product-card:nth-child(n + 7) {
    display: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-section {
    padding: 60px 20px;
  }

  .info-section {
    padding: 60px 20px;
  }

  .contact-layout {
    padding: 40px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 40px 20px 24px;
  }

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

  /* Brand and Contact stay full-width; Collections & Company sit side by side */
  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .color-filter {
    padding: 20px 20px 0;
  }

  .color-results {
    padding: 20px;
  }

  .color-result-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .swatch {
    width: 8px;
    height: 8px;
  }

  .product-card-info {
    padding: 20px 16px;
  }

  .product-card-info h3 {
    font-size: 0.8rem;
  }

  .color-result-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ===== COLOR PAGE (color.html) ===== */
.color-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.swatch-card {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--light-gray);
}

.swatch-card-inner {
  width: 100%;
  height: 100%;
}

.swatch-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 12px 14px;
  opacity: 0;
  transition: opacity 0.25s;
  font-size: 0.78rem;
}

.swatch-card:hover .swatch-card-label {
  opacity: 1;
}

.swatch-card-label strong {
  display: block;
  margin-bottom: 2px;
}

.swatch-card-label span {
  opacity: 0.75;
  font-size: 0.72rem;
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 0;
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== CONTACT TOAST (contact.html) ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
}

/* ===== ABOUT CONTENT (about.html) ===== */
.about-content {
  color: var(--black);
}

.about-block {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 40px 0;
}

.about-block h2 {
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 28px;
}

.about-block .en {
  color: var(--gray);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 18px;
  max-width: 880px;
}

.about-block .kr {
  color: #b0aca6;
  line-height: 1.95;
  font-size: 0.82rem;
  margin-top: 22px;
  max-width: 880px;
}

/* Intro — two columns with image */
.about-intro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  border-bottom: 1px solid var(--border);
}

.about-intro h2 {
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.about-intro .en {
  color: var(--gray);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.about-intro .kr {
  color: #b0aca6;
  line-height: 1.95;
  font-size: 0.82rem;
  margin-top: 22px;
}

.about-intro .intro-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Inline figure (image inside content column) */
.about-figure {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 0;
}

.about-figure img {
  width: 100%;
  display: block;
}

/* Light-gray section */
.about-gray {
  background: var(--light-gray);
  margin-top: 90px;
}

.about-gray .about-block {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* Full-bleed banner with overlay text */
.about-banner {
  position: relative;
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
}

.about-banner img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.about-banner .banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Closing mission */
.about-mission {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 40px 110px;
}

.about-mission .divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin-bottom: 40px;
}

.about-mission .lead-label {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.about-mission blockquote {
  margin: 0 0 24px;
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--black);
  font-weight: 400;
}

.about-mission .kr {
  color: #b0aca6;
  font-size: 0.82rem;
  line-height: 1.95;
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 20px;
  }

  .about-intro .intro-img {
    order: -1;
  }

  .about-block {
    padding: 60px 20px 0;
  }

  .about-figure {
    padding: 32px 20px 0;
  }

  .about-gray {
    margin-top: 60px;
  }

  .about-gray .about-block {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .about-banner img {
    height: 320px;
  }

  .about-banner .banner-text {
    font-size: 2rem;
  }

  .about-mission {
    padding: 50px 20px 80px;
  }
}

/* ===== PRODUCT DETAIL (product.php) ===== */
.detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.breadcrumb {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--black);
}

.breadcrumb .sep {
  margin: 0 10px;
  opacity: 0.5;
}

.detail-title {
  margin-bottom: 20px;
}

.detail-desc {
  color: var(--gray);
  line-height: 1.85;
  max-width: 880px;
  margin-bottom: 56px;
  font-size: 0.95rem;
}

/* Filter pills */
.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.product-pill {
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  color: var(--gray);
}

.product-pill:hover {
  border-color: var(--black);
  color: var(--black);
}

.product-pill.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* Color grid */
.color-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.color-cell {
  cursor: pointer;
}

.color-visual {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light-gray);
  margin-bottom: 10px;
}

.color-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.color-cell:hover .color-visual img {
  transform: scale(1.05);
}

.color-block {
  width: 100%;
  height: 100%;
}

.color-cell .code {
  font-size: 0.72rem;
  color: var(--gray);
  display: block;
}

.color-cell .name {
  font-size: 0.85rem;
  color: var(--black);
  display: block;
  margin-top: 2px;
}

/* Technical info */
.tech-section {
  margin-bottom: 80px;
}

.tech-section h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.tech-section .sub {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.spec-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.spec-tbl {
  width: 100%;
  border-collapse: collapse;
}

.spec-tbl tr {
  border-bottom: 1px solid var(--border);
}

.spec-tbl td {
  padding: 13px 4px;
  font-size: 0.82rem;
  vertical-align: top;
}

.spec-tbl td:first-child {
  color: var(--gray);
  width: 45%;
}

.spec-tbl td:last-child {
  color: var(--black);
}

/* Other products */
.other-section h2 {
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .color-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .other-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .detail-wrap {
    padding: 24px 20px 60px;
  }

  .color-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .spec-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .other-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .breadcrumb {
    margin-bottom: 28px;
  }

  .detail-desc {
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .color-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Color image modal */
.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cv-modal.open {
  display: flex;
}

.cv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.cv-modal.open .cv-modal-backdrop {
  animation: cvFade 0.25s ease;
}

.cv-modal-box {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.cv-modal.open .cv-modal-box {
  animation: cvPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cvFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes cvPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cv-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  cursor: pointer;
  background: none;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-modal-close:hover {
  color: #f0f0f0;
}

.cv-modal-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light-gray);
}

.cv-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cv-modal-image .color-block {
  width: 100%;
  height: 100%;
}

.cv-modal-body {
  padding: 28px 32px 32px;
}

.cv-modal-head {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.cv-modal-head .cv-product {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}

.cv-modal-head .cv-name {
  font-size: 1.4rem;
  margin-top: 6px;
}

.cv-modal-head .cv-code {
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  display: block;
  margin-top: 4px;
}

.cv-modal-tech h4 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.cv-modal-tech table {
  width: 100%;
  border-collapse: collapse;
}

.cv-modal-tech tr {
  border-bottom: 1px solid var(--border);
}

.cv-modal-tech td {
  padding: 12px 4px;
  font-size: 0.82rem;
  vertical-align: top;
}

.cv-modal-tech td:first-child {
  color: var(--gray);
  width: 45%;
}

.cv-modal-tech td:last-child {
  color: var(--black);
}

@media (max-width: 768px) {
  .cv-modal-body {
    padding: 22px 20px 26px;
  }
}