/* Owner-approved interior frames. This stylesheet is never loaded by the homepage. */
.interior-framed {
  --page-ground:#e9e9e7;
  --frame-ground:#f6f5f1;
  --frame-line:#d4d5d1;
  --frame-width:1180px;
  --frame-gutter:80px;
  --frame-padding:72px 64px;
  --frame-gap:56px;
  background:var(--page-ground);
}
.interior-framed main{background:var(--page-ground)}
.interior-framed .page-hero{background:var(--page-ground);color:#0c1a2d}
.interior-framed .page-hero h1,.interior-framed .page-hero .eyebrow,.interior-framed .page-hero .crumb a{color:#0c1a2d}
.interior-framed .page-hero p,.interior-framed .page-hero .post-meta,.interior-framed .page-hero .post-meta span{color:#4a5568}
.interior-framed .page-hero .wm{width:170px;height:auto;right:max(40px,calc((100% - 1120px)/2 + 24px));top:180px;opacity:1}
.interior-framed .page-hero .wm polygon{fill:#0c1a2d;stroke:none}
.interior-framed.refined main>section{background:transparent;padding:0 0 var(--frame-gap);color:#0c1a2d;--ink-soft:#4a5568;--gold-text:#7d5f33}
.interior-framed.refined main>section:last-of-type{padding-bottom:88px}
.interior-framed main>section:where(:not(.calculator-tools):not(.blog-index))>.wrap,
.interior-framed .pricing-frame,
.interior-framed .calc,
.interior-framed.utility-framed main {
  width:calc(100% - var(--frame-gutter));
  max-width:var(--frame-width);
  margin-left:auto;
  margin-right:auto;
  padding:var(--frame-padding);
  background:var(--frame-ground);
  border:1px solid var(--frame-line);
  border-radius:6px;
  box-shadow:0 4px 18px rgba(12,26,45,.025);
  min-width:0;
}
.interior-framed .banner{background:#0c1a2d;color:#f3f3f3;--ink-soft:#c7cdd6;--gold-text:#d7b486}
.interior-framed .banner .b-text{color:#f3f3f3}
.interior-framed .service-method h2,.interior-framed .service-method h3,
.interior-framed .service-detail strong,.interior-framed .service-detail summary,
.interior-framed .service-detail a,.interior-framed .investment-principles svg,
.interior-framed .service-topic .topic-number,.interior-framed .sec-dark h2,
.interior-framed .sec-dark .eyebrow{color:#0c1a2d}
.interior-framed .service-topic>p:not(.topic-number),.interior-framed .service-detail p,
.interior-framed .investment-principles p,.interior-framed .sec-dark p{color:#4a5568}
.interior-framed .service-topic,.interior-framed .service-detail>div{border-color:#c7cdd6}
.interior-framed .service-topics{gap:56px}
.interior-framed .service-opening{gap:56px}
.interior-framed.service-refined main>.service-explorer>.wrap{padding:56px 40px}
.interior-framed .fee-ongoing li:first-child{grid-column:1/-1}
.interior-framed .fee-band{padding:0 0 var(--frame-gap)}

/* Each calculator keeps its own full-width frame and aligned input/result workspace. */
.interior-framed .calculator-tools>.wrap{width:calc(100% - var(--frame-gutter));max-width:var(--frame-width);padding:0}
.interior-framed .calc{width:100%;margin:0 0 var(--frame-gap);scroll-margin-top:110px}
.interior-framed .calc:last-child{padding:var(--frame-padding);border:1px solid var(--frame-line)}
.interior-framed .calc-jumps{margin:0 24px 36px}
.interior-framed .calc-note{padding:0 24px}
.interior-framed .calc input{background:#fbfaf7}

/* Article pages retain their readable column and complementary sidebar. */
.interior-framed .pcard{background:var(--frame-ground)}
.interior-framed .takeaways{background:var(--page-ground)}
.interior-framed .post-layout{grid-template-columns:minmax(0,1fr) 240px;gap:48px}
.interior-framed .post-side .side-cta{background:#0c1a2d}
/* Article photography becomes an inset cover, on the same gray page background. */
.interior-framed .post-hero.has-img{width:calc(100% - var(--frame-gutter));max-width:var(--frame-width);margin:120px auto var(--frame-gap);padding:64px;border-radius:6px;background:linear-gradient(96deg,rgba(8,18,31,.97),rgba(10,22,38,.92) 42%,rgba(12,26,45,.62) 72%,rgba(12,26,45,.34)),var(--hero-img) right center/cover no-repeat #0c1a2d}
.interior-framed .post-hero.has-img>.wrap{padding:0;max-width:none}
.interior-framed .post-hero.has-img h1{color:#f3f3f3}
.interior-framed .post-hero.has-img p,.interior-framed .post-hero.has-img .post-meta,.interior-framed .post-hero.has-img .post-meta span{color:#c7cdd6}
.interior-framed .post-hero.has-img .eyebrow,.interior-framed .post-hero.has-img .crumb a{color:#d7b486}

/* Small utility pages share the frame without acquiring the full navigation shell. */
.interior-framed.utility-framed main{margin-top:48px;margin-bottom:64px}
.interior-framed.privacy-framed{--frame-width:880px}

@media(min-width:1001px){
  .interior-framed:not(.pricing-refined) .page-hero:not(.has-img)>.wrap{padding-right:250px}
}
@media(max-width:1000px){
  .interior-framed{--frame-gutter:48px;--frame-padding:52px 36px;--frame-gap:40px}
  .interior-framed .page-hero .wm{width:90px;top:100px;right:32px}
  .interior-framed .service-topics,.interior-framed .service-opening{gap:36px}
  .interior-framed.service-refined main>.service-explorer>.wrap{padding:48px 28px}
  .interior-framed .post-layout{grid-template-columns:minmax(0,1fr)}
  .interior-framed .post-hero.has-img{padding:48px 36px}
}
@media(max-width:760px){
  .interior-framed{--frame-gutter:32px;--frame-padding:40px 20px;--frame-gap:28px}
  .interior-framed .page-hero .wm{width:66px;top:98px;right:24px}
  .interior-framed.refined main>section:last-of-type{padding-bottom:48px}
  .interior-framed.service-refined main>.service-explorer>.wrap{padding:40px 16px}
  .interior-framed .service-topics{gap:38px}
  .interior-framed .service-opening{gap:28px}
  .interior-framed .calc-jumps{margin-left:8px;margin-right:8px}
  .interior-framed .calc-note{padding:0 8px}
  .interior-framed .post-hero.has-img{margin-top:108px;padding:40px 24px;background:linear-gradient(180deg,rgba(8,18,31,.95),rgba(10,22,38,.88) 55%,rgba(12,26,45,.62)),var(--hero-img) center 40%/cover no-repeat #0c1a2d}
  .interior-framed .post-hero.has-img h1{font-size:34px}
  .interior-framed.utility-framed main{margin-top:28px;margin-bottom:40px}
}
@media print{
  .interior-framed{background:#fff;--frame-gutter:0px;--frame-padding:24px 0;--frame-gap:24px}
  .interior-framed main>section>.wrap,.interior-framed .pricing-frame,.interior-framed .calc,.interior-framed.utility-framed main{background:#fff;border:0;box-shadow:none}
  .interior-framed .post-hero.has-img{margin:0;padding:24px 0;background:#fff!important}
  .interior-framed .post-hero.has-img h1,.interior-framed .post-hero.has-img p,.interior-framed .post-hero.has-img .post-meta span{color:#000}
}
