/* Homepage illustrations and layouts approved for MIMOLUZ.
   Keep these rules scoped so application forms and other pages are unchanged. */
#home .home-services,
#home .home-about {
  background: #fff;
}
#home .home-services h2,
#home .home-process h2 {
  margin-bottom: 28px;
}
#home .home-service-cards {
  gap: 18px;
}
#home .home-service-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 280px;
  padding: 30px;
  border-color: #e9d6ab;
  border-radius: 19px;
  background: linear-gradient(125deg, #fffcf5 10%, #fff8e9 100%);
  box-shadow: 0 14px 30px rgb(104 72 20 / 5%);
}
#home .home-service-card.alt {
  background: linear-gradient(125deg, #fffaf0 0%, #fcf2da 100%);
}
#home .home-service-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#home .home-service-card .tag {
  font-size: 14px;
  line-height: 1.6;
  color: #88601b;
}
#home .home-service-card h3 {
  margin: 14px 0 14px;
  font-size: clamp(22px, 2.1vw, 26px);
  line-height: 1.4;
  letter-spacing: -.05em;
}
#home .home-service-card p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #72664e;
}
#home .home-service-card .btn {
  max-width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 12px 21px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
}
#home .home-service-art {
  display: block;
  position: relative;
  z-index: 0;
  width: calc(100% + 28px);
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
#home .home-designer-art {
  transform: translateX(2px);
}
#home .home-process {
  background: #fffbf3;
}
#home .home-process-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  gap: 16px;
}
#home .home-process-step {
  min-width: 0;
  min-height: 290px;
  padding: 22px 23px 25px;
  border: 1px solid #ead4a4;
  border-top: 2px solid #a3741d;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(104 72 20 / 4%);
}
#home .home-step-visual {
  position: relative;
  height: 137px;
  margin-bottom: 15px;
}
#home .home-step-visual .num {
  display: block;
  position: relative;
  z-index: 1;
  padding-top: 8px;
  font-size: 37px;
  line-height: 1.25;
  color: #a3741d;
}
#home .home-step-visual img {
  display: block;
  position: absolute;
  top: -11px;
  right: -8px;
  width: 178px;
  max-width: 78%;
  height: 164px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
#home .home-process-step h3 {
  margin: 0 0 11px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -.045em;
}
#home .home-process-step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #756450;
}
#home .home-process .hint {
  margin: 0 0 7px;
  font-size: 15px;
  color: #756450;
}
#home .home-process .textlink {
  min-height: 40px;
  font-size: 16px;
}
#home .home-about .intro {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 44px;
}
#home .home-about .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
}
#home .home-about h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 3.5vw, 43px);
  line-height: 1.38;
  letter-spacing: -.055em;
}
#home .home-about p {
  margin: 0;
  font-size: 17px;
  line-height: 1.95;
  color: #5f5543;
}
#home .home-about .mini-links {
  gap: 9px 21px;
  margin-top: 23px;
}
#home .home-about .textlink {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
}
#home .home-about .intro-visual {
  border-radius: 24px;
  box-shadow: none;
  background: #f7ecd7;
}
#home .home-about .intro-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.47;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 1050px) and (min-width: 801px) {
  #home .home-service-card {
    padding: 25px;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  }
  #home .home-service-card h3 {
    font-size: 22px;
  }
  #home .home-service-card .btn {
    padding-inline: 17px;
    font-size: 15px;
  }
  #home .home-process-step {
    padding-inline: 18px;
  }
  #home .home-step-visual img {
    width: 159px;
  }
  #home .home-about .intro {
    gap: 30px;
  }
}
@media (max-width: 800px) {
  #home .home-services h2,
  #home .home-process h2 {
    margin-bottom: 24px;
  }
  #home .home-service-cards {
    gap: 16px;
  }
  #home .home-service-card {
    min-height: 265px;
    padding: 28px;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  }
  #home .home-service-card h3 {
    font-size: 25px;
  }
  #home .home-service-art {
    width: 100%;
    max-width: 220px;
    justify-self: end;
  }
  #home .home-process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  #home .home-process-step {
    padding: 17px 16px 22px;
  }
  #home .home-step-visual {
    height: 119px;
  }
  #home .home-step-visual .num {
    font-size: 30px;
    padding-top: 0;
  }
  #home .home-step-visual img {
    top: 8px;
    right: -8px;
    height: 129px;
    width: 150px;
    max-width: 94%;
  }
  #home .home-process-step h3 {
    font-size: 20px;
  }
  #home .home-process-step p {
    font-size: 15px;
  }
  #home .home-about .intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  #home .home-about h2 {
    margin-bottom: 20px;
    font-size: clamp(30px, 5.8vw, 40px);
  }
  #home .home-about .intro-visual img {
    aspect-ratio: 1.6;
  }
}
@media (max-width: 600px) {
  #home .home-service-card {
    min-height: 282px;
    padding: 24px;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  }
  #home .home-service-card h3 {
    margin-top: 13px;
    font-size: 24px;
  }
  #home .home-service-card .tag {
    font-size: 13px;
  }
  #home .home-service-card p {
    font-size: 15px;
  }
  #home .home-service-card .btn {
    font-size: 15px;
    padding: 11px 16px;
  }
  #home .home-service-art {
    width: calc(100% + 23px);
    max-width: none;
  }
  #home .home-process-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  #home .home-process-step {
    padding: 22px 24px 25px;
    min-height: 0;
  }
  #home .home-step-visual {
    height: 128px;
    margin-bottom: 17px;
  }
  #home .home-step-visual .num {
    padding-top: 5px;
    font-size: 37px;
  }
  #home .home-step-visual img {
    top: -13px;
    right: 0;
    width: 185px;
    max-width: 73%;
    height: 160px;
  }
  #home .home-process-step h3 {
    font-size: 22px;
  }
  #home .home-process-step p {
    font-size: 16px;
  }
  #home .home-about p {
    font-size: 16px;
    line-height: 1.85;
  }
  #home .home-about .mini-links {
    gap: 5px 18px;
    margin-top: 19px;
  }
  #home .home-about .textlink {
    font-size: 15px;
  }
  #home .home-about .intro-visual {
    border-radius: 19px;
  }
  #home .home-about .intro-visual img {
    aspect-ratio: 1.4;
  }
}
@media (max-width: 380px) {
  #home .home-service-card {
    padding: 22px 20px;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  }
  #home .home-service-card h3 {
    font-size: 22px;
  }
  #home .home-service-card .btn {
    font-size: 14px;
    padding-inline: 13px;
  }
  #home .home-service-art {
    width: calc(100% + 17px);
  }
}

/* Brand signature panel: live text and original brand symbol. */
#home .home-about{padding-top:56px;padding-bottom:40px}
#home .home-brand-panel{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 24px 30px;border:1px solid #c9ac6c;border-radius:24px;background:linear-gradient(135deg,#fcfaf5,#f8f4eb);color:#382b20}
#home .home-brand-symbol{display:block;width:148px;height:148px;object-fit:contain;margin:0 0 4px}
#home .home-brand-name{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,3.5vw,48px);line-height:1.25;letter-spacing:.1em;white-space:nowrap}
#home .home-brand-name span{font-size:.6em;color:#a48134;vertical-align:middle}
#home .home-brand-rule{width:40px;height:1px;background:#b8954a;margin:22px 0}
#home .home-brand-panel h3{font-size:clamp(21px,2.1vw,28px);font-weight:500;letter-spacing:-.04em;line-height:1.5;margin:0 0 12px;word-break:keep-all}
#home .home-brand-panel p{font-size:17px;line-height:1.85;color:#61533f;margin:0}
#home .home-brand-signature{margin-top:24px;font-size:14px;letter-spacing:.18em;color:#766447}
@media(max-width:800px){#home .home-about{padding-top:36px;padding-bottom:28px}#home .home-brand-panel{padding:24px 18px 28px}#home .home-brand-symbol{width:128px;height:128px}#home .home-brand-name{font-size:36px}#home .home-brand-panel p{font-size:16px}}
@media(max-width:360px){#home .home-brand-name{font-size:30px}#home .home-brand-panel h3{font-size:20px}}
