@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }

/* PRS brand: near-black ground, ridge blue, a little teal, hairline structure. One committed dark look. */
:root {
  --bg: #0A0C0F; --bg-2: #10141A; --panel: #141A22; --navy: #17254A;
  --ink: #F2F5F9; --body: #A3ADBF; --muted: #6F7A8E; --line: #232B37;
  --blue: #308CE8; --blue-2: #5BA5F0; --teal: #00E5D1;
  --display: "Archivo", "Public Sans", system-ui, sans-serif;
  --text: "Public Sans", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--blue-2); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; max-width: 15ch; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; max-width: 20ch; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 14px; max-width: 64ch; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 8px; }
.label { font: 600 13px var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.btn { display: inline-flex; align-items: center; font: 600 15px/1 var(--text); padding: 13px 18px; border-radius: 6px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn-lg { padding: 16px 22px; font-size: 16px; }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: #2177CC; }
.btn-line { border-color: #3A4556; color: var(--ink); }
.btn-line:hover { border-color: var(--body); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(10, 12, 15, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--bg); }
.top-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 18px; color: var(--ink); text-decoration: none; }
.brand .mark { height: 46px; width: auto; color: var(--blue); overflow: visible; }
.brand .wordmark { height: 25px; width: auto; color: var(--ink); }
.brand .wm-sub { fill: currentColor; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-mark { height: 22px; width: auto; color: var(--blue); flex: none; }
@media (max-width: 420px) { .brand { gap: 14px; } .brand .mark { height: 38px; } .brand .wordmark { height: 21px; } }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-bottom-color: var(--blue); }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; color: var(--ink); font: 600 15px var(--text); padding: 10px 14px; border: 1px solid #3A4556; border-radius: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(270px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: grid; }
.menu-panel a { color: var(--ink); text-decoration: none; padding: 11px 12px; border-radius: 6px; }
.menu-panel a:hover, .menu-panel a[aria-current] { background: var(--bg-2); }
.menu-panel .menu-cta { background: var(--blue); text-align: center; margin-top: 6px; font-weight: 600; }
@media (max-width: 900px) { .nav, .top-cta { display: none; } .menu { display: block; } }

/* Hero: the ridgeline is the one bold thing on the page */
.hero { position: relative; padding-block: 96px 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; z-index: 1; }
.kicker { font: 600 16px var(--text); color: var(--teal); margin-bottom: 22px; }
.hero h1 span { color: var(--blue); }
.hero-sub { font-size: 20px; color: var(--body); max-width: 56ch; }
.hero-where { color: var(--muted); font-size: 16px; }
.ridge-wrap { position: relative; margin-top: 56px; height: clamp(160px, 26vw, 330px); }
.ridge { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl { fill: none; stroke: var(--blue); stroke-width: 1.4; opacity: var(--o); vector-effect: non-scaling-stroke; }
.rl-hi { stroke: var(--teal); stroke-width: 2; opacity: 1; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: trace 2.6s .4s ease-out forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .rl-hi { animation: none; stroke-dashoffset: 0; } }

/* Systems */
.systems { padding-block: 72px; border-bottom: 1px solid var(--line); }
.sys-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.sys-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.sys-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); }
.sys-list li span { font-family: var(--text); font-weight: 400; font-size: 14px; color: var(--muted); text-align: right; white-space: nowrap; padding-top: 3px; }
.sys-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .sys-grid { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 560px) { .sys-list { grid-template-columns: 1fr; } }

/* Services rows */
.section { padding-block: 96px; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.section-head p { margin: 0; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.row h3 { margin: 0; }
.row p { margin: 0 0 10px; }
.row ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.row a.more { font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .section-head, .row { grid-template-columns: 1fr; gap: 10px; } .section { padding-block: 64px; } }

/* GP band */
.gp { background: var(--navy); padding-block: 88px; }
.gp h2 { max-width: 18ch; }
.gp p { color: #C3CDE0; }
.gp-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.dates { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(255,255,255,.18); }
.dates li { position: relative; padding: 0 0 26px 26px; }
.dates li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--teal); }
.dates li.past::before { background: var(--teal); }
.dates b { display: block; font-family: var(--display); font-size: 22px; color: #fff; letter-spacing: -0.01em; }
.dates span { color: #C3CDE0; font-size: 16px; }
@media (max-width: 860px) { .gp-in { grid-template-columns: 1fr; gap: 32px; } }

/* People */
.people-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts b { display: block; font-family: var(--display); font-size: 30px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.facts span { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .people-in { grid-template-columns: 1fr; gap: 28px; } }

/* Product link */
.product { padding-block: 64px; border-bottom: 1px solid var(--line); }
.product-in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.product p { margin: 0; max-width: 62ch; }
.product b { color: var(--ink); }

/* Partners */
.partners { padding-block: 96px; border-bottom: 1px solid var(--line); }
.ptn-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.ptn-grid > div { padding: 24px 24px 8px 0; border-bottom: 1px solid var(--line); }
.ptn-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.ptn-grid h3 { margin-bottom: 8px; }
.ptn-grid p { font-size: 16px; }
@media (max-width: 1180px) { .ptn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ptn-grid > div:nth-child(4) { padding-left: 0; border-left: 0; } }
@media (max-width: 860px) { .ptn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ptn-grid > div:nth-child(4) { padding-left: 24px; border-left: 1px solid var(--line); } .ptn-grid > div:nth-child(odd) { padding-left: 0; border-left: 0; } .partners { padding-block: 64px; } }
@media (max-width: 560px) { .ptn-grid { grid-template-columns: 1fr; } .ptn-grid > div, .ptn-grid > div + div { padding-left: 0; border-left: 0; } }

/* Pivotal Insights */
.insights { padding-block: 96px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.insights-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.insights-shot { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid #2A3442; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.insights-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 960px) { .insights-in { grid-template-columns: 1fr; gap: 36px; } .insights { padding-block: 64px; } }

/* Inner pages */
.page-head { padding-block: 80px 48px; border-bottom: 1px solid var(--line); }
.page-head + .section { padding-block: 40px 96px; border-bottom: 0; }
.page-head p { font-size: 19px; }

/* Contact and footer */
.contact { padding-block: 96px; background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.contact-mail { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; margin-top: 22px; }
.contact-mail a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--blue); }
.offices address { font-style: normal; padding: 14px 0; border-top: 1px solid var(--line); color: var(--body); font-size: 15.5px; }
@media (max-width: 860px) { .contact-in { grid-template-columns: 1fr; gap: 28px; } .contact { padding-block: 64px; } }
.foot { padding-block: 28px; border-top: 1px solid var(--line); font-size: 14.5px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.foot-in p { margin: 0; }
.foot b { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--body); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot-legal { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
[id] { scroll-margin-top: 88px; }
.sys-list li a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #3A4556; }
.sys-list li a:hover { border-bottom-color: var(--blue); }
.nav { gap: 22px; }
@media (max-width: 1200px) { .nav a { font-size: 14.5px; } .nav { gap: 18px; } .top-in { gap: 24px; } }

/* Dropdown menus */
.dd { position: relative; }
.dd-top { display: inline-flex; align-items: center; gap: 6px; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dd-panel { position: absolute; left: -16px; top: 100%; padding-top: 14px; min-width: 300px; display: none; }
.dd-panel::before { content: ""; position: absolute; inset: 14px 0 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.8); z-index: -1; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { display: grid; padding-bottom: 8px; }
.dd-panel a { display: grid; gap: 2px; padding: 10px 16px; margin: 0 8px; border-radius: 6px; border: 0 !important; text-decoration: none; color: var(--ink); }
.dd-panel a:first-child { margin-top: 8px; }
.dd-panel a:hover, .dd-panel a:focus-visible, .dd-panel a[aria-current] { background: var(--bg-2); }
.dd-panel b { font-weight: 600; font-size: 15px; }
.dd-panel small { color: var(--muted); font-size: 13px; }
.dd:has(a[aria-current]) .dd-top { color: var(--ink); border-bottom-color: var(--blue); }
.menu-h { margin: 10px 12px 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.menu-panel { max-height: calc(100vh - 100px); overflow-y: auto; }

/* Insights */
.latest { padding-block: 88px; border-bottom: 1px solid var(--line); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.post-card { padding-block: 26px; border-bottom: 1px solid var(--line); }
.post-card h3 { margin: 6px 0 10px; font-size: 22px; line-height: 1.25; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue-2); }
.post-card p { font-size: 16px; margin: 0; }
.post-meta { font-size: 14px; color: var(--muted); margin: 0; }
.post-meta a { color: var(--teal); text-decoration: none; }
.post-head { padding-block: 80px 36px; border-bottom: 1px solid var(--line); }
.post-wrap { max-width: 780px; }
.post-head h1 { font-size: clamp(34px, 4.6vw, 56px); max-width: 22ch; margin-top: 14px; }
.post-dek { font-size: 20px; color: var(--body); }
.post-body { padding-block: 40px 72px; font-size: 18px; line-height: 1.75; }
.post-body h2 { font-size: 28px; margin: 40px 0 14px; }
.post-body p, .post-body li { color: #B6BFCE; max-width: 68ch; }
.post-body ul, .post-body ol { padding-left: 22px; display: grid; gap: 10px; margin: 0 0 18px; }
.post-body b { color: var(--ink); }
.post-more { padding-block: 72px; background: var(--bg-2); border-top: 1px solid var(--line); }
.feed-note { margin-top: 24px; font-size: 14px; }

/* Contact form */
.contact-form { display: grid; gap: 14px; margin-top: 26px; max-width: 640px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--body); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 16px var(--text); color: var(--ink); background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: 11px 12px; width: 100%; box-sizing: border-box; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.contact-form button { justify-self: start; border: 0; cursor: pointer; }
.contact-alt { font-size: 15px; margin-top: 14px; }
.contact-alt a { color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }

/* Post byline, related links and author */
.post-related { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-related .label { margin: 0; width: 100%; }
.post-related a { color: var(--teal); text-decoration: none; font-size: 16px; }
.post-related a:hover { text-decoration: underline; }
.post-author { margin-top: 32px; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.post-author .label { margin-bottom: 8px; }
.post-author p { font-size: 16px; line-height: 1.6; margin: 0 0 8px; }
.post-author p:last-child { margin: 0; }
.post-author a { color: var(--teal); }

.contact-phone { font-family: var(--display); font-size: 22px; font-weight: 700; margin: 0 0 22px; }
.contact-phone a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--blue); }
