/* =========================
   HOME PAGE STYLES
   - 기존 색감 변수(var(--bg) 등) 유지
   - 디자인 100% 동일, 성능 최적화만 적용
========================= */

body.home{
  background: var(--bg);
  color: var(--text);
}

body.home #siteHeader{
  position:absolute;
  width:auto;
  max-width:none;
  margin:0;
  z-index:60;
  pointer-events:auto;
}

/* 공통 컨테이너 */
.home-wrap{
  padding: 0px 30px 0;
}
.home-container{
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
}

.top-frame.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.top-frame{
  position: relative;
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 44px rgba(0,0,0,0.12);
  padding: 12px;
  overflow: hidden;
}

.top-collage{
  border-radius: 12px;
  overflow: hidden;
  margin-top: 68px;
}

.collage{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.collage-item{
  position: relative;
  height: clamp(260px, 38vw, 520px);
  background: #ddd;
  overflow: hidden;
}
.collage-item img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.98) contrast(0.98);
}

.collage-item::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.34), rgba(0,0,0,0.06), rgba(0,0,0,0));
  pointer-events:none;
}

.collage-copy{
  position:absolute;
  left: 26px;
  bottom: 26px;
  z-index: 2;
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.12;
  font-size: 0.95rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.26);
  max-width: 70%;
}
.collage-copy.center{
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  max-width: 62%;
}

/* ---- VIDEO HERO ---- */
.video-hero{
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  height: 80vh;
  background: #000;
}

.video-hero video{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.38) 0%,
    rgba(0,0,0,0.10) 40%,
    rgba(0,0,0,0.00) 70%
  );
  pointer-events:none;
}

.video-hero-copy {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.1;
}

#siteHeader {
  background: transparent !important;
}

/* ---- HERO GRID ---- */
.hero-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 140px 0 0px;
  background: transparent;
  min-height: 750px;
  min-width: 400px;
}

.hero-card{
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.55);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}

.hero-topbar{
  height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  flex: 0 0 auto;
}

.hero-topbar .open{
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.10);
  color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card:hover .hero-topbar .open{
  color: rgba(0,0,0,0.58);
  border-color: rgba(0,0,0,0.14);
}

.hero-topbar .open svg{
  display:block;
}

.hero-media{
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
  background: #f1f1f1;
}
.hero-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
}

.hero-media::after{
  content:none;
}

.hero-blur{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 92px;
  z-index:1;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.hero-bottom{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-media .hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
}

.hero-media .hero-img-blur{
  filter: blur(5px);
  transform: scale(1.06);
  clip-path: inset(calc(100% - 95px) 0 0 0);
  opacity: 1;
}

.hero-kicker{
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 900;
  margin-bottom: 4px;
  color: rgba(0,0,0,0.75);
}
.hero-title{
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
  color: rgba(0,0,0,0.88);
  text-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ---- Philosophy / Recommend / Article ---- */
.philosophy{padding: 140px 0 0; background: transparent;}
.philosophy-slider{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:2.4rem;align-items:center}
.philosophy-nav{display:flex;gap:1rem;margin-bottom:1.2rem}
.philosophy-nav button{background:none;border:none;font-size:1.2rem;font-weight:500;color:rgba(0,0,0,0.22);cursor:pointer;transition:color 0.2s}
.philosophy-nav button.active{color:var(--text)}
.philosophy-content h3{font-size:1.2rem;font-weight:700;margin-bottom:0.9rem;line-height:1.4}
.philosophy-content p{color:var(--text-light);margin-bottom:0.9rem;line-height:1.8;font-size:0.95rem}
.philosophy-content a{font-size:0.9rem;text-decoration:underline}
.philosophy-image img{width:100%;height:320px;object-fit:cover;border-radius:14px}

.recommend{padding: 140px 0 0;}
.section-header{max-width:1400px;margin:0 auto 14px;display:flex;justify-content:space-between;align-items:flex-end}
.section-header h2{font-size:1.35rem;font-weight:900}
.section-header p{color:var(--text-light);font-size:0.9rem}

.products-grid{
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.product-card{
  position: relative;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(0,0,0,0.55);
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  display:flex;
  flex-direction: column;
  min-height: 570px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.product-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}

.product-card::after{
  content:"+";
  position:absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.96);
  border: 2px solid rgba(0,0,0,0.65);
  font-weight: 900;
  z-index: 2;
  line-height: 1;
}

.product-media {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  background: #f1f1f1;
}

.product-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.01);
  transition: transform 0.25s ease;
}

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

.product-card-info{
  margin-top: auto;
  padding: 12px 12px 14px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(255,255,255,0.24);
}

.product-card-info h3{
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 6px;
  line-height: 1.2;
}

.product-card-info p{
  font-size: 0.75rem;
  line-height: 1.45;
  opacity: 0.9;
  margin: 0;
}

.article{padding: 140px 0 0; padding-bottom: clamp(40px, 6vw, 0px); background: transparent;}
.article-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.article-card{display:grid;grid-template-columns:1.15fr 1fr;background:var(--white);border-radius:14px;overflow:hidden;border:1px solid rgba(0,0,0,0.10);box-shadow:0 10px 26px rgba(0,0,0,0.05);text-decoration:none;color:inherit;transition:transform 0.2s ease, box-shadow 0.2s ease;}
.article-card img{width:100%;height:100%;object-fit:cover}
.article-card-content{padding:18px;display:flex;flex-direction:column;justify-content:center}
.article-card h3{font-size:1.05rem;font-weight:900;margin-bottom:8px;color:#1a1a1a;}
.article-card p{font-size:0.88rem;color:var(--text-light);line-height:1.6}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.20);
}

#siteFooter{
  margin-top: 140px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
  .hero-grid{grid-template-columns: repeat(2, 1fr);}
  .products-grid{grid-template-columns: repeat(2, 1fr);}
  .philosophy-slider{grid-template-columns: 1fr;}
  .article-grid{grid-template-columns: 1fr;}
  .article-card{grid-template-columns: 1fr;}
  .article-card img{height: 220px;}
}

@media (max-width: 740px){
  .home-wrap{
    padding: 0 14px 0;
  }

  .home-container{
    width: 100%;
  }

  .top-frame{
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .top-collage{
    margin-top: 56px;
  }

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

  .collage-item{
    height: 220px;
  }

  .collage-copy{
    left: 16px;
    bottom: 16px;
    font-size: 0.82rem;
    max-width: 82%;
  }

  .collage-copy.center{
    bottom: 18px;
    max-width: 78%;
  }

  .video-hero{
    height: 60vh;
    min-height: 420px;
    border-radius: 0;
    margin-top: 0;
  }

  .video-hero-copy {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 2;
    color: #fff;
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.22);
    max-width: 78%;
  }

  .hero-grid{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0 0;
    min-height: auto;
    min-width: 0;
  }

  .hero-card{
    min-height: 340px;
    border-radius: 16px;
  }

  .hero-topbar{
    height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero-topbar .open{
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .hero-media{
    min-height: 300px;
  }

  .hero-bottom{
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .hero-kicker{
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
  }

  .hero-title{
    font-size: 1rem;
    line-height: 1.12;
  }

  .philosophy{
    padding: 72px 0 0;
  }

  .philosophy-slider{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .philosophy-nav{
    gap: 10px;
    margin-bottom: 14px;
  }

  .philosophy-nav button{
    font-size: 1rem;
  }

  .philosophy-content h3{
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .philosophy-content p{
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .philosophy-image img{
    height: 240px;
    border-radius: 14px;
  }

  .recommend{
    padding: 72px 0 0;
  }

  .section-header{
    margin: 0 auto 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .section-header h2{
    font-size: 1.1rem;
    line-height: 1.15;
  }

  .section-header p{
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .products-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card{
    min-height: 470px;
    border-radius: 16px;
  }

  .product-card::after{
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }

  .product-media{
    min-height: 360px;
  }

  .product-card-info{
    padding: 12px 12px 14px;
  }

  .product-card-info h3{
    font-size: 0.92rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .product-card-info p{
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .article{
    padding: 72px 0 0;
    padding-bottom: 0;
  }

  .article-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-card{
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .article-card img{
    height: 220px;
  }

  .article-card-content{
    padding: 16px;
  }

  .article-card h3{
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .article-card p{
    font-size: 0.86rem;
    line-height: 1.65;
  }

  #siteFooter{
    margin-top: 72px;
  }
}

@media (max-width: 430px){
  .home-wrap{
    padding: 0 12px 0;
  }

  .video-hero{
    height: 54vh;
    min-height: 380px;
  }

  .video-hero-copy{
    left: 16px;
    right: 16px;
    bottom: 18px;
    font-size: clamp(1.15rem, 8.2vw, 1.7rem);
  }

  .hero-card{
    min-height: 320px;
  }

  .hero-media{
    min-height: 280px;
  }

  .hero-title{
    font-size: 0.94rem;
  }

  .philosophy-content h3{
    font-size: 0.96rem;
  }

  .section-header h2{
    font-size: 1.02rem;
  }

  .product-card{
    min-height: 435px;
  }

  .product-media{
    min-height: 325px;
  }

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

  .product-card-info p{
    font-size: 0.72rem;
  }

  .article-card img{
    height: 200px;
  }

  .article-card p{
    font-size: 0.82rem;
  }
}
