/* HirayaVA homepage-specific styles consolidated 2026-08-25. */

/* Homepage hero v4: preserve natural proportions and keep the business group visible. */
.v2-hero.v2-hero-fullblend .v2-hero-media,
.v2-hero.v2-hero-fullblend .v2-hero-media img {
  width: 100%;
  height: 100%;
}
.v2-hero.v2-hero-fullblend .v2-hero-media img {
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 760px) {
  .v2-hero.v2-hero-fullblend .v2-hero-media img {
    object-position: 70% center;
  }
}

/* HirayaVA — Systems That Support Growth full-bleed image fix */
.hiraya-systems-growth-fullbleed-v2{
  position:relative !important;
  isolation:isolate !important;
  overflow:hidden !important;
  background-color:#07162d !important;
  background-image:url("images/hirayava-systems-growth-team-v1.webp") !important;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-size:contain !important;
}

/* Preserve the existing content above the new full-section artwork. */
.hiraya-systems-growth-fullbleed-v2 > *{
  position:relative;
  z-index:2;
}

/* Remove the old framed/square rendering of this same photo. */
.hiraya-systems-growth-fullbleed-v2 img.hiraya-systems-growth-source-v2{
  opacity:0 !important;
  visibility:hidden !important;
}

/* If the image is inside a picture frame, remove the visual frame itself. */
.hiraya-systems-growth-fullbleed-v2 picture:has(img.hiraya-systems-growth-source-v2){
  opacity:0 !important;
  visibility:hidden !important;
}

/* Make sure the image area does not leave a white/square card behind. */
.hiraya-systems-growth-fullbleed-v2 *:has(> picture > img.hiraya-systems-growth-source-v2),
.hiraya-systems-growth-fullbleed-v2 *:has(> img.hiraya-systems-growth-source-v2){
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

/* Keep the copy readable while letting the image use the whole section. */
.hiraya-systems-growth-fullbleed-v2::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(7,22,45,.42) 0%,
    rgba(7,22,45,.18) 34%,
    rgba(7,22,45,.03) 58%,
    rgba(7,22,45,0) 100%);
}

@media (min-width:901px){
  .hiraya-systems-growth-fullbleed-v2{
    /* Full original 1672×941 artwork is shown without square cropping. */
    background-size:100% auto !important;
    background-position:center center !important;
  }
}

@media (max-width:900px){
  .hiraya-systems-growth-fullbleed-v2{
    /* Keep the whole image width visible on smaller screens; extra height blends into navy. */
    background-size:100% auto !important;
    background-position:center top !important;
  }
  .hiraya-systems-growth-fullbleed-v2::after{
    background:linear-gradient(180deg,
      rgba(7,22,45,.10) 0%,
      rgba(7,22,45,.34) 42%,
      rgba(7,22,45,.92) 78%,
      #07162d 100%);
  }
}

/* One semantic hero for desktop and mobile; the picture source changes by viewport. */
@media (max-width: 760px) {
  .v2-hero.v2-hero-fullblend {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 30px 22px 0 !important;
    background: #07162d !important;
    color: #fff !important;
    overflow: hidden !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-grid,
  .v2-hero.v2-hero-fullblend .v2-hero-copy {
    display: contents !important;
  }

  .v2-hero.v2-hero-fullblend .v2-kicker {
    order: 1 !important;
    margin: 0 0 22px !important;
    color: #e6b64c !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
  }

  .v2-hero.v2-hero-fullblend h1 {
    order: 2 !important;
    margin: 0 !important;
    max-width: 100% !important;
    color: #fff !important;
    font-family: var(--serif, Georgia, 'Times New Roman', serif) !important;
    font-size: clamp(3.1rem, 15vw, 4.65rem) !important;
    font-weight: 400 !important;
    line-height: .98 !important;
    letter-spacing: -.035em !important;
  }

  .v2-hero.v2-hero-fullblend h1 em {
    color: #e6b64c !important;
    font-weight: 400 !important;
    font-style: italic !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-copy > p:not(.v2-kicker) {
    order: 3 !important;
    margin: 30px 0 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 1.08rem !important;
    line-height: 1.72 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-actions {
    order: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin: 30px 0 0 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-actions .v2-btn {
    box-sizing: border-box !important;
    min-height: 58px !important;
    padding: 0 30px !important;
    border-radius: 999px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .v2-hero.v2-hero-fullblend .v2-actions .v2-btn-gold {
    border: 0 !important;
    background: linear-gradient(135deg,#e6b64c,#e6b64c) !important;
    color: #07162d !important;
  }

  .v2-hero.v2-hero-fullblend .v2-actions .v2-btn-outline {
    border: 1px solid rgba(255,255,255,.42) !important;
    background: transparent !important;
    color: #fff !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-media {
    order: 5 !important;
    position: relative !important;
    inset: auto !important;
    width: calc(100% + 44px) !important;
    height: clamp(260px, 62vw, 340px) !important;
    margin: 30px -22px 0 !important;
    padding: 0 !important;
    background: #07162d !important;
    overflow: hidden !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-media img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: 72% center !important;
  }

  .v2-hero.v2-hero-fullblend .v2-trust {
    order: 6 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 28px 0 34px !important;
    color: rgba(255,255,255,.68) !important;
    font-size: .95rem !important;
    line-height: 1.45 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-visual-anchor {
    display: none !important;
  }
}

/* Desktop hero: use more of the viewport so the copy does not sit inside an oversized left gutter. */
@media (min-width: 1100px) {
  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    width: min(1500px, calc(100% - 64px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
    gap: 58px !important;
  }
  .v2-hero.v2-hero-fullblend .v2-hero-copy {
    max-width: 680px !important;
  }
}

/* =========================================================
   HIRAYAVA HOMEPAGE — IVORY-FIRST BRAND PALETTE
   Ivory carries the page; navy is reserved for typography,
   key framing, the Growth OS feature and the footer.
   ========================================================= */

body {
  background: #fbf7ee;
}

.v2-header {
  background: rgba(251,247,238,.96) !important;
  border-bottom: 1px solid rgba(7,22,45,.12) !important;
  box-shadow: 0 8px 28px rgba(7,22,45,.05);
}

.v2-header .v2-brand,
.v2-header .v2-nav nav a,
.v2-header .v2-menu {
  color: #07162d !important;
}

.v2-header .v2-nav nav a:hover,
.v2-header .v2-nav nav a:focus-visible {
  color: #8a5c0f !important;
}

.v2-header .v2-nav-cta {
  background: #07162d !important;
  color: #fffdf8 !important;
  box-shadow: 0 10px 28px rgba(7,22,45,.14);
}

.v2-hero.v2-hero-fullblend {
  background:
    radial-gradient(circle at 74% 16%,rgba(7,22,45,.08),transparent 34%),
    linear-gradient(135deg,#fffdf8 0%,#fbf7ee 62%,#f2eadb 100%) !important;
  color: #07162d !important;
}

.v2-hero.v2-hero-fullblend::after {
  background:
    linear-gradient(90deg,#fbf7ee 0%,#fbf7ee 31%,rgba(251,247,238,.96) 39%,rgba(251,247,238,.66) 51%,rgba(251,247,238,.10) 70%,transparent 82%),
    linear-gradient(180deg,rgba(251,247,238,.12) 0%,transparent 60%,rgba(251,247,238,.78) 91%,#fbf7ee 100%) !important;
}

.v2-hero.v2-hero-fullblend .v2-hero-media {
  filter: saturate(.84) contrast(1.01) brightness(1.035) !important;
}

.v2-hero.v2-hero-fullblend h1 {
  color: #07162d !important;
  text-shadow: none !important;
}

.v2-hero.v2-hero-fullblend h1 em,
.v2-hero.v2-hero-fullblend .v2-kicker {
  color: #8a5c0f !important;
}

.v2-hero.v2-hero-fullblend .v2-hero-copy > p:not(.v2-kicker) {
  color: #47566b !important;
  text-shadow: none !important;
}

.v2-hero.v2-hero-fullblend .v2-actions .v2-btn-outline {
  border-color: rgba(7,22,45,.34) !important;
  color: #07162d !important;
  background: rgba(255,253,248,.68) !important;
}

.v2-hero.v2-hero-fullblend .v2-trust {
  color: #536174 !important;
  text-shadow: none !important;
}

.v2-proof {
  background: #f4ecdd !important;
  border-top: 1px solid rgba(7,22,45,.09);
  border-bottom: 1px solid rgba(7,22,45,.09);
}

.v2-proof p {
  color: #8a5c0f !important;
}

.v2-proof-list {
  color: #263953 !important;
}

/* Keep one rich navy feature moment; convert the service journey to ivory. */
#solutions.v2-navy {
  background: #fbf7ee !important;
  color: #07162d !important;
  border-top: 1px solid rgba(7,22,45,.08);
  border-bottom: 1px solid rgba(7,22,45,.08);
}

#solutions .v2-section-head a {
  color: #8a5c0f !important;
}

#solutions .v2-service-card {
  color: #07162d !important;
  background: rgba(255,253,248,.84) !important;
  border-color: rgba(7,22,45,.13) !important;
  box-shadow: 0 16px 42px rgba(7,22,45,.045);
}

#solutions .v2-service-card:hover {
  border-color: rgba(166,111,18,.62) !important;
  box-shadow: 0 22px 48px rgba(7,22,45,.09);
}

#solutions .v2-service-card b,
#solutions .v2-service-card span {
  color: #8a5c0f !important;
}

#solutions .v2-service-card p {
  color: #536174 !important;
}

@media (max-width: 980px) {
  .v2-header .v2-nav.open nav {
    background: #fbf7ee !important;
    border-top: 1px solid rgba(7,22,45,.10);
    box-shadow: 0 18px 36px rgba(7,22,45,.10);
  }
}

/* Mobile hotfix: render a dedicated, cacheable hero without runtime JS or Base64 assets. */
@media (max-width: 760px) {
  .v2-hero.v2-hero-fullblend {
    display: none !important;
  }

  .hiraya-mobile-hero-v8 {
    display: block !important;
    margin: 0 !important;
    padding: 30px 22px 0 !important;
    background: #07162d !important;
    color: #fff !important;
    overflow: hidden !important;
  }

  .hiraya-mobile-hero-v8__eyebrow {
    margin: 0 0 22px !important;
    color: #e6b64c !important;
    font-size: .82rem !important;
    line-height: 1.5 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
  }

  .hiraya-mobile-hero-v8__title {
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--serif, Georgia, "Times New Roman", serif) !important;
    font-size: clamp(3.1rem, 15vw, 4.65rem) !important;
    font-weight: 400 !important;
    line-height: .98 !important;
    letter-spacing: -.035em !important;
  }

  .hiraya-mobile-hero-v8__title em {
    color: #e6b64c !important;
    font-weight: 400 !important;
  }

  .hiraya-mobile-hero-v8__lead {
    margin: 30px 0 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 1.08rem !important;
    line-height: 1.72 !important;
  }

  .hiraya-mobile-hero-v8__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin: 30px 0 0 !important;
  }

  .hiraya-mobile-hero-v8__btn {
    min-height: 58px !important;
    padding: 0 30px !important;
    border-radius: 999px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hiraya-mobile-hero-v8__btn--gold {
    background: linear-gradient(135deg,#e6b64c,#e6b64c) !important;
    color: #07162d !important;
  }

  .hiraya-mobile-hero-v8__btn--outline {
    border: 1px solid rgba(255,255,255,.42) !important;
    color: #fff !important;
  }

  .hiraya-mobile-hero-v8__visual {
    width: calc(100% + 44px) !important;
    height: clamp(260px,62vw,340px) !important;
    margin: 30px -22px 0 !important;
    overflow: hidden !important;
  }

  .hiraya-mobile-hero-v8__visual img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 72% center !important;
  }

  .hiraya-mobile-hero-v8__proof {
    display: grid !important;
    gap: 18px !important;
    padding: 28px 0 34px !important;
    color: rgba(255,255,255,.68) !important;
    font-size: .95rem !important;
  }

  .hiraya-mobile-hero-v8__proof span::before {
    content: "✓";
    margin-right: 8px;
  }

  .hiraya-chat-teaser {
    display: none !important;
  }

  .hiraya-chat-launcher {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
  }

  .hiraya-chat-mark {
    width: 36px !important;
    height: 36px !important;
    margin: auto !important;
  }

  .hiraya-chat-launcher > span:last-child {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .hiraya-chat-mini {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .hiraya-chat-mini-mark {
    margin: auto !important;
  }

  .hiraya-chat-mini-copy,
  .hiraya-chat-mini-expand {
    display: none !important;
  }
}

@media (min-width: 761px) {
  .hiraya-mobile-hero-v8 {
    display: none !important;
  }
}

/* Desktop first-screen balance: keep the cream proof strip fully visible beneath the navy hero. */
@media (min-width: 1100px) {
  .v2-hero.v2-hero-fullblend {
    padding-top: 60px !important;
    padding-bottom: 52px !important;
  }
  .v2-proof {
    padding-top: 26px !important;
    padding-bottom: 38px !important;
  }
  .v2-proof p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .v2-proof-list {
    margin-top: 14px !important;
  }
}

/* Final mobile palette overrides follow the legacy mobile hotfix above. */
@media (max-width: 760px) {
  .hiraya-mobile-hero-v8 {
    background: #fbf7ee !important;
    color: #07162d !important;
  }

  .hiraya-mobile-hero-v8__eyebrow,
  .hiraya-mobile-hero-v8__title em {
    color: #8a5c0f !important;
  }

  .hiraya-mobile-hero-v8__title {
    color: #07162d !important;
  }

  .hiraya-mobile-hero-v8__lead,
  .hiraya-mobile-hero-v8__proof {
    color: #536174 !important;
  }

  .hiraya-mobile-hero-v8__btn--outline {
    border-color: rgba(7,22,45,.34) !important;
    color: #07162d !important;
    background: rgba(255,253,248,.72) !important;
  }

  .hiraya-mobile-hero-v8__visual {
    width: 100% !important;
    margin: 30px 0 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 22px 52px rgba(7,22,45,.14);
  }

  .hiraya-mobile-hero-v8__proof {
    border-bottom: 1px solid rgba(7,22,45,.10);
  }
}

/* =========================================================
   HIRAYAVA HOMEPAGE — HERO BALANCE + COLLISION FIX
   Final overrides intentionally load after the legacy fold hotfix.
   ========================================================= */

:root {
  --home-ivory: #fbf7ee;
  --home-paper: #fffdf8;
  --home-navy: #07162d;
  --home-ink-soft: #47566b;
  --home-gold: #8a5c0f;
  --home-gold-fill: #e6b64c;
}

.v2-header .v2-brand img,
.v2-footer .v2-brand img {
  border-radius: 50% !important;
}

.v2-header .v2-nav nav a {
  font-size: 14px !important;
}

.v2-header .v2-nav-cta {
  min-height: 44px !important;
  padding-inline: 20px !important;
  font-size: 13px !important;
}

.v2-hero-line {
  display: block;
}

.v2-hero.v2-hero-fullblend h1 em,
.v2-hero.v2-hero-fullblend .v2-kicker,
.hiraya-mobile-hero-v8__eyebrow,
.hiraya-mobile-hero-v8__title em {
  color: var(--home-gold) !important;
}

.v2-hero.v2-hero-fullblend .v2-btn-gold,
.hiraya-mobile-hero-v8__btn--gold {
  background: var(--home-gold-fill) !important;
  color: var(--home-navy) !important;
  box-shadow: 0 10px 26px rgba(166,111,18,.16) !important;
}

.v2-hero.v2-hero-fullblend::after {
  display: none !important;
  content: none !important;
}

.v2-hero.v2-hero-fullblend .v2-hero-media {
  top: 28px !important;
  right: 28px !important;
  bottom: 28px !important;
  width: 49% !important;
  overflow: hidden !important;
  border: 1px solid rgba(7,22,45,.10) !important;
  border-radius: 30px !important;
  box-shadow: 0 26px 60px rgba(7,22,45,.14) !important;
  filter: saturate(.88) contrast(1.02) brightness(1.01) !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.v2-hero.v2-hero-fullblend .v2-hero-media img {
  object-position: 78% center !important;
}

.v2-hero.v2-hero-fullblend .v2-floating-card {
  display: none !important;
}

/* Keep the chat available without letting its proactive teaser cover content. */
.hiraya-chat-teaser {
  display: none !important;
}

.v2-proof {
  overflow: visible !important;
}

.v2-proof p,
.v2-proof-list {
  visibility: visible !important;
  opacity: 1 !important;
}

@media (min-width: 1001px) {
  .v2-hero.v2-hero-fullblend {
    min-height: 0 !important;
    padding: 36px 0 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    min-height: 500px !important;
    grid-template-columns: minmax(0,1fr) minmax(0,.94fr) !important;
    gap: 54px !important;
    align-items: center !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-copy {
    max-width: 650px !important;
  }

  .v2-hero.v2-hero-fullblend h1 {
    margin-bottom: 18px !important;
    font-size: clamp(48px,3.65vw,61px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.025em !important;
  }

  .v2-hero.v2-hero-fullblend .v2-kicker {
    margin-bottom: 13px !important;
    font-size: 12px !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-copy > p:not(.v2-kicker) {
    max-width: 610px !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-actions {
    margin: 19px 0 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-trust {
    gap: 20px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-visual-anchor {
    min-height: 500px !important;
  }

  .v2-proof {
    min-height: 0 !important;
    padding: 14px 0 18px !important;
  }

  .v2-proof-list {
    margin-top: 8px !important;
    gap: 30px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .v2-hero.v2-hero-fullblend .v2-hero-media {
    top: 44% !important;
    right: 20px !important;
    bottom: 24px !important;
    width: calc(100% - 40px) !important;
  }
}

@media (max-width: 760px) {
  body.hiraya-mobile-conversion-visible .hiraya-chat-root {
    bottom: 86px !important;
  }
}

@media (max-width: 760px) {
  .hiraya-mobile-hero-v8 {
    padding-top: 26px !important;
  }

  .hiraya-mobile-hero-v8__title {
    font-size: clamp(2.8rem,13.2vw,4rem) !important;
    line-height: 1.01 !important;
  }

  .hiraya-mobile-hero-v8__lead {
    margin-top: 24px !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .hiraya-mobile-hero-v8__actions {
    margin-top: 24px !important;
  }

  .hiraya-mobile-hero-v8__proof {
    gap: 12px !important;
    padding: 22px 0 26px !important;
    font-size: .95rem !important;
  }
}

.hv-home-testimonial .hv-client-website {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(166,111,18,.42);
  color: var(--home-gold) !important;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease,border-color .2s ease;
}

.hv-home-testimonial .hv-client-website:hover {
  color: var(--home-navy) !important;
  border-color: var(--home-navy);
}

.hv-home-testimonial .hv-client-website:focus-visible {
  outline: 3px solid rgba(230,182,76,.48);
  outline-offset: 4px;
  border-radius: 2px;
}

/* =========================================================
   HIRAYAVA HOMEPAGE — EDGE-FREE FULL-BLEED HERO v3
   The supplied artwork already fades naturally into ivory, so it is
   shown directly without a card, mask, artificial haze or box shadow.
   ========================================================= */

.v2-header .v2-nav-cta {
  min-height: 42px !important;
  background: transparent !important;
  border: 1px solid rgba(7,22,45,.30) !important;
  color: var(--home-navy) !important;
  box-shadow: none !important;
}

.v2-header .v2-nav-cta:hover,
.v2-header .v2-nav-cta:focus-visible {
  background: var(--home-navy) !important;
  border-color: var(--home-navy) !important;
  color: var(--home-paper) !important;
}

.v2-hero.v2-hero-fullblend {
  background: var(--home-ivory) !important;
}

.v2-hero.v2-hero-fullblend::before,
.v2-hero.v2-hero-fullblend::after {
  display: none !important;
  content: none !important;
}

.v2-hero.v2-hero-fullblend .v2-hero-media {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: saturate(.90) contrast(1.015) brightness(1.015) !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.v2-hero.v2-hero-fullblend .v2-hero-media img {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

#about {
  padding-top: 76px !important;
}

@media (min-width: 1001px) {
  .v2-hero.v2-hero-fullblend {
    min-height: 0 !important;
    padding: 32px 0 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    width: min(1180px,calc(100% - 40px)) !important;
    min-height: 500px !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 48px !important;
    align-items: center !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-copy {
    max-width: 610px !important;
  }

  .v2-hero.v2-hero-fullblend h1 {
    max-width: 610px !important;
    font-size: clamp(46px,3.5vw,59px) !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-copy > p:not(.v2-kicker) {
    max-width: 590px !important;
    font-size: 17px !important;
    line-height: 1.62 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-trust {
    font-size: 13.5px !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-visual-anchor {
    min-height: 500px !important;
  }

  .v2-proof {
    padding: 16px 0 20px !important;
  }

  .v2-proof-list {
    margin-top: 9px !important;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .v2-hero.v2-hero-fullblend .v2-hero-media {
    inset: 0 !important;
    width: 100% !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    width: min(100% - 40px,1180px) !important;
  }
}

@media (max-width: 760px) {
  .hiraya-mobile-hero-v8 {
    padding: 26px 22px 0 !important;
  }

  .hiraya-mobile-hero-v8__title {
    font-size: clamp(2.75rem,12.5vw,3.75rem) !important;
    line-height: 1.01 !important;
  }

  .hiraya-mobile-hero-v8__visual {
    width: calc(100% + 44px) !important;
    height: auto !important;
    aspect-ratio: 699 / 540 !important;
    margin: 26px -22px 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .hiraya-mobile-hero-v8__visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hiraya-mobile-hero-v8__proof {
    margin: 0 !important;
    padding: 22px 0 26px !important;
  }

  #about {
    padding-top: 58px !important;
  }
}

/* =========================================================
   HIRAYAVA HOMEPAGE — FINAL FIRST-SCREEN REFINEMENT v4
   Controlled desktop type, protected copy contrast, exact first-fold
   composition and navy discovery CTAs. Mobile remains content-height.
   ========================================================= */

.v2-header .v2-nav-cta {
  background: var(--home-navy) !important;
  border-color: var(--home-navy) !important;
  color: var(--home-paper) !important;
  box-shadow: 0 8px 22px rgba(7,22,45,.13) !important;
}

.v2-hero.v2-hero-fullblend .v2-btn-gold,
.hiraya-mobile-hero-v8__btn--gold {
  background: var(--home-navy) !important;
  border-color: var(--home-navy) !important;
  color: var(--home-paper) !important;
  box-shadow: 0 10px 26px rgba(7,22,45,.16) !important;
}

.v2-header .v2-nav-cta:hover,
.v2-header .v2-nav-cta:focus-visible,
.v2-hero.v2-hero-fullblend .v2-btn-gold:hover,
.v2-hero.v2-hero-fullblend .v2-btn-gold:focus-visible,
.hiraya-mobile-hero-v8__btn--gold:hover,
.hiraya-mobile-hero-v8__btn--gold:focus-visible {
  background: #102b4d !important;
  border-color: #102b4d !important;
  color: #fff !important;
}

@media (min-width: 1001px) {
  .v2-hero.v2-hero-fullblend {
    min-height: calc(100svh - 162px) !important;
    padding: 30px 0 !important;
  }

  /* A narrow left-side protection layer follows the supplied ivory fade.
     It ends before the people and does not haze the photograph. */
  .v2-hero.v2-hero-fullblend::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(90deg,
      var(--home-ivory) 0%,
      rgba(251,247,238,.99) 30%,
      rgba(251,247,238,.93) 39%,
      rgba(251,247,238,.68) 46%,
      rgba(251,247,238,.20) 53%,
      transparent 59%) !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    min-height: calc(100svh - 222px) !important;
    grid-template-columns: minmax(0,570px) minmax(0,1fr) !important;
    gap: 48px !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-copy {
    max-width: 570px !important;
  }

  .v2-hero.v2-hero-fullblend h1 {
    max-width: 570px !important;
    margin-bottom: 18px !important;
    font-size: clamp(47px,3.25vw,55px) !important;
    line-height: 1.015 !important;
    letter-spacing: -.025em !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-copy > p:not(.v2-kicker) {
    max-width: 545px !important;
    color: #3f4f64 !important;
    font-size: 16.5px !important;
    line-height: 1.62 !important;
  }

  .v2-hero.v2-hero-fullblend .v2-trust {
    max-width: 570px !important;
    gap: 11px 18px !important;
    color: #425269 !important;
    font-size: 13px !important;
  }

  .v2-proof {
    min-height: 78px !important;
    padding: 13px 0 15px !important;
    display: flex !important;
    align-items: center !important;
  }

  .v2-proof .v2-shell {
    width: min(1180px,calc(100% - 40px)) !important;
  }

  #about {
    padding-top: 72px !important;
  }
}

@media (min-width: 1001px) and (max-height: 760px) {
  .v2-hero.v2-hero-fullblend {
    min-height: 610px !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    min-height: 550px !important;
  }
}

@media (max-width: 1000px) {
  .v2-hero.v2-hero-fullblend::after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 760px) {
  .hiraya-mobile-hero-v8 {
    min-height: 0 !important;
  }

  .hiraya-mobile-hero-v8__title {
    font-size: clamp(2.7rem,12vw,3.65rem) !important;
    line-height: 1.02 !important;
  }

  .hiraya-mobile-hero-v8__lead {
    max-width: 36rem !important;
    color: #3f4f64 !important;
  }
}

/* Keep every discovery-call action on the homepage consistently navy. */
.v2-btn[data-discovery-link] {
  background: var(--home-navy) !important;
  border-color: var(--home-navy) !important;
  color: var(--home-paper) !important;
  box-shadow: 0 10px 26px rgba(7,22,45,.16) !important;
}

.v2-btn[data-discovery-link]:hover,
.v2-btn[data-discovery-link]:focus-visible {
  background: #102b4d !important;
  border-color: #102b4d !important;
  color: #fff !important;
}

/* =========================================================
   HIRAYAVA HOMEPAGE — COMPOSITION + CTA REFINEMENT v5
   Wider shared alignment, quicker photo reveal and a clear three-level
   hero action hierarchy on desktop and mobile.
   ========================================================= */

.v2-header .v2-shell,
.v2-hero.v2-hero-fullblend .v2-hero-grid {
  width: min(1320px,calc(100% - 48px)) !important;
}

.v2-hero.v2-hero-fullblend .v2-actions {
  align-items: center !important;
  gap: 12px 14px !important;
}

.v2-hero-text-link,
.hiraya-mobile-hero-v8__text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 3px;
  border-bottom: 1px solid rgba(166,111,18,.42);
  color: var(--home-navy) !important;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.v2-hero-text-link:hover,
.v2-hero-text-link:focus-visible,
.hiraya-mobile-hero-v8__text-link:hover,
.hiraya-mobile-hero-v8__text-link:focus-visible {
  border-color: var(--home-navy);
  color: #102b4d !important;
}

/* The concierge remains available but no longer covers the proof strip. */
.hiraya-chat-root {
  right: 22px !important;
  bottom: 18px !important;
}

.hiraya-chat-launcher {
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 50% !important;
}

.hiraya-chat-launcher .hiraya-chat-mark {
  margin: auto !important;
}

.hiraya-chat-launcher > span:last-child {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 1001px) {
  .v2-hero.v2-hero-fullblend::after {
    background: linear-gradient(90deg,
      var(--home-ivory) 0%,
      rgba(251,247,238,.99) 27%,
      rgba(251,247,238,.92) 34%,
      rgba(251,247,238,.70) 39%,
      rgba(251,247,238,.38) 44%,
      rgba(251,247,238,.10) 49%,
      transparent 53%) !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    grid-template-columns: minmax(0,570px) minmax(0,1fr) !important;
    gap: 52px !important;
  }

  .v2-hero.v2-hero-fullblend .v2-trust {
    max-width: 545px !important;
  }
}

@media (min-width: 1001px) and (max-width: 1380px) {
  .v2-header .v2-shell,
  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    width: min(1180px,calc(100% - 40px)) !important;
  }
}

@media (max-width: 1000px) {
  .v2-header .v2-shell,
  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    width: min(100% - 40px,1180px) !important;
  }
}

@media (max-width: 760px) {
  .hiraya-mobile-hero-v8__actions {
    width: 100% !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .hiraya-mobile-hero-v8__actions .hiraya-mobile-hero-v8__btn {
    width: 100% !important;
  }

  .hiraya-mobile-hero-v8__text-link {
    align-self: flex-start;
    margin-top: 2px;
  }

  .hiraya-chat-root {
    right: 14px !important;
    bottom: 14px !important;
  }
}

/* User-selected CTA treatment: all three hero actions use brand navy. */
.v2-hero.v2-hero-fullblend .v2-actions .v2-btn-outline,
.v2-hero-text-link,
.hiraya-mobile-hero-v8__btn--outline,
.hiraya-mobile-hero-v8__text-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 1px solid var(--home-navy) !important;
  border-radius: 999px !important;
  background: var(--home-navy) !important;
  color: var(--home-paper) !important;
  box-shadow: 0 10px 26px rgba(7,22,45,.14) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.v2-hero.v2-hero-fullblend .v2-actions .v2-btn-outline:hover,
.v2-hero.v2-hero-fullblend .v2-actions .v2-btn-outline:focus-visible,
.v2-hero-text-link:hover,
.v2-hero-text-link:focus-visible,
.hiraya-mobile-hero-v8__btn--outline:hover,
.hiraya-mobile-hero-v8__btn--outline:focus-visible,
.hiraya-mobile-hero-v8__text-link:hover,
.hiraya-mobile-hero-v8__text-link:focus-visible {
  background: #102b4d !important;
  border-color: #102b4d !important;
  color: #fff !important;
}

@media (max-width: 760px) {
  .hiraya-mobile-hero-v8__text-link {
    align-self: stretch !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
}

/* =========================================================
   HIRAYAVA HOMEPAGE — LARGE-DESKTOP LEFT-SPACE FIX v7
   Widen only the large-screen composition. Tablet and mobile keep
   their existing responsive widths and image treatments unchanged.
   ========================================================= */

@media (min-width: 1381px) {
  .v2-header .v2-shell,
  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    width: min(1520px,calc(100% - 64px)) !important;
  }

  .v2-hero.v2-hero-fullblend::after {
    background: linear-gradient(90deg,
      var(--home-ivory) 0%,
      rgba(251,247,238,.99) 23%,
      rgba(251,247,238,.94) 29%,
      rgba(251,247,238,.72) 34%,
      rgba(251,247,238,.36) 39%,
      rgba(251,247,238,.08) 44%,
      transparent 48%) !important;
  }

  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    grid-template-columns: minmax(0,570px) minmax(0,1fr) !important;
    gap: 54px !important;
  }
}

@media (min-width: 1700px) {
  .v2-header .v2-shell,
  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    width: min(1560px,calc(100% - 72px)) !important;
  }
}

/* Audit remediation: keep tablet/small-laptop hero copy readable over the photo. */
@media (min-width: 761px) and (max-width: 1000px) {
  .v2-hero.v2-hero-fullblend {
    isolation: isolate !important;
    background: #fbf7ee !important;
  }
  .v2-hero.v2-hero-fullblend::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background: linear-gradient(90deg,
      rgba(251,247,238,.99) 0%,
      rgba(251,247,238,.97) 46%,
      rgba(251,247,238,.84) 64%,
      rgba(251,247,238,.28) 84%,
      rgba(251,247,238,0) 100%) !important;
  }
  .v2-hero.v2-hero-fullblend .v2-hero-grid {
    position: relative !important;
    z-index: 1 !important;
  }
  .v2-hero.v2-hero-fullblend .v2-hero-copy > p:not(.v2-kicker),
  .v2-hero.v2-hero-fullblend .v2-trust {
    color: #35445a !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.65) !important;
  }
}
