/* PSA-inspired blue presentation. Content and CMS visibility remain unchanged. */
:root {
  --blue: #0755d8;
  --deep: #073a9a;
  --ink: #191d25;
  --muted: #5f6876;
  --line: #dde3ec;
  --pale: #f4f7fc;
  --radius-card: 8px;
  --radius-control: 999px;
}
:root body { color: var(--ink); background: #fff; }
:root body .wrap { max-width: 1240px; }
:root body .page h1, :root body .page h2, :root body .page h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: -.035em;
}
:root body .site-header { margin: 0; border-radius: 0; background: var(--blue); }
:root body .header-inner { max-width: 1240px; padding: 18px 32px; min-height: 88px; gap: 32px; }
:root body .site-header nav { gap: 18px; }
:root body .site-header nav a { padding-inline: 16px; font-size: 14px; }
:root body .site-header nav a.active { background: #ffffff12; border-radius: 999px; box-shadow: none; }
:root body .site-header nav a.nav-submit { color: #171d28; padding-inline: 25px; }
:root body .header-inner #site-navigation a.nav-account { background: #0044b6; }
:root body .archive-home {
  max-width: none; width: 100%; margin: 0;
  padding: 100px max(32px, calc((100% - 1176px) / 2)) 84px;
  min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr;
  grid-template-rows: auto auto; column-gap: 72px; row-gap: 34px;
  align-content: center; background: var(--blue); color: #fff; overflow: hidden;
}
:root body .archive-intro { grid-column: 1; grid-row: 1; align-self: end; }
:root body #page-home .archive-intro h1 { margin: 0; font-size: clamp(48px, 4.5vw, 68px); font-weight: 700; line-height: 1.18; letter-spacing: -.045em; }
:root body #page-home .archive-intro h1>span, :root body #page-home .archive-intro h1>em { color: #fff; }
:root body .archive-intro .archive-tagline { margin-top: 24px; color: #e6efff; font-size: 17px; line-height: 1.8; letter-spacing: .01em; }
:root body .hero-social-band { margin-top: 28px; opacity: 1; gap: 16px; animation: none; }
:root body .hero-social-mark { width: 34px; height: 34px; flex-basis: 34px; padding: 7px; background: #fff; border-radius: 50%; }
:root body .hero-social-mark svg { filter: none; }
:root body .archive-actions { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 14px; margin: 0; align-self: start; }
:root body #page-home .archive-actions > .archive-query, :root body #page-home .archive-actions > .archive-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 24px;
  flex: 0 1 auto; width: auto; min-height: 56px; margin: 0; padding: 16px 25px;
  border: 1px solid #fff; border-radius: 999px; box-shadow: none;
  font-size: 16px; line-height: 1.4; font-weight: 600;
}
:root body #page-home .archive-actions > .archive-query { background: #fff; color: #171d28; }
:root body #page-home .archive-actions > .archive-query img { filter: brightness(0); }
:root body #page-home .archive-actions > .archive-submit { background: transparent; color: #fff; }
:root body #page-home .archive-actions > .archive-submit img { filter: brightness(0) invert(1); }
:root body #page-home .archive-actions > .archive-query img, :root body #page-home .archive-actions > .archive-submit img { width: 20px; height: 20px; }
:root body #page-home .archive-actions > .archive-query:hover { background: #e8efff; border-color: #e8efff; }
:root body #page-home .archive-actions > .archive-submit:hover { background: #ffffff18; }
:root body #page-home .archive-actions > .archive-query:focus-visible, :root body #page-home .archive-actions > .archive-submit:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
:root body .archive-scope { flex-basis: 100%; margin: 12px 0 0; color: #dae7ff; font-size: 13px; letter-spacing: .02em; }
:root body .home-brand-strip { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
:root body .home-brand-strip .brand-logos { min-height: 36px; gap: 28px; }
:root body .home-brand-strip .brand-logo { max-height: 26px; object-position: left center; }
/* Only the built-in transparent marks receive the reversed treatment.
   CMS replacements retain their original colors and proportions. */
:root body .home-brand-strip img:is([src="/assets/brands/psa.png"], [src="/assets/brands/bgs.png"]) {
  filter: brightness(0) invert(1); opacity: .88;
}
/* Keep the existing logo as the hero artwork; the frame is purely decorative. */
:root body .archive-art.user-logo-hero {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center;
  width: 100%; height: 440px; margin: 0; padding: 0; border: 1px solid #ffffff50;
  border-radius: 10px; background: #1460de; overflow: hidden; transform: rotate(-6deg);
  box-shadow: 20px 24px 0 #003bb41a;
}
:root body .archive-art.user-logo-hero:has(>img.user-logo-original) {
  width: 100%; height: 440px; margin: 0; aspect-ratio: auto;
}
:root body .archive-art.user-logo-hero::before { content: ""; position: absolute; inset: 17px; border: 1px solid #ffffff32; border-radius: 6px; pointer-events: none; }
:root body .archive-art.user-logo-hero>img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 30px; }
:root body .archive-art.user-logo-hero>img.user-logo-original {
  position: absolute; width: 112%; max-width: none; height: auto; left: -6%; top: 50%; padding: 0;
  transform: translateY(-50%); filter: grayscale(1) invert(1) brightness(1.5); mix-blend-mode: screen;
}
:root body .intro-section { padding-top: 112px; padding-bottom: 112px; border: 0; gap: 100px; }
:root body .intro-kicker { color: var(--blue); font-size: 12px; letter-spacing: .12em; }
:root body .intro-copy h2 { margin: 25px 0; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.3; font-weight: 650; }
:root body .intro-copy .archive-description { max-width: 480px; font-size: 17px; line-height: 1.9; color: var(--muted); }
:root body .intro-signature { margin-top: 36px; padding-top: 28px; border-color: var(--line); }
:root body .intro-signature>[data-content="homeArtTitle"] { color: var(--ink); font-size: clamp(22px, 2.3vw, 30px); }
:root body .intro-film { width: min(100%, 340px); }
:root body .intro-player { border-radius: 6px; box-shadow: none; }
:root body .intro-film figcaption { color: var(--muted); font-size: 11px; padding-top: 18px; }
:root body .verification-reference { padding-top: 64px; padding-bottom: 72px; margin-bottom: 0; border-top: 1px solid var(--line); }
:root body .verification-reference-heading { margin-bottom: 32px; }
:root body .verification-reference h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.3; font-weight: 650; }
:root body .verification-reference-image { border-radius: 4px; }
:root body .verification-reference figure { max-width: 900px; margin-inline: auto; }
:root body .archive-details { margin-top: 0; margin-bottom: 0; padding-top: 66px; padding-bottom: 90px; }
:root body #page-home .archive-details>summary { font-size: clamp(30px, 3.3vw, 44px); font-weight: 650; color: var(--ink); border: 0; min-height: 64px; }
:root body .archive-details>summary img { width: 27px; height: 27px; }
:root body .home-services-eyebrow { margin: 16px 0 50px; color: var(--blue); letter-spacing: .12em; }
:root body .archive-services { gap: 44px; padding: 0 0 60px; }
:root body .archive-services article.brand-panel { border: 0; border-radius: 0; background: transparent; padding: 0 0 24px; }
:root body .archive-services .brand-logos { margin-bottom: 25px; }
:root body .archive-services h2 { font-size: 26px; margin-bottom: 18px; font-weight: 600; }
:root body .archive-services p { color: var(--muted); font-size: 16px; line-height: 1.85; }
:root body .archive-services .brand-card-watermark { opacity: .035; }
:root body .home-service-scope { padding: 28px 0; margin-top: 0; gap: 36px; }
:root body .home-brand-statement { padding: 48px 0; }
:root body .home-brand-statement p { font-size: 30px; font-weight: 650; }
:root body .home-brand-statement>span { font-size: 12px; line-height: 1.8; color: var(--muted); }
:root body .home-query-callout { background: var(--blue); border: 0; border-radius: 0; padding: 56px; color: #fff; margin-bottom: 0; }
:root body .home-query-callout h2 { font-size: 34px; color: #fff; font-weight: 650; }
:root body .home-query-callout p { color: #e3edff; font-size: 16px; margin-top: 14px; }
:root body .home-query-callout .button { min-height: 56px; border: 0; border-radius: 999px; background: #fff; color: #171d28; padding: 16px 28px; }
/* Full-width footer surface, with content aligned to the header and hero. */
:root body .preview-banner { background: #f4f7fc; color: #6b7482; padding: 16px 24px 0; font-size: 10px; line-height: 1.6; letter-spacing: .06em; }
:root body .site-footer.wrap {
  width: 100%; max-width: none; margin: 0; border: 0;
  background: #f4f7fc; padding: 32px max(32px, calc((100% - 1176px) / 2)) 40px;
  flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 28px;
}
:root body .site-footer p { flex: 1; color: var(--muted); font-size: 12px; line-height: 1.8; text-align: left; margin: 0; }
:root body .site-footer .user-logo { background: transparent; }
:root body .site-footer .user-logo>img.user-logo-original { mix-blend-mode: multiply; }
:root body .site-footer .footer-socials { gap: 10px; margin: 0; }
:root body .site-footer .footer-social-link { width: 40px; height: 40px; flex-basis: 40px; }
:root body .site-footer .footer-social-link svg { width: 23px; height: 23px; }
:root body .site-footer .footer-social-x svg { width: 21px; height: 21px; }
@media (max-width: 760px) {
  :root body .site-footer.wrap { flex-direction: column; flex-wrap: nowrap; gap: 20px; padding: 30px 24px 40px; }
  :root body .site-footer p { flex: none; max-width: 30em; text-align: center; }
  :root body .site-footer .footer-socials { gap: 12px; }
}
:root body .page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #719fff; outline-offset: 4px; }
@media (max-width: 1100px) {
  :root body .header-inner { gap: 20px; }
  :root body .site-header nav { gap: 3px; }
  :root body .archive-home { column-gap: 48px; padding-top: 80px; padding-bottom: 72px; }
  :root body .archive-art.user-logo-hero, :root body .archive-art.user-logo-hero:has(>img.user-logo-original) { height: 380px; }
  :root body .intro-section { gap: 50px; }
}
@media (max-width: 960px) {
  :root body .header-inner { min-height: 80px; padding: 16px 24px; gap: 12px; }
  :root body .site-header nav { gap: 4px; }
  :root body .site-header nav a { min-height: 48px; }
  :root body .archive-home { column-gap: 36px; min-height: 620px; }
  :root body #page-home .archive-intro h1 { font-size: 50px; }
  :root body #page-home .archive-actions > .archive-query, :root body #page-home .archive-actions > .archive-submit { gap: 14px; padding-inline: 22px; }
  :root body .archive-services { gap: 28px; }
}
@media (max-width: 760px) {
  :root body .archive-home { grid-template-columns: minmax(0,1fr); padding: 60px 28px 50px; row-gap: 30px; }
  :root body .archive-intro { grid-row: 1; }
  :root body .archive-art.user-logo-hero, :root body .archive-art.user-logo-hero:has(>img.user-logo-original) { grid-column: 1; grid-row: 3; width: min(78%, 360px); height: 280px; margin: 22px 0 10px; transform: rotate(-4deg); }
  :root body .archive-actions { grid-row: 2; }
  :root body .intro-section { grid-template-columns: minmax(0,1fr); gap: 42px; padding-top: 68px; padding-bottom: 68px; }
  :root body .intro-copy .archive-description { max-width: none; }
  :root body .archive-services { grid-template-columns: minmax(0,1fr); gap: 32px; padding-bottom: 36px; }
  :root body .archive-services article.brand-panel { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  :root body .header-inner { padding: 12px 20px; min-height: 76px; }
  :root body .header-inner .logo-window.user-logo { width: 76px; height: 38px; }
  :root body .wrap { padding-left: 24px; padding-right: 24px; }
  :root body .archive-home { padding: 54px 24px 44px; margin-top: 0; }
  :root body #page-home .archive-intro h1 { font-size: 46px; line-height: 1.25; }
  :root body .archive-intro .archive-tagline { font-size: 15px; margin-top: 22px; letter-spacing: 0; }
  :root body .hero-social-band { margin-top: 24px; gap: 18px; }
  :root body .archive-actions { gap: 10px; }
  :root body #page-home .archive-actions > .archive-query, :root body #page-home .archive-actions > .archive-submit { font-size: 15px; min-height: 52px; padding: 14px 20px; gap: 12px; }
  :root body .archive-scope { font-size: 12px; margin-top: 14px; }
  :root body .archive-art.user-logo-hero, :root body .archive-art.user-logo-hero:has(>img.user-logo-original) { height: 250px; width: 82%; }
  :root body .intro-section { margin: 0; padding-top: 64px; padding-bottom: 60px; }
  :root body .intro-copy h2 { font-size: 32px; }
  :root body .intro-copy .archive-description { font-size: 15px; }
  :root body .intro-signature { display: flex; }
  :root body .intro-signature>[data-content="homeArtTitle"] { font-size: 21px; }
  :root body .intro-film { width: min(100%, 300px); }
  :root body .verification-reference { padding-top: 44px; padding-bottom: 42px; }
  :root body .verification-reference h2 { font-size: 28px; }
  :root body .archive-details { padding-top: 40px; padding-bottom: 56px; }
  :root body #page-home .archive-details>summary { font-size: 32px; }
  :root body .home-services-eyebrow { margin-bottom: 34px; }
  :root body .archive-services h2 { font-size: 24px; }
  :root body .archive-services p { font-size: 15px; }
  :root body .home-service-scope { gap: 20px; }
  :root body .home-brand-statement { padding: 32px 0; }
  :root body .home-brand-statement p { font-size: 25px; }
  :root body .home-query-callout { padding: 32px 24px; }
  :root body .home-query-callout h2 { font-size: 28px; }
  :root body .home-query-callout p { font-size: 14px; }
  :root body .mobile-nav { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 4px 24px #142e4b12; }
  :root body .mobile-nav a { border-radius: 13px; }
  :root body .mobile-nav a.active { background: #edf3ff; color: var(--blue); }
}

/* Editable titles inherit their section scale instead of the legacy caption size. */
:root body #page-home .archive-details>summary>[data-content] { font: inherit; letter-spacing: inherit; }
/* A CMS-hidden hero region must not leave an empty column behind. */
:root body .archive-home:has(> :is(.archive-intro, .archive-art, .archive-actions):is([data-content-hidden], [data-content-empty])) { grid-template-columns: minmax(0, 1fr); }
:root body .archive-home:has(> :is(.archive-intro, .archive-art, .archive-actions):is([data-content-hidden], [data-content-empty])) > :is(.archive-intro, .archive-art, .archive-actions) { grid-column: 1; grid-row: auto; }
