.page-home {
  --home-red: #E85D2A;
  --home-red-dark: #B23C16;
  --home-ink: #1A1815;
  --home-cream: #F2E8D5;
  --home-cream-light: #FFF8EC;
  --home-blue: #00A3FF;
  --home-blue-deep: #005B9F;
  --home-green: #39FF14;
  --home-sand: #D8CDB8;
  --home-graphite: #33302B;
  --home-display: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --home-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  position: relative;
  background-color: var(--home-cream);
  color: var(--home-ink);
  font-family: var(--home-body);
  overflow-x: clip;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home .page-frame {
  width: 100%;
  max-width: var(--container, 1200px);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-home .chapter-mark {
  display: inline-block;
  font-family: var(--home-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--home-red);
  border: 1px solid var(--home-red);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.page-home .chapter-mark--light {
  color: var(--home-red);
  border-color: var(--home-red);
}

.page-home .section-title {
  font-family: var(--home-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--home-ink);
}

.page-home .section-title--light {
  color: var(--home-cream-light);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--home-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  background-color: var(--home-red);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.page-home .btn:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(26, 24, 21, 0.14);
}

.page-home .btn:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 3px;
}

.page-home .btn--ghost {
  background-color: transparent;
  border-color: var(--home-red);
  color: var(--home-red);
}

.page-home .btn--ghost:hover {
  background-color: var(--home-red);
  color: #fff;
}

.page-home .btn--light {
  border-color: var(--home-cream-light);
  color: var(--home-cream-light);
}

.page-home .btn--light:hover {
  background-color: var(--home-cream-light);
  color: var(--home-ink);
}

.page-home .status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--home-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.55);
  flex-shrink: 0;
}

.page-home .media-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--home-sand);
  box-shadow: 0 8px 28px rgba(26, 24, 21, 0.1);
}

.page-home .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-home .media-frame--tall aspect-ratio,
.page-home .media-frame--wide aspect-ratio,
.page-home .media-frame aspect-ratio {
  display: none;
}

.page-home .media-frame--tall {
  aspect-ratio: 4 / 3;
}

.page-home .media-frame--wide {
  aspect-ratio: 2 / 1;
}

.page-home .media-frame:not(.media-frame--tall):not(.media-frame--wide) {
  aspect-ratio: 5 / 2;
}

/* breadcrumbs */
.page-home .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 28px;
  padding-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--home-graphite);
}

.page-home .breadcrumbs__item {
  display: inline-flex;
  align-items: center;
}

.page-home .breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 10px;
  color: var(--home-red);
  font-weight: 700;
}

.page-home .breadcrumbs__item--current {
  color: var(--home-red-dark);
  font-weight: 600;
}

/* masthead */
.page-home .home-mast {
  position: relative;
}

.page-home .home-mast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background-image:
    linear-gradient(135deg, transparent 38%, rgba(0, 163, 255, 0.14) 38%, rgba(0, 163, 255, 0.14) 39%, transparent 39%),
    linear-gradient(45deg, transparent 52%, rgba(232, 93, 42, 0.12) 52%, rgba(232, 93, 42, 0.12) 53%, transparent 53%),
    linear-gradient(170deg, transparent 72%, rgba(26, 24, 21, 0.02) 72%);
  pointer-events: none;
  border-radius: 0 0 30% 0;
}

.page-home .home-mast__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

/* declaration */
.page-home .home-declaration {
  position: relative;
  padding-top: 18px;
  z-index: 1;
}

.page-home .home-declaration__label {
  font-family: var(--home-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-red);
  margin: 0 0 14px;
}

.page-home .home-declaration__title {
  font-family: var(--home-display);
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--home-ink);
  margin: 0 0 22px;
}

.page-home .home-declaration__lead {
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  line-height: 1.8;
  max-width: 34em;
  color: var(--home-graphite);
  margin: 0 0 28px;
}

.page-home .home-declaration__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* catalog */
.page-home .home-catalog {
  position: relative;
  z-index: 1;
  background-color: var(--home-ink);
  border-radius: 18px;
  padding: 30px 26px 28px;
  color: var(--home-cream);
  box-shadow: 0 12px 40px rgba(26, 24, 21, 0.2);
}

.page-home .home-catalog__headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .home-catalog__kicker {
  font-family: var(--home-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-cream);
}

.page-home .home-catalog__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .catalog-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: baseline;
  padding-block: 18px;
  border-top: 1px solid rgba(242, 232, 213, 0.18);
}

.page-home .catalog-item:first-child {
  border-top: none;
}

.page-home .catalog-item__code {
  font-family: var(--home-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--home-red);
  grid-row: 1;
  line-height: 1.6;
}

.page-home .catalog-item__link {
  font-family: var(--home-display);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--home-cream-light);
  text-decoration: none;
  grid-row: 1;
  transition: transform 220ms ease, color 220ms ease;
}

.page-home .catalog-item__link::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  color: var(--home-blue);
  transition: transform 220ms ease;
}

.page-home .catalog-item__link:hover {
  transform: translateX(4px);
  color: #fff;
}

.page-home .catalog-item__link:hover::after {
  transform: translateX(3px);
}

.page-home .catalog-item__link:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.page-home .catalog-item__note {
  grid-column: 2;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(242, 232, 213, 0.62);
}

.page-home .home-catalog__axis {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 232, 213, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-home .home-catalog__axis-line {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--home-red) 0%, var(--home-blue) 55%, rgba(242, 232, 213, 0.16) 100%);
}

.page-home .home-catalog__axis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--home-green);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.5);
  animation: home-status-blink 1.8s ease-in-out infinite alternate;
}

.page-home .home-catalog__axis-dot--one { animation-delay: 0s; }
.page-home .home-catalog__axis-dot--two { animation-delay: 0.25s; }
.page-home .home-catalog__axis-dot--three { animation-delay: 0.5s; }
.page-home .home-catalog__axis-dot--four { animation-delay: 0.75s; }

@keyframes home-status-blink {
  0% { opacity: 0.45; }
  100% { opacity: 1; }
}

/* seasonal */
.page-home .home-seasonal {
  padding-block: 64px 40px;
  position: relative;
  background-color: var(--home-cream);
}

.page-home .home-seasonal::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(180deg, rgba(232, 93, 42, 0.06) 0%, rgba(0, 163, 255, 0.04) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .seasonal-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 36px;
}

.page-home .seasonal-head__desc {
  margin: 0;
  max-width: 38em;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--home-graphite);
}

.page-home .seasonal-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .seasonal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-home .seasonal-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid rgba(26, 24, 21, 0.14);
  transition: transform 220ms ease, background-color 220ms ease;
  border-radius: 8px;
  padding-inline: 8px;
}

.page-home .seasonal-item:hover {
  transform: translateX(-4px);
  background-color: rgba(232, 93, 42, 0.05);
}

.page-home .seasonal-item:hover .seasonal-item__number {
  color: var(--home-red);
}

.page-home .seasonal-item__number {
  font-family: var(--home-display);
  font-size: 1.5rem;
  font-weight: 850;
  font-style: italic;
  color: rgba(26, 24, 21, 0.34);
  transition: color 220ms ease;
  min-width: 2.2ch;
}

.page-home .seasonal-item__body {
  min-width: 0;
}

.page-home .seasonal-item__title {
  font-family: var(--home-display);
  font-size: 1.08rem;
  font-weight: 750;
  margin: 0 0 6px;
  line-height: 1.3;
  color: var(--home-ink);
}

.page-home .seasonal-item__desc {
  margin: 0 0 8px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--home-graphite);
}

.page-home .seasonal-item__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--home-sand);
  color: var(--home-graphite);
}

.page-home .seasonal-item__more {
  font-family: var(--home-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--home-red-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 220ms ease, transform 220ms ease;
}

.page-home .seasonal-item__more:hover {
  color: var(--home-red);
  transform: translateX(3px);
}

.page-home .seasonal-item__more:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-home .seasonal-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-seasonal__cta {
  align-self: flex-start;
}

.page-home .seasonal-side__note {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--home-graphite);
  margin: 0;
}

/* mobile section */
.page-home .home-mobile {
  background-color: var(--home-ink);
  color: var(--home-cream-light);
  padding-block: 64px 60px;
  position: relative;
  overflow: hidden;
}

.page-home .home-mobile::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.2) 0%, rgba(0, 163, 255, 0.05) 45%, transparent 70%);
  pointer-events: none;
}

.page-home .home-mobile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-home .home-mobile__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-mobile__lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 30em;
  color: rgba(255, 248, 236, 0.82);
}

.page-home .home-mobile__points {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-mobile__points li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 248, 236, 0.9);
}

.page-home .home-mobile__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background-color: var(--home-green);
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.45);
  border-radius: 50%;
}

.page-home .home-mobile__figure {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  border-radius: 22px;
}

.page-home .home-mobile__figure img {
  border-radius: 22px;
}

/* archive */
.page-home .home-archive {
  padding-block: 68px 60px;
  background-color: var(--home-cream);
}

.page-home .archive-intro {
  margin: 0 0 32px;
  max-width: 42em;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--home-graphite);
}

.page-home .archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .archive-card {
  background-color: var(--home-cream-light);
  border: 1px solid rgba(26, 24, 21, 0.1);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.page-home .archive-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow, 0 6px 20px rgba(26, 24, 21, 0.08));
}

.page-home .archive-card--dark {
  background-color: var(--home-ink);
  border-color: var(--home-ink);
}

.page-home .archive-card__title {
  font-family: var(--home-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--home-ink);
}

.page-home .archive-card--dark .archive-card__title {
  color: var(--home-cream-light);
}

.page-home .archive-card__desc {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--home-graphite);
  margin: 0 0 20px;
}

.page-home .archive-card--dark .archive-card__desc {
  color: rgba(242, 232, 213, 0.76);
}

.page-home .archive-card__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .archive-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--home-graphite);
}

.page-home .archive-card--dark .archive-card__list li {
  color: rgba(242, 232, 213, 0.72);
}

.page-home .archive-card__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--home-red);
  font-weight: 700;
}

.page-home .archive-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* status */
.page-home .home-status {
  padding-block: 60px 68px;
  background-color: var(--home-cream);
  position: relative;
}

.page-home .home-status::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(180deg, rgba(211, 205, 184, 0.32) 0%, rgba(242, 232, 213, 0) 100%);
  pointer-events: none;
}

.page-home .home-status__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .home-status__main {
  position: relative;
}

.page-home .home-status__console {
  margin-top: 20px;
}

.page-home .console {
  background-color: var(--home-ink);
  border-radius: 16px;
  padding: 28px 22px 18px;
  color: var(--home-cream);
  font-family: var(--home-display);
  box-shadow: 0 14px 40px rgba(26, 24, 21, 0.22);
}

.page-home .console__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding-block: 9px;
  border-bottom: 1px solid rgba(242, 232, 213, 0.1);
  font-size: 0.92rem;
}

.page-home .console__line:last-of-type {
  border-bottom-color: rgba(242, 232, 213, 0.18);
}

.page-home .console__prompt {
  color: var(--home-green);
  font-weight: 700;
}

.page-home .console__key {
  font-weight: 600;
  color: rgba(242, 232, 213, 0.64);
}

.page-home .console__signal {
  font-weight: 700;
  color: var(--home-cream-light);
  font-feature-settings: "tnum";
}

.page-home .console-details {
  margin-top: 12px;
  border-radius: 8px;
}

.page-home .console-details__summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--home-blue-deep);
  padding: 8px 2px;
  border-radius: 6px;
  list-style: none;
  user-select: none;
}

.page-home .console-details__summary::-webkit-details-marker {
  display: none;
}

.page-home .console-details__summary::before {
  content: "＋ ";
  color: var(--home-blue);
  font-weight: 800;
}

.page-home .console-details[open] .console-details__summary::before {
  content: "－ ";
}

.page-home .console-details__summary:hover {
  color: var(--home-blue);
}

.page-home .console-details__summary:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 2px;
}

.page-home .console-details__list {
  margin: 8px 0 0;
  padding: 10px 16px;
  background-color: rgba(242, 232, 213, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: rgba(242, 232, 213, 0.8);
}

.page-home .console-details__list li {
  padding-left: 14px;
  position: relative;
}

.page-home .console-details__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--home-red);
  font-weight: 800;
}

.page-home .home-status__figure {
  aspect-ratio: 2.5 / 1;
  margin: 0;
  order: 2;
}

.page-home .home-status__figure img {
  border-radius: 14px;
}

/* media queries */
@media (min-width: 640px) {
  .page-home .page-frame {
    padding-inline: 32px;
  }

  .page-home .home-mast__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-home .seasonal-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }

  .page-home .home-mobile__grid {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
  }

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

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

@media (min-width: 1024px) {
  .page-home .home-mast {
    padding-top: 30px;
  }

  .page-home .home-mast__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-declaration {
    padding-top: 48px;
  }

  .page-home .home-declaration__title {
    font-size: clamp(4.5rem, 8.6vw, 7rem);
  }

  .page-home .home-catalog {
    padding: 38px 34px 32px;
  }

  .page-home .seasonal-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .page-home .seasonal-head__desc {
    text-align: right;
  }

  .page-home .home-status__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .page-home .home-status__figure {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .status-dot,
  .page-home .home-catalog__axis-dot {
    animation: none;
  }

  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}
