/* ---------- Inner pages ---------- */
.page-head { background: var(--lilac); padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(1.75rem, 4vw, 2.75rem); }
.page-head h1 { font-size: clamp(1.9rem, 3.8vw, var(--step-4)); max-width: 26em; margin-bottom: .45rem; letter-spacing: -.02em; }
.page-head__lead { font-size: var(--step-1); color: var(--steel); max-width: 40em; margin: 0; }
.page-head__meta { color: var(--steel); margin: 0; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.page-head--dark { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.page-head--dark::after { content: ""; position: absolute; right: -6rem; top: -10rem; width: 20rem; height: 20rem; border-radius: 50%; background: var(--orange); opacity: .9; }
.page-head--dark .wrap { position: relative; z-index: 1; }
.page-head--dark .page-head__lead { color: var(--on-night); }
.page-head--dark .crumb a { color: var(--orange); }
.crumb { margin: 0 0 .75rem; font-size: var(--step--1); font-weight: 700; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.page-layout { display: grid; grid-template-columns: minmax(0, 46rem); gap: 3rem; padding-top: 2.75rem; padding-bottom: 4.5rem; }
.page-layout--aside { grid-template-columns: minmax(0, 1fr) 16rem; }
.page-layout--form { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); align-items: start; }
@media (max-width: 900px) { .page-layout--aside, .page-layout--form { grid-template-columns: 1fr; } }

.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--orange); }
.prose img, .page-image { border-radius: var(--r-card); margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--orange); color: var(--steel); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--night); color: #fff; }
.prose thead th:first-child { border-top-left-radius: 10px; }
.prose thead th:last-child { border-top-right-radius: 10px; }
.prose tbody th { width: 30%; color: var(--steel); font-weight: 600; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-card); }

.side-nav ul { list-style: none; margin: 0; padding: 0; position: sticky; top: 6rem; display: grid; gap: 2px; }
.side-nav a { display: block; padding: .55rem .9rem; color: var(--steel); text-decoration: none; font-size: .95rem; border-radius: 10px; }
.side-nav a:hover { background: var(--lilac); color: var(--night); }
.side-nav a[aria-current] { background: var(--orange-tint); color: var(--night); font-weight: 700; box-shadow: inset 3px 0 0 var(--orange); }
@media (max-width: 900px) { .side-nav { order: -1; } .side-nav ul { position: static; display: flex; flex-wrap: wrap; } }

.inline-cta { margin-top: 2.5rem; padding: 1.5rem 1.75rem; background: var(--orange-tint); border-radius: var(--r-card); }
.inline-cta p { margin-bottom: 1rem; font-weight: 500; }

/* ---------- Careers ---------- */
.job-filter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.job-filter select { font: inherit; font-size: .9rem; padding: .5rem 2rem .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--night); }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.job-card { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .15s; }
.job-card:hover { border-color: var(--orange); }
.job-card h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.job-card h3 a { color: var(--night); text-decoration: none; }
.job-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.job-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; flex-shrink: 0; text-align: right; }
.job-salary { margin: 0; font-weight: 800; color: var(--orange-deep); font-size: 1.05rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--steel); font-size: var(--step--1); margin: 0 0 .6rem; }
.job-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--orange); border-radius: 50%; margin-right: 1rem; vertical-align: middle; }
@media (max-width: 640px) { .job-card { flex-direction: column; align-items: stretch; } .job-card__side { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }
.no-fit { margin: 1.5rem 0 0; color: var(--steel); }
.no-fit strong { color: var(--night); }

.job-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin: 1.5rem 0 0; }
.job-facts dt { font-size: .78rem; color: var(--on-night); font-weight: 500; }
.job-facts dd { margin: .1rem 0 0; font-weight: 700; color: #fff; }
.job-facts__salary dd { color: var(--orange); font-size: 1.2rem; }
.job-benefits { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.job-benefits h2 { font-size: var(--step-2); }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.benefits li { background: var(--paper); border-radius: var(--r-card); padding: 1.35rem 1.4rem; position: relative; }
.benefits li::before { content: ""; display: block; width: .7rem; height: .7rem; background: var(--orange); border-radius: 2px; transform: rotate(45deg); margin-bottom: .9rem; }
.benefits h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.benefits p { margin: 0; color: var(--steel); font-size: .95rem; }
.benefits--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefits--compact li { background: var(--lilac); }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .benefits, .benefits--compact { grid-template-columns: 1fr; } }

.life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.life a { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; color: #fff; text-decoration: none; height: 100%; }
.life img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--night); }
.life span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; background: linear-gradient(transparent, rgba(25,25,54,.85)); font-weight: 600; font-size: .95rem; }

.pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 3rem; align-items: center; }
.pager a, .pager span { min-width: 2.6rem; height: 2.6rem; display: inline-grid; place-items: center; padding: 0 .9rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); background: var(--paper); color: var(--night); font-weight: 600; }
.pager a:hover { border-color: var(--orange); }
.pager span[aria-current] { background: var(--night); color: #fff; border-color: var(--night); }
.pager .pager__gap { border: 0; background: none; }
.empty { color: var(--steel); padding: 2rem 0; }
