/* v53: the main FV copy inherits the original v51 size, position and white halo.
   Only the image-based lead is adapted to the current plain-text copy. */
html body.page-home .stage .hero .hero__title--copy-update > .hero__title-line--intro {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .075em;
  white-space: normal;
}
@media (min-width: 901px) {
  html body.page-home .stage .hero .hero__title--copy-update > .hero__title-line--intro {
    height: 140px;
    padding-top: 36px;
    color: #1e2d36;
    text-shadow: -1px -1px 1px #fff, 1px -1px 1px #fff,
      -1px 1px 1px #fff, 1px 1px 1px #fff,
      0 0 3px #fff, 0 0 5px #fff, 0 0 8px rgba(255,255,255,.9);
  }
}
@media (max-width: 900px) {
  html body.page-home .stage .hero .hero__title--copy-update {
    /* Keep the first main-copy line at its former baseline after removing line two. */
    bottom: calc(46px + 1.34em);
  }
  html body.page-home .stage .hero .hero__title--copy-update > .hero__title-line--intro {
    min-height: 44px;
    margin-bottom: 4px;
    font-size: clamp(12px, 3.2vw, 16px);
    color: #fff;
    letter-spacing: .04em;
  }
}
@media (max-width: 620px) {
  html body.page-home .stage .hero .hero__title--copy-update { bottom: calc(44px + 1.19em); }
}
/* Very narrow phones keep the restored main size but allow a natural wrap. */
@media (max-width: 360px) {
  html body.page-home .stage .hero .hero__title--copy-update > .hero__title-line--adaptive {
    white-space: normal;
    text-wrap: balance;
  }
}
/* Matching frames, photo dimensions and label typography for both grades. */
html body.client-redline-v07.page-price .plans .plan-card {
  border: 1px solid rgba(57,119,157,.45);
  border-radius: 0;
  overflow: hidden;
}
html body.client-redline-v07.page-price .plans .plan-card__image {
  position: relative;
  box-sizing: border-box;
  flex: none;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  margin: 0;
  border: 8px solid #fff;
  background: #fff;
  overflow: hidden;
}
html body.client-redline-v07.client-redline-v07.page-price .plans .plan-card__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  border-radius: 0;
  object-fit: cover !important;
  object-position: 50% 52%;
}
html body.client-redline-v07.page-price .plans .plan-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9em;
  min-height: 48px;
  margin: 0 0 24px;
  padding: 9px 22px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: var(--lt-brand);
  font-family: var(--font-serif) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: .12em !important;
}
html body.client-redline-v07.page-price .plans .plan-card--premium .plan-card__label {
  color: #fff;
}
html body.client-redline-v07.page-price .plans .plan-card__title {
  min-height: 4.8em;
  --type-weight: 500;
  --type-tracking: .04em;
}
@media (max-width: 900px) {
  html body.client-redline-v07.page-price .plans .plan-card__title { min-height: 0; }
}
@media (max-width: 600px) {
  html body.client-redline-v07.page-price .plans .plan-card__label {
    min-height: 44px;
    font-size: 18px !important;
    margin-bottom: 20px;
  }
}
/* Amounts remain approximate, with a stronger hierarchy than supporting copy. */
html body.client-redline-v07.page-price [data-yen] {
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em !important;
}
html body.client-redline-v07.page-price .price-unit-table td > .price-unit-table__tax-in[data-yen] {
  display: block;
  font-size: clamp(24px, 1.8vw, 30px) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: nowrap;
}
html body.client-redline-v07.page-price .price-unit-table td > .price-unit-table__tax-out[data-yen] {
  display: block;
  font-size: clamp(15px, 1.1vw, 18px) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}
html body.client-redline-v07.page-price .price-unit-table td > .price-unit-table__tax-in[data-yen] > span {
  font-size: .6em !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
}
html body.client-redline-v07.page-price .price-unit-table td { padding-inline: clamp(12px, 1.5vw, 24px); }
html body.client-redline-v07.page-price .funding__total-price[data-yen] {
  font-size: clamp(46px, 4.5vw, 72px) !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}
html body.client-redline-v07.page-price .funding__item-price[data-yen] {
  font-size: clamp(28px, 2vw, 32px) !important;
  line-height: 1.4 !important;
}
html body.client-redline-v07.page-price .funding__total-caption [data-yen],
html body.client-redline-v07.page-price .funding__item-desc--tax [data-yen] { font-size: 18px !important; }
html body.client-redline-v07.page-price [data-yen][data-yen] > .amount-prefix.amount-prefix {
  font-size: .6em !important;
  font-weight: 600 !important;
  margin-right: .12em;
}
html body.client-redline-v07.page-price .funding__item-desc--tax,
html body.client-redline-v07.page-price .funding__total-caption { flex-wrap: wrap; }
@media (max-width: 1100px) {
  html body.client-redline-v07.page-price .funding__items { grid-template-columns: minmax(0, 1fr); }
  html body.client-redline-v07.page-price .funding__op { display: none; }
}
@media (max-width: 600px) {
  html body.client-redline-v07.page-price .price-unit-table tbody td {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    text-align: left;
    padding: 16px 20px;
  }
  html body.client-redline-v07.page-price .price-unit-table tbody td::before { grid-column: 1; grid-row: 1; }
  html body.client-redline-v07.page-price .price-unit-table td > .price-unit-table__tax-in[data-yen] {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(24px, 6.4vw, 28px) !important;
  }
  html body.client-redline-v07.page-price .price-unit-table td > .price-unit-table__tax-out[data-yen] {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0;
    font-size: 16px !important;
  }
  html body.client-redline-v07.page-price .funding__total-price[data-yen] { font-size: clamp(34px, 10vw, 54px) !important; }
}
html body.client-redline-v07.page-price .estimate-exclusions ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  html body.client-redline-v07.page-price .estimate-exclusions ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  html body.client-redline-v07.page-price .estimate-exclusions ul { grid-template-columns: minmax(0, 1fr); }
}
/* Keep the 05 slide inside the existing scroll sequence and fixed frame. */
.page-performance .performance-showcase__slide--standard img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}
@media (max-width: 900px) {
  .page-performance .performance-showcase__slide--standard img { object-position: 58% 45%; }
}
