.page-home {
  --home-pad: clamp(20px, 4vw, 52px);
  --home-max: 1280px;
  color: var(--charcoal);
  font-family: var(--sans);
  background: var(--warm-gray);
}

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

.page-home a {
  color: inherit;
  text-decoration: none;
}

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

.page-home__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.page-home__rail {
  position: relative;
  overflow: hidden;
  padding: 34px var(--home-pad) 40px;
  background: var(--deep-navy);
  color: var(--white);
}

.page-home__rail::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.page-home__rail::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.page-home__rail-inner {
  position: relative;
  z-index: 1;
  max-width: 340px;
}

.page-home__rail-kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home__rail-brand {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  letter-spacing: 0.03em;
}

.page-home__rail-edition {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--stone);
}

.page-home__rail-rule {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 22px;
}

.page-home__rail-slogan {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
}

.page-home__rail-note {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.72);
}

.page-home__rail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home__rail-link {
  position: relative;
  font-size: 14px;
  color: rgba(245, 245, 245, 0.85);
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.page-home__rail-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.page-home__rail-link:hover {
  color: var(--gold);
}

.page-home__rail-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.page-home__rail-mark {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 28px;
}

.page-home__rail-years {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--gold);
}

.page-home__rail-unit {
  font-family: var(--serif);
  font-size: 20px;
  padding-bottom: 8px;
  color: var(--white);
}

.page-home__rail-caption {
  margin-left: auto;
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--stone);
  text-align: right;
}

.page-home__stage {
  padding: 40px var(--home-pad) 64px;
  max-width: var(--home-max);
  margin-inline: auto;
  min-width: 0;
}

.page-home__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--stone);
}

.page-home__crumb-sep {
  color: var(--gold);
}

.page-home__crumb-current {
  color: var(--royal-blue);
}

.page-home__hero-title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.02em;
  color: var(--royal-blue);
}

.page-home__hero-lead {
  margin: 0;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--charcoal);
}

.page-home__cuts {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.page-home__cut {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 18px 22px;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 18px 100%);
  background: var(--royal-blue);
  color: var(--white);
  transition: filter 0.3s ease, clip-path 0.3s ease, background-color 0.3s ease;
}

.page-home__cut--gold {
  background: var(--gold);
  color: var(--deep-navy);
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

.page-home__cut--dark {
  background: var(--deep-navy);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 18px 100%);
}

.page-home__cut:hover {
  filter: brightness(1.08);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.page-home__cut-index {
  font-family: var(--mono);
  font-size: 14px;
  opacity: 0.85;
}

.page-home__cut-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.page-home__cut-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

.page-home__cut-caption {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.5;
}

.page-home__cut-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.page-home__cut:hover .page-home__cut-arrow {
  transform: translateX(4px);
}

.page-home__trail {
  display: block;
  width: 100%;
  max-width: 960px;
  height: 60px;
  margin: 24px auto 8px;
  opacity: 0.55;
}

.page-home__block {
  padding: 52px 0 44px;
  border-top: 1px solid rgba(176, 168, 154, 0.28);
}

.page-home__block--history {
  background: linear-gradient(180deg, rgba(240, 230, 192, 0.28) 0%, rgba(245, 245, 245, 0) 240px);
}

.page-home__block--reviews {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.05) 0%, rgba(245, 245, 245, 0) 300px);
}

.page-home__block-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.page-home__block-label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.page-home__block-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1.4;
}

.page-home__lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.85;
}

.page-home__subhead {
  margin: 26px 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-navy);
}

.page-home__img-layout,
.page-home__img-phone,
.page-home__img-timeline,
.page-home__review-chart {
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.page-home__img-layout {
  margin: 22px 0 6px;
  max-width: 640px;
}

.page-home__img-phone {
  max-width: 260px;
  margin: 0 auto 20px;
}

.page-home__list {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.page-home__list li,
.page-home__steps li {
  line-height: 1.75;
}

.page-home__steps {
  margin: 12px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.page-home__tip {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: rgba(212, 175, 55, 0.12);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.7;
  color: var(--deep-navy);
}

.page-home__text-link {
  color: var(--royal-blue);
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home__text-link:hover {
  color: var(--gold);
  border-color: var(--royal-blue);
}

.page-home__timeline {
  margin: 20px 0 24px;
  display: grid;
  gap: 0;
}

.page-home__timeline-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 18px;
}

.page-home__timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: -4px;
  width: 1px;
  background: rgba(30, 58, 138, 0.25);
}

.page-home .status-dot {
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.page-home__timeline-tag {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--royal-blue);
}

.page-home__timeline-content p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--charcoal);
}

.page-home__recover {
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid rgba(240, 230, 192, 0.9);
}

.page-home__recover .page-home__subhead {
  margin-top: 0;
}

.page-home__history-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.75;
  background: rgba(30, 58, 138, 0.06);
  border-left: 3px solid var(--royal-blue);
}

.page-home__entries {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.page-home__entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid rgba(240, 230, 192, 0.9);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 14px 100%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.page-home__entry:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(30, 58, 138, 0.08);
  transform: translateY(-2px);
}

.page-home__entry-index {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--gold);
}

.page-home__entry-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--royal-blue);
}

.page-home__entry-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--charcoal);
}

.page-home__entry-more {
  position: relative;
  align-self: flex-start;
  margin-top: 6px;
  font-size: 14px;
  color: var(--royal-blue);
  padding-bottom: 2px;
}

.page-home__entry-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.page-home__entry:hover .page-home__entry-more::after {
  transform: scaleX(1);
  transform-origin: left;
}

.page-home__review-intro {
  margin: 18px 0 22px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.85;
}

.page-home__reviews {
  display: grid;
  gap: 16px;
}

.page-home__review-card {
  padding: 20px 20px 18px;
  background: var(--white);
  border: 1px solid rgba(240, 230, 192, 0.9);
  border-radius: 2px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home__review-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.06);
}

.page-home__review-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.page-home .status-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--royal-blue);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.page-home__review-chart {
  margin-top: 26px;
  max-width: 760px;
}

.page-home__back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--royal-blue);
  color: var(--royal-blue);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.page-home__back-top:hover {
  background: var(--royal-blue);
  color: var(--white);
}

@media (min-width: 640px) {
  .page-home__cuts {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .page-home__cut {
    min-height: 112px;
    padding: 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .page-home__cut--gold {
    transform: translateY(-14px);
  }

  .page-home__cut-arrow {
    align-self: flex-end;
  }

  .page-home__entries {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home__reviews {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .page-home__review-card:nth-child(even) {
    transform: translateY(14px);
  }
}

@media (min-width: 1024px) {
  .page-home__grid {
    grid-template-columns: minmax(300px, 36vw) 1fr;
    min-height: 100vh;
  }

  .page-home__rail {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 56px var(--home-pad);
  }

  .page-home__rail-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .page-home__rail-mark {
    margin-top: auto;
  }

  .page-home__stage {
    padding: 56px var(--home-pad) 80px;
  }

  .page-home__service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 44px;
    align-items: start;
  }

  .page-home__service-side {
    max-width: 340px;
  }

  .page-home__history-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-home__entries {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home__review-chart {
    margin-left: auto;
    margin-right: auto;
  }
}
