* { box-sizing: border-box; }

body.home-page {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #efefef;
  color: #111;
}

.frame {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  border: 0;
  overflow: hidden;
}

.page-fade { animation: fade-in 0.45s ease; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand h1 {
  margin: 0;
  color: #111;
  font-size: clamp(22px, 1.85vw, 36px);
  font-weight: 800;
}

.brand-icon {
  width: clamp(34px, 2.4vw, 46px);
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background: transparent;
  mix-blend-mode: screen;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 800;
  color: #fff;
  background: #d67f84;
  transition: background-color 0.25s ease, transform 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #e49da3;
  transform: translateY(-1px);
}

.home-stage {
  position: relative;
  min-height: 100vh;
  padding: 24px 48px 10px;
  background: url("Image/background_image.jpg") center / cover no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(229, 161, 167, 0.58);
  z-index: 0;
}

.home-stage > * {
  position: relative;
  z-index: 1;
}

.home-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.home-topnav {
  display: flex;
  gap: 18px;
}

.top-pill {
  min-width: 114px;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 800;
  color: #fff;
  background: #d67f84;
  border-radius: 4px;
  transition: background-color 0.25s ease, transform 0.18s ease;
}

.top-pill:hover,
.top-pill:focus-visible {
  background: #e49da3;
  transform: translateY(-1px);
}

.top-pill.active {
  color: #fff;
}

.home-body {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-copy h2 {
  margin: 0;
  color: #000;
  font-size: clamp(46px, 4.9vw, 60px);
  line-height: 1.02;
  font-weight: 900;
}

.home-copy p {
  margin: 10px 0 0;
  max-width: 352px;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 2;
  color: rgba(17, 17, 17, 0.54);
  font-weight: 600;
  text-align: justify;
  word-spacing: 4px;
}

.home-art-stack {
  position: relative;
  min-height: 470px;
}

.home-art-card {
  position: absolute;
  border: 7px solid #ececec;
  border-radius: 7px;
  background: #ececec;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.14);
}

.home-art-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-art-card.main {
  width: 324px;
  height: 372px;
  left: 0;
  top: 0;
}

.home-art-card.secondary {
  width: 296px;
  height: 338px;
  left: 248px;
  top: 142px;
}

.home-bottom {
  margin-top: auto;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  column-gap: 12px;
}

.home-learn {
  width: 114px;
  padding: 8px 0;
  font-size: 15px;
}

.home-copyright {
  margin: 0;
  align-self: end;
  text-align: center;
  color: #fff;
  font-size: clamp(12px, 1.1vw, 18px);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.home-main-back {
  display: inline-flex;
  justify-self: end;
  align-self: end;
  min-width: 154px;
  padding: 8px 12px;
  font-size: 13px;
}



.art_gallery-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:170px;
    padding:10px 22px;

    background:#9d5357;
    color:#fff;

    text-decoration:none;
    font-size:15px;
    font-weight:800;

    border:2px solid #ffffff;
    border-radius:8px;

    box-shadow:0 6px 15px rgba(0,0,0,.18);

    transition:all .30s ease;

}

.art_gallery-btn:hover{

    background:#c97278;

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(0,0,0,.28);

}

.art_gallery-btn:active{

    transform:scale(.96);

}

.art_gallery-btn::before{

    content:"🎨";
    margin-right:8px;
    font-size:18px;

}


