.home-page {
  --text-soft: #6e5c78;
  background: linear-gradient(158deg, #faf4f8 0, var(--bg) 52%);
}

.home-header {
  max-width: 1232px;
  padding-inline: clamp(16px, 3vw, 36px);
  gap: 12px;
}

.home-header nav {
  gap: clamp(13px, 3vw, 38px);
  font-size: 13px;
}

.home-header nav > a { color: #66566f; }
.home-header .home-current { text-decoration: underline; text-decoration-color: #ba9bc7; text-underline-offset: 7px; }
.home-header .admin-link { white-space: nowrap; }
.home-main, .home-footer { width: min(1160px, calc(100% - clamp(28px, 6vw, 72px))); margin-inline: auto; }

.home-hero {
  display: grid;
  grid-template-columns: 46% minmax(0, 1fr);
  position: relative;
  min-height: clamp(366px, 42vw, 484px);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 83% 22%, #fff9 0, #fff0 52%), linear-gradient(118deg, #f8eaf0, #f4e9f1 42%, #e5d9ed 100%);
  border: 1px solid #eaddea;
  border-radius: 30px;
  box-shadow: 0 16px 48px #7e608314;
}

.home-hero-copy {
  padding: clamp(36px, 5.5vw, 77px) 0 0 clamp(25px, 6vw, 83px);
  z-index: 1;
}

.home-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid #e3cedf;
  border-radius: 30px;
  background: #ffffff70;
  color: #6e5273;
  font-size: 12px;
}

.home-preview span { width: 6px; height: 6px; border-radius: 50%; background: #ae79a1; }

.home-hero h1 {
  margin: 22px 0 10px;
  color: #4f375a;
  font-size: clamp(39px, 6.2vw, 86px);
  line-height: 1.1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.home-hero h1 em {
  font: italic 400 1.12em/1 Georgia, serif;
  color: #876492;
  letter-spacing: -.07em;
  margin-left: -.06em;
}

.home-welcome { font-size: clamp(13px, 1.5vw, 19px); color: var(--text-soft); margin-top: 15px; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: clamp(19px, 3vw, 32px); }
.home-actions a { min-height: 43px; font-size: 13px; white-space: nowrap; }
.home-actions .primary-button { background: #765785; }
.home-actions .primary-button:hover { background: #62436f; }
.home-actions .soft-button { color: #624d6d; border-color: #dfcfe2; }

.home-signature {
  width: clamp(120px, 17vw, 221px);
  height: auto;
  margin: 14px 0 -1px -15px;
  mix-blend-mode: multiply;
  opacity: .56;
  transform: rotate(-7deg);
}

.home-hero-art { position: relative; min-height: 100%; isolation: isolate; }
.home-hero-art::before, .home-hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: clamp(314px, 41vw, 540px);
  aspect-ratio: 1;
  left: 55%;
  top: 56%;
  transform: translate(-50%, -50%);
  border: 1px solid #fffd;
}
.home-hero-art::after { transform: translate(-50%, -50%) scale(.89); border-style: dashed; }

.home-portrait {
  position: absolute;
  z-index: 1;
  left: 55%;
  bottom: -16%;
  width: auto;
  height: 110%;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 25px #76528e2e);
}

.home-star { position: absolute; z-index: 2; color: #fff; text-shadow: 0 1px 11px #b594c97a; line-height: 1; }
.home-star-large { right: 9%; top: 17%; font-size: clamp(34px, 5vw, 63px); }
.home-star-small { right: 21%; top: 27%; font-size: 18px; }

.home-guide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 2vw, 23px);
  align-items: center;
  margin: 25px 0 0;
  padding: clamp(16px, 2.5vw, 29px);
  border: 1px solid #eae0e9;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.home-guide-icon { display: grid; place-items: center; width: 52px; aspect-ratio: 1; border-radius: 16px; background: #f1e7f5; color: #7a5e87; font: 29px/1 Georgia, serif; }
.home-guide h2 { font-size: clamp(16px, 1.9vw, 22px); color: #53435e; }
.home-guide p { font-size: 13px; margin-top: 4px; color: var(--text-soft); }
.home-guide-link { color: #705481; font-size: 13px; white-space: nowrap; padding: 8px 0; }
.home-guide-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-guide-link span { margin-left: 6px; }

.home-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 0; margin-top: 25px; border-top: 1px solid #eae0e9; color: var(--text-soft); }
.home-footer em { font-family: Georgia, serif; }
.home-footer p { font-size: 12px; }

@media (max-width: 820px) {
  .home-hero { grid-template-columns: 48% minmax(0, 1fr); }
  .home-portrait { left: 60%; height: 105%; }
  .home-hero-art::before, .home-hero-art::after { left: 60%; }
}

@media (max-width: 600px) {
  .home-header { height: 62px; }
  .home-header nav { font-size: 12px; }
  .home-header nav .admin-link { font-size: 11px; }
  .home-hero { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .home-hero-copy { position: relative; padding: 28px 17px 0; text-align: center; }
  .home-hero h1 { margin: 13px 0 0; font-size: clamp(42px, 11vw, 65px); }
  .home-welcome { margin-top: 8px; }
  .home-actions { justify-content: center; margin-top: 16px; gap: 8px; }
  .home-actions a { min-height: 42px; padding: 10px 13px; font-size: 12px; }
  .home-signature { position: absolute; bottom: -55px; right: 0; width: 84px; margin: 0; opacity: .43; }
  .home-hero-art { min-height: clamp(200px, 63vw, 340px); }
  .home-hero-art::before, .home-hero-art::after { left: 52%; top: 74%; width: 88%; }
  .home-portrait { left: 52%; bottom: -12%; height: 99%; }
  .home-star-large { top: 30%; }
  .home-star-small { top: 41%; }
  .home-guide { grid-template-columns: auto minmax(0, 1fr); margin-top: 15px; }
  .home-guide-icon { align-self: start; width: 38px; font-size: 22px; border-radius: 12px; }
  .home-guide p { font-size: 12px; }
  .home-guide-link { grid-column: 2; justify-self: start; padding: 0; }
  .home-footer { margin-top: 18px; }
}
