body[data-page="home"] {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.home-main {
  flex: 1;
}

body[data-page="home"] > footer {
  width: 100%;
}

.intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 360px;
  padding: 72px;
  overflow: hidden;
  isolation: isolate;
  background: #f1f0eb;
}

.birthday-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 36px;
  font-size: 14px;
}

.birthday-notice strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 13px;
}

.birthday-notice span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.birthday-notice strong,
.birthday-notice span {
  transition: opacity .18s ease, transform .18s ease;
}

.birthday-notice.is-changing strong,
.birthday-notice.is-changing span {
  opacity: 0;
  transform: translateY(3px);
}

.intro::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,.95) 40%, rgba(255,255,255,.75) 50%, rgba(255,255,255,.25) 60%, transparent 70%);
  content: "";
  pointer-events: none;
}

.intro-visual {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 68%;
  overflow: hidden;
  background: #f1f0eb;
}

.intro-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.intro-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.intro h1, .intro h2 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.055em;
}

.intro h2 {
  font-size: clamp(24px, 5.2vw, 42px);
}

.intro h1 {
  display: inline-block;
  padding-right: .12em;
  background: linear-gradient(90deg, #f31864, #ff9bbe);
  background-clip: text;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: 1.2;
  -webkit-text-fill-color: transparent;
}

.intro h1 img {
  width: auto;
  height: 1.2em;
  margin-left: .1em;
  vertical-align: -.16em;
}

.intro-description {
  margin: 22px 0 0;
  color: #666860;
  font-size: 16px;
  line-height: 1.8;
}

.home-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.home-option {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 36px;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.home-option-live { background: linear-gradient(135deg, #fff 45%, #fff1f5); }
.live-card-art {
  position: absolute;
  right: 5%;
  bottom: 22%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: rotate(-8deg);
  color: var(--accent);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  opacity: .2;
  pointer-events: none;
}
.live-card-art span:first-child { font-size: clamp(60px, 7vw, 100px); }
.live-card-art span:last-child { font-size: clamp(17px, 2vw, 27px); }
@media (prefers-color-scheme: dark) {
  body.home-option-live { background: linear-gradient(135deg, #25242c 45%, #492b3b); }
}

.home-option-art {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .25s ease;
}

.home-option > :not(.home-option-art):not(.live-card-art) {
  position: relative;
  max-width: 59%;
  word-break: keep-all;
}

.home-option:hover,
.home-option:focus-visible {
  border-color: var(--accent);
}

.home-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34, 35, 31, .08);
}

.home-option:hover .home-option-art {
  transform: scale(1.035);
}

.home-arrow {
  display: inline-block;
  transition: transform .18s ease;
}

.home-option:hover .home-arrow {
  transform: translateX(3px);
}

.home-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.home-option h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 38px;
}

.home-option p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.home-option > span {
  margin-top: auto;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .birthday-notice {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .intro {
    padding: 34px 24px 215px;
    gap: 24px;
  }

  .intro::before {
    background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.95) 45%, rgba(255,255,255,.75) 50%, rgba(255,255,255,.25) 60%, transparent 70%);
  }

  .intro-visual {
    inset: auto 0 0;
    width: 100%;
    height: 62%;
  }

  .intro h1 {
    font-size: 48px;
  }

  .intro-description {
    margin: 17px 0 22px;
    font-size: 14px;
  }

  .home-options {
    grid-template-columns: 1fr;
  }

  .home-option {
    min-height: 210px;
    padding: 26px;
  }

  .home-option-art {
    height: 85%;
  }

  .home-option h2 {
    font-size: 30px;
  }

  .home-option p {
    font-size: 14px;
  }
}
