/* portagon Site Extras - overlay, career pages, blog card placeholder.
   AI disclosure: created with generative AI (large language model): Claude Fable 5.2 by Anthropic. */
:root{--pse-navy:#002B63;--pse-blue:#0D3684;--pse-muted:#4D6B92;--pse-purple:#8A5FB8;--pse-grey:#F1F3F6;--pse-grey-700:#6D7483;--pse-line:#DDE2EA}

/* ---------- blog cards without image: CI placeholder ---------- */
a.group > .card-gradient:not(:has(img)){background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23002B63'/%3E%3Cstop offset='1' stop-color='%230D3684'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='640' height='360' fill='url(%23g)'/%3E%3Cg transform='rotate(-20 320 180) skewX(-20)'%3E%3Crect x='250' y='120' width='330' height='42' rx='6' fill='%23ffffff' opacity='.14'/%3E%3Crect x='250' y='168' width='215' height='38' rx='6' fill='%238A5FB8' opacity='.85'/%3E%3Crect x='250' y='212' width='120' height='34' rx='6' fill='%23ffffff' opacity='.28'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat}

/* ---------- overlay ---------- */
.pse-dialog{padding:0;border:0;border-radius:.75rem;width:min(960px,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);background:#fff;color:var(--pse-navy);box-shadow:0 24px 64px rgba(0,22,56,.35);overflow:hidden}
.pse-dialog[open]{display:flex;flex-direction:column;animation:pse-in .18s ease-out}
.pse-dialog--form{width:min(560px,calc(100vw - 2rem))}
.pse-dialog::backdrop{background:rgba(0,22,56,.6);backdrop-filter:blur(3px)}
@keyframes pse-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.pse-dialog[open]{animation:none}}
.pse-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem 1rem 1.5rem;border-bottom:1px solid var(--pse-line)}
.pse-dialog__title{margin:0;font-size:1.125rem;line-height:1.2;font-weight:700}
.pse-dialog__close{flex:none;width:2.5rem;height:2.5rem;border:0;border-radius:.5rem;background:var(--pse-grey);color:var(--pse-navy);cursor:pointer;display:grid;place-items:center}
.pse-dialog__close:hover{background:#e3e7ee}
.pse-dialog__close:focus-visible,.pse-btn:focus-visible,.pse-job:focus-visible{outline:2px solid var(--pse-purple);outline-offset:2px}
.pse-dialog__body{position:relative;flex:1 1 auto;min-height:12rem;overflow:auto;-webkit-overflow-scrolling:touch}
.pse-dialog__body iframe{display:block;width:100%;height:min(720px,calc(100dvh - 11rem));border:0}
.pse-dialog--form .pse-dialog__body{padding:1.5rem}
.pse-dialog--form .pse-dialog__body iframe{height:auto;min-height:20rem}
.pse-dialog__loading{position:absolute;inset:0;display:grid;place-items:center;color:var(--pse-muted);font-size:.875rem;pointer-events:none}
.pse-dialog__foot{padding:.75rem 1.5rem;border-top:1px solid var(--pse-line);font-size:.75rem;line-height:1.4;color:var(--pse-grey-700);display:flex;flex-wrap:wrap;gap:.25rem 1rem;justify-content:space-between}
.pse-dialog__foot a{color:var(--pse-navy);text-decoration:underline}
@media (max-width:640px){.pse-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.pse-dialog__body iframe{height:100%;min-height:calc(100dvh - 9rem)}}
html.pse-lock{overflow:hidden}

/* ---------- career pages ---------- */
.pse-career{color:var(--pse-navy)}
.pse-career p{margin:0 0 1rem;font-size:1rem;line-height:1.5625rem}
.pse-subnav{border-bottom:1px solid var(--pse-line);background:#fff;position:sticky;top:var(--pse-header-h,0px);z-index:40}
.pse-subnav ul{display:flex;gap:.25rem 2rem;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.pse-subnav a{display:block;padding:1rem 0;font-size:.875rem;font-weight:700;color:var(--pse-muted);border-bottom:3px solid transparent;margin-bottom:-1px}
.pse-subnav a:hover{color:var(--pse-navy)}
.pse-subnav a[aria-current=page]{color:var(--pse-navy);border-bottom-color:var(--pse-purple)}
.pse-section{padding:2.25rem 0}
@media (min-width:1024px){.pse-section{padding:3.25rem 0}}
.pse-section--hero{padding-top:2.5rem}
.pse-section--tint{margin:1rem 0}
/* the theme wraps the page in an overflow-hidden box; anchor jumps (#stellen) would scroll that box instead of the window */
.overflow-hidden:has(.pse-career){overflow:clip}
.pse-career [id]{scroll-margin-top:calc(var(--pse-header-h,5rem) + 3.5rem)}
.pse-section--tint{background:radial-gradient(85.22% 77.33% at 50% 13.41%,#ECEFF5 0%,#F5F5FA 100%)}
.pse-section h1,.pse-section h2{margin:0 0 1.25rem;line-height:1.15}
.pse-head{max-width:46rem}
.pse-lead p{font-size:1.125rem;line-height:1.75rem;color:var(--pse-muted)}
.pse-narrow{max-width:46rem;margin:0 auto}
.pse-split{display:grid;gap:2.5rem;align-items:center}
@media (min-width:1024px){.pse-split{grid-template-columns:1fr 1fr;gap:5rem}.pse-split--flip .pse-split__media{order:-1}}
.pse-media__img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:.75rem;box-shadow:0 12px 24px rgba(38,51,77,.24)}
.pse-section--hero .pse-lead p{font-size:1.25rem}
.pse-actions{margin-top:2rem!important}
.pse-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3rem;padding:.625rem 1.5rem;border-radius:.5rem;background:var(--pse-navy);color:#fff!important;font-size:1rem;line-height:1.125rem;font-weight:700;text-decoration:none!important;transition:background .15s,transform .15s}
.pse-btn:hover{background:var(--pse-blue);transform:translateY(-1px)}
.pse-cards{display:grid;gap:1.25rem;margin:1.75rem 0 0;padding:0;list-style:none;grid-template-columns:1fr}
@media (min-width:768px){.pse-cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1248px){.pse-cards--4{grid-template-columns:repeat(4,1fr)}.pse-cards--5,.pse-cards--3,.pse-cards--6{grid-template-columns:repeat(3,1fr)}}
.pse-card{padding:1.75rem;border-radius:.75rem;background:linear-gradient(135deg,#FBFCFD 0%,#EFF1F7 100%);border:1px solid #E9ECF2}
.pse-section--tint .pse-card{background:#fff}
.pse-card__icon{width:3.5rem;height:3.5rem;object-fit:contain;margin-bottom:1.25rem}
.pse-card__title{margin:0 0 .75rem;font-size:1.125rem;line-height:1.2;font-weight:700;color:var(--pse-navy)}
.pse-card p{font-size:.9375rem;line-height:1.5rem;color:var(--pse-muted)}
.pse-card p:last-child{margin-bottom:0}
.pse-cards--steps{counter-reset:pse-step}
.pse-cards--steps .pse-card{position:relative}
.pse-cards--steps .pse-card__title{color:var(--pse-purple);text-transform:uppercase;letter-spacing:.04em;font-size:.8125rem}
.pse-callout{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:space-between;margin-top:1.25rem;padding:1.75rem 2rem;border-radius:.75rem;background:var(--pse-navy);color:#fff}
.pse-callout__title{margin:0!important;font-size:1.125rem!important;font-weight:700;line-height:1.4!important;max-width:34rem}
.pse-callout__action{display:flex;align-items:center;gap:1.25rem}
.pse-callout__badge{width:4.5rem;height:4.5rem;object-fit:contain;border-radius:.5rem;background:#fff}
.pse-callout .pse-btn{background:#fff;color:var(--pse-navy)!important}
.pse-callout .pse-btn:hover{background:var(--pse-grey)}
.pse-section--cta .pse-head,.pse-section--cta .pse-split__text{text-align:left}
.pse-note{color:var(--pse-muted)}
.pse-jobs{display:grid;gap:.75rem;margin:1.5rem 0 0;padding:0;list-style:none}
.pse-job{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem 1.75rem;border-radius:.75rem;background:#fff;border:1px solid #E9ECF2;color:var(--pse-navy);text-decoration:none;transition:box-shadow .2s,transform .2s}
.pse-job:hover{box-shadow:0 12px 24px rgba(38,51,77,.16);transform:translateY(-2px)}
.pse-job__main{display:grid;gap:.375rem}
.pse-job__title{font-size:1.125rem;line-height:1.3;font-weight:700}
.pse-job__meta{font-size:.75rem;line-height:1.0625rem;font-weight:700;letter-spacing:.0075rem;text-transform:uppercase;color:var(--pse-grey-700)}
.pse-job__cta{flex:none;display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:.9375rem;transition:transform .2s}
.pse-job:hover .pse-job__cta{transform:translateX(.375rem)}
@media (max-width:640px){.pse-job{padding:1.25rem}.pse-job__cta{font-size:0}}
.pse-back{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:2rem;font-size:.875rem;font-weight:700;color:var(--pse-muted)}
.pse-back::before{content:"←"}
.pse-back:hover{color:var(--pse-navy)}
.pse-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2rem;padding:0;list-style:none}
.pse-chips li{padding:.375rem .75rem;border-radius:999px;background:var(--pse-grey);font-size:.75rem;font-weight:700;letter-spacing:.0075rem;text-transform:uppercase;color:var(--pse-muted)}
.pse-jobdetail h2{margin:2.5rem 0 1rem}
.pse-rich{font-size:1rem;line-height:1.5625rem;color:var(--pse-navy)}
.pse-rich p{margin:0 0 1rem}
.pse-rich ul,.pse-rich ol{margin:0 0 1rem;padding-left:1.25rem}
.pse-rich ul{list-style:disc}.pse-rich ol{list-style:decimal}
.pse-rich li{margin-bottom:.375rem}
.pse-rich li::marker{color:var(--pse-purple)}
.pse-rich a{text-decoration:underline}
.pse-jobdetail__end{margin-top:2.5rem!important;padding-top:2rem;border-top:1px solid var(--pse-line)}
.pse-faq{margin-top:2rem;border-top:1px solid var(--pse-line)}
.pse-faq__item{border-bottom:1px solid var(--pse-line)}
.pse-faq__item summary{display:flex;justify-content:space-between;gap:1rem;padding:1.25rem 0;cursor:pointer;list-style:none;font-size:1.0625rem;line-height:1.4;font-weight:700}
.pse-faq__item summary::-webkit-details-marker{display:none}
.pse-faq__item summary::after{content:"+";flex:none;font-size:1.5rem;line-height:1;color:var(--pse-purple);transition:transform .2s}
.pse-faq__item[open] summary::after{transform:rotate(45deg)}
.pse-faq__item .pse-rich{padding:0 2rem 1.25rem 0;color:var(--pse-muted)}
.pse-faq__cta{margin-top:2.5rem!important}
.pse-office{display:grid;gap:1.25rem;margin-top:1.75rem;align-items:stretch}
.pse-office .pse-cards{margin:0;grid-template-columns:1fr}
@media (min-width:1024px){.pse-office{grid-template-columns:1fr 2fr}}
.pse-map{position:relative;min-height:20rem;border-radius:.75rem;overflow:hidden;border:1px solid #E9ECF2;background:linear-gradient(135deg,#FBFCFD 0%,#EFF1F7 100%)}
.pse-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pse-map__consent{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;padding:1.5rem;text-align:center}
.pse-map__consent p{max-width:26rem;margin:0 0 .75rem;font-size:.875rem;line-height:1.4;color:var(--pse-muted)}
.pse-map__consent a{text-decoration:underline;color:var(--pse-navy)}

/* buttons rendered as <button>: the theme reset makes button backgrounds transparent */
button.pse-btn,.pse-career .pse-btn{background:var(--pse-navy);border:0;cursor:pointer}
button.pse-btn:hover,.pse-career .pse-btn:hover{background:var(--pse-blue)}
.pse-callout .pse-btn{background:#fff}
.pse-callout .pse-btn:hover{background:var(--pse-grey)}

/* ---------- site-wide spacing: tighter rhythm between the theme's content modules ---------- */
@media (max-width:1023.98px){
  main .my-15,main .max-lg\:my-15,main .my-30{margin-top:2.75rem;margin-bottom:2.75rem}
  main .mb-15{margin-bottom:2.75rem}
  main .mt-30{margin-top:2.75rem}
}
@media (min-width:1024px){
  main .lg\:my-30,main .my-30{margin-top:4.5rem;margin-bottom:4.5rem}
  main .lg\:my-20{margin-top:3.5rem;margin-bottom:3.5rem}
  main .lg\:my-80{margin-top:6.5rem;margin-bottom:6.5rem}
  main .lg\:mb-30{margin-bottom:4.5rem}
  main .mt-30{margin-top:4.5rem}
  main .lg\:py-30{padding-top:5rem;padding-bottom:5rem}
  footer.lg\:mt-30{margin-top:2rem}
  /* highlight module: less empty space above and below the slanted band (band moves up by the same amount) */
  main section.highlight.lg\:py-72{padding-top:11rem;padding-bottom:11rem}
  main section.highlight > .lg\:top-\[275px\]{top:163px}
  main section.highlight > .lg\:-top-\[213px\]{top:-150px}
}
@media (min-width:1248px){main section.highlight > .xl\:-top-\[255px\]{top:-175px}}
@media (min-width:768px){footer.md\:pt-30{padding-top:3.5rem}}
/* pages without the footer call-to-action need the original room above the slanted footer edge */
@media (min-width:768px){footer.md\:pt-30:not(:has(.cta-container)){padding-top:7.5rem}}
@media (min-width:1024px){footer.lg\:mt-30:not(:has(.cta-container)){margin-top:5rem}}

/* office address card */
.pse-address{display:flex;flex-direction:column;justify-content:center;padding:2rem;border-radius:.75rem;background:var(--pse-navy);color:#fff;min-height:20rem}
.pse-address__icon{display:grid;place-items:center;width:3.25rem;height:3.25rem;border-radius:.75rem;background:rgba(255,255,255,.12);color:#fff;margin-bottom:1.5rem}
.pse-career .pse-address__label{margin:0 0 .5rem;font-size:.75rem;line-height:1.0625rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#C9B5E3}
.pse-career .pse-address__name{margin:0 0 .5rem;font-size:1.375rem;line-height:1.2;font-weight:700;color:#fff}
.pse-address address{font-style:normal;font-size:1.0625rem;line-height:1.6;color:rgba(255,255,255,.85)}
.pse-address__route{display:inline-flex;align-items:center;gap:.5rem;margin-top:1.75rem;font-weight:700;font-size:.9375rem;color:#fff;text-decoration:none}
.pse-address__route svg{transition:transform .2s}
.pse-address__route:hover svg{transform:translateX(.375rem)}
