@media(max-width:760px){:root{--hx-phone-font-cut:1.5px;}:where(body){font-size:calc(1rem - 1.5px);}}
/* Shared Home / About / Offerings / Resources palette, approved by the owner. */
/* Transparent over the first screen; gold-gray only after scrolling/opening. */
body.hx-framework header.hx-site-header {
  --hx-header-ground:linear-gradient(105deg,#c7b298 0%,#b7a895 46%,#a19b93 100%);
  --hx-header-brand:#e4c18a; --hx-header-ink:#f3efe8;
  --hx-header-active:#edcc94; --hx-header-rule:#d6b989;
}
body.hx-framework header.hx-site-header:not(.is-scrolled):not(.is-open) {
  background:transparent !important;
  border-bottom:0 !important;
  box-shadow:none !important;
}
body.hx-framework header.hx-site-header:is(.is-scrolled,.is-open),
body.hx-framework:is(.hx-content-page,.hx-inquiry-page) header.hx-site-header {
  --hx-header-brand:#594126; --hx-header-ink:#302c27;
  --hx-header-active:#654421; --hx-header-rule:#80603e;
}
body.hx-framework header.hx-site-header:is(.is-scrolled,.is-open) {
  background:var(--hx-header-ground) !important;
  border-bottom:0 !important;
  box-shadow:inset 0 -1px 0 #78634d45 !important;
}
body.hx-framework header.hx-site-header::before { content:none !important; }
body.hx-framework header.hx-site-header .hx-site-brand { color:var(--hx-header-brand); }
body.hx-framework header.hx-site-header :is(.hx-menu-button,.hx-site-navigation,.hx-site-navigation a) { color:var(--hx-header-ink) !important; -webkit-text-fill-color:currentColor !important; }
body.hx-framework header.hx-site-header .hx-site-navigation a:is(:hover,[aria-current="page"]) {
  color:var(--hx-header-active) !important; border-bottom-color:var(--hx-header-rule);
}
/* Home's four navigation labels stay legible over the bright Hero and gray bar. */
body.hx-framework[data-hx-palette="home"] header.hx-site-header .hx-site-navigation a {
  color:#60401b !important;
  background-image:linear-gradient(180deg,#3b2813 0%,#7b5522 44%,#503516 60%,#755020 100%);
  background-clip:text; -webkit-background-clip:text;
  -webkit-text-fill-color:transparent !important;
  font-weight:600; text-shadow:none;
}
body.hx-framework[data-hx-palette="home"] header.hx-site-header .hx-site-navigation a:is(:hover,[aria-current="page"]) {
  border-bottom-color:#80603e;
}
@media(max-width:900px) {
  body.hx-framework header.hx-site-header nav.hx-site-navigation {
    background:var(--hx-header-ground) !important;
    border-bottom-color:#78634d65;
  }
}
body.hx-framework:is([data-hx-palette="home"],[data-hx-palette="about"],[data-hx-palette="offerings"],[data-hx-palette="resources"]) {
  --hx-theme-ivory:#f8f3e7;
  --hx-solid-ivory:var(--hx-theme-ivory);
  --hx-theme-paint-image:url("assets/theme-warm-glow-v2.png");
  --hx-theme-ivory-image:url("assets/theme-ivory-soft-v2.png");
  --hx-theme-blue-image:var(--hx-theme-paint-image);
  --hx-theme-glass-tint:rgba(0,0,0,.154);
  --hx-theme-glass-blur:2.5px;
  --hx-theme-rule:linear-gradient(90deg,transparent,#f3d4a2 30%,#b78a4b 70%,transparent);
  --hx-theme-rule-glow:0 0 10px rgba(230,184,105,.55);
}
body.hx-framework.hx-error-page[data-hx-theme-white],
body.hx-framework main#main-content[data-hx-theme-white],
body.hx-framework main#main-content > section[data-hx-theme-white],
body.hx-framework main#main-content :is(#home-about,#home-resources,#home-offerings) .hx-import-content > section[data-hx-theme-white] {
  --hx-ink:#17242e; --hx-ink-secondary:#46515a;
  --hx-art-ink:#17242e; --hx-art-muted:#46515a;
  --hx-theme-paint-image:var(--hx-theme-ivory-image);
  background-color:var(--hx-theme-ivory); background-image:var(--hx-theme-ivory-image); background-blend-mode:normal;
  background-position:center; background-size:cover; background-repeat:no-repeat;
  position:relative; isolation:isolate;
  color:#17242e;
}
body.hx-framework.hx-error-page[data-hx-theme-white]::after,
body.hx-framework main#main-content[data-hx-theme-white]::after,
body.hx-framework main#main-content > section[data-hx-theme-white]::after,
body.hx-framework main#main-content :is(#home-about,#home-resources,#home-offerings) .hx-import-content > section[data-hx-theme-white]::after {
  content:none;
}
body.hx-framework[data-hx-palette="home"] :is(.home-quote-slide,.hx-review-dialog) {
  --hx-theme-paint-image:var(--hx-theme-ivory-image);
  isolation:isolate;
}
body.hx-framework main#main-content > div.hero[data-hx-theme-blue],
body.hx-framework main#main-content > section[data-hx-theme-blue],
body.hx-framework main#main-content :is(#home-about,#home-resources,#home-offerings) .hx-import-content > section[data-hx-theme-blue],
body.hx-framework footer.hx-site-footer[data-hx-theme-blue] {
  --hx-ink:#fff; --hx-ink-secondary:#fff; --hx-ink-bronze:#f0c987;
  --hx-art-ink:#fff; --hx-art-muted:#fff; --hx-art-umber:#f0c987;
  --hx-art-ground-texture:none;
  color:#fff; background-color:#c1ac98;
  background-image:var(--hx-theme-blue-image); background-size:cover;
  background-position:center; background-repeat:no-repeat; background-blend-mode:normal;
  position:relative; isolation:isolate;
}
/* The rectangle swaps dimensions before a 90-degree turn. The painted field
   keeps its exact layout, while the source image covers without stretching. */
body.hx-framework main#main-content > div.hero[data-hx-theme-blue]::before,
body.hx-framework main#main-content > section[data-hx-theme-blue]::before,
body.hx-framework.hx-error-page[data-hx-theme-white]::before,
body.hx-framework main#main-content[data-hx-theme-white]::before,
body.hx-framework main#main-content > section[data-hx-theme-white]::before,
body.hx-framework main#main-content :is(#home-about,#home-resources,#home-offerings) .hx-import-content > section[data-hx-theme-blue]::before,
body.hx-framework main#main-content :is(#home-about,#home-resources,#home-offerings) .hx-import-content > section[data-hx-theme-white]::before,
body.hx-framework footer.hx-site-footer[data-hx-theme-blue]::before,
body.hx-framework.hx-home-v6[data-hx-palette="home"] main#main-content .hx-reviews-ready .home-quote-slide::after,
body.hx-framework[data-hx-palette="home"] .hx-review-dialog::before {
  content:""; position:absolute; inset:auto; left:50%; top:50%;
  width:var(--hx-paint-width,100%); height:var(--hx-paint-height,100%);
  transform:translate(-50%,-50%) rotate(var(--hx-paint-angle,0deg));
  transform-origin:center; z-index:-2; pointer-events:none;
  background:var(--hx-theme-paint-image) center / cover no-repeat;
  animation:none !important;
  margin:0; padding:0; border:0;
  border-top-left-radius:var(--hx-paint-top-left-radius,0px);
  border-top-right-radius:var(--hx-paint-top-right-radius,0px);
  border-bottom-right-radius:var(--hx-paint-bottom-right-radius,0px);
  border-bottom-left-radius:var(--hx-paint-bottom-left-radius,0px);
  clip-path:none; mask-image:none; -webkit-mask-image:none;
  opacity:1; filter:none; mix-blend-mode:normal; box-shadow:none;
}
/* A light smoked-glass layer softens only the painting and its water effect.
   Foreground copy, portraits, controls and the gold separators remain sharp. */
body.hx-framework main#main-content > div.hero[data-hx-theme-blue]::after,
body.hx-framework main#main-content > section[data-hx-theme-blue]::after,
body.hx-framework main#main-content :is(#home-about,#home-resources,#home-offerings) .hx-import-content > section[data-hx-theme-blue]::after,
body.hx-framework footer.hx-site-footer[data-hx-theme-blue]::after {
  content:""; position:absolute; inset:0; width:auto; height:auto;
  z-index:-1; pointer-events:none; margin:0; padding:0; border:0;
  background:var(--hx-theme-glass-tint);
  -webkit-backdrop-filter:blur(var(--hx-theme-glass-blur));
  backdrop-filter:blur(var(--hx-theme-glass-blur));
  transform:none; animation:none !important; border-radius:inherit;
  clip-path:none; mask-image:none; -webkit-mask-image:none;
  opacity:1; filter:none; mix-blend-mode:normal; box-shadow:none;
}
body.hx-framework main#main-content .hx-secondary-hero.resources[data-hx-theme-blue] > .hx-resource-ripples {
  inset:auto; left:50%; top:50%;
  width:var(--hx-paint-width,100%); height:var(--hx-paint-height,100%);
  transform:translate(-50%,-50%) rotate(var(--hx-paint-angle,0deg));
  transform-origin:center;
}
body.hx-framework:is([data-hx-palette="about"],[data-hx-palette="offerings"],[data-hx-palette="resources"]) main#main-content > .hx-secondary-hero > .hx-hero-frost {
  display:none;
}
body.hx-framework main#main-content > section[data-hx-theme-warm] {
  --hx-ink:#283741; --hx-ink-secondary:#455252;
  --hx-art-ink:#283741; --hx-art-muted:#455252;
  background:#d7c6ad; color:#283741;
}
body.hx-framework[data-hx-palette="about"] main#main-content .hx-profile .card {
  background:transparent; color:#fff; border-color:#f3d4a280;
}
body.hx-framework[data-hx-palette="about"] main#main-content .hx-profile :is(h2,h3,p),
body.hx-framework main#main-content [data-hx-theme-blue] .hx-secondary-copy :is(h1,h2,p,.ivory),
body.hx-framework main#main-content .hx-about-values[data-hx-theme-blue] > :is(h2,p),
body.hx-framework main#main-content .hx-about-values[data-hx-theme-blue] #hx-letter-question,
body.hx-framework footer[data-hx-theme-blue] :is(h2,p,a,small,.hx-rights,.hx-footer-bottom) {
  color:#fff !important; -webkit-text-fill-color:currentColor !important;
}
body.hx-framework main#main-content [data-hx-theme-blue] .hx-secondary-copy .gold {
  background-image:linear-gradient(180deg,#fff0bb,#edc36d) !important;
  background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
body.hx-framework footer[data-hx-theme-blue] .button {
  color:#102a39 !important; -webkit-text-fill-color:currentColor !important;
}
body.hx-framework main#main-content [data-hx-theme-white] .hx-about-prose strong {
  background-image:linear-gradient(180deg,#65472a,#89643a 48%,#65472a);
  background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
body.hx-framework main#main-content [data-hx-theme-white] .hx-philosophy-main { color:#17242e; }
body.hx-framework main#main-content [data-hx-theme-white] .hx-philosophy-secondary { color:#5c6871; }
body.hx-framework main#main-content .button:not(.hx-about-values *),
body.hx-framework footer[data-hx-theme-blue] .button {
  background-color:#d69a71; background-image:none; border-color:#674b32;
  color:#283741; -webkit-text-fill-color:currentColor;
}

body.hx-framework main#main-content [data-hx-hero-tone="2"].home-offering-card::before {
  background:var(--hx-theme-rule); box-shadow:var(--hx-theme-rule-glow);
}
body.hx-framework:is([data-hx-palette="home"],[data-hx-palette="about"],[data-hx-palette="offerings"],[data-hx-palette="resources"]) {
  background-color:var(--hx-theme-ivory);
}
body.hx-framework main#main-content .hx-resource-notify .field {
  background-color:var(--hx-theme-ivory);
}

/* Preserve each separator's geometry; share the exact About title gradient. */
body.hx-framework [data-hx-theme-blue] .hx-secondary-copy .rule {
  background-image:var(--hx-theme-rule); box-shadow:var(--hx-theme-rule-glow);
}
body.hx-framework [data-hx-theme-blue] :is(.hx-founder-experience,.hx-rights,.hx-footer-email,.hx-footer-bottom) {
  position:relative; border-top-color:transparent;
}
body.hx-framework [data-hx-theme-blue] :is(.hx-founder-experience,.hx-rights,.hx-footer-email,.hx-footer-bottom)::before {
  content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:var(--hx-theme-rule); box-shadow:var(--hx-theme-rule-glow); pointer-events:none;
}
body.hx-framework [data-hx-theme-blue] .hx-founder-experience li { border-bottom-color:transparent; }
body.hx-framework [data-hx-theme-blue] .hx-founder-experience li::after {
  content:""; position:absolute; bottom:0; left:0; right:0; height:1px;
  background:var(--hx-theme-rule); box-shadow:var(--hx-theme-rule-glow); pointer-events:none;
}
body.hx-framework [data-hx-theme-blue] .hx-founder-photo { border-color:#f3d4a280; }

/* Four related pigments from the approved Hero: fog, harbor, sunrise, water. */
body.hx-framework [data-hx-hero-tone="1"] { --hx-card-ground:#b5c0c5; --hx-card-ink:#102330; --hx-card-edge:#7f929c; }
body.hx-framework [data-hx-hero-tone="2"] { --hx-card-ground:#53657a; --hx-card-ink:#fff9ef; --hx-card-edge:#c4af87; }
body.hx-framework [data-hx-hero-tone="3"] { --hx-card-ground:#cfac82; --hx-card-ink:#102330; --hx-card-edge:#a58058; }
body.hx-framework [data-hx-hero-tone="4"] { --hx-card-ground:#abb5a3; --hx-card-ink:#102330; --hx-card-edge:#7e907b; }
body.hx-framework main#main-content [data-hx-hero-tone] {
  --hx-ink:var(--hx-card-ink); --hx-ink-secondary:var(--hx-card-ink);
  --hx-art-ink:var(--hx-card-ink); --hx-art-muted:var(--hx-card-ink);
  background-color:var(--hx-card-ground) !important; background-image:none !important;
  border-color:var(--hx-card-edge); color:var(--hx-card-ink);
}
body.hx-framework main#main-content [data-hx-hero-tone] :is(h3,p,a,.pill,.home-number,.home-offering-card > span,.hx-offering-primary,.hx-resource-link) {
  color:var(--hx-card-ink) !important; -webkit-text-fill-color:currentColor !important;
}
body.hx-framework main#main-content [data-hx-hero-tone] h3 {
  background:none; background-clip:border-box; -webkit-background-clip:border-box;
}
body.hx-framework main#main-content [data-hx-hero-tone="2"] .hx-offering-sub a {
  border-top-color:transparent;
  border-image-source:var(--hx-theme-rule); border-image-slice:1;
}
body.hx-framework main#main-content [data-hx-hero-tone="2"] :is(.hx-resource-link,.hx-offering-primary) {
  border-bottom-color:transparent;
  border-image-source:var(--hx-theme-rule); border-image-slice:1;
}

.hx-principle-symbol { display:flex; align-items:center; width:36px; height:36px; line-height:0; letter-spacing:0; }
.hx-principle-symbol svg { display:block; flex:none; width:36px; height:36px; overflow:visible; }
@media(max-width:760px) {
  .hx-principle-symbol, .hx-principle-symbol svg { width:30px; height:30px; }
  body.hx-framework main#main-content [data-hx-hero-tone] h3 {
    font-size:calc(var(--hx-phone-card-title-size) - var(--hx-phone-font-cut,0px)); line-height:1.4; font-weight:500;
  }
  body.hx-framework main#main-content [data-hx-hero-tone] p:not(.hx-form-note) {
    --hx-prose-size:16px; font-size:calc(16px - var(--hx-phone-font-cut,0px)); line-height:1.9;
  }
  body.hx-framework:is([data-hx-palette="about"],[data-hx-palette="offerings"],[data-hx-palette="resources"]) main#main-content .hx-secondary-copy h1 {
    font-size:calc(var(--hx-phone-title-size) - var(--hx-phone-font-cut,0px)) !important; line-height:1.35; font-weight:600;
  }
  body.hx-framework[data-hx-palette="about"] main#main-content .hx-about-philosophy > h2.sectiontitle {
    font-size:calc(clamp(20px,5.5vw,24px) - var(--hx-phone-font-cut,0px)) !important;
  }
  body.hx-framework[data-hx-palette="about"] main#main-content :is(.hx-about-prose p,.hx-profile .card p) {
    --hx-prose-size:16px; font-size:calc(16px - var(--hx-phone-font-cut,0px)); line-height:1.95;
  }
}

/* Light warm grounds need crisp ink rather than the old dark-ground halo. */
body.hx-framework [data-hx-theme-blue] :is(h1,h2,h3,p,li,a,small) {
  text-shadow:none;
}

/* Owner's correction: all ink on the image-2 field is white, including links. */
body.hx-framework[data-hx-palette] [data-hx-theme-blue] :is(.button,.hx-values-tools button,.hx-letter-controls button) {
  color:#fff !important; -webkit-text-fill-color:currentColor !important;
}
body.hx-framework[data-hx-palette="about"] [data-hx-theme-blue] .hx-profile-photo {
  color:#fff; -webkit-text-fill-color:currentColor;
}

/* Win AURA is a direct link across every card surface. */
body.hx-framework main#main-content a.hx-aura-card-link {
  display:block; text-decoration:none; cursor:pointer;
}
body.hx-framework main#main-content a.hx-aura-card-link:focus-visible {
  outline:3px solid #7b582d; outline-offset:5px;
}
body.hx-framework main#main-content a.hx-aura-card-link .hx-offering-primary {
  display:inline-block;
}

/* Native stretched links retain individual subproject routes above the card. */
body.hx-framework main#main-content [data-hx-direct-card] {
  position:relative; isolation:isolate; cursor:pointer;
}
body.hx-framework main#main-content [data-hx-direct-card] [data-hx-card-primary] {
  position:static;
}
body.hx-framework main#main-content [data-hx-direct-card] [data-hx-card-primary]::after {
  content:""; position:absolute; inset:0; z-index:1; border-radius:inherit;
}
body.hx-framework main#main-content [data-hx-direct-card] .hx-offering-sub a {
  position:relative; z-index:2;
}
body.hx-framework main#main-content [data-hx-direct-card]:has([data-hx-card-primary]:focus-visible) {
  outline:3px solid #7b582d; outline-offset:5px;
}
body.hx-framework main#main-content :is(.home-founder:has(> .hx-direct-region-link),[data-hx-direct-region]) {
  position:relative; cursor:pointer;
}
body.hx-framework main#main-content a.hx-direct-region-link {
  position:absolute; inset:0; z-index:5; display:block; border:0; margin:0;
}
body.hx-framework main#main-content a.hx-direct-region-link:focus-visible {
  outline:3px solid #e6c58a; outline-offset:-8px;
}
body.hx-framework main#main-content a.hx-direct-heading {
  color:inherit; font:inherit; text-decoration:none;
}

/* Owner-approved golden glow, with sharp bright letter faces. */
body.hx-framework[data-hx-palette] main#main-content .hx-secondary-hero.about[data-hx-theme-blue] .hx-secondary-copy > p {
  color:#fff4d6 !important; -webkit-text-fill-color:currentColor !important;
  text-shadow:0 1px 1px rgba(59,38,15,.8),0 0 5px rgba(255,217,128,.9),0 0 13px rgba(232,175,69,.6);
}
body.hx-framework[data-hx-palette] main#main-content .hx-secondary-hero.about[data-hx-theme-blue] .hx-secondary-copy > .rule {
  background-image:linear-gradient(90deg,transparent,#33271b 24%,#c29a55 50%,#33271b 76%,transparent);
  box-shadow:0 0 8px rgba(130,96,47,.5);
}

/* Owner's complete philosophy block alignment, shared by Home and About. */
body.hx-framework[data-hx-palette] main#main-content .hx-about-philosophy > h2.sectiontitle,
body.hx-framework[data-hx-palette] main#main-content .hx-about-philosophy .hx-about-prose p {
  text-align:center !important; text-align-last:center !important;
}

/* Only 长期 pops; the right edge stays anchored beside the static 参考. */
body.hx-framework main#main-content .hx-secondary-hero.resources .gold > .hx-long-term-pop {
  display:inline-block !important; font:inherit; letter-spacing:inherit;
  margin:0; padding:0; vertical-align:baseline; white-space:nowrap;
  background-image:inherit; background-clip:text; -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  transform-origin:right center;
  animation:hx-long-term-pop 3s cubic-bezier(.2,.8,.2,1) infinite;
}
@keyframes hx-long-term-pop {
  0%,12%,100% { transform:scale(1); }
  4% { transform:scale(1.22); }
  8% { transform:scale(1.04); }
}
@media(prefers-reduced-motion:reduce) {
  body.hx-framework main#main-content .hx-secondary-hero.resources .gold > .hx-long-term-pop {
    animation:none; transform:none;
  }
}

/* A quick left-to-right hop, shared by the Home chapter and Projects hero. */
body.hx-framework main#main-content .hx-secondary-hero.offerings .gold > .hx-action-hop-letter {
  display:inline-block !important; font:inherit; letter-spacing:inherit;
  margin:0; padding:0; vertical-align:baseline; white-space:nowrap;
  background-image:inherit; background-clip:text; -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:hx-action-letter-hop 2.8s cubic-bezier(.2,.7,.3,1) infinite;
}
body.hx-framework main#main-content .hx-secondary-hero.offerings .gold > .hx-action-hop-letter:nth-child(2) { animation-delay:.12s; }
body.hx-framework main#main-content .hx-secondary-hero.offerings .gold > .hx-action-hop-letter:nth-child(3) { animation-delay:.24s; }
body.hx-framework main#main-content .hx-secondary-hero.offerings .gold > .hx-action-hop-letter:nth-child(4) { animation-delay:.36s; }
@keyframes hx-action-letter-hop {
  0%,14%,100% { transform:translateY(0); }
  5% { transform:translateY(-.2em); }
  10% { transform:translateY(.025em); }
}
@media(prefers-reduced-motion:reduce) {
  body.hx-framework main#main-content .hx-secondary-hero.offerings .gold > .hx-action-hop-letter {
    animation:none; transform:none;
  }
}

/* Legacy detail heroes use div.hero; only their paint is synchronized. */
body.hx-framework main#main-content > div.hero[data-hx-theme-blue] > .hx-hero-frost { display:none; }
body.hx-framework main#main-content > div.hero[data-hx-theme-blue] :is(h1,.intro,p,a) { color:#fff; -webkit-text-fill-color:currentColor; }
body.hx-framework.hx-theme-detail main#main-content > section[data-hx-theme-blue]:is(.dark,.peach) :is(h1,h2,h3,p,li,.lead,.small,.quote,.author,.pill,.tag) { color:#fff; -webkit-text-fill-color:currentColor; }
