/* Functional foundation. Brand tokens and editorial layouts are in design.css. */
:root {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
a,
button {
  touch-action: manipulation;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  font-weight: 750;
}
h1 {
  font-size: clamp(36px, 4.3vw, 60px);
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
}
h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}
p {
  margin: 0 0 20px;
}
small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
strong {
  color: var(--ink);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.narrow {
  max-width: 820px;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
}
.skip:focus {
  top: 16px;
}
.topbar {
  background: #123e36;
  color: #d8e5f6;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}
.topbar a {
  color: white;
  display: flex;
  gap: 8px;
  align-items: center;
}
.topbar .icon {
  width: 13px;
  height: 13px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 800;
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand-light {
  font-weight: 450;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.09em;
  margin-top: 5px;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 41px;
  background: var(--blue);
  color: #fff;
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -5px;
  padding-right: 5px;
  border-radius: 8px 2px 8px 2px;
  line-height: 1;
}
.brand-mark span {
  font-size: 23px;
  color: var(--orange);
  position: absolute;
  right: -5px;
  top: -8px;
  letter-spacing: -1px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  white-space: nowrap;
}
.main-nav > a {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  position: relative;
  padding: 34px 0;
}
.main-nav > a.active {
  color: var(--blue);
}
.main-nav > a.active:after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--blue);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 13px;
}
.languages {
  display: flex;
  gap: 5px;
  align-items: center;
}
.languages a {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 3px;
}
.languages a.selected {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}
.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--ink);
  min-width: 36px;
  min-height: 40px;
  padding: 6px;
}
.login-link {
  color: var(--ink);
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  white-space: nowrap;
}
.login-link .icon {
  width: 17px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background: var(--blue);
  color: #fff;
  font-weight: 650;
  font-size: 13px;
  padding: 16px 23px;
  border: 1px solid transparent;
  border-radius: 6px;
  line-height: 1.35;
  min-height: 48px;
  transition:
    background 0.2s,
    transform 0.2s;
  text-align: center;
}
.button:hover {
  background: var(--blue-hover);
  text-decoration: none;
  transform: translateY(-1px);
}
.button-small {
  padding: 11px 15px;
  min-height: 41px;
  font-size: 12px;
}
.button-small .icon {
  width: 16px;
}
.button-orange {
  background: var(--orange);
  color: #162c47;
}
.button-orange:hover {
  background: #ff955f;
}
.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.button-ghost:hover {
  background: var(--surface);
}
.button-white {
  background: white;
  color: #123e36;
}
.button-white:hover {
  background: #e6f0ff;
}
.button-danger {
  background: #ad2739;
  color: white;
}
.button-danger:hover {
  background: #89172a;
}
.button-wide {
  width: 100%;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.text-link {
  font-weight: 650;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}
.text-button {
  color: var(--text);
  font-size: 13px;
  background: none;
  border: 0;
  padding: 10px 0;
}
.menu-toggle {
  display: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.13em;
  font-size: 10px;
  font-weight: 750;
  margin-bottom: 19px;
}
.tiny-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.orange-dot {
  color: var(--orange);
}
.section {
  padding: 82px 0;
}
.section-tint {
  background: var(--surface);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 45px;
  align-items: flex-end;
  margin-bottom: 33px;
}
.section-heading h2 {
  max-width: 560px;
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 350px;
  font-size: 13px;
  margin: 0;
}
.section-heading > div > p {
  margin: 15px 0 0;
  max-width: 520px;
  font-size: 14px;
}
.section-heading > .text-link {
  padding-bottom: 6px;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.job-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-image {
  display: block;
  position: relative;
}
.card-image img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}
.category-label {
  position: absolute;
  bottom: 15px;
  left: 17px;
  background: #fff;
  color: #193757;
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 3px;
  font-weight: 650;
}
.badge {
  display: inline-block;
  background: var(--soft-blue);
  color: var(--blue);
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  line-height: 1.5;
}
.badge.featured {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #ffead8;
  color: #873a10;
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
}
.location .icon {
  width: 14px;
  height: 14px;
}
.card-body h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.card-body h3 a {
  color: var(--ink);
}
.card-summary {
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 10px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
  margin-top: auto;
}
.card-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 3px;
  background: var(--surface);
  padding: 4px 6px;
}
.card-meta .icon {
  width: 12px;
  height: 12px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 17px;
}
.card-bottom strong {
  font-size: 13px;
}
.circle-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-blue);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}
.circle-link .icon {
  width: 16px;
}
.empty-state {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 50px 30px;
}
.empty-state p {
  max-width: 510px;
  margin: 0 auto 25px;
  font-size: 14px;
}
.empty-state h3 {
  font-size: 26px;
}
.empty-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-blue);
  color: var(--blue);
  border-radius: 12px;
  margin: 0 auto 20px;
}
.empty-icon .icon {
  width: 27px;
  height: 27px;
}
.section-title {
  max-width: 600px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 100px;
}
.faq-grid h2 {
  max-width: 330px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details > summary {
  cursor: pointer;
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
.faq-list summary {
  padding: 21px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 650;
}
.faq-list summary > span {
  font-size: 23px;
  font-weight: 400;
  color: var(--blue);
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list p {
  font-size: 14px;
  max-width: 550px;
  padding-bottom: 8px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
  align-items: start;
}
.contact-copy {
  padding-top: 40px;
}
.contact-copy h1,
.contact-copy h2 {
  font-size: 46px;
  max-width: 470px;
}
.contact-copy > p {
  max-width: 410px;
  font-size: 15px;
}
.contact-copy > a {
  display: block;
}
.contact-phone {
  font-size: 29px;
  letter-spacing: -0.04em;
  font-weight: 650;
  color: var(--ink);
  margin-top: 30px;
  margin-bottom: 8px;
}
.contact-details {
  margin-top: 40px;
}
.contact-details h2 {
  font-size: 22px;
}
.contact-details .contact-phone {
  display: block;
  font-size: 28px;
}
.contact-details h3 {
  font-size: 17px;
}
.contact-details p {
  font-size: 14px;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 27px;
  margin-bottom: 12px;
}
.form-card h1 {
  font-size: 34px;
}
.form-card > .eyebrow {
  margin-bottom: 10px;
}
.form-card > .muted {
  font-size: 13px;
  margin-bottom: 24px;
}
.muted {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
label {
  display: block;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 18px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  color: var(--ink);
  padding: 12px 13px;
  margin-top: 7px;
  min-height: 44px;
  line-height: 1.4;
  font-size: 14px;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
}
textarea {
  resize: vertical;
  max-width: 100%;
}
label small {
  display: inline-block;
  font-size: 10px;
}
label > small {
  margin-top: 5px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.65;
}
.checkbox input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.checkbox a {
  text-decoration: underline;
}
.upload-label {
  padding: 15px 17px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.upload-label > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.upload-label .icon {
  width: 17px;
  height: 17px;
  color: var(--blue);
}
.upload-label input {
  font-size: 11px;
  border: 0;
  padding: 5px 0;
  min-height: 0;
  background: transparent;
}
.upload-label input::file-selector-button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 7px 10px;
  border-radius: 4px;
  margin-right: 9px;
  cursor: pointer;
}
.form-note {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin: 13px 0 0;
}
.honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  background: var(--soft-blue);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 5px;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.notice.success {
  display: flex;
  gap: 10px;
  align-items: center;
  border-color: #9ac9ac;
  background: #ecf9f1;
  color: #185a35;
}
.notice.error {
  background: #fff2f1;
  border-color: #eab7b3;
  color: #8e2521;
}
.notice ul {
  padding-left: 20px;
  margin: 7px 0 0;
}
.site-footer {
  background: #0b2242;
  color: #bbcee5;
  padding: 60px 0 0;
  font-size: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 0.85fr;
  gap: 45px;
}
.site-footer .brand {
  color: white;
}
.site-footer .brand-mark {
  background: #2869de;
}
.site-footer h2 {
  color: #fff;
  font-size: 12px;
  margin-bottom: 20px;
  letter-spacing: 0;
  font-weight: 650;
}
.site-footer a {
  color: #bbcee5;
}
.site-footer .brand {
  color: white;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}
.footer-grid p {
  font-size: 12px;
  line-height: 1.95;
}
.footer-lead {
  max-width: 230px;
  margin-top: 20px !important;
  font-size: 14px !important;
  color: #fff;
}
.footer-registration {
  font-size: 10px;
}
.site-footer .footer-cta {
  color: #ff9c6c;
  margin-top: 24px;
}
.footer-bottom {
  border-top: 1px solid #ffffff18;
  margin-top: 45px;
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.mobile-actions {
  display: none;
}
.page-hero {
  background: var(--surface);
  padding: 55px 0;
}
.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
}
.page-hero p {
  max-width: 650px;
  margin: 0;
}
.page-hero.compact {
  padding: 40px 0;
}
.page-hero.compact h1 {
  font-size: 40px;
}
.catalog-section {
  padding-top: 40px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 35px;
}
.filter-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 23px;
  height: fit-content;
  position: sticky;
  top: 112px;
}
.filter-panel h2 {
  font-size: 19px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.filter-panel label {
  font-size: 11px;
}
.reset-link {
  display: block;
  text-align: center;
  font-size: 12px;
  margin-top: 18px;
  text-decoration: underline;
}
.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 13px;
}
.results-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.count-pill {
  display: inline-block;
  background: var(--soft-blue);
  color: var(--blue);
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: 0;
  vertical-align: middle;
  margin-left: 5px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
  font-size: 12px;
  flex-wrap: wrap;
}
.pagination .button {
  font-size: 11px;
  padding: 10px 16px;
}
.back-link {
  display: block;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 12px;
}
.detail-meta {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
}
.detail-meta > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 65px;
  align-items: start;
}
.detail-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
}
.job-description h2 {
  font-size: 28px;
  margin: 32px 0 20px;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.check-list {
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0;
}
.check-list .icon {
  color: var(--blue);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.apply-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
  position: sticky;
  top: 112px;
}
.apply-card .eyebrow {
  margin-bottom: 10px;
}
.apply-card .salary-large {
  font-size: 29px;
  line-height: 1.25;
}
.apply-card dl {
  font-size: 12px;
  margin: 25px 0;
}
.apply-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 12px 0;
}
.apply-card dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
  font-weight: 600;
}
.apply-card form {
  margin-top: 12px;
}
.apply-card > p {
  font-size: 12px;
}
.apply-card > a:last-child {
  font-weight: 650;
}
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-page-grid > img {
  height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.about-page-grid h2 {
  font-size: 26px;
  margin-top: 30px;
}
.about-page-grid .lead {
  font-size: 19px;
  color: var(--ink);
}
.about-page-grid p {
  font-size: 14px;
}
.prose h2 {
  font-size: 25px;
  margin-top: 32px;
}
.prose p {
  font-size: 15px;
  line-height: 1.9;
}
.success-state h1 {
  font-size: 36px;
}
.success-state .button-row {
  justify-content: center;
}
.success-state .reference {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.error-code {
  font-size: 90px;
  color: var(--blue);
  line-height: 1.2;
  font-weight: 700;
}
.empty-state h1 {
  font-size: 34px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 100px;
  align-items: start;
  max-width: 1120px;
}
.auth-intro h1 {
  font-size: 45px;
}
.auth-intro > img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  margin: 25px 0;
  object-fit: cover;
}
.auth-intro > .muted {
  font-size: 12px;
}
.auth-switch {
  font-size: 12px;
  text-align: center;
  margin: 24px 0 0;
}
.account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
  padding-bottom: 14px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.tabs a {
  font-size: 13px;
  color: var(--text);
}
.tabs a.active {
  color: var(--blue);
  font-weight: 700;
}
.subsection {
  margin-top: 60px;
  scroll-margin-top: 130px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  padding: 14px 18px;
  background: var(--surface);
  font-weight: 600;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
td {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  min-width: 100px;
}
td small {
  display: block;
  font-size: 10px;
  max-width: 280px;
}
td strong {
  font-size: 12px;
}
td a {
  font-weight: 600;
}
.table-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.status-new,
.status-published {
  background: #dff5e6;
  color: #1c6740;
}
.status-contact {
  background: #e4efff;
  color: #2555a1;
}
.status-accepted {
  background: #d9f2e7;
  color: #185b42;
}
.status-rejected {
  background: #fae4e2;
  color: #952f30;
}
.status-draft,
.status-archived {
  background: #edf0f5;
  color: #596775;
}
.details-list {
  margin-block: 25px;
}
.details-list > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 13px;
}
.details-list dt {
  color: var(--muted);
}
.details-list dd {
  margin: 0;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.admin-shell {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-block: 35px 65px;
}
.admin-sidebar {
  position: sticky;
  top: 112px;
  border-right: 1px solid var(--line);
  padding-right: 22px;
  min-height: 570px;
}
.admin-sidebar h2 {
  font-size: 18px;
  margin-bottom: 25px;
}
.admin-sidebar .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  padding: 11px 10px;
  color: var(--text);
  border-radius: 5px;
}
.admin-sidebar nav a.active {
  color: var(--blue);
  background: var(--soft-blue);
  font-weight: 650;
}
.admin-sidebar .icon {
  width: 17px;
  height: 17px;
}
.sidebar-site {
  display: block;
  font-size: 12px;
  margin: 45px 0 12px;
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.admin-heading h1 {
  margin: 0;
  font-size: 34px;
}
.admin-heading .eyebrow {
  margin-bottom: 10px;
}
.admin-content {
  min-width: 0;
}
.admin-content > h1 {
  font-size: 34px;
}
.admin-content > h2 {
  font-size: 23px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 20px 17px;
  border-radius: 8px;
}
.stat-card span {
  font-size: 10px;
  color: var(--muted);
}
.stat-card strong {
  font-size: 37px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.stat-card:hover {
  background: var(--soft-blue);
  text-decoration: none;
}
.admin-filters {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.admin-filters label {
  margin: 0;
  flex: 1;
}
.admin-filters > a {
  font-size: 11px;
  padding: 14px 0;
}
.admin-job-form > .form-card,
.admin-content > .form-card {
  margin-bottom: 22px;
}
.admin-job-form > .form-card > h2 {
  font-size: 23px;
}
.translation-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  background: var(--card);
  overflow: hidden;
}
.translation-panel summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 23px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  background: var(--surface);
}
.translation-panel summary:after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
}
.translation-panel[open] summary:after {
  content: "−";
}
.translation-panel > div {
  padding: 25px;
}
.language-tag {
  font-size: 11px;
  background: var(--soft-blue);
  color: var(--blue);
  padding: 4px 7px;
  border-radius: 4px;
}
.danger-zone {
  border: 1px solid #d8a6ac;
  padding: 23px;
  border-radius: 8px;
  margin-top: 35px;
}
.danger-zone p {
  font-size: 12px;
}
.danger-zone .checkbox {
  max-width: 450px;
}
.demo-label {
  color: #a65e19;
  margin-top: 4px;
}
.admin-job-form > .muted {
  font-size: 12px;
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 44px);
  }
  .header-inner {
    gap: 20px;
  }
  .main-nav {
    gap: 18px;
  }
  .main-nav > a {
    font-size: 12px;
  }
  .login-link span {
    display: none;
  }
  .header-tools {
    gap: 8px;
  }
  .brand {
    font-size: 25px;
  }
  .brand-mark {
    width: 33px;
    height: 36px;
    font-size: 32px;
  }
  .brand small {
    font-size: 8px;
  }
  .contact-grid {
    gap: 50px;
  }
  .auth-layout {
    gap: 50px;
  }
  .faq-grid {
    gap: 60px;
  }
  .footer-grid {
    gap: 25px;
  }
  .detail-layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .admin-shell {
    gap: 25px;
    grid-template-columns: 190px minmax(0, 1fr);
  }
}
@media (max-width: 950px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 78px;
    gap: 15px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 15px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav > a {
    padding: 13px 6px;
    font-size: 14px;
  }
  .main-nav > a.active:after {
    display: none;
  }
  .menu-toggle {
    display: flex;
    order: 3;
  }
  .header-tools {
    margin-left: auto;
  }
  .section {
    padding: 60px 0;
  }
  .section-heading {
    gap: 35px;
  }
  .section-heading > p {
    max-width: 270px;
    font-size: 12px;
  }
  .job-grid {
    gap: 18px;
  }
  .card-body {
    padding: 17px;
  }
  .card-body h3 {
    font-size: 19px;
  }
  .faq-grid {
    gap: 40px;
  }
  .contact-grid {
    gap: 30px;
    grid-template-columns: 1fr 1.2fr;
  }
  .contact-copy h1,
  .contact-copy h2 {
    font-size: 36px;
  }
  .form-card {
    padding: 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 70px;
  }
  .catalog-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 23px;
  }
  .filter-panel {
    padding: 17px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-grid .job-card {
    display: grid;
    grid-template-columns: 170px 1fr;
  }
  .catalog-grid .card-image img {
    height: 100%;
    min-height: 270px;
  }
  .catalog-grid .category-label {
    left: 10px;
    right: 10px;
    font-size: 9px;
  }
  .catalog-grid .card-image .featured {
    left: 10px;
    right: auto;
    font-size: 9px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 25px;
  }
  .apply-card {
    padding: 23px;
  }
  .apply-card .salary-large {
    font-size: 25px;
  }
  .about-page-grid {
    gap: 40px;
  }
  .auth-layout {
    grid-template-columns: 1fr 400px;
    gap: 40px;
  }
  .auth-intro h1 {
    font-size: 36px;
  }
  .admin-shell {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
  }
  .admin-sidebar {
    padding-right: 15px;
  }
  .admin-sidebar nav a {
    font-size: 11px;
    padding: 10px 6px;
    gap: 6px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  body {
    font-size: 14px;
    padding-bottom: 62px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .topbar .container {
    min-height: 29px;
    font-size: 9px;
  }
  .topbar a {
    font-size: 9px;
  }
  .topbar a .icon {
    display: none;
  }
  .header-inner {
    min-height: 73px;
    gap: 6px;
  }
  .brand {
    font-size: 24px;
    gap: 8px;
  }
  .brand-mark {
    width: 31px;
    height: 34px;
    font-size: 30px;
  }
  .brand-mark span {
    font-size: 20px;
  }
  .brand small {
    font-size: 6.5px;
    letter-spacing: 0.08em;
  }
  .header-tools {
    gap: 5px;
  }
  .header-tools > .button,
  .login-link {
    display: none;
  }
  .header-tools .theme-toggle {
    min-width: 28px;
    padding: 4px;
  }
  .header-tools .icon {
    width: 18px;
    height: 18px;
  }
  .languages {
    gap: 3px;
  }
  .languages a {
    font-size: 9px;
    padding: 5px 2px;
  }
  .menu-toggle {
    min-width: 30px;
    padding: 3px;
  }
  .section {
    padding: 48px 0;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .section-heading > p {
    max-width: none;
    font-size: 13px;
  }
  .section-heading > div > p {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .job-grid {
    grid-template-columns: 1fr;
  }
  .card-image img {
    height: 200px;
  }
  .card-body {
    padding: 22px;
  }
  .card-body h3 {
    font-size: 22px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-grid h2 {
    max-width: none;
    font-size: 31px;
  }
  .faq-list summary {
    font-size: 14px;
    padding: 20px 0;
  }
  .faq-list p {
    font-size: 13px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-copy {
    padding-top: 0;
  }
  .contact-copy h1,
  .contact-copy h2 {
    font-size: 37px;
  }
  .contact-copy > p {
    font-size: 14px;
  }
  .contact-phone {
    font-size: 26px;
  }
  .form-card {
    padding: 23px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card h2 {
    font-size: 27px;
  }
  label {
    font-size: 12px;
  }
  .checkbox {
    font-size: 11px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .site-footer {
    padding-top: 45px;
  }
  .site-footer .brand {
    font-size: 28px;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .footer-lead {
    max-width: none;
    margin-top: 17px !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding: 20px 0;
  }
  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--card);
    box-shadow: 0 -2px 15px #10274915;
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 10px;
    color: var(--ink);
    font-weight: 650;
    font-size: 12px;
  }
  .mobile-actions a:last-child {
    background: var(--blue);
    color: white;
  }
  .mobile-actions .icon {
    width: 17px;
    height: 17px;
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
  .page-hero {
    padding: 36px 0;
  }
  .page-hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }
  .page-hero p {
    font-size: 13px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .filter-panel {
    position: static;
    padding: 20px;
  }
  .filter-panel form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
  }
  .filter-panel form > h2,
  .filter-panel form > .button,
  .filter-panel form > .reset-link {
    grid-column: 1/-1;
  }
  .filter-panel input,
  .filter-panel select {
    font-size: 12px;
  }
  .filter-panel label {
    margin-bottom: 15px;
  }
  .catalog-grid .job-card {
    display: flex;
  }
  .catalog-grid .card-image img {
    height: 200px;
    min-height: 0;
  }
  .catalog-grid .category-label {
    right: auto;
    left: 17px;
    font-size: 10px;
  }
  .catalog-grid .card-image .featured {
    left: auto;
    right: 14px;
    font-size: 10px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .apply-card {
    position: static;
    grid-row: 1;
  }
  .detail-image {
    height: 230px;
    margin-bottom: 25px;
  }
  .job-description h2 {
    font-size: 25px;
  }
  .detail-meta {
    gap: 12px;
    font-size: 11px;
  }
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-page-grid > img {
    height: 300px;
  }
  .about-page-grid .lead {
    font-size: 17px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .auth-intro > img {
    display: none;
  }
  .auth-intro h1 {
    font-size: 34px;
  }
  .auth-intro > .muted {
    margin-top: 15px;
    font-size: 11px;
  }
  .auth-intro > .eyebrow {
    font-size: 9px;
  }
  .auth-intro > p {
    font-size: 13px;
  }
  .account-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .tabs {
    gap: 14px;
  }
  .tabs a {
    font-size: 12px;
  }
  .page-hero.compact h1 {
    font-size: 32px;
  }
  .details-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
    padding-block: 25px 45px;
    gap: 27px;
  }
  .admin-sidebar {
    position: static;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 17px;
  }
  .admin-sidebar > .eyebrow,
  .admin-sidebar > h2,
  .sidebar-site {
    display: none;
  }
  .admin-sidebar nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .admin-sidebar nav a {
    padding: 9px;
    font-size: 11px;
  }
  .admin-sidebar form {
    margin-top: 5px;
  }
  .admin-heading h1,
  .admin-content > h1 {
    font-size: 29px;
  }
  .admin-heading .button {
    font-size: 11px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 18px;
  }
  .admin-filters {
    gap: 12px;
  }
  .admin-filters label {
    flex-basis: 100%;
  }
  .admin-content table th,
  .admin-content table td {
    padding: 13px;
  }
  .translation-panel > div {
    padding: 20px;
  }
  .translation-panel summary {
    padding: 15px 20px;
  }
  .danger-zone {
    padding: 20px;
  }
  .danger-zone .button-row {
    align-items: flex-start;
    gap: 20px;
  }
  .error-code {
    font-size: 75px;
  }
  .empty-state {
    padding: 35px 22px;
  }
  .empty-state h1 {
    font-size: 29px;
  }
  .empty-state h3 {
    font-size: 23px;
  }
  .empty-state p {
    font-size: 13px;
  }
  .prose h2 {
    font-size: 23px;
  }
  .prose p {
    font-size: 14px;
  }
}
@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 27px;
    height: 30px;
    font-size: 27px;
  }
  .brand small {
    font-size: 6px;
  }
  .languages a {
    font-size: 8px;
  }
  .topbar .container > span {
    max-width: 190px;
    line-height: 1.3;
  }
  .contact-copy h1,
  .contact-copy h2 {
    font-size: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.mobile-nav-link {
  display: none;
}
@media (max-width: 950px) {
  .main-nav .mobile-nav-link {
    display: block;
  }
}
/* Maintain readable contrast and touch targets in both themes. */
:root[data-theme="dark"]
  .button:not(.button-ghost):not(.button-danger):not(.button-white) {
  color: #15372e;
}
:root[data-theme="dark"] .mobile-actions a:last-child {
  color: #15372e;
}
.languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 32px;
}
.checkbox {
  font-size: 12px;
}
