@media(max-width:760px){:root{--hx-phone-font-cut:1.5px;}:where(body){font-size:calc(1rem - 1.5px);}}
/* Home study: real fragments of the approved painting, not a separate relief texture.
   Percentage crops preserve the source file. Reading veils are local and static.
   Scope is deliberately Home-only; the primary Hero and behavior are untouched. */
body.hx-framework[data-hx-palette="home"] {
  --hx-home-title-size: clamp(38px,4.6vw,74px);
  --hx-home-module-space: 2cm;
  --hx-home-module-padding: 80px;
  --hx-home-chapter-top: 128px;
  --hx-home-chapter-bottom: 88px;
  --hx-monet-painting: url("assets/monet-adjusted-blue-source-v1.jpg");
  --hx-monet-ink: #283741;
  --hx-monet-rule: #8b7961;
}
/* Desktop title changes must not replace the approved V7 phone composition. */
@media (min-width: 761px) {
  body.hx-framework[data-hx-palette="home"] main#main-content > .home-hero .hx-v18-content h1 {
    font-size: calc(var(--hx-home-title-size) - var(--hx-phone-font-cut,0px)) !important;
  }
}
body.hx-framework[data-hx-palette="home"] main#main-content > .dark .hx-renewal-hop {
  white-space: nowrap;
}
body.hx-framework[data-hx-palette="home"] main#main-content > .dark .hx-renewal-hop > span {
  display: inline-block;
  animation: hx-renewal-letter-hop 4s ease-in-out infinite both;
  animation-delay: var(--hx-renewal-delay,0s);
}
.hx-renewal-hop > span:nth-child(2) { --hx-renewal-delay: .18s; }
.hx-renewal-hop > span:nth-child(3) { --hx-renewal-delay: .36s; }
.hx-renewal-hop > span:nth-child(4) { --hx-renewal-delay: .54s; }
@keyframes hx-renewal-letter-hop {
  0%,16%,100% { transform: translateY(0); }
  8% { transform: translateY(-.18em); }
}
@media (prefers-reduced-motion: reduce) {
  body.hx-framework[data-hx-palette="home"] main#main-content > .dark .hx-renewal-hop > span {
    animation: none;
  }
}
/* Add only outer breathing space. Card geometry and the first Hero stay intact.
   These two declarations override the existing framework's important paddings. */
body.hx-framework[data-hx-palette="home"] main#main-content > section:not(.hero):not(.hx-secondary-hero),
body.hx-framework[data-hx-palette="home"] main#main-content > .hx-home-import > .hx-import-content > section:not(.hx-secondary-hero) {
  padding-block: calc(var(--hx-home-module-padding) + var(--hx-home-module-space)) !important;
}
body.hx-framework[data-hx-palette="home"] main#main-content > .hx-home-import .hx-secondary-copy {
  padding-block: calc(var(--hx-home-chapter-top) + var(--hx-home-module-space)) calc(var(--hx-home-chapter-bottom) + var(--hx-home-module-space)) !important;
}
body.hx-framework[data-hx-palette="home"] main#main-content > section:not(.hero):not(.dark) {
  --hx-ink: var(--hx-monet-ink);
  --hx-ink-secondary: #455252;
  --hx-ink-bronze: #674b32;
  background-blend-mode: normal;
  background-repeat: no-repeat;
  border-color: var(--hx-monet-rule);
  box-shadow: none;
}
/* White watermark from the user-adjusted artwork; the primary Hero is reserved. */
body.hx-framework[data-hx-palette="home"] main#main-content > :is(.home-intro-values,.home-offerings) {
  background-color: #fff;
  background-image: linear-gradient(90deg,#ffffffcc,#ffffffe6 50%,#ffffffcc),var(--hx-monet-painting);
  background-size: 100% 100%,145% auto;
  background-position: center,left 43%;
}
/* One centered introduction, followed by a deliberate pause before the four values. */
body.hx-framework[data-hx-palette="home"] main#main-content > .home-intro-values > .sectiontitle {
  position: relative;
  top: 1cm;
}
body.hx-framework[data-hx-palette="home"] main#main-content > .home-intro-values > .split {
  position: relative;
  top: 0.3cm;
  padding-top: 16px;
  margin-bottom: 136px;
}
body.hx-framework[data-hx-palette="home"] main#main-content > .home-intro-values > .split p {
  --hx-prose-size: 22px;
  text-align: center;
  text-align-last: center;
}
body.hx-framework[data-hx-palette="home"] main#main-content .home-values-inner .card p {
  --hx-prose-size: 17px;
}
/* The harbor's blue-violet mass anchors the existing declaration. */
body.hx-framework[data-hx-palette="home"] main#main-content > .dark {
  --hx-ink: #faf0dd;
  --hx-ink-secondary: #faf0dd;
  background-color: #3d485d;
  background-image: linear-gradient(90deg, #28384bd9, #35445bd1 45%, #2c3953b5), var(--hx-monet-painting);
  background-size: 100% 100%, 145% auto;
  background-position: center, left 43%;
}
body.hx-framework[data-hx-palette="home"] main#main-content > .dark > p.lead {
  --hx-prose-size: 18.5px;
}
/* The cooperation water ground now surrounds the existing testimonials. */
body.hx-framework[data-hx-palette="home"] main#main-content > .home-testimonials {
  background-color: #d4d4c7;
  background-image: linear-gradient(90deg, #d2d4c6ce, #deded0ed 58%, #d8dbcebb), var(--hx-monet-painting);
  background-size: 100% 100%, 215% auto;
  background-position: center, right 84%;
}
body.hx-framework[data-hx-palette="home"] main#main-content :is(.home-values-inner .card,.home-offering-card) {
  background-color: #f0e9d9;
  background-image: none;
  border-color: var(--hx-monet-rule);
  box-shadow: 0 8px 24px #3b3b3210;
}
body.hx-framework[data-hx-palette="home"] main#main-content .home-values-inner .card {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
}
body.hx-framework[data-hx-palette="home"] main#main-content .home-values-inner .grid {
  border-color: transparent;
  border-top-color: #c8c5bd;
}
@media (min-width: 851px) {
  /* The longest (03) paragraph sets the row height. Keep its existing 85px
     bottom padding and 17px paragraph margin; stop the three rules 0.7cm below it. */
  body.hx-framework[data-hx-palette="home"] main#main-content .home-values-inner .card {
    min-height: 0;
  }
  body.hx-framework[data-hx-palette="home"] main#main-content .home-values-inner .grid {
    background-image: linear-gradient(#c8c5bd,#c8c5bd),linear-gradient(#c8c5bd,#c8c5bd),linear-gradient(#c8c5bd,#c8c5bd);
    background-size: 1px calc(100% - 85px - 17px - 1px + 0.7cm);
    background-position: 25% top,50% top,75% top;
    background-repeat: no-repeat;
  }
}
body.hx-framework[data-hx-palette="home"] main#main-content .home-offering-card:nth-child(2n) { background-color: #e5e7dc; }
body.hx-framework[data-hx-palette="home"] main#main-content .home-offering-card:nth-child(3n) { background-color: #e4d9c5; }
/* The former cooperation sky ground surrounds the clean, untextured portrait. */
body.hx-framework[data-hx-palette="home"] main#main-content > .home-founder {
  background-color: #d7c6ad;
  background-image: linear-gradient(90deg, #ded0b8c7, #e4d6bde8 48%, #ddc6adbf), var(--hx-monet-painting);
  background-size: 100% 100%, 220% auto;
  background-position: center, 53% top;
}
body.hx-framework[data-hx-palette="home"] main#main-content > .home-cta {
  background-color: #d4d4c7;
  background-image: linear-gradient(90deg, #d2d4c6ce, #deded0ed 58%, #d8dbcebb), var(--hx-monet-painting);
  background-size: 100% 100%, 215% auto;
  background-position: center, right 84%;
}
body.hx-framework[data-hx-palette="home"] .hx-site-footer {
  background-color: #344352;
  background-image: linear-gradient(90deg, #28394be0, #344252d9), var(--hx-monet-painting);
  background-blend-mode: normal;
  background-repeat: no-repeat;
  background-size: 100% 100%, 160% auto;
  background-position: center, 15% 44%;
}
body.hx-framework[data-hx-palette="home"] :is(.home-privacy summary,.hx-review-book .home-quote-slide) {
  background-image: none;
}
body.hx-framework[data-hx-palette="home"] main#main-content > section:not(.hero) .button,
body.hx-framework[data-hx-palette="home"] .hx-site-footer .button {
  background-image: none;
  background-color: #d69a71;
  border-color: #674b32;
  color: #283741;
}
@media (max-width: 900px) {
  body.hx-framework[data-hx-palette="home"] { --hx-home-chapter-top: 116px; }
}
@media (max-width: 760px) {
  /* Keep close crops on narrow screens rather than shrinking the whole painting. */
  body.hx-framework[data-hx-palette="home"] main#main-content > :is(.home-intro-values,.home-offerings,.home-testimonials,.home-cta) { background-size: 100% 100%, auto 175%; }
  body.hx-framework[data-hx-palette="home"] main#main-content > .home-founder { background-size: 100% 100%, auto 360%; }
  body.hx-framework[data-hx-palette="home"] main#main-content > .dark,
  body.hx-framework[data-hx-palette="home"] .hx-site-footer { background-size: 100% 100%, auto 240%; }
}
@media (max-width: 600px) {
  body.hx-framework[data-hx-palette="home"] {
    --hx-home-module-padding: 56px;
    --hx-home-chapter-top: 104px;
    --hx-home-chapter-bottom: 72px;
  }
  body.hx-framework[data-hx-palette="home"] main#main-content > .home-intro-values > .split {
    padding-top: 4px;
    margin-bottom: 56px;
  }
  body.hx-framework[data-hx-palette="home"] main#main-content > .home-intro-values > .split p {
    --hx-prose-size: 19px;
  }
  body.hx-framework[data-hx-palette="home"] main#main-content .home-values-inner .card p {
    --hx-prose-size: 16px;
  }
}
