/* v1.0.66: Owner-approved monochrome cards, clipped photo zoom and
 * shared PC/mobile link feedback. White-card build remains on hold. */
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(25, 25, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
}
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hal-card-image, var(--hal-scope-background));
  background-size: cover;
  background-position: var(--hal-card-position, center);
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(25, 25, 25, 0.8);
  pointer-events: none;
}
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link > * { position: relative; z-index: 1; }
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:focus-visible,
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:active {
  background: rgba(25, 25, 25, 0.8);
  border-color: rgba(255, 255, 255, 0.85);
  outline: none;
  box-shadow: none;
}
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:focus-visible .hal-card__more,
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:active .hal-card__more {
  color: #ffffff;
  border-color: #ffffff;
}
.hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link .hal-card__more { transition: color 0.35s ease, border-color 0.35s ease; }

/* Apply the same inversion to links displayed over fixed photos. */
.hal-lp.hal-bg-scroll #services a.hal-pricing-entrance__link,
.hal-lp.hal-bg-scroll #services a.hal-shortcut__link,
.hal-lp.hal-bg-scroll #services .hal-related > a,
.hal-lp.hal-bg-scroll .hal-price a.hal-related__major,
.hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link {
  border-radius: 0;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s ease;
}
.hal-lp.hal-bg-scroll .hal-price a.hal-related__major .hal-related__major-key,
.hal-lp.hal-bg-scroll .hal-price a.hal-related__major::after {
  color: inherit;
}
.hal-lp.hal-bg-scroll #services .hal-link-arrow,
.hal-lp.hal-bg-scroll #services .hal-shortcut__arrow,
.hal-lp.hal-bg-scroll #services .hal-pricing-entrance__link > span[aria-hidden],
.hal-lp.hal-bg-scroll .hal-price a.hal-related__major::after,
.hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link > span[aria-hidden] {
  display: inline-block;
  flex: 0 0 auto;
  color: inherit;
  transition: transform 0.3s ease;
}
.hal-lp.hal-bg-scroll #services a.hal-pricing-entrance__link:focus-visible,
.hal-lp.hal-bg-scroll #services a.hal-shortcut__link:focus-visible,
.hal-lp.hal-bg-scroll #services .hal-related > a:focus-visible,
.hal-lp.hal-bg-scroll .hal-price a.hal-related__major:focus-visible,
.hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link:focus-visible {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #111111;
  text-decoration: none;
  outline: none;
  box-shadow: none;
}
.hal-lp.hal-bg-scroll #services a.hal-pricing-entrance__link:active,
.hal-lp.hal-bg-scroll #services a.hal-shortcut__link:active,
.hal-lp.hal-bg-scroll #services .hal-related > a:active,
.hal-lp.hal-bg-scroll .hal-price a.hal-related__major:active,
.hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link:active {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #111111;
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

/* This selector excludes the separate urgent CTA. */
.hal-lp.hal-bg-scroll #services .hal-cta-center > a.cta-solid {
  background: #B83A2C;
  border-color: #B83A2C;
  color: #ffffff;
  border-radius: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.hal-lp.hal-bg-scroll #services .hal-cta-center > a.cta-solid:hover,
.hal-lp.hal-bg-scroll #services .hal-cta-center > a.cta-solid:focus-visible {
  background: #8F2D24;
  border-color: #8F2D24;
  color: #ffffff;
}

/* Shared TOP/subpage header; keep its existing dimensions and order. */
.hal-lp .hal-header .hal-header__cta .hal-header__cta-btn {
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hal-lp .hal-header .hal-header__cta .hal-header__cta-btn--book {
  background: #ffffff;
  color: #111111;
  border: 1px solid #ffffff;
}
.hal-lp .hal-header .hal-header__cta .hal-header__cta-btn--book:hover,
.hal-lp .hal-header .hal-header__cta .hal-header__cta-btn--book:focus-visible {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #111111;
}
.hal-lp .hal-header .hal-header__cta .hal-header__cta-btn--line {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
.hal-lp .hal-header .hal-header__cta .hal-header__cta-btn--line:hover,
.hal-lp .hal-header .hal-header__cta .hal-header__cta-btn--line:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}
.hal-lp .hal-header .hal-header__cta .hal-header__cta-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}
.hal-lp .hal-header .hal-header__actions .hal-header__tel,
.hal-lp .hal-header .hal-header__actions .hal-header__tel .hal-header__tel-num {
  color: #ffffff;
  opacity: 1;
}
.hal-lp .hal-header .hal-header__actions .hal-header__tel:hover,
.hal-lp .hal-header .hal-header__actions .hal-header__tel:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Motion only for pointers that can hover: no sticky hover lift on touch. */
@media (hover: hover) and (pointer: fine) {
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:hover {
    background: rgba(25, 25, 25, 0.8);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-3px);
  }
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:hover::before { transform: scale(1.05); }
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:hover .hal-card__more { color: #ffffff; border-color: #ffffff; }
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:hover .hal-link-arrow { transform: translateX(4px); }
  .hal-lp.hal-bg-scroll #services a.hal-pricing-entrance__link:hover,
  .hal-lp.hal-bg-scroll #services a.hal-shortcut__link:hover,
  .hal-lp.hal-bg-scroll #services .hal-related > a:hover,
  .hal-lp.hal-bg-scroll .hal-price a.hal-related__major:hover,
  .hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
    color: #111111;
    text-decoration: none;
    transform: translateY(-2px);
  }
  .hal-lp.hal-bg-scroll #services .hal-related > a:hover .hal-link-arrow,
  .hal-lp.hal-bg-scroll #services a.hal-shortcut__link:hover .hal-shortcut__arrow,
  .hal-lp.hal-bg-scroll #services a.hal-pricing-entrance__link:hover > span[aria-hidden],
  .hal-lp.hal-bg-scroll .hal-price a.hal-related__major:hover::after,
  .hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link:hover > span[aria-hidden] {
    transform: translateX(5px);
  }
  .hal-lp .hal-header .hal-header__cta .hal-header__cta-btn--book:hover {
    transform: translateY(-1px);
  }
}

/* Subpage FV photos: same legal source as TOP, existing cost photograph. */
.hal-lp.hal-sub.hal-legal-counsel .lc-hero,
.hal-lp.hal-sub.hal-cc--cost .hal-cc__hero {
  position: relative;
  isolation: isolate;
  background-image: var(--hal-sub-fv-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hal-lp.hal-sub.hal-legal-counsel .lc-hero {
  --hal-sub-fv-image: url('../../photos/hal-legal-counsel-background.jpeg');
}
.hal-lp.hal-sub.hal-cc--cost .hal-cc__hero {
  --hal-sub-fv-image: url('../../photos/service/hal-akasaka-lower-page-typewriter-bright-monochrome.jpeg.s8-1536.webp');
  background-position: right center;
}
.hal-lp.hal-sub.hal-legal-counsel .lc-hero::before,
.hal-lp.hal-sub.hal-cc--cost .hal-cc__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(16, 19, 17, 0.78);
}
.hal-lp.hal-sub.hal-legal-counsel .lc-hero .lc-h1,
.hal-lp.hal-sub.hal-legal-counsel .lc-hero .lc-kicker,
.hal-lp.hal-sub.hal-legal-counsel .lc-hero .lc-p,
.hal-lp.hal-sub.hal-legal-counsel .lc-hero .lc-supervision {
  color: #f8f8f5;
}
.hal-lp.hal-sub.hal-cc--cost .hal-cc__hero .hal-cc-fv {
  grid-template-columns: minmax(0, 1fr);
  max-width: 816px;
}
.hal-lp.hal-sub.hal-cc--cost .hal-cc__hero p,
.hal-lp.hal-sub.hal-cc--cost .hal-cc__hero h1,
.hal-lp.hal-sub.hal-cc--cost .hal-cc__hero dt,
.hal-lp.hal-sub.hal-cc--cost .hal-cc__hero dd {
  color: #f8f8f5;
}
.hal-lp.hal-sub .hal-sub-bg-clip { display: none; }
@media (max-width: 1023.98px) {
  .hal-lp.hal-sub.hal-legal-counsel .lc-hero,
  .hal-lp.hal-sub.hal-cc--cost .hal-cc__hero { background-attachment: scroll; }
}
@supports (clip-path: inset(0)) {
  @media (max-width: 1023.98px) and (prefers-reduced-motion: no-preference) {
    .hal-lp.hal-sub.hal-legal-counsel .lc-hero,
    .hal-lp.hal-sub.hal-cc--cost .hal-cc__hero { background-image: none; }
    .hal-lp.hal-sub .hal-sub-bg-clip {
      display: block;
      position: absolute;
      inset: 0;
      z-index: -2;
      -webkit-clip-path: inset(0);
      clip-path: inset(0);
      pointer-events: none;
    }
    .hal-lp.hal-sub .hal-sub-bg-fixed {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      height: 100lvh;
      background-image: var(--hal-sub-fv-image);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      pointer-events: none;
    }
    .hal-lp.hal-sub.hal-cc--cost .hal-sub-bg-fixed { background-position: right center; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:hover::before,
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:hover,
  .hal-lp.hal-bg-scroll #services a.hal-pricing-entrance__link:hover,
  .hal-lp.hal-bg-scroll #services a.hal-shortcut__link:hover,
  .hal-lp.hal-bg-scroll #services .hal-related > a:hover,
  .hal-lp.hal-bg-scroll .hal-price a.hal-related__major:hover,
  .hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link:hover,
  .hal-lp .hal-header .hal-header__cta .hal-header__cta-btn--book:hover,
  .hal-lp.hal-bg-scroll #services .hal-link-arrow,
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:hover .hal-link-arrow,
  .hal-lp.hal-bg-scroll #services .hal-related > a:hover .hal-link-arrow,
  .hal-lp.hal-bg-scroll #services a.hal-shortcut__link:hover .hal-shortcut__arrow,
  .hal-lp.hal-bg-scroll #services a.hal-pricing-entrance__link:hover > span[aria-hidden],
  .hal-lp.hal-bg-scroll .hal-price a.hal-related__major:hover::after,
  .hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link:hover > span[aria-hidden],
  .hal-lp.hal-bg-scroll #services .hal-shortcut__arrow,
  .hal-lp.hal-bg-scroll #services .hal-pricing-entrance__link > span[aria-hidden],
  .hal-lp.hal-bg-scroll .hal-price a.hal-related__major::after,
  .hal-lp.hal-bg-scroll #hal-legal-counsel a.lc-link > span[aria-hidden] {
    transform: none;
  }
}

/* Center the legal prose as a block; keep every sentence left-aligned. */
.hal-lp.hal-bg-scroll #hal-legal-counsel .lc-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.hal-lp.hal-bg-scroll #hal-legal-counsel .lc-prose-block {
  width: fit-content;
  max-width: min(100%, 32em);
  margin-inline: auto;
  text-align: left;
  align-self: center;
}
.hal-lp.hal-bg-scroll #hal-legal-counsel .lc-prose-block .lc-p { text-align: left; }
/* Owner R1 (PC only): the TOP body in the approved three lines, without the surrounding quote marks; mobile keeps its current wrapping and marks. */
@media (min-width: 768px) {
  .hal-lp.hal-bg-scroll #hal-legal-counsel .lc-prose-block { max-width: 100%; }
  .hal-lp.hal-bg-scroll #hal-legal-counsel .lc-copy-line { white-space: nowrap; }
  .hal-lp.hal-bg-scroll #hal-legal-counsel .lc-quote-mark { display: none; }
}

/* Owner requested max-width:768px, including that boundary. */
@media (max-width: 768px) {
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link {
    background: rgba(25, 25, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.45);
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s ease, transform 0.12s ease, opacity 0.35s ease;
  }
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link::after {
    background: rgba(25, 25, 25, 0.85);
  }
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link .hal-card__more,
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link .hal-card__more .hal-link-arrow {
    color: #FFFFFF;
    border-color: #FFFFFF;
  }
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:active {
    background: rgba(25, 25, 25, 0.85);
    border-color: #ffffff;
    transform: scale(0.98);
    transition: border-color 0s, transform 0.12s ease;
    outline: none;
  }
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:focus-visible {
    background: rgba(25, 25, 25, 0.85);
    border-color: #ffffff;
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .hal-lp.hal-bg-scroll #services .hal-consult__grid--svc8 .hal-card--link:active {
    transform: none;
  }
}
