@media(max-width:760px){:root{--hx-phone-font-cut:1.5px;}:where(body){font-size:calc(1rem - 1.5px);}}
/* Solid pigment with broad, overlapping palette-knife relief from the user reference. */
:root {
  --hx-art-ground: #eee5d5;
  --hx-art-linen: #e4d6c2;
  --hx-art-stone: #d6c5af;
  --hx-art-fog: #bac4c6;
  --hx-art-dusk: #293d4d;
  --hx-art-ink: #263a49;
  --hx-art-muted: #4b5a62;
  --hx-art-umber: #6c4b33;
  --hx-art-edge: #a58a68;
  --hx-art-ground-texture: url("assets/paint-impasto-v1.png");
}
/* Home keeps this art treatment only in the declaration, founder and footer.
   Other Home sections fall back to the existing V2 styles. Inner pages stay as-is. */
@scope (html) to (body[data-hx-palette="home"] main > section:not(.dark):not(.home-founder)) {
/* Alternating painted grounds, with quiet, clear areas behind reading copy. */
body.hx-framework main#main-content > section:where(:not(.hero):not(.hx-secondary-hero)) {
  --hx-ink: var(--hx-art-ink);
  --hx-ink-secondary: var(--hx-art-muted);
  --hx-ink-bronze: var(--hx-art-umber);
  --hx-art-field: var(--hx-art-ground);
  background-color: var(--hx-art-field);
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top-color: #a58a6866;
  box-shadow: inset 0 1px #fff5, inset 0 -1px #7c746215;
}
body[data-hx-palette="home"] main#main-content > .home-founder { --hx-art-field: var(--hx-home-founder-ground); }
body[data-hx-palette="about"] :is(.hx-about-philosophy,.hx-profile),
body[data-hx-palette="offerings"] main#main-content > .mint,
body[data-hx-palette="resources"] main#main-content > .mint { --hx-art-field: var(--hx-art-linen); }
body[data-hx-palette="home"] main#main-content > .dark,
body[data-hx-palette="offerings"] main#main-content > .dark {
  --hx-ink: #f2e9d9; --hx-ink-secondary: #e3d8c7;
  --hx-art-field: var(--hx-art-dusk);
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
}
/* Each existing card is a small painted panel, with bronze edges rather than a glossy surface. */
.hx-framework main#main-content :is(.card,.home-offering-card,.hx-offering-tile) {
  background-color: #ede2cf;
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-color: var(--hx-art-edge);
  box-shadow: inset 0 1px #fffc, inset 0 -2px #a58a6824, 0 12px 32px #443d3012;
}
.hx-framework main#main-content :is(.card,.home-offering-card,.hx-offering-tile):nth-child(2n) {
  background-color: #dce0d9; background-position: 20% center;
}
.hx-framework main#main-content :is(.card,.home-offering-card,.hx-offering-tile):nth-child(3n) {
  background-color: #e1cfba; background-position: 80% center;
}
.hx-framework main#main-content :is(.card,.home-offering-card,.hx-offering-tile):hover {
  border-color: var(--hx-art-umber);
  box-shadow: inset 0 1px #fffc, 0 16px 34px #443d3025;
}
.hx-framework .home-values-inner .pill { color: var(--hx-art-umber); }
.hx-framework .home-offering-card::before {
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
}
.hx-framework main#main-content :is(.rowlink,.hx-secondary-list a,.hx-offering-sub a) {
  border-color: var(--hx-art-edge);
  background-image: none;
}
.hx-framework main#main-content :is(.placeholder,.hx-profile-photo) {
  background-color: #b5b2a4;
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-color: var(--hx-art-edge); color: #314551;
}
/* User-supplied portrait is clean photography; only the surrounding section has paint. */
body[data-hx-palette="home"] main#main-content .home-founder .hx-founder-photo {
  position: relative;
  overflow: hidden;
  background: none;
  background-blend-mode: normal;
}
.hx-founder-photo img {
  position: absolute; top: 0; bottom: 0; left: -35%;
  display: block; width: 135%; height: 100%; max-width: none;
  object-fit: cover; object-position: right 12%;
}
/* Preserve the seven established cover colors, while giving them pigment and paper tooth. */
.hx-framework :is(.hx-envelope-back,.hx-envelope-front,.hx-envelope-flap) {
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.hx-framework .hx-envelope-letter {
  background-color: #eee4d2;
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-color: var(--hx-art-umber);
}
.hx-framework main#main-content p#hx-letter-question { color: var(--hx-art-umber); }
/* Seven distinct oil-pigment hues on the user-approved smoke-gray paint ground. */
body[data-hx-palette="about"] main#main-content > .hx-about-values {
  --hx-art-field: #b9bbb7;
  --hx-ink: #17212b;
  background-image: url("assets/value-paint-relief-v1.png");
  background-blend-mode: soft-light;
}
.hx-about-values .hx-value-envelope {
  --hx-value-ink: #17212b;
  --hx-value-position: center;
  --hx-value-texture-opacity: .82;
  --hx-value-texture-blend: soft-light;
  color: var(--hx-value-ink);
}
.hx-about-values .hx-value-envelope:nth-child(1) {
  --hx-value-paint: linear-gradient(135deg, #c33226, #741323 54%, #b42e24);
  --hx-value-ground: #b82722;
  --hx-value-ink: #fffbed;
  --hx-value-symbol-ink: #fff;
  --hx-value-texture-opacity: .78;
  --hx-value-texture-blend: multiply;
}
.hx-about-values .hx-value-envelope:nth-child(2) {
  --hx-value-paint: linear-gradient(150deg, #ffcf53, #efa020 54%, #ffbd29);
  --hx-value-ground: #f1a322;
  --hx-value-position: 25% center;
}
.hx-about-values .hx-value-envelope:nth-child(3) {
  --hx-value-paint: linear-gradient(130deg, #fff27d, #f7ce16 54%, #ffe847);
  --hx-value-ground: #ffe334;
  --hx-value-position: 75% center;
}
.hx-about-values .hx-value-envelope:nth-child(4) {
  --hx-value-paint: linear-gradient(145deg, #1c7349, #073d2f 54%, #226b43);
  --hx-value-ground: #095137;
  --hx-value-ink: #fffbed;
  --hx-value-symbol-ink: #fff;
  --hx-value-texture-opacity: .78;
  --hx-value-texture-blend: multiply;
}
.hx-about-values .hx-value-envelope:nth-child(5) {
  --hx-value-paint: linear-gradient(155deg, #d0e9db, #91ced4 54%, #b4dcc7);
  --hx-value-ground: #86c4c8;
  --hx-value-position: 15% center;
}
.hx-about-values .hx-value-envelope:nth-child(6) {
  --hx-value-paint: linear-gradient(135deg, #2967ad, #102d79 54%, #2864ad);
  --hx-value-ground: #225baa;
  --hx-value-position: 85% center;
  --hx-value-ink: #fffbed;
  --hx-value-symbol-ink: #fff;
  --hx-value-texture-opacity: .78;
  --hx-value-texture-blend: multiply;
}
.hx-about-values .hx-value-envelope:nth-child(7) {
  --hx-value-paint: linear-gradient(145deg, #a13cae, #562479 54%, #9035a4);
  --hx-value-ground: #8c2f9f;
  --hx-value-ink: #fffbed;
  --hx-value-symbol-ink: #fff;
  --hx-value-texture-opacity: .78;
  --hx-value-texture-blend: multiply;
}
.hx-about-values .hx-value-envelope :is(.hx-envelope-back,.hx-envelope-front,.hx-envelope-flap) {
  isolation: isolate;
  background-color: var(--hx-value-ground);
  background-image: var(--hx-value-paint);
  background-blend-mode: normal;
  background-size: cover;
  background-position: var(--hx-value-position);
}
.hx-about-values .hx-value-envelope .hx-envelope-back::after,
.hx-about-values .hx-value-envelope .hx-envelope-front::before,
.hx-about-values .hx-value-envelope .hx-envelope-flap::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: url("assets/value-paint-relief-v1.png") var(--hx-value-position) / 150% auto no-repeat;
  filter: contrast(1.65);
  mix-blend-mode: var(--hx-value-texture-blend);
  opacity: var(--hx-value-texture-opacity);
  pointer-events: none;
}
.hx-framework .hx-about-values .hx-value-envelope .hx-envelope-cover { color: var(--hx-value-ink); }
.hx-about-values .hx-envelope-english { opacity: 1; }
.hx-framework main#main-content .hx-about-values p#hx-letter-question,
.hx-about-values .hx-envelope-controls button { color: #17212b; }
.hx-about-values .hx-envelope-controls button { border-color: #263a35; }
/* Controls retain their existing hit areas and behavior. Warm pigment marks action. */
.hx-framework main#main-content > section:where(:not(.hero):not(.hx-secondary-hero)) .button,
.hx-framework .hx-site-footer .button {
  background-color: #d99a72;
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-color: var(--hx-art-umber); color: #263a49;
  box-shadow: inset 0 1px #ffe6b780, inset 0 -2px #79462e20;
}
.hx-framework main#main-content > section:where(:not(.hero):not(.hx-secondary-hero)) .button:hover,
.hx-framework .hx-site-footer .button:hover { background-color: #edc19b; border-color: #263a49; }
.hx-framework .hx-about-values .button { background-color: #eee4d2; }
.hx-framework .home-privacy summary {
  background-color: #d6c09a;
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; box-shadow: inset 0 1px #fff8, 0 6px 20px #5146301a;
}
.hx-framework .hx-review-book .home-quote-slide {
  background-color: #f3eadb;
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-color: var(--hx-art-edge);
}
.hx-framework :is(.field,.hx-contact-result) {
  background-color: #f3eadb;
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--hx-art-ink); border-color: #7d7463;
}
.hx-framework .field:focus { border-color: #765439; outline-color: #765439; }
/* Inner-page art stays in place. A restrained canvas tooth unifies its existing frost. */
.hx-framework .hx-hero-frost::after {
  opacity: .22; mix-blend-mode: soft-light;
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
body.hx-inner-v9:not(.hx-secondary-page) main#main-content > .hero {
  background-color: var(--hx-art-dusk);
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
body.hx-inner-v9:not(.hx-secondary-page) main#main-content > .hero::before,
body.hx-inner-v9:not(.hx-secondary-page) main#main-content > .hero::after { background-image: none; }
.hx-framework .hx-site-footer {
  background-color: var(--hx-art-dusk);
  background-image: var(--hx-art-ground-texture);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* No animation, no layout overrides, no changes to Home's approved painting layer. */
}
