/* alliedprovider.com: one stylesheet for the front door, PASCAL, HSP and careers.
   Brand worlds come from the October 29, 2026 boards Steve chose:
   PASCAL is black, gray and red in condensed Archivo; HSP is navy and teal in expanded Archivo. */

:root {
  --ink: #0B0F14;
  --navy: #14233A;
  --navy-deep: #0F1B2D;
  --navy-line: #22344F;
  --white: #ffffff;

  --red: #E03A3E;          /* PASCAL patch red: rules, marks, large text on dark */
  --red-text: #C62D32;     /* red for text and buttons on light grounds */
  --red-dark: #A82328;
  --red-on-dark: #FF6B6E;  /* links on PASCAL black */
  --p-black: #141414;
  --p-black-2: #1D1D1D;
  --p-line: #2C2C2C;
  --p-paper: #F2F2F0;
  --p-paper-2: #E4E4E1;
  --p-text: #EDEDEA;
  --p-soft: #D6D6D2;
  --p-muted: #A9A9A6;
  --p-ink-soft: #3A3A38;

  --teal: #52B8BE;         /* HSP patch teal: rules, marks, buttons on navy */
  --teal-text: #1F6E73;
  --teal-on-dark: #8FD6DA;
  --h-paper: #EEF1F4;
  --h-line: #D9DEE5;
  --h-muted: #4A5568;
  --h-soft: #D5DCE6;

  --pad-x: clamp(16px, 4vw, 48px);
  --pad-y: clamp(56px, 7vw, 104px);
  --max: 1344px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font-body: 'Public Sans', system-ui, sans-serif;
  --font-display: 'Archivo', 'Public Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; max-width: 68ch; text-wrap: pretty; }
ul, ol { margin: 0; }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus, var(--white)); outline-offset: 3px; }
::selection { background: var(--sel-bg, var(--navy)); color: var(--sel-fg, var(--white)); }
input, select, textarea, button { font: inherit; }
input, textarea { caret-color: var(--accent-text, currentColor); }
.nw { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.band { padding: var(--pad-y) var(--pad-x); }
.stack { display: flex; flex-direction: column; }
.i { flex: none; width: 1.05em; height: 1.05em; }
.tbd { font-style: normal; background: rgba(255, 196, 0, .16); outline: 1px dashed rgba(170, 120, 0, .7); outline-offset: 1px; padding: 0 .2em; }

/* Brand scopes ---------------------------------------------------------- */
.brand-allied { --accent-text: var(--teal-text); --focus: var(--white); --sel-bg: var(--teal); --sel-fg: var(--ink); background: var(--ink); color: var(--white); scrollbar-color: #3A4350 var(--ink); }
.brand-pascal { --accent-text: var(--red-text); --focus: var(--red); --sel-bg: var(--red); --sel-fg: var(--white); background: var(--p-black); color: var(--p-text); scrollbar-color: #4A4A48 var(--p-black); }
.brand-hsp { --accent-text: var(--teal-text); --focus: var(--teal); --sel-bg: var(--teal); --sel-fg: var(--navy-deep); background: var(--white); color: var(--navy); scrollbar-color: #A9B4C2 var(--white); }
.brand-careers { --accent-text: var(--teal-text); --focus: var(--navy); --sel-bg: var(--navy); --sel-fg: var(--white); background: var(--white); color: var(--navy); scrollbar-color: #A9B4C2 var(--white); }
.brand-pascal-job { --accent-text: var(--red-text); --focus: var(--red-text); --sel-bg: var(--red); --sel-fg: var(--white); background: var(--white); color: var(--p-black); scrollbar-color: #8C8C88 var(--white); }

/* Display type ---------------------------------------------------------- */
.cond { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.cond .lc { text-transform: none; }
.cond-tight { font-family: var(--font-display); font-stretch: 68%; font-weight: 700; line-height: 1; letter-spacing: -.005em; }
.wide { font-family: var(--font-display); font-stretch: 115%; font-weight: 650; letter-spacing: -.015em; line-height: 1.08; }
.wordmark { font-family: var(--font-display); font-stretch: 118%; font-weight: 700; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: inherit; text-decoration: none; }
.label { font-family: var(--font-display); font-stretch: 100%; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out); }
.btn .i { transition: transform .25s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn-red { background: var(--red-text); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-line-dark { border-color: #8C8C88; color: var(--p-text); }
.btn-line-dark:hover { border-color: var(--white); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-radius: 6px; }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--navy-deep); border-radius: 6px; }
.btn-teal:hover { background: #7FD0D4; color: var(--navy-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); border-radius: 6px; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Headers --------------------------------------------------------------- */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px; padding: 16px var(--pad-x); }
.site-header .brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 15px; font-weight: 500; }
.site-header nav a:not(.btn) { color: inherit; text-decoration: none; }
.site-header nav a:not(.btn):hover, .site-header nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--nav-mark, currentColor); }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; color: inherit; opacity: .8; }
.back:hover { opacity: 1; text-decoration: underline; }
.back .i { transform: scaleX(-1); }

/* EKG rule: the trace from both patches ------------------------------------ */
.ekg { display: flex; align-items: center; height: 96px; }
.ekg::before, .ekg::after { content: ""; border-top: 3px solid var(--ekg, var(--red)); }
.ekg::before { flex: var(--ekg-l, 1); }
.ekg::after { flex: var(--ekg-r, 3); }
.ekg svg { flex: none; width: 168px; height: 96px; }
.ekg path { fill: none; stroke: var(--ekg, var(--red)); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }

/* Front door ------------------------------------------------------------ */
.door-page { min-height: 100vh; display: flex; flex-direction: column; }
.door-page .site-header { border-bottom: 1px solid rgba(255,255,255,.08); }
.door-page .site-header nav a:not(.btn) { color: #C9CED6; }
.door-page .site-header nav a:not(.btn):hover { color: var(--white); }
.door-intro { padding: 28px var(--pad-x) 26px; border-bottom: 1px solid rgba(255,255,255,.08); }
.door-intro h1 { font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; max-width: 40ch; }
.doors { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.door { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 64px 0 56px; min-height: 540px; color: var(--white); text-decoration: none; }
.door:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.door .patch-wrap { display: flex; justify-content: center; padding: 0 56px; }
.door .patch { width: min(420px, 100%); transition: transform .45s var(--ease-out); }
.door-p { background-color: var(--p-black); background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1.3px); background-size: 6px 6px; }
.door-p .patch { transform: rotate(-3deg); filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.door-p:hover .patch { transform: rotate(-1deg) scale(1.04); }
.door-h { background-color: var(--navy); background-image: linear-gradient(rgba(82,184,190,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(82,184,190,.07) 1px, transparent 1px); background-size: 32px 32px; }
.door-h .patch { width: min(380px, 100%); filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
.door-h:hover .patch { transform: scale(1.04); }
.door .ekg { height: 80px; }
.door-p .ekg { --ekg: var(--red); --ekg-l: 1; --ekg-r: 2.2; }
.door-h .ekg { --ekg: var(--teal); --ekg-l: 2.2; --ekg-r: 1; }
.door .ekg svg { width: 140px; height: 80px; }
.door .ekg path { stroke-width: 3; }
.door-text { padding: 0 56px; display: flex; flex-direction: column; gap: 14px; }
.door-p h2 { font-size: clamp(36px, 3.4vw, 46px); }
.door-h h2 { font-size: clamp(28px, 2.6vw, 34px); }
.door-sub { font-size: 16px; color: #C9CED6; }
.door-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.door-go span { border-bottom: 2px solid transparent; transition: border-color .2s var(--ease-out); }
.door-p .door-go { font-family: var(--font-display); font-stretch: 100%; text-transform: uppercase; letter-spacing: .06em; }
.door-p .door-go .i { color: var(--red); }
.door-h .door-go .i { color: var(--teal); }
.door-p:hover .door-go span { border-color: var(--red); }
.door-h:hover .door-go span { border-color: var(--teal); }
.hiring { background: var(--white); color: var(--navy); padding: 22px var(--pad-x); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 36px; font-size: 16px; }
.hiring h2 { font-family: var(--font-display); font-stretch: 112%; font-size: 18px; font-weight: 700; }
.hiring a { color: var(--navy); font-weight: 600; }
.hiring a.all { color: var(--teal-text); display: inline-flex; align-items: center; gap: 6px; }
.door-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding: 18px var(--pad-x); font-size: 14px; color: #A3AAB4; border-top: 1px solid rgba(255,255,255,.08); }
.door-footer a { color: #DCE0E6; }
.door-footer a:hover { color: var(--white); }

/* PASCAL ---------------------------------------------------------------- */
.brand-pascal .site-header { border-bottom: 1px solid var(--p-line); --nav-mark: var(--red); }
.brand-pascal .site-header nav a:not(.btn) { color: var(--p-soft); }
.brand-pascal .site-header nav a:not(.btn):hover { color: var(--white); }
.brand-pascal .back { color: var(--p-muted); }
.brand-pascal a { color: var(--red-on-dark); }
.brand-pascal a:hover { color: var(--white); }
.brand-pascal .light { background: var(--p-paper); color: var(--p-black); }
.brand-pascal .light-2 { background: var(--p-paper-2); color: var(--p-black); }
.brand-pascal .light a, .brand-pascal .light-2 a { color: var(--red-text); }
.brand-pascal .light a:hover, .brand-pascal .light-2 a:hover { color: var(--p-black); }
.brand-pascal .btn-red, .brand-pascal .btn-red:hover { color: var(--white); }
.brand-pascal .btn-line-dark { color: var(--p-text); }

.p-hero { padding: clamp(48px, 7vw, 104px) var(--pad-x) 0; }
.p-hero .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; align-items: center; }
.p-hero h1 { display: flex; flex-direction: column; gap: 22px; }
.p-hero h1 .display { font-size: clamp(60px, 8.4vw, 6rem); color: var(--p-text); }
.p-hero h1 .display em { font-style: normal; color: var(--red); }
.p-hero h1 .sub { font-family: var(--font-body); font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: 0; line-height: 1.35; color: var(--white); text-transform: none; }
.p-hero .lead { font-size: 19px; color: var(--p-soft); max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.photo-slot { display: flex; align-items: flex-end; padding: 24px; font-size: 14px; line-height: 1.6; }
.p-hero .photo-slot { aspect-ratio: 4 / 5; background: #232323; border: 1px solid #333; color: var(--p-muted); }
.p-hero .ekg { margin: 32px calc(-1 * var(--pad-x)) 0; }

.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 72px; }
.cases .intro { display: flex; flex-direction: column; gap: 16px; }
.cases h2 { font-size: clamp(48px, 5vw, 64px); }
.cases .intro p { color: var(--p-ink-soft); max-width: 34ch; }
.case-list { grid-column: span 2; list-style: none; padding: 0; border-top: 2px solid var(--p-black); }
@media (max-width: 760px) { .case-list { grid-column: auto; } }
.case-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; padding: 20px 0; border-bottom: 1px solid #BDBDB8; }
.case-list h3 { font-size: clamp(32px, 3.6vw, 48px); flex: 1 1 320px; }
.case-list p { font-size: 16px; flex: 0 1 320px; color: var(--p-ink-soft); }

.since { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px 72px; align-items: end; }
.since h2 { font-size: clamp(48px, 6vw, 88px); color: var(--p-text); }
.since h2 em { font-style: normal; color: var(--red); }
.since .facts { display: flex; flex-direction: column; gap: 14px; color: var(--p-soft); border-top: 2px solid var(--red); padding-top: 20px; }
.since .facts p { max-width: 52ch; }
.since .facts .note { color: var(--p-muted); font-size: 15px; }

.req { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 72px; align-items: start; }
.req h2 { font-size: clamp(52px, 6vw, 88px); }
.req .intro { display: flex; flex-direction: column; gap: 22px; }
.req .intro p { font-size: 18px; color: var(--p-ink-soft); max-width: 46ch; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; padding: 32px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field .hint { display: block; font-size: 13px; font-weight: 400; margin-top: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 12px; font-size: 16px; }
.field input[type=file] { padding: 10px 12px; }
.field textarea { min-height: 96px; padding: 10px 12px; resize: vertical; }
.brand-pascal .form, .brand-pascal-job .form { background: var(--white); border: 1px solid #BDBDB8; color: var(--p-black); }
.brand-pascal .field input, .brand-pascal .field select, .brand-pascal-job .field input, .brand-pascal-job .field textarea { border: 1px solid #8C8C88; border-radius: 2px; background: var(--white); color: var(--p-black); }
.brand-pascal .field .hint, .brand-pascal-job .field .hint { color: #5C5C58; }
.form-note { font-size: 14px; }

.jobs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.brand-pascal .jobs-head h2 { font-size: clamp(56px, 7vw, 96px); color: var(--p-text); }
.jobs-head p { font-size: 16px; max-width: 40ch; }
.brand-pascal .jobs-head p { color: var(--p-muted); }
.job-list { list-style: none; padding: 0; }
.job-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 8px 28px; align-items: baseline; padding: 24px 0; text-decoration: none; color: inherit; }
@media (max-width: 900px) { .job-row { grid-template-columns: 1fr; } }
.job-row .t { display: flex; flex-direction: column; gap: 6px; }
.job-row .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.job-row .meta { font-size: 15px; }
.job-row:hover .go .i { transform: translateX(3px); }
.job-row .go .i { transition: transform .25s var(--ease-out); }
.brand-pascal .job-list { border-top: 2px solid var(--red); }
.brand-pascal .job-list li { border-bottom: 1px solid #333; }
.brand-pascal .job-row { color: var(--p-text); }
.brand-pascal .job-row h3 { font-size: clamp(30px, 3vw, 40px); }
.brand-pascal .job-row .meta { color: var(--p-soft); }
.brand-pascal .job-row .go { color: var(--red-on-dark); }
.brand-pascal .job-row:hover h3 { color: var(--white); }
.pay { font-weight: 600; font-variant-numeric: tabular-nums; }
.brand-pascal .pay { color: var(--red-on-dark); }
.also { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 56px; padding-top: 8px; }
.also h3 { font-size: 26px; margin-bottom: 6px; }
.brand-pascal .also h3 { font-size: 30px; color: var(--p-text); }
.brand-pascal .also p { color: var(--p-soft); }

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; }
.person { display: flex; flex-direction: column; gap: 12px; }
.person img, .person .photo-slot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.brand-pascal .person .photo-slot { background: #CFCFCB; color: var(--p-ink-soft); padding: 12px; font-size: 13px; }
.brand-pascal .person h3 { font-size: 34px; }
.person .role { font-size: 15px; }
.brand-pascal .person .role { color: var(--p-ink-soft); }
.brand-pascal .people-h { font-size: 56px; }

.bill { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 72px; align-items: start; }
.bill .intro { display: flex; flex-direction: column; gap: 22px; }
.brand-pascal .bill h2 { font-size: clamp(48px, 5vw, 80px); }
.bill .intro > p { font-size: 18px; }
.brand-pascal .bill .intro > p { color: var(--p-soft); }
.bill .contact { display: flex; flex-direction: column; gap: 8px; font-size: 16px; border-top: 1px solid #3A3A3A; padding-top: 20px; }
.brand-pascal .bill .contact { color: var(--p-soft); }
.brand-pascal .bill .contact b { color: var(--white); }
.statement { background: var(--white); color: var(--p-black); padding: 28px; display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.statement .top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #D4D4D0; padding-bottom: 14px; }
.statement .top span { font-size: 13px; color: #5C5C58; }
.statement ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; counter-reset: n; }
.statement li { display: flex; gap: 14px; align-items: baseline; counter-increment: n; }
.statement li::before { content: counter(n); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--red-text); color: var(--white); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.statement li span { display: block; color: #5C5C58; }
.p-bg2 { background: var(--p-black-2); }

.p-footer { padding: 56px var(--pad-x) 40px; border-top: 3px solid var(--red); color: var(--p-soft); }
.p-footer .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; font-size: 14px; }
.p-footer .links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.p-footer .sister { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--p-soft); }
.p-footer .sister:hover { color: var(--white); }
.p-footer .sister b { color: var(--white); font-size: 15px; }

/* HSP ------------------------------------------------------------------- */
.brand-hsp .site-header { border-bottom: 1px solid var(--h-line); --nav-mark: var(--teal); }
.brand-hsp a { color: var(--teal-text); }
.brand-hsp a:hover { color: var(--navy); }
.brand-hsp .site-header nav a.btn-navy { color: var(--white); }
.brand-hsp .back { color: var(--h-muted); }
.brand-hsp .dark a { color: var(--teal-on-dark); }
.brand-hsp .dark a:hover { color: var(--white); }
.brand-hsp .dark a.btn-teal { color: var(--navy-deep); }
.brand-hsp .dark a.btn-ghost { color: var(--white); }
.h-paper { background: var(--h-paper); }

.h-hero { background-color: var(--navy); background-image: linear-gradient(rgba(82,184,190,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(82,184,190,.07) 1px, transparent 1px); background-size: 32px 32px; color: var(--white); padding: var(--pad-y) var(--pad-x) 0; }
.h-hero .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; align-items: center; }
.h-hero h1 { font-size: clamp(40px, 4.6vw, 68px); }
.h-hero .lead { font-size: 19px; color: var(--h-soft); max-width: 56ch; }
.h-hero .frame { position: relative; padding: 14px; }
.h-hero .frame::before, .h-hero .frame::after { content: ""; position: absolute; width: 34px; height: 34px; }
.h-hero .frame::before { top: 0; left: 0; border-top: 3px solid var(--teal); border-left: 3px solid var(--teal); }
.h-hero .frame::after { bottom: 0; right: 0; border-bottom: 3px solid var(--teal); border-right: 3px solid var(--teal); }
.h-hero .photo-slot { aspect-ratio: 5 / 4; background: var(--navy-line); color: #B7C3D3; font-size: 14px; }
.h-hero .ekg { --ekg: var(--teal); --ekg-l: 3; --ekg-r: 1; margin: 32px calc(-1 * var(--pad-x)) 0; }

.board-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 72px; align-items: start; }
.board-wrap .intro { display: flex; flex-direction: column; gap: 16px; }
.brand-hsp h2.wide { font-size: clamp(32px, 3.4vw, 44px); }
.board-wrap .intro p { color: var(--h-muted); max-width: 40ch; }
.board { grid-column: span 2; background: var(--navy-deep); color: var(--white); border-radius: 10px; padding: 8px 28px 18px; overflow-x: auto; }
@media (max-width: 760px) { .board { grid-column: auto; padding: 8px 16px 14px; } }
.board table { width: 100%; border-collapse: collapse; font-size: 18px; min-width: 460px; }
.board th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8EA0B8; padding: 16px 16px 12px 0; border-bottom: 1px solid #2A3B55; }
.board td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--navy-line); font-weight: 600; }
.board tr:last-child td { border-bottom: 0; }
.board td.where { color: #C5D0DE; font-weight: 400; }
.team { display: inline-flex; align-items: center; gap: 10px; }
.team::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; }
.team.s { color: var(--teal); }
.team.s::before { background: var(--teal); }
.team.i::before { border: 2px solid var(--white); }

.where-band { padding: clamp(48px, 6vw, 80px) var(--pad-x); }
.where-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.where-grid h2 { font-size: 24px !important; }
.where-grid .cell { border-top: 2px solid var(--navy); padding-top: 14px; }
.where-grid .cell .wide { font-size: 24px; }
.where-grid .muted { font-size: 15px; color: var(--h-muted); margin-top: 6px; }

.brand-hsp .req .intro p { color: var(--h-muted); }
.brand-hsp .form, .brand-careers .form, .brand-hsp-job .form { border: 1px solid var(--h-line); border-radius: 10px; background: var(--white); }
.brand-hsp .field input, .brand-hsp .field select, .brand-hsp .field textarea { border: 1px solid #A9B4C2; border-radius: 6px; background: var(--white); color: var(--navy); }
.brand-hsp .field .hint { color: var(--h-muted); }

.brand-hsp .jobs-head p { color: var(--h-muted); }
.brand-hsp .job-list { background: var(--white); border-radius: 10px; padding: 0 28px; }
.brand-hsp .job-list li + li { border-top: 1px solid var(--h-line); }
.brand-hsp .job-row { color: var(--navy); }
.brand-hsp .job-row h3 { font-size: 22px; }
.brand-hsp .job-row .meta, .brand-hsp .job-row .t p { color: var(--h-muted); font-size: 15px; }
.brand-hsp .job-row .go, .brand-hsp .pay { color: var(--teal-text); }
.brand-hsp .also p { color: var(--h-muted); }

.brand-hsp .bill .contact { border-top: 2px solid var(--teal); color: var(--navy); }
.brand-hsp .bill .intro > p { color: var(--h-muted); }
.brand-hsp .person h3 { font-size: 22px; }
.brand-hsp .person .role { color: var(--h-muted); }

.h-footer { background: var(--navy); color: #C5D0DE; padding: 48px var(--pad-x) 36px; }
.h-footer .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; font-size: 14px; line-height: 1.6; }
.h-footer .col { display: flex; flex-direction: column; gap: 8px; }
.h-footer b { color: var(--white); }
.h-footer a { color: var(--teal-on-dark); }
.h-footer a:hover { color: var(--white); }
.h-footer .sister { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: #C5D0DE; }
.h-footer .sister:hover { color: var(--white); }

/* Careers hub and job pages ------------------------------------------------ */
.c-header { background: var(--ink); color: var(--white); }
.c-header nav a:not(.btn) { color: #C9CED6; }
.c-header nav a:not(.btn):hover, .c-header nav a[aria-current] { color: var(--white); }
.c-hero { background: var(--ink); color: var(--white); padding: clamp(48px, 6vw, 88px) var(--pad-x) clamp(40px, 5vw, 64px); }
.c-hero h1 { font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -.015em; max-width: 18ch; }
.c-hero .lead { margin-top: 22px; font-size: 19px; color: #C9CED6; }
.c-hero .lead strong { color: var(--white); font-weight: 600; }
.c-hero .ekg { --ekg: var(--teal); --ekg-l: 1; --ekg-r: 1; margin: 36px calc(-1 * var(--pad-x)) 0; height: 64px; }
.c-hero .ekg::before { border-color: var(--red); }
.c-hero .ekg svg { height: 64px; width: 112px; }
.c-hero .ekg path { stroke: #C9CED6; }
.c-jobs .job-list { border-top: 2px solid var(--navy); }
.c-jobs .job-list li { border-bottom: 1px solid var(--h-line); }
.c-jobs .job-row h3 { font-family: var(--font-display); font-stretch: 105%; font-weight: 650; font-size: 22px; letter-spacing: -.01em; line-height: 1.2; }
.c-jobs .job-row .t p, .c-jobs .job-row .meta { color: var(--h-muted); font-size: 15px; }
.c-jobs .job-row .go { color: var(--teal-text); }
.co { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.co::before { content: ""; flex: none; width: 10px; height: 10px; }
.co.pascal { color: var(--red-text); }
.co.pascal::before { background: var(--red); }
.co.hsp { color: var(--teal-text); }
.co.hsp::before { background: var(--teal); border-radius: 50%; }
.brand-careers a { color: var(--teal-text); }
.brand-careers a:hover { color: var(--navy); }
.brand-careers .also h3 { font-family: var(--font-display); font-stretch: 105%; font-weight: 650; font-size: 22px; }
.brand-careers .also p { color: var(--h-muted); }
.c-footer { background: var(--ink); color: #A3AAB4; padding: 28px var(--pad-x); font-size: 14px; }
.c-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.c-footer a { color: #DCE0E6; }

.job-main { padding: 28px var(--pad-x) var(--pad-y); }
.crumb { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.crumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumb a { color: inherit; opacity: .75; text-decoration: none; }
.crumb a:hover { opacity: 1; text-decoration: underline; }
.job-head { display: flex; flex-direction: column; gap: 22px; padding-bottom: 32px; margin-bottom: 40px; }
.job-head h1 { font-size: clamp(42px, 5.4vw, 80px); }
.job-head h1 .sub { display: block; margin-top: 14px; font-family: var(--font-body); font-stretch: 100%; font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; letter-spacing: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; font-size: 16px; margin: 0; }
.facts dt { font-size: 13px; }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.job-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 72px; align-items: start; }
.job-body article { display: flex; flex-direction: column; gap: 32px; font-size: 18px; line-height: 1.65; }
.job-body article section { display: flex; flex-direction: column; gap: 10px; }
.job-body article ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.apply { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.apply .form { padding: 0; border: 0 !important; background: none !important; grid-template-columns: 1fr; }

.brand-pascal-job .job-head { border-bottom: 2px solid var(--p-black); }
.brand-pascal-job .job-head h1 { font-family: var(--font-display); font-stretch: 68%; font-weight: 700; line-height: 1; letter-spacing: -.005em; }
.brand-pascal-job .job-head h1 .sub { color: var(--red-text); }
.brand-pascal-job .facts dt { color: #5C5C58; }
.brand-pascal-job .pay { color: var(--red-text); }
.brand-pascal-job .job-body article { color: #2E2E2C; }
.brand-pascal-job .job-body h2 { font-family: var(--font-display); font-stretch: 68%; font-weight: 700; font-size: 36px; line-height: 1; color: var(--p-black); }
.brand-pascal-job a { color: var(--red-text); }
.brand-pascal-job a:hover { color: var(--p-black); }
.brand-pascal-job .apply { background: #F4F4F2; border: 1px solid #D4D4D0; }
.brand-pascal-job .apply h2 { font-family: var(--font-display); font-stretch: 68%; font-weight: 700; font-size: 36px; line-height: 1; }
.brand-pascal-job .site-header { border-bottom: 1px solid #D4D4D0; --nav-mark: var(--red); }
.brand-pascal-job .site-header nav a:not(.btn) { color: var(--p-black); }
.brand-pascal-job .crumb { color: #5C5C58; }
.brand-pascal-job .areas { border-top: 1px solid #D4D4D0; padding-top: 24px; }
.job-foot { padding: 28px var(--pad-x); font-size: 14px; }
.job-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.brand-pascal-job .job-foot { border-top: 3px solid var(--red-text); color: var(--p-ink-soft); }

.brand-hsp-job { --accent-text: var(--teal-text); --focus: var(--navy); --sel-bg: var(--teal); --sel-fg: var(--navy-deep); background: var(--white); color: var(--navy); }
.brand-hsp-job .site-header { border-bottom: 1px solid var(--h-line); --nav-mark: var(--teal); }
.brand-hsp-job .site-header nav a:not(.btn) { color: var(--navy); }
.brand-hsp-job .job-head { border-bottom: 2px solid var(--navy); }
.brand-hsp-job .job-head h1 { font-family: var(--font-display); font-stretch: 112%; font-weight: 650; letter-spacing: -.015em; line-height: 1.06; font-size: clamp(36px, 4.4vw, 60px); }
.brand-hsp-job .job-head h1 .sub { color: var(--teal-text); }
.brand-hsp-job .facts dt, .brand-hsp-job .crumb { color: var(--h-muted); }
.brand-hsp-job .pay { color: var(--teal-text); }
.brand-hsp-job .job-body article { color: #2B3A50; }
.brand-hsp-job .job-body h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 26px; letter-spacing: -.01em; color: var(--navy); }
.brand-hsp-job a { color: var(--teal-text); }
.brand-hsp-job a:hover { color: var(--navy); }
.brand-hsp-job .apply { background: var(--h-paper); border: 1px solid var(--h-line); border-radius: 10px; }
.brand-hsp-job .apply h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 28px; }
.brand-hsp-job .field input, .brand-hsp-job .field textarea { border: 1px solid #A9B4C2; border-radius: 6px; background: var(--white); color: var(--navy); }
.brand-hsp-job .field .hint { color: var(--h-muted); }
.brand-hsp-job .job-foot { background: var(--navy); color: #C5D0DE; }
.brand-hsp-job .job-foot a { color: var(--teal-on-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .door-p .patch, .door-p:hover .patch { transform: rotate(-3deg); }
  .door-h:hover .patch { transform: none; }
}

@media (max-width: 560px) {
  .door { min-height: 0; padding: 44px 0 40px; gap: 24px; }
  .door .patch-wrap, .door-text { padding: 0 24px; }
  .form { padding: 22px; }
  .statement { padding: 20px; }
  .board table { min-width: 0; font-size: 16px; }
  .board th, .board td { padding-right: 10px; }
}

/* Email and phone in place of forms (November 24, 2026): applications and coverage requests go to the PASCAL and HSP inboxes. */
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 16px; align-self: center; }
.contact-card .btn { margin-bottom: 4px; }
.apply .contact-card { align-self: stretch; }
.apply .contact-card a:not(.btn) { overflow-wrap: anywhere; }
.person .photo-slot.monogram { align-items: center; justify-content: center; padding: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); letter-spacing: .04em; }
.brand-pascal .person .photo-slot.monogram { background: #2A2A2A; color: #CFCFCB; font-size: clamp(40px, 5vw, 64px); }
body .contact-card a.btn, body .contact-card a.btn:hover { color: var(--white); }
.hero-photo { display: block; width: 100%; height: auto; object-fit: cover; }
.p-hero .hero-photo { aspect-ratio: 4 / 5; border: 1px solid #333; }
.h-hero .hero-photo { aspect-ratio: 5 / 4; }
