/*
 * ProAI Expert inner-site visual foundation — Golden R1.
 *
 * Scope contract:
 * - active only on body.proai-inner-golden-r1;
 * - homepage routes never receive this class;
 * - existing page CSS keeps layout, content and case/editorial composition;
 * - this layer owns the shared black / graphite / pearl / silver visual language.
 */

body.proai-inner-golden-r1 {
  --inner-void: #020304;
  --inner-page: #050607;
  --inner-surface: #090b0e;
  --inner-panel: #0e1217;
  --inner-elevated: #171c22;
  --inner-pearl: #f1efe9;
  --inner-pearl-warm: #f2efe8;
  --inner-pearl-soft: #d8d4cb;
  --inner-silver: #c9cdd1;
  --inner-body: #a6abb1;
  --inner-muted: #858a90;
  --inner-steel: #8ca0ad;
  --inner-steel-soft: #899195;
  --inner-graphite-silver: #737d82;
  --inner-champagne: #d3b37f;
  --inner-champagne-soft: #ab8e65;
  --inner-violet: #9189ad;
  --inner-line: rgba(232, 231, 226, .09);
  --inner-line-strong: rgba(232, 231, 226, .17);
  --inner-micro-accent: #5de2ff;

  /* Legacy token bridge. Page structure remains owned by each page. */
  --bg: var(--inner-page);
  --bg-graphite: var(--inner-surface);
  --bg-blue-soft: var(--inner-panel);
  --panel: rgba(255, 255, 255, .025);
  --panel-strong: rgba(255, 255, 255, .045);
  --line: var(--inner-line);
  --border: var(--inner-line);
  --border-soft: rgba(232, 231, 226, .12);
  --text: var(--inner-pearl);
  --text-main: var(--inner-pearl);
  --text-muted: var(--inner-body);
  --text-soft: var(--inner-muted);
  --muted: var(--inner-body);
  --soft: var(--inner-muted);
  --cyan: var(--inner-silver);
  --ai-cyan: var(--inner-silver);
  --ai-teal: #aeb3b6;
  --web-blue: var(--inner-silver);
  --hero-web-accent: var(--inner-pearl);
  --hero-secondary-accent: var(--inner-silver);
  --silver-blue: var(--inner-silver);
  --silver: var(--inner-silver);
  --soft-halo: rgba(205, 209, 208, .07);

  min-width: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(205, 209, 208, .035), transparent 25%),
    radial-gradient(circle at 84% 28%, rgba(241, 239, 233, .022), transparent 23%),
    linear-gradient(180deg, var(--inner-page) 0%, var(--inner-void) 100%);
  color: var(--inner-pearl);
}

body.proai-inner-golden-r1 .bg-grid {
  background-image:
    linear-gradient(rgba(232, 231, 226, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 231, 226, .025) 1px, transparent 1px);
  opacity: .08;
}

body.proai-inner-golden-r1 .bg-thread {
  background:
    radial-gradient(circle at 22% 18%, rgba(205, 209, 208, .045), transparent 24%),
    radial-gradient(circle at 76% 36%, rgba(241, 239, 233, .025), transparent 26%);
  opacity: .52;
}

body.proai-inner-golden-r1 main {
  color: var(--inner-pearl);
}

body.proai-inner-golden-r1 .eyebrow,
body.proai-inner-golden-r1 .anchor-kicker,
body.proai-inner-golden-r1 .note-label,
body.proai-inner-golden-r1 .step-label,
body.proai-inner-golden-r1 .svc-motion-kicker,
body.proai-inner-golden-r1 .portfolio-entry-eyebrow,
body.proai-inner-golden-r1 .atlas-eyebrow,
body.proai-inner-golden-r1 .article-kicker,
body.proai-inner-golden-r1 .article-side-label,
body.proai-inner-golden-r1 .premium-author-label {
  color: var(--inner-silver);
  text-shadow: none;
}

body.proai-inner-golden-r1 .eyebrow::before,
body.proai-inner-golden-r1 .section-head::after {
  background: linear-gradient(90deg, rgba(205, 209, 208, .58), transparent);
  box-shadow: none;
}

body.proai-inner-golden-r1 .section-head h2,
body.proai-inner-golden-r1 .cta-shell h2,
body.proai-inner-golden-r1 .matrix-title strong,
body.proai-inner-golden-r1 .protocol-step h3,
body.proai-inner-golden-r1 .proof-panel h3,
body.proai-inner-golden-r1 .proof-flow h3,
body.proai-inner-golden-r1 .governance-card h3 {
  background: linear-gradient(180deg, var(--inner-pearl) 0%, #e4e3df 52%, var(--inner-silver) 118%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

body.proai-inner-golden-r1 .hero-copy h1,
body.proai-inner-golden-r1 .hero-copy h1 .hero-accent,
body.proai-inner-golden-r1 .contact-hero h1,
body.proai-inner-golden-r1 .contact-hero h1 span {
  color: var(--inner-pearl);
  -webkit-text-fill-color: var(--inner-pearl);
  text-shadow: 0 18px 52px rgba(0, 0, 0, .34);
}

body.proai-inner-golden-r1 .panel,
body.proai-inner-golden-r1 .anchor-card,
body.proai-inner-golden-r1 .contact-form,
body.proai-inner-golden-r1 .contact-card,
body.proai-inner-golden-r1 .protocol-step,
body.proai-inner-golden-r1 .proof-panel,
body.proai-inner-golden-r1 .proof-flow,
body.proai-inner-golden-r1 .governance-card,
body.proai-inner-golden-r1 .matrix-cell,
body.proai-inner-golden-r1 .service-card,
body.proai-inner-golden-r1 .process-card,
body.proai-inner-golden-r1 .web-proof-card {
  border-color: var(--inner-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)),
    var(--inner-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 28px 80px rgba(0, 0, 0, .24);
}

body.proai-inner-golden-r1 .btn,
body.proai-inner-golden-r1 .start-btn,
body.proai-inner-golden-r1 .primary-btn,
body.proai-inner-golden-r1 .hero-primary,
body.proai-inner-golden-r1 .cta-primary,
body.proai-inner-golden-r1 button[type="submit"] {
  border-color: rgba(232, 231, 226, .22);
  border-radius: 8px;
  color: var(--inner-pearl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018) 32%, rgba(0, 0, 0, .08)),
    var(--inner-elevated);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11), inset 0 -1px 0 rgba(0, 0, 0, .62);
  font-weight: 650;
  letter-spacing: .045em;
  text-shadow: none;
}

body.proai-inner-golden-r1 .btn:hover,
body.proai-inner-golden-r1 .start-btn:hover,
body.proai-inner-golden-r1 .primary-btn:hover,
body.proai-inner-golden-r1 .hero-primary:hover,
body.proai-inner-golden-r1 .cta-primary:hover,
body.proai-inner-golden-r1 button[type="submit"]:hover {
  border-color: rgba(232, 231, 226, .34);
  color: var(--inner-pearl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .024) 32%, rgba(0, 0, 0, .07)),
    #1b2128;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 14px 38px rgba(0, 0, 0, .26);
}

body.proai-inner-golden-r1 .ghost,
body.proai-inner-golden-r1 .ghost-btn,
body.proai-inner-golden-r1 .secondary-btn,
body.proai-inner-golden-r1 .hero-secondary,
body.proai-inner-golden-r1 .cta-secondary {
  border-color: var(--inner-line-strong);
  color: var(--inner-silver);
  background: rgba(255, 255, 255, .018);
  box-shadow: none;
}

body.proai-inner-golden-r1 input,
body.proai-inner-golden-r1 textarea,
body.proai-inner-golden-r1 select {
  border-color: var(--inner-line-strong);
  color: var(--inner-pearl);
  background: rgba(9, 11, 14, .88);
}

body.proai-inner-golden-r1 input:focus,
body.proai-inner-golden-r1 textarea:focus,
body.proai-inner-golden-r1 select:focus {
  border-color: rgba(205, 209, 208, .5);
  outline-color: rgba(241, 239, 233, .74);
  box-shadow: 0 0 0 3px rgba(205, 209, 208, .08);
}

/* Pre-release type calibration. The original inner generation relied on
   800–900 display weights; the current homepage uses quieter 500–650 forms. */
:is(body.proai-inner-golden-r1.page-about,
    body.proai-inner-golden-r1.page-contact,
    body.proai-inner-golden-r1.theme-ai,
    body.proai-inner-golden-r1.theme-web,
    body.proai-inner-golden-r1.insights-hub) main h1 {
  font-weight: 560;
  letter-spacing: -.045em;
}

:is(body.proai-inner-golden-r1.page-about,
    body.proai-inner-golden-r1.page-contact,
    body.proai-inner-golden-r1.theme-ai,
    body.proai-inner-golden-r1.theme-web,
    body.proai-inner-golden-r1.insights-hub) main h2 {
  font-weight: 600;
  letter-spacing: -.042em;
}

body.proai-inner-golden-r1.page-article main h1 {
  font-weight: 600;
  letter-spacing: -.038em;
}

body.proai-inner-golden-r1.page-article main h2 {
  font-weight: 650;
  letter-spacing: -.025em;
}

/* About: warm registration is deliberately limited to small signals and the
   existing thesis illustration. */
body.proai-inner-golden-r1.page-about {
  --hero-secondary-accent: var(--inner-champagne);
}

body.proai-inner-golden-r1.page-about .eyebrow,
body.proai-inner-golden-r1.page-about .anchor-role,
body.proai-inner-golden-r1.page-about .note-label {
  color: var(--inner-champagne-soft);
}

body.proai-inner-golden-r1.page-about .eyebrow::before,
body.proai-inner-golden-r1.page-about .section-head::after {
  background: linear-gradient(90deg, rgba(211, 179, 127, .58), transparent);
}

body.proai-inner-golden-r1.page-about .hero-copy h1 .hero-accent {
  color: var(--inner-champagne);
  -webkit-text-fill-color: var(--inner-champagne);
  text-shadow: none;
}

body.proai-inner-golden-r1.page-about .section-head h2,
body.proai-inner-golden-r1.page-about .cta-shell h2,
body.proai-inner-golden-r1.page-about .panel h2 {
  background: linear-gradient(180deg, var(--inner-pearl-warm), var(--inner-pearl-soft) 72%, var(--inner-champagne-soft) 135%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Two editorial callouts carry inline legacy borders; these exact section
   selectors are the only required inline-style specificity boundary. */
body.proai-inner-golden-r1.page-about #proof > .shell > div > .reveal,
body.proai-inner-golden-r1.page-about #why > .shell > div > .reveal {
  border-left-color: rgba(211, 179, 127, .2) !important;
}

body.proai-inner-golden-r1.page-about .panel > h2[style] {
  background: linear-gradient(180deg, var(--inner-pearl-warm), var(--inner-pearl-soft) 72%, var(--inner-champagne-soft) 135%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 600 !important;
  letter-spacing: -.042em !important;
}

body.proai-inner-golden-r1.page-about .thesis-visual {
  background:
    radial-gradient(circle at 82% 16%, rgba(211, 179, 127, .075), transparent 26%),
    radial-gradient(circle at 24% 76%, rgba(216, 212, 203, .07), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, .032), rgba(255, 255, 255, .012));
}

body.proai-inner-golden-r1.page-about .thesis-link {
  background: linear-gradient(90deg, transparent, rgba(211, 179, 127, .28), rgba(255, 255, 255, .1), transparent);
}

body.proai-inner-golden-r1.page-about .thesis-glow.one {
  background: radial-gradient(circle, rgba(211, 179, 127, .22), rgba(211, 179, 127, 0) 72%);
}

body.proai-inner-golden-r1.page-about .thesis-spark,
body.proai-inner-golden-r1.page-about .thesis-node-card .thesis-dot {
  background: var(--inner-champagne);
  box-shadow: 0 0 16px rgba(211, 179, 127, .3);
}

/* Contact is the quietest commercial family: only warm registration survives. */
body.proai-inner-golden-r1.page-contact .eyebrow,
body.proai-inner-golden-r1.page-contact .note-label,
body.proai-inner-golden-r1.page-contact .step-label,
body.proai-inner-golden-r1.page-contact .side-panel strong,
body.proai-inner-golden-r1.page-contact .path-card i {
  color: var(--inner-champagne-soft);
}

body.proai-inner-golden-r1.page-contact .eyebrow::before,
body.proai-inner-golden-r1.page-contact .section-head::after {
  background: linear-gradient(90deg, rgba(171, 142, 101, .54), transparent);
}

body.proai-inner-golden-r1.page-contact .contact-hero h1 .hero-accent {
  color: var(--inner-pearl-soft);
  -webkit-text-fill-color: var(--inner-pearl-soft);
  text-shadow: none;
}

body.proai-inner-golden-r1.page-contact .section-head h2,
body.proai-inner-golden-r1.page-contact .cta-shell h2 {
  background: linear-gradient(180deg, var(--inner-pearl-warm), var(--inner-pearl-soft) 78%, var(--inner-champagne-soft) 145%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.proai-inner-golden-r1.page-contact .contact-note,
body.proai-inner-golden-r1.page-contact .intake-shell,
body.proai-inner-golden-r1.page-contact .cta-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .032), rgba(255, 255, 255, .01)),
    radial-gradient(circle at 84% 14%, rgba(171, 142, 101, .07), transparent 30%);
}

body.proai-inner-golden-r1.page-contact .pill.is-active,
body.proai-inner-golden-r1.page-contact .private-review-context,
body.proai-inner-golden-r1.page-contact .form-success {
  border-color: rgba(211, 179, 127, .2);
  background: linear-gradient(180deg, rgba(171, 142, 101, .075), rgba(171, 142, 101, .022));
}

body.proai-inner-golden-r1.page-contact .form-feedback.is-success,
body.proai-inner-golden-r1.page-contact .private-review-context strong,
body.proai-inner-golden-r1.page-contact .form-success strong {
  color: var(--inner-champagne);
}

/* AI Systems: operational warmth without restoring the old electric blue. */
body.proai-inner-golden-r1.theme-ai {
  --hero-ai-accent: var(--inner-champagne);
}

body.proai-inner-golden-r1.theme-ai .eyebrow,
body.proai-inner-golden-r1.theme-ai .svc-motion-kicker,
body.proai-inner-golden-r1.theme-ai .note-label,
body.proai-inner-golden-r1.theme-ai .step-label {
  color: var(--inner-champagne-soft);
}

body.proai-inner-golden-r1.theme-ai .eyebrow::before,
body.proai-inner-golden-r1.theme-ai .section-head::after {
  background: linear-gradient(90deg, rgba(211, 179, 127, .58), transparent);
}

body.proai-inner-golden-r1.theme-ai .hero-copy h1 em {
  color: var(--inner-champagne);
  -webkit-text-fill-color: var(--inner-champagne);
  text-shadow: none;
}

body.proai-inner-golden-r1.theme-ai .section-head h2,
body.proai-inner-golden-r1.theme-ai .cta-shell h2 {
  background: linear-gradient(180deg, var(--inner-pearl) 0%, var(--inner-pearl-soft) 68%, var(--inner-champagne-soft) 132%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.proai-inner-golden-r1.theme-ai .entropy-line {
  background: linear-gradient(90deg, rgba(211, 179, 127, .1), rgba(171, 142, 101, .3), rgba(201, 205, 209, .08));
}

body.proai-inner-golden-r1.theme-ai .capture-beam,
body.proai-inner-golden-r1.theme-ai .capture-beam::before,
body.proai-inner-golden-r1.theme-ai .svc-motion-frame::after {
  border-color: rgba(211, 179, 127, .16);
}

body.proai-inner-golden-r1.theme-ai .protocol-summary,
body.proai-inner-golden-r1.theme-ai .cta-shell {
  background:
    radial-gradient(circle at 14% 16%, rgba(211, 179, 127, .055), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
}

body.proai-inner-golden-r1.theme-ai .delta-arrow {
  border-color: rgba(211, 179, 127, .2);
  color: var(--inner-champagne-soft);
  background: rgba(171, 142, 101, .06);
}

body.proai-inner-golden-r1.theme-ai .secondary-btn {
  border-color: rgba(211, 179, 127, .2) !important;
}

body.proai-inner-golden-r1.theme-ai .entropy-map,
body.proai-inner-golden-r1.theme-ai .svc-motion-frame {
  background:
    radial-gradient(circle at 74% 18%, rgba(211, 179, 127, .045), transparent 34%),
    linear-gradient(180deg, rgba(6, 11, 18, .96), rgba(4, 8, 14, .96));
}

body.proai-inner-golden-r1.theme-ai .capture-beam {
  background: linear-gradient(rgba(211, 179, 127, .05), rgba(171, 142, 101, .014));
  box-shadow: inset 0 0 46px rgba(211, 179, 127, .055), 0 0 0 1px rgba(255, 255, 255, .01);
}

body.proai-inner-golden-r1.theme-ai .protocol-summary,
body.proai-inner-golden-r1.theme-ai .cta-shell {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02), inset 0 0 44px rgba(211, 179, 127, .018), 0 28px 72px rgba(0, 0, 0, .18);
}

body.proai-inner-golden-r1.theme-ai .flow-line i {
  box-shadow: 0 0 12px rgba(211, 179, 127, .28);
}

/* Websites & Branding: cold steel and muted violet from the homepage design
   sections, never the prior saturated web-blue. */
body.proai-inner-golden-r1.theme-web {
  --hero-web-accent: var(--inner-violet);
}

body.proai-inner-golden-r1.theme-web .eyebrow,
body.proai-inner-golden-r1.theme-web .svc-motion-kicker,
body.proai-inner-golden-r1.theme-web .note-label,
body.proai-inner-golden-r1.theme-web .step-label {
  color: var(--inner-steel);
}

body.proai-inner-golden-r1.theme-web .eyebrow::before,
body.proai-inner-golden-r1.theme-web .section-head::after {
  background: linear-gradient(90deg, rgba(140, 160, 173, .58), transparent);
}

body.proai-inner-golden-r1.theme-web .hero-copy h1 em {
  color: var(--inner-violet);
  -webkit-text-fill-color: var(--inner-violet);
  text-shadow: none;
}

body.proai-inner-golden-r1.theme-web .section-head h2,
body.proai-inner-golden-r1.theme-web .cta-shell h2 {
  background: linear-gradient(180deg, var(--inner-pearl) 0%, var(--inner-pearl-soft) 66%, var(--inner-violet) 132%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.proai-inner-golden-r1.theme-web .entropy-line {
  background: linear-gradient(90deg, rgba(140, 160, 173, .1), rgba(145, 137, 173, .28), rgba(201, 205, 209, .08));
}

body.proai-inner-golden-r1.theme-web .capture-beam,
body.proai-inner-golden-r1.theme-web .capture-beam::before,
body.proai-inner-golden-r1.theme-web .svc-motion-frame::after {
  border-color: rgba(145, 137, 173, .16);
}

body.proai-inner-golden-r1.theme-web .protocol-summary,
body.proai-inner-golden-r1.theme-web .cta-shell {
  background:
    radial-gradient(circle at 14% 16%, rgba(145, 137, 173, .055), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
}

body.proai-inner-golden-r1.theme-web .delta-arrow {
  border-color: rgba(145, 137, 173, .2);
  color: var(--inner-steel);
  background: rgba(145, 137, 173, .055);
}

body.proai-inner-golden-r1.theme-web .secondary-btn {
  border-color: rgba(145, 137, 173, .2) !important;
}

body.proai-inner-golden-r1.theme-web .entropy-list,
body.proai-inner-golden-r1.theme-web .svc-motion-frame {
  background:
    radial-gradient(circle at 78% 16%, rgba(145, 137, 173, .04), transparent 32%),
    linear-gradient(180deg, rgba(6, 11, 18, .96), rgba(4, 8, 14, .96));
}

body.proai-inner-golden-r1.theme-web .capture-beam {
  background: linear-gradient(rgba(145, 137, 173, .048), rgba(140, 160, 173, .014));
  box-shadow: inset 0 0 40px rgba(145, 137, 173, .05), 0 0 0 1px rgba(255, 255, 255, .01);
}

body.proai-inner-golden-r1.theme-web .protocol-summary,
body.proai-inner-golden-r1.theme-web .cta-shell {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02), inset 0 0 48px rgba(145, 137, 173, .016), 0 28px 74px rgba(0, 0, 0, .18);
}

body.proai-inner-golden-r1.theme-web .flow-line i,
body.proai-inner-golden-r1.theme-web .wbcs-bullet i {
  background: linear-gradient(135deg, var(--inner-steel), rgba(145, 137, 173, .72));
  box-shadow: 0 0 14px rgba(145, 137, 173, .24);
}

body.proai-inner-golden-r1.theme-web .wbcs-copy h2 {
  background: linear-gradient(180deg, var(--inner-pearl), var(--inner-pearl-soft) 68%, var(--inner-violet) 132%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.proai-inner-golden-r1.theme-web .wbcs-stage-bg {
  background:
    radial-gradient(circle at 72% 26%, rgba(145, 137, 173, .13), transparent 24%),
    radial-gradient(circle at 38% 86%, rgba(140, 160, 173, .055), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)),
    linear-gradient(180deg, rgba(9, 16, 25, .94), rgba(5, 8, 12, .99));
}

body.proai-inner-golden-r1.theme-web .wbcs-grid {
  background-image:
    linear-gradient(rgba(140, 160, 173, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 160, 173, .035) 1px, transparent 1px);
}

body.proai-inner-golden-r1.theme-web .wbcs-orb {
  background: radial-gradient(circle, rgba(145, 137, 173, .18), rgba(140, 160, 173, .045) 34%, transparent 66%);
}

/* The Websites proof intentionally stages rotated devices beyond its track.
   Clip at the section boundary so the composition cannot widen the document. */
body.proai-inner-golden-r1.theme-web .showcase-proof-section {
  overflow: clip;
}

/* Local Repair Pro keeps its amber/forest project identity while the page
   shell and former electric-cyan system move onto the shared neutral base. */
body.proai-inner-golden-r1.lrp-case {
  --lrp-black: var(--inner-page);
  --lrp-navy: #111820;
  --lrp-graphite: var(--inner-elevated);
  --lrp-cyan: var(--inner-silver);
}

/* Alina Horb keeps its terracotta, sage and ivory case language. Only the
   surrounding ProAI shell and former cyan registration marks are neutral. */
body.proai-inner-golden-r1.ahv3-case:not(.case-archive-v3) {
  --ai-cyan: var(--inner-silver);
  --ah-black: var(--inner-page);
  --ah-charcoal: var(--inner-surface);
  --ah-panel: var(--inner-panel);
  --ah-white: var(--inner-pearl);
  --ah-muted: rgba(205, 209, 208, .72);
  --ah-faint: rgba(166, 171, 177, .58);
  --ah-rule: var(--inner-line-strong);
  --ah-cyan-rule: rgba(205, 209, 208, .26);
}

body.proai-inner-golden-r1.ahv3-case:not(.case-archive-v3) .ahv3-status {
  color: var(--ah-sage);
}

body.proai-inner-golden-r1.ahv3-case:not(.case-archive-v3) .ahv3-threshold-line {
  background: var(--ah-sage);
  box-shadow: 0 0 15px rgba(197, 206, 185, .32);
}

body.proai-inner-golden-r1.ahv3-case:not(.case-archive-v3) .ahv3-frame {
  background: linear-gradient(90deg, rgba(213, 138, 114, .42), rgba(255, 255, 255, .08), rgba(197, 206, 185, .5));
}

body.proai-inner-golden-r1.ahv3-case:not(.case-archive-v3) .ahv3-portal {
  background: linear-gradient(135deg, rgba(197, 206, 185, .62), rgba(255, 255, 255, .12) 46%, rgba(213, 138, 114, .62));
}

body.proai-inner-golden-r1.ahv3-case:not(.case-archive-v3) .ahv3-mobile-frame {
  background: linear-gradient(180deg, rgba(197, 206, 185, .48), rgba(213, 138, 114, .35));
}

body.proai-inner-golden-r1.ahv3-case:not(.case-archive-v3) .ahv3-language-image {
  background: rgba(197, 206, 185, .2);
}

body.proai-inner-golden-r1.ahv3-case:not(.case-archive-v3) .ahv3-steps {
  border-top-color: rgba(197, 206, 185, .3);
}

/* Financial Stream keeps live-status green and its evidence-led composition;
   the previous blue atmosphere becomes graphite with silver registration. */
body.proai-inner-golden-r1.fs-case {
  --ai-cyan: var(--inner-silver);
  --fs-black: var(--inner-void);
  --fs-midnight: var(--inner-page);
  --fs-deep: var(--inner-surface);
  --fs-panel: rgba(14, 18, 23, .84);
  --fs-panel-strong: rgba(9, 11, 14, .96);
  --fs-ice: #e4e3df;
  --fs-cyan: var(--inner-silver);
  --fs-cyan-soft: #dde0df;
  --fs-text: var(--inner-pearl);
  --fs-muted: rgba(205, 209, 208, .68);
  --fs-rule: var(--inner-line);
  --fs-rule-strong: var(--inner-line-strong);
  --fs-polish-line: rgba(205, 209, 208, .2);
  --fs-polish-line-strong: rgba(205, 209, 208, .38);
  --fs-polish-surface: rgba(14, 18, 23, .9);
  --fs-polish-surface-soft: rgba(23, 28, 34, .66);
}

body.proai-inner-golden-r1.fs-case #business-challenge .editorial-grid,
body.proai-inner-golden-r1.fs-case .service-ledger article,
body.proai-inner-golden-r1.fs-case #intake-before-booking .proof-copy {
  background: linear-gradient(145deg, rgba(23, 28, 34, .86), rgba(9, 11, 14, .8));
}

body.proai-inner-golden-r1.fs-case .register-note,
body.proai-inner-golden-r1.fs-case .limitation,
body.proai-inner-golden-r1.fs-case .safety-line {
  border-color: rgba(205, 209, 208, .16);
  border-left-color: var(--fs-cyan);
  background: linear-gradient(90deg, rgba(205, 209, 208, .075), rgba(205, 209, 208, .015));
}

body.proai-inner-golden-r1.fs-case .layer-register li.is-active {
  border-color: var(--fs-polish-line-strong);
  background: linear-gradient(90deg, rgba(36, 42, 49, .94), rgba(14, 18, 23, .76) 82%, transparent), var(--fs-polish-surface);
}

/* Insights hub: preserve the editorial grid and hierarchy while replacing
   the legacy cyan/violet atmosphere with the shared pearl/silver system. */
body.proai-inner-golden-r1.insights-hub {
  --bg: var(--inner-page);
  --text: var(--inner-pearl);
  --muted: var(--inner-body);
  --soft: var(--inner-muted);
  --cyan: var(--inner-silver);
  --violet: var(--inner-violet);
  background:
    radial-gradient(circle at 14% 10%, rgba(205, 209, 208, .045), transparent 23%),
    radial-gradient(circle at 82% 22%, rgba(142, 148, 153, .035), transparent 26%),
    linear-gradient(180deg, var(--inner-page), var(--inner-void));
}

body.proai-inner-golden-r1.insights-hub .hero h1 span,
body.proai-inner-golden-r1.insights-hub .featured-title span {
  color: var(--inner-violet);
  -webkit-text-fill-color: var(--inner-violet);
}

body.proai-inner-golden-r1.insights-hub .eyebrow,
body.proai-inner-golden-r1.insights-hub .portfolio-entry-eyebrow {
  color: var(--inner-steel);
}

body.proai-inner-golden-r1.insights-hub .eyebrow::before,
body.proai-inner-golden-r1.insights-hub .section-head::after {
  background: linear-gradient(90deg, rgba(140, 160, 173, .58), transparent);
}

body.proai-inner-golden-r1.insights-hub .section-head h2 {
  background: linear-gradient(180deg, var(--inner-pearl), var(--inner-pearl-soft) 72%, var(--inner-violet) 138%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.proai-inner-golden-r1.insights-hub .featured {
  border-color: var(--inner-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    radial-gradient(circle at 18% 18%, rgba(205, 209, 208, .055), transparent 40%);
}

body.proai-inner-golden-r1.insights-hub .feature-action,
body.proai-inner-golden-r1.insights-hub .card-action {
  border-bottom-color: rgba(145, 137, 173, .36);
  color: var(--inner-steel);
}

/* Editorial articles share one reading authority. Their content hierarchy and
   modules remain intact; only the legacy electric atmosphere is neutralized. */
body.proai-inner-golden-r1.page-article {
  --cyan: var(--inner-steel);
  --ai-cyan: var(--inner-steel);
  --violet: var(--inner-violet);
  background: var(--inner-page);
  color: var(--inner-pearl);
}

body.proai-inner-golden-r1.page-article .article-kicker,
body.proai-inner-golden-r1.page-article .article-side-label,
body.proai-inner-golden-r1.page-article .premium-author-label,
body.proai-inner-golden-r1.page-article .lead-author-label,
body.proai-inner-golden-r1.page-article .premium-related-insights > strong {
  color: var(--inner-steel);
}

body.proai-inner-golden-r1.page-article .premium-author-byline,
body.proai-inner-golden-r1.page-article .lead-author-byline {
  border-color: rgba(145, 137, 173, .16);
  background: linear-gradient(145deg, rgba(140, 160, 173, .04), rgba(145, 137, 173, .035));
}

body.proai-inner-golden-r1.page-article .premium-author-portrait,
body.proai-inner-golden-r1.page-article .lead-author-portrait {
  border-color: rgba(140, 160, 173, .28);
}

body.proai-inner-golden-r1.page-article .premium-author-link,
body.proai-inner-golden-r1.page-article .lead-author-link,
body.proai-inner-golden-r1.page-article .lead-context-link a {
  color: var(--inner-steel);
  border-bottom-color: rgba(145, 137, 173, .34);
}

body.proai-inner-golden-r1.page-article .premium-quote {
  border-left-color: rgba(145, 137, 173, .48);
  background: linear-gradient(90deg, rgba(145, 137, 173, .065), rgba(140, 160, 173, .02));
}

body.proai-inner-golden-r1.page-article .article-body blockquote {
  border-left-color: var(--inner-steel);
  background: rgba(140, 160, 173, .035);
}

body.proai-inner-golden-r1.page-article .article-callout,
body.proai-inner-golden-r1.page-article .article-cta,
body.proai-inner-golden-r1.page-article .lead-context-link {
  border-color: rgba(145, 137, 173, .18);
  background:
    radial-gradient(circle at 12% 18%, rgba(145, 137, 173, .06), transparent 36%),
    rgba(255, 255, 255, .025);
}

body.proai-inner-golden-r1.page-article .premium-module {
  --premium-module-accent: rgba(140, 160, 173, .48);
}

body.proai-inner-golden-r1.page-article .premium-module[data-module~="executive-summary"],
body.proai-inner-golden-r1.page-article .premium-module[data-module~="continuity-flow"],
body.proai-inner-golden-r1.page-article .premium-module[data-module~="business-control-map"],
body.proai-inner-golden-r1.page-article .premium-module[data-module~="definition-of-done"] {
  --premium-module-accent: rgba(145, 137, 173, .58);
}

body.proai-inner-golden-r1.page-article .premium-module[data-module~="decision-matrix"],
body.proai-inner-golden-r1.page-article .premium-module[data-module~="proposal-risk-ledger"],
body.proai-inner-golden-r1.page-article .premium-module[data-module~="abc-comparison"] {
  --premium-module-accent: rgba(140, 160, 173, .6);
  background: linear-gradient(145deg, rgba(140, 160, 173, .045), rgba(255, 255, 255, .014));
}

body.proai-inner-golden-r1.page-article .bg-thread {
  background:
    radial-gradient(circle at 20% 18%, rgba(205, 209, 208, .045), transparent 22%),
    radial-gradient(circle at 74% 32%, rgba(142, 148, 153, .03), transparent 26%) !important;
}

body.proai-inner-golden-r1.page-article .premium-exec-summary {
  border-left-color: var(--inner-silver);
  background: linear-gradient(180deg, rgba(205, 209, 208, .055), transparent);
}

body.proai-inner-golden-r1.page-article .premium-cta {
  border-color: rgba(205, 209, 208, .18);
  background:
    radial-gradient(circle at 10% 20%, rgba(205, 209, 208, .065), transparent 50%),
    rgba(255, 255, 255, .018);
}

/* Case Studies archive: the individual projects retain their own accents;
   the shared atlas shell moves from teal to the Golden neutral system. */
body.proai-inner-golden-r1.case-archive-v3 {
  --atlas-black: var(--inner-page);
  --atlas-graphite: var(--inner-panel);
  --atlas-graphite-2: var(--inner-elevated);
  --atlas-ink: var(--inner-surface);
  --atlas-white: var(--inner-pearl);
  --atlas-muted: var(--inner-body);
  --atlas-line: var(--inner-line-strong);
  --atlas-cyan: var(--inner-silver);
  --atlas-fs: #b9bec1;
}

body.proai-inner-golden-r1.case-archive-v3 .atlas-hero {
  background:
    linear-gradient(145deg, rgba(205, 209, 208, .055), transparent 42%),
    var(--inner-page);
}

body.proai-inner-golden-r1.case-archive-v3 .atlas-supporting {
  border-left-color: rgba(205, 209, 208, .3);
}

body.proai-inner-golden-r1.case-archive-v3 .atlas-hero__datum {
  border-top-color: rgba(205, 209, 208, .14);
  background: linear-gradient(90deg, transparent 0 7%, rgba(205, 209, 208, .24) 7% calc(7% + 1px), transparent calc(7% + 1px) 93%, rgba(205, 209, 208, .24) 93% calc(93% + 1px), transparent calc(93% + 1px));
}

body.proai-inner-golden-r1.case-archive-v3 .atlas-territory--financial {
  --proof-line: rgba(205, 209, 208, .24);
}

body.proai-inner-golden-r1.case-archive-v3 .atlas-signal-register {
  border-color: rgba(205, 209, 208, .18);
  background: rgba(205, 209, 208, .18);
}

body.proai-inner-golden-r1.case-archive-v3 .atlas-standard {
  background:
    linear-gradient(160deg, rgba(205, 209, 208, .055), transparent 44%),
    var(--inner-panel);
  color: var(--inner-pearl);
}

body.proai-inner-golden-r1.case-archive-v3 .atlas-closing {
  border-top-color: rgba(205, 209, 208, .14);
  background: var(--inner-page);
  color: var(--inner-pearl);
}

body.proai-inner-golden-r1 :focus-visible {
  outline-color: rgba(236, 234, 229, .78);
}

@media (max-width: 640px) {
  body.proai-inner-golden-r1 .contact-grid,
  body.proai-inner-golden-r1 .framing-grid,
  body.proai-inner-golden-r1 .intake-shell,
  body.proai-inner-golden-r1 .steps-grid,
  body.proai-inner-golden-r1 .contact-path-grid,
  body.proai-inner-golden-r1 .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.proai-inner-golden-r1 .framing-panel,
  body.proai-inner-golden-r1 .trust-panel {
    min-width: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  body.proai-inner-golden-r1 *,
  body.proai-inner-golden-r1 *::before,
  body.proai-inner-golden-r1 *::after {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  body.proai-inner-golden-r1 {
    background: Canvas !important;
    color: CanvasText !important;
  }
}
