/* Shared chrome + shell for non-Home pages (About, case studies, 401/404) */
:root {
  --pr-bg: #09090b;
  --pr-ink: #e6e6e6;
  --pr-muted: #a1a1aa;
  --pr-soft: #71717a;
  --pr-line: #27272a;
  --pr-panel: #141416;
  --pr-accent: #60a5fa;
  --pr-nav: rgba(230, 230, 230, 0.88);
}
html.is-light,
html[data-theme="light"] {
  --pr-bg: #ffffff;
  --pr-ink: #111827;
  --pr-muted: #6b7280;
  --pr-soft: #9ca3af;
  --pr-line: #e5e7eb;
  --pr-panel: #f8fafc;
  --pr-accent: #1d4ed8;
  --pr-nav: rgba(17, 24, 39, 0.82);
}

html,
body,
body.body {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--pr-bg) !important;
  color: var(--pr-ink) !important;
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Hide legacy Site Navigation / Site Footer components */
#site-nav,
.Navigation,
.navigation,
section.navigation,
.Footer.Subscribe,
.Footer-Subscribe,
section.Footer-Subscribe,
.footer-subscribe,
[class*="Footer Subscribe"] {
  display: none !important;
}

/* Injected minimal nav (matches Work / Home language) */
.pr-pc-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 28px;
  color: var(--pr-nav);
  background: color-mix(in srgb, var(--pr-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--pr-line) 70%, transparent);
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.pr-pc-links {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.pr-pc-links a {
  color: var(--pr-nav);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.58;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pr-pc-links a:hover {
  opacity: 0.92;
  transform: translateY(-0.5px);
}
.pr-pc-links a.is-active {
  opacity: 1;
  color: var(--pr-accent);
}
.pr-pc-brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  color: var(--pr-nav);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.pr-pc-brand:hover {
  opacity: 1;
}
.pr-pc-brand:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}
.pr-pc-theme {
  justify-self: end;
  background: none;
  border: 0;
  color: var(--pr-nav);
  cursor: pointer;
  padding: 2px;
  opacity: 0.7;
  display: inline-flex;
  transform: scale(0.88);
  transform-origin: right center;
}
.pr-pc-theme:hover {
  opacity: 1;
}

/* Page shell: About + case studies content */
.pr-pc-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 48px;
}

body.pr-pc-ready .About-Praga,
body.pr-pc-ready section.About-Praga,
body.pr-pc-ready .About-Praga > .w-container,
body.pr-pc-ready .w-container {
  max-width: 1120px;
}

/* Type scale aligned to Home after-hero */
body.pr-pc-ready h1,
body.pr-pc-ready .About-Heading-2-Dark,
body.pr-pc-ready .Heading-8,
body.pr-pc-ready [class*="About Heading 2 Dark"],
body.pr-pc-ready [class*="Heading 8"] {
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  color: var(--pr-ink) !important;
}

body.pr-pc-ready h2,
body.pr-pc-ready .About-Section-Title,
body.pr-pc-ready [class*="About Section Title"],
body.pr-pc-ready .Head,
body.pr-pc-ready .Context_Head {
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  color: var(--pr-ink) !important;
}

body.pr-pc-ready h3,
body.pr-pc-ready h4,
body.pr-pc-ready .About-Heading-3,
body.pr-pc-ready [class*="About Heading 3"],
body.pr-pc-ready .Context_Desc,
body.pr-pc-ready .Number {
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: var(--pr-ink) !important;
}

body.pr-pc-ready p,
body.pr-pc-ready li,
body.pr-pc-ready .paragraph,
body.pr-pc-ready .text-block {
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: var(--pr-muted) !important;
  line-height: 1.6 !important;
}

body.pr-pc-ready a:not(.pr-pc-links a):not(.pr-pc-brand):not(.pr-site-footer a):not(.pr-site-footer-1 a) {
  color: var(--pr-accent);
}

/* Soften legacy colored backgrounds toward token surface */
body.pr-pc-ready .section,
body.pr-pc-ready [class*="Section"],
body.pr-pc-ready .About-Praga {
  background-color: transparent !important;
}

body.pr-pc-ready .BLACK {
  color: var(--pr-ink) !important;
}

@media (max-width: 640px) {
  .pr-pc-nav {
    padding: 14px 12px;
  }
  .pr-pc-links {
    gap: 10px;
  }
  .pr-pc-shell {
    width: calc(100% - 32px);
    padding-top: 48px;
  }
}
