.page-home {
  --home-gap: clamp(20px, 4vw, 56px);
  --home-radius: clamp(22px, 3vw, 34px);
  --home-wrap: min(100% - var(--gutter) * 2, var(--maxw));
  overflow-x: clip;
  background: var(--ink);
}

.page-home .home-wrap {
  width: var(--home-wrap);
  margin-inline: auto;
}

.page-home .eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.page-home .lead {
  max-width: 62ch;
  color: var(--text);
  line-height: 1.75;
}

.page-home .text-link {
  color: var(--cyan);
  font-size: 0.92rem;
  text-decoration: none;
  text-underline-offset: 0.28em;
  transition: color 0.25s var(--ease);
}

.page-home .text-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.page-home .btn {
  min-height: 44px;
}

.page-home .hero {
  position: relative;
  padding: clamp(44px, 7vw, 96px) 0 clamp(42px, 6vw, 84px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 242, 207, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 242, 207, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  width: var(--home-wrap);
  margin-inline: auto;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

.page-home .hero-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
}

.page-home .hero-context-text {
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.page-home .hero-title {
  margin: 18px 0 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(2.55rem, 11.5vw, 5.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.06em;
}

.page-home .hero-title > span {
  display: block;
}

.page-home .hero-title-line {
  margin-top: 0.12em;
  margin-left: clamp(0px, 2vw, 26px);
  color: var(--cyan);
  font-size: 0.68em;
  letter-spacing: 0.12em;
}

.page-home .hero-lead {
  margin: 22px 0 0;
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: var(--hair);
}

.page-home .hero-stats .stat {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.page-home .hero-stats .stat__label {
  color: var(--text);
  font-size: 0.72rem;
  line-height: 1.4;
  opacity: 0.82;
}

.page-home .hero-stats .stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.22em;
  color: var(--cyan);
  font-family: var(--font-num);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
}

.page-home .hero-stats .stat__value small {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

.page-home .hero-visual {
  position: relative;
  min-height: 300px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(56, 242, 207, 0.18);
  border-radius: var(--home-radius);
  background:
    radial-gradient(circle at 74% 26%, rgba(56, 242, 207, 0.2), transparent 48%),
    radial-gradient(circle at 18% 82%, rgba(255, 138, 61, 0.16), transparent 46%),
    linear-gradient(145deg, rgba(14, 47, 39, 0.95), rgba(8, 31, 26, 0.9));
  box-shadow: var(--shadow);
}

.page-home .stage-glow {
  position: absolute;
  inset: 8% 6% auto auto;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 242, 207, 0.28), rgba(56, 242, 207, 0) 68%);
  filter: blur(8px);
  pointer-events: none;
}

.page-home .stage-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(56, 242, 207, 0.3);
  border-radius: var(--home-radius);
  transform: rotate(-3.5deg);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95);
}

.page-home .stage-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(8, 31, 26, 0.18) 3px,
    rgba(8, 31, 26, 0.18) 4px
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}

.page-home .stage-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .tablet-outline {
  position: absolute;
  right: 3%;
  bottom: 2%;
  z-index: 2;
  width: 58%;
  color: rgba(245, 250, 247, 0.28);
  transform: rotate(6deg);
  pointer-events: none;
}

.page-home .floating-card {
  position: absolute;
  right: 4%;
  bottom: 8%;
  z-index: 3;
  display: grid;
  gap: 4px;
  max-width: 220px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 179, 108, 0.45);
  border-radius: 18px;
  background: rgba(8, 31, 26, 0.74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}

.page-home .floating-label {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-home .floating-card strong {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.page-home .floating-note {
  color: var(--text);
  font-size: 0.74rem;
  opacity: 0.82;
}

.page-home .services {
  padding: clamp(46px, 7vw, 82px) 0;
}

.page-home .section-head {
  display: grid;
  gap: 14px;
}

.page-home .section-head h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4.8vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
}

.page-home .section-head .lead {
  margin: 0;
}

.page-home .service-list {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .service-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.page-home .service-item:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(56, 242, 207, 0.08), transparent 70%);
}

.page-home .service-no {
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.8;
}

.page-home .service-body h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.page-home .service-body p {
  margin: 0;
  max-width: 62ch;
  color: var(--text);
  line-height: 1.75;
}

.page-home .service-tag {
  grid-column: 2;
  justify-self: start;
  white-space: nowrap;
}

.page-home .cost-section {
  padding: clamp(48px, 7vw, 88px) 0;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 138, 61, 0.1), transparent 38%),
    linear-gradient(135deg, rgba(14, 47, 39, 0.96), rgba(8, 31, 26, 0.84));
}

.page-home .cost-layout {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 42px);
}

.page-home .cost-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(56, 242, 207, 0.18);
  border-radius: var(--home-radius);
  transform: rotate(-2deg);
}

.page-home .cost-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .cost-panel {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: rgba(8, 31, 26, 0.64);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-home .panel-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.page-home .module-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.page-home .module-row li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--cyan);
  font-size: 0.88rem;
}

.page-home .panel-intro {
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.75;
}

.page-home .fee-accordion {
  border-top: 1px solid var(--line);
}

.page-home .fee-accordion details {
  border-bottom: 1px solid var(--line);
}

.page-home .fee-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}

.page-home .fee-accordion summary::-webkit-details-marker {
  display: none;
}

.page-home .fee-accordion summary::after {
  content: "+";
  color: var(--orange);
  font-family: var(--font-num);
  font-size: 1.4rem;
  line-height: 1;
}

.page-home .fee-accordion details[open] summary::after {
  content: "−";
}

.page-home .fee-body {
  padding: 0 0 16px;
}

.page-home .fee-body p {
  margin: 0;
  max-width: 58ch;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.75;
}

.page-home .cost-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 22px;
}

.page-home .records {
  padding: clamp(48px, 7vw, 88px) 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(59, 47, 92, 0.5), transparent 42%),
    var(--ink);
}

.page-home .records-layout {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.page-home .record-media {
  margin: 0;
  aspect-ratio: 10 / 7;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  transform: rotate(2deg);
}

.page-home .record-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .records-copy h2 {
  margin: 12px 0 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4.6vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: 0.04em;
}

.page-home .records-copy .lead {
  margin: 16px 0 0;
}

.page-home .record-steps {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .record-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(28, 74, 63, 0.9);
}

.page-home .record-steps li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 138, 61, 0.55);
  border-radius: 50%;
  color: var(--orange);
  font-family: var(--font-num);
  font-size: 1rem;
  font-weight: 700;
}

.page-home .record-steps h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 1.06rem;
}

.page-home .record-steps p {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.7;
}

.page-home .records-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 24px;
}

.page-home .records-hint {
  max-width: 30ch;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.8;
}

.page-home .compare-details {
  margin-top: 20px;
  padding: 0 18px;
  border: 1px solid rgba(217, 179, 108, 0.3);
  border-radius: var(--r-lg);
  background: rgba(59, 47, 92, 0.26);
}

.page-home .compare-details summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 0;
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.page-home .compare-details summary::-webkit-details-marker {
  display: none;
}

.page-home .summary-meta {
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.page-home .compare-body {
  padding: 0 0 18px;
}

.page-home .compare-body p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.75;
}

.page-home .news {
  padding: 0 0 clamp(48px, 7vw, 88px);
}

.page-home .section-head--split {
  display: grid;
  gap: 16px;
  align-items: end;
}

.page-home .section-head--split .lead {
  margin: 0;
}

.page-home .section-head--split .btn {
  justify-self: start;
}

.page-home .news-media {
  margin: clamp(26px, 4vw, 38px) 0 0;
  aspect-ratio: 7 / 4;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
}

.page-home .news-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .news-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.page-home .news-item {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .news-time {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-home .news-item h3 {
  margin: 0 0 8px;
  padding-right: 72px;
  color: var(--white);
  font-size: clamp(1.06rem, 2.2vw, 1.32rem);
  line-height: 1.4;
}

.page-home .news-item p {
  margin: 0 0 12px;
  max-width: 66ch;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-home .news-tag {
  position: absolute;
  top: 22px;
  right: 0;
  color: var(--orange);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  opacity: 0.55;
  transform: translateY(2px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .news-item:hover .news-tag {
  opacity: 1;
  transform: none;
}

.page-home .start-strip {
  display: grid;
  gap: 22px;
  margin-top: clamp(34px, 5vw, 52px);
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(217, 179, 108, 0.25);
  border-radius: var(--home-radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 138, 61, 0.14), transparent 40%),
    linear-gradient(110deg, rgba(59, 47, 92, 0.52), rgba(14, 47, 39, 0.72));
}

.page-home .start-strip h2 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.page-home .start-strip p:not(.eyebrow) {
  margin: 12px 0 0;
  max-width: 60ch;
  color: var(--text);
  line-height: 1.7;
}

.page-home .start-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.page-home [data-reveal].is-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.page-home [data-reveal].is-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .page-home .service-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .service-tag {
    grid-column: auto;
    justify-self: end;
  }

  .page-home .news-list {
    display: grid;
    gap: 0;
  }

  .page-home .news-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0 18px;
  }

  .page-home .news-time {
    grid-row: 1 / span 3;
    margin-top: 4px;
  }

  .page-home .news-item h3,
  .page-home .news-item p,
  .page-home .news-item .text-link {
    grid-column: 2;
  }

  .page-home .news-tag {
    top: 24px;
  }
}

@media (min-width: 960px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .page-home .hero-visual {
    min-height: 470px;
  }

  .page-home .cost-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
  }

  .page-home .cost-media {
    height: 100%;
  }

  .page-home .cost-media img {
    height: 100%;
  }

  .page-home .records-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(34px, 5vw, 64px);
  }

  .page-home .section-head--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.7fr);
    align-items: end;
  }

  .page-home .section-head--split .btn {
    grid-column: 2;
  }

  .page-home .news-list {
    margin-top: 26px;
  }

  .page-home .news-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0 22px;
  }

  .page-home .start-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .start-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1180px) {
  .page-home .hero-visual {
    min-height: 520px;
  }

  .page-home .floating-card {
    right: 6%;
  }

  .page-home .records-layout {
    grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .stage-frame,
  .page-home .tablet-outline,
  .page-home .cost-media,
  .page-home .record-media {
    transform: none;
  }

  .page-home [data-reveal].is-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
