/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4
 * genre: editorial · macrostructure: Split Studio · theme: Atelier
 * audience: företag + arbetssökande · use: förfrågan + ansökan · tone: nordisk, personlig, pålitlig
 * enrichment: E8 documentary photography · nav: N11 Mega-menu · footer: Ft1 Mast-headed
 */
@import url("../../tokens.css");

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 450;
  line-height: 1.62;
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  cursor: pointer;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--color-ink);
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: var(--rule-hair);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-accent-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  min-width: 0;
  overflow-wrap: anywhere;
}

p,
li,
dd {
  max-width: 68ch;
}

:focus-visible {
  border-radius: var(--radius-small);
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.screen-reader-text,
.hp-field {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.site-main {
  min-width: 0;
}

.page-shell {
  padding-block: var(--space-2xl) var(--space-4xl);
}

.page-title {
  font-size: var(--text-display-s);
  margin-block: 0 var(--space-xl);
}

.site-header {
  background: var(--color-paper-glass);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink);
  inset-block-start: 0;
  padding-inline: var(--page-gutter);
  position: sticky;
  z-index: var(--z-sticky);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: var(--space-md);
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--page-max);
  min-height: 72px;
}

.site-brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: var(--space-sm);
  text-decoration: none;
  white-space: nowrap;
}

.site-brand img {
  flex: 0 0 auto;
}

.site-brand span {
  font-family: var(--font-display);
  font-size: var(--text-md);
  letter-spacing: -0.025em;
}

.site-brand b {
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
}

.desktop-nav,
.site-header__actions {
  align-items: center;
  display: flex;
}

.desktop-nav {
  display: none;
  gap: var(--space-lg);
}

.desktop-nav > a,
.mega-menu > summary {
  align-items: center;
  display: inline-flex;
  font-size: var(--text-sm);
  font-weight: 550;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}

.mega-menu > summary {
  cursor: pointer;
  gap: var(--space-xs);
  list-style: none;
}

.mega-menu > summary::-webkit-details-marker,
.mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.mega-menu__panel {
  background: var(--color-paper);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  box-shadow: var(--shadow-modal);
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  inset-inline: 0;
  padding: var(--space-xl) max(var(--page-gutter), calc((100% - var(--page-max)) / 2));
  position: absolute;
  top: 100%;
  z-index: var(--z-dropdown);
}

.mega-menu__group {
  display: grid;
  gap: var(--space-xs);
}

.mega-menu__group > p {
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-xs);
  text-transform: uppercase;
}

.mega-menu__group a {
  border-radius: var(--radius-medium);
  display: grid;
  gap: var(--space-3xs);
  min-height: 64px;
  padding: var(--space-sm);
  text-decoration: none;
}

.mega-menu__group a:hover,
.mega-menu__group a:focus-visible {
  background: var(--color-paper-2);
}

.mega-menu__group strong {
  font-size: var(--text-sm);
}

.mega-menu__group span {
  color: var(--color-muted);
  font-size: var(--text-xs);
}

.site-header__actions {
  gap: var(--space-xs);
}

.icon-button {
  align-items: center;
  background: transparent;
  border: var(--rule-hair) solid var(--color-rule-strong);
  border-radius: var(--radius-round);
  color: var(--color-ink);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding: 0;
}

.icon-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.icon-button:hover {
  background: var(--color-paper-2);
}

.header-cta,
.button,
.wp-element-button {
  align-items: center;
  border: var(--rule-hair) solid var(--color-ink);
  border-radius: var(--radius-small);
  display: inline-flex;
  font-size: var(--text-sm);
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  transition:
    background-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
  white-space: nowrap;
}

.header-cta {
  display: none;
}

.header-cta--outline,
.button--secondary,
.is-style-outline .wp-element-button {
  background: transparent;
  color: var(--color-ink);
}

.header-cta--solid,
.button--primary,
.wp-element-button:not(.is-style-outline .wp-element-button) {
  background: var(--color-ink);
  color: var(--color-paper);
}

.header-cta:hover,
.button:hover,
.wp-element-button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
  transform: translateY(-1px);
}

.header-cta:active,
.button:active,
.wp-element-button:active {
  transform: translateY(1px);
}

.header-cta[aria-disabled="true"],
.button:disabled,
.wp-element-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.mobile-menu {
  position: relative;
}

.mobile-menu > summary {
  align-items: center;
  border: var(--rule-hair) solid var(--color-ink);
  border-radius: var(--radius-small);
  cursor: pointer;
  display: flex;
  font-size: var(--text-sm);
  font-weight: 600;
  min-height: 44px;
  padding-inline: var(--space-md);
  white-space: nowrap;
}

.mobile-menu nav {
  background: var(--color-paper);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-modal);
  display: grid;
  gap: var(--space-xs);
  max-height: calc(100dvh - 92px);
  min-width: min(88vw, 330px);
  overflow-y: auto;
  padding: var(--space-md);
  position: absolute;
  right: 0;
  top: calc(100% + var(--space-xs));
  z-index: var(--z-dropdown);
}

.mobile-menu nav > a:not(.header-cta) {
  align-items: center;
  border-bottom: var(--rule-hair) solid var(--color-rule);
  display: flex;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu nav .header-cta {
  display: inline-flex;
}

.fp-hero {
  background: var(--color-paper);
  padding-block: var(--space-xl) var(--space-2xl);
}

.fp-hero__grid {
  align-items: stretch;
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--page-max);
}

.fp-hero__copy {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
}

.fp-hero h1 {
  font-size: var(--text-display-s);
  line-height: 1;
  margin: 0;
  max-width: 12ch;
}

.fp-hero__copy > p {
  color: var(--color-muted);
  margin: 0;
  max-width: 58ch;
}

.fp-hero__media {
  min-width: 0;
}

.fp-hero__media figure,
.fp-hero__media img {
  height: 100%;
  margin: 0;
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.fp-hero__media figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.fp-hero__facts {
  color: var(--color-muted);
  font-size: var(--text-sm);
  margin: var(--space-lg) auto 0;
  max-width: var(--page-max);
  word-spacing: var(--space-xs);
}

.fp-section {
  padding-block: var(--space-3xl);
}

.fp-section > h2,
.section-heading {
  margin-bottom: var(--space-xl);
}

.section-heading {
  max-width: 60ch;
}

.section-heading h2,
.section-heading p {
  margin-block: 0 var(--space-sm);
}

.audience-paths__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: minmax(0, 1fr);
}

.path-card {
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-large);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: var(--space-xl);
}

.path-card--candidate {
  background: var(--color-ink);
  color: var(--color-paper);
}

.path-card--candidate .is-style-outline .wp-element-button {
  border-color: var(--color-paper);
  color: var(--color-paper);
}

.service-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: minmax(0, 1fr);
}

.service-card {
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-medium);
  padding: var(--space-lg);
}

.service-card--featured {
  background: var(--color-paper-2);
  border-radius: var(--radius-xl);
  min-height: 300px;
}

.service-card a,
.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
}

.industries-section {
  background: var(--color-paper-2);
  color: var(--color-ink);
  padding-inline: var(--page-gutter);
}

.industry-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: minmax(0, 1fr);
}

.industry-card {
  background: var(--color-paper);
  border-radius: var(--radius-large);
  min-width: 0;
  overflow: hidden;
}

.industry-card > h3,
.industry-card > p,
.industry-card > .line-icon {
  margin-inline: var(--space-lg);
}

.industry-card > h3 {
  margin-block: var(--space-lg) var(--space-xs);
}

.industry-card > p {
  color: var(--color-muted);
  margin-block: 0 var(--space-lg);
}

.industry-card figure {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  margin: 0;
  overflow: hidden;
}

.industry-card figure img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.industry-card--text {
  min-height: 300px;
  padding-block: var(--space-xl);
}

.industry-card--accent {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.industry-card--accent > p {
  color: var(--color-accent-ink);
}

.line-icon {
  fill: none;
  height: 32px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 32px;
}

.process-list {
  counter-reset: flexpro-step;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: start;
  border-top: var(--rule-hair) solid var(--color-rule);
  counter-increment: flexpro-step;
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 3rem minmax(0, 1fr);
  max-width: none;
  padding-block: var(--space-lg);
}

.process-list li::before {
  color: var(--color-accent-dark);
  content: counter(flexpro-step, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.process-list strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.process-list span {
  color: var(--color-muted);
  grid-column: 2;
}

.final-cta {
  background: var(--color-ink);
  border-radius: var(--radius-xl);
  color: var(--color-paper);
  padding: var(--space-xl);
}

.final-cta p {
  color: var(--color-paper-2);
}

.final-cta .wp-element-button {
  background: var(--color-paper);
  border-color: var(--color-paper);
  color: var(--color-ink);
}

.final-cta .is-style-outline .wp-element-button {
  background: transparent;
  color: var(--color-paper);
}

.faq-section details {
  border-top: var(--rule-hair) solid var(--color-rule);
  margin: 0;
  padding-block: var(--space-lg);
}

.faq-section details:last-child {
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.faq-section summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
}

.faq-section details p {
  color: var(--color-muted);
  margin-block-end: 0;
}

.archive-intro,
.job-single__head {
  margin-bottom: var(--space-xl);
}

.job-filters {
  align-items: end;
  background: var(--color-paper-2);
  border-radius: var(--radius-large);
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
}

.job-filters h2 {
  grid-column: 1 / -1;
  margin: 0;
}

.filter-field,
.form-field,
.chat-handoff label,
.global-search label {
  display: grid;
  font-size: var(--text-sm);
  font-weight: 550;
  gap: var(--space-xs);
}

.filter-field input,
.filter-field select,
.form-field input,
.form-field select,
.form-field textarea,
.chat-handoff input,
.global-search input,
.global-search select,
.chat-compose input {
  background: var(--color-paper);
  border: var(--rule-hair) solid var(--color-rule-strong);
  border-radius: var(--radius-small);
  color: var(--color-ink);
  min-height: 48px;
  outline: 2px solid transparent;
  outline-offset: 1px;
  padding: var(--space-sm) var(--space-md);
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.filter-field input:hover,
.filter-field select:hover,
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover,
.chat-handoff input:hover,
.global-search input:hover,
.global-search select:hover,
.chat-compose input:hover {
  background: var(--color-paper-2);
}

.filter-field input:focus-visible,
.filter-field select:focus-visible,
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.chat-handoff input:focus-visible,
.global-search input:focus-visible,
.global-search select:focus-visible,
.chat-compose input:focus-visible {
  outline-color: var(--color-focus);
}

.form-field input:disabled,
.form-field select:disabled,
.form-field textarea:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.form-field.is-error input,
.form-field.is-error select,
.form-field.is-error textarea {
  border-color: var(--color-error);
}

.form-field.is-success input,
.form-field.is-success select,
.form-field.is-success textarea {
  border-color: var(--color-success);
}

.form-field__message {
  color: var(--color-muted);
  min-height: 1lh;
}

.form-field.is-error .form-field__message {
  color: var(--color-error);
}

.job-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: minmax(0, 1fr);
}

.job-card,
.content-card,
.search-result-card {
  border-top: var(--rule-hair) solid var(--color-rule);
  padding-block: var(--space-lg);
}

.job-card__meta,
.job-card__facts {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.job-card__meta span + span::before {
  content: "•";
  margin-inline-end: var(--space-sm);
}

.job-card__title {
  font-size: var(--text-lg);
  margin-block: var(--space-sm);
}

.job-card__title a {
  text-decoration: none;
}

.job-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-block: 0 var(--space-md);
}

.job-card__facts div {
  display: grid;
  gap: var(--space-3xs);
}

.job-card__facts dt {
  font-weight: 600;
}

.job-card__facts dd {
  margin: 0;
}

.empty-state {
  background: var(--color-paper-2);
  border-radius: var(--radius-large);
  padding: var(--space-xl);
}

.button-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.job-single__terms {
  color: var(--color-muted);
  gap: var(--space-sm);
}

.job-single__terms .wp-block-post-terms {
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-round);
  padding: var(--space-xs) var(--space-sm);
}

.flexpro-form-wrap {
  background: var(--color-paper-2);
  border-radius: var(--radius-xl);
  margin-block: var(--space-2xl);
  padding: var(--space-lg);
}

.form-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: minmax(0, 1fr);
}

.form-field--wide {
  grid-column: 1 / -1;
}

.consent-field {
  align-items: start;
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: auto minmax(0, 1fr);
  margin-block: var(--space-lg) var(--space-sm);
}

.consent-field input {
  accent-color: var(--color-accent-dark);
  height: 22px;
  margin: var(--space-3xs) 0 0;
  width: 22px;
}

.form-disclaimer {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.form-notice {
  border: var(--rule-hair) solid currentColor;
  border-radius: var(--radius-medium);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
}

.form-notice--success {
  color: var(--color-success);
}

.form-notice--error {
  color: var(--color-error);
}

dialog {
  background: var(--color-paper);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-modal);
  color: var(--color-ink);
  inset: 0;
  margin: auto;
  max-height: min(86dvh, 780px);
  opacity: 0;
  padding: 0;
  position: fixed;
  transform: translateY(10px);
  transition:
    opacity var(--dur-short) var(--ease-out),
    transform var(--dur-short) var(--ease-out),
    display var(--dur-short) allow-discrete,
    overlay var(--dur-short) allow-discrete;
}

dialog[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  dialog[open] {
    opacity: 0;
    transform: translateY(10px);
  }
}

dialog::backdrop {
  background: var(--color-overlay);
}

.dialog-head,
.chat-dialog__head {
  align-items: start;
  display: flex;
  gap: var(--space-md);
  justify-content: space-between;
}

.dialog-head h2,
.chat-dialog__head h2 {
  font-size: var(--text-xl);
  margin: 0;
}

.dialog-kicker {
  color: var(--color-accent-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-xs);
  text-transform: uppercase;
}

.search-dialog {
  width: min(calc(100% - 2rem), 920px);
}

.search-dialog__inner {
  padding: var(--space-lg);
}

.global-search {
  margin-block: var(--space-lg);
}

.global-search__input {
  display: grid;
  gap: var(--space-xs);
  grid-template-columns: minmax(0, 1fr) auto;
}

.global-search__input input {
  font-size: var(--text-md);
}

.search-filters {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: minmax(0, 1fr);
  margin-top: var(--space-md);
}

.search-status {
  color: var(--color-muted);
  min-height: 1.6em;
}

.search-results {
  display: grid;
  max-height: 44dvh;
  overflow-y: auto;
}

.search-group h3 {
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  margin-block: var(--space-lg) var(--space-xs);
  text-transform: uppercase;
}

.search-result {
  border-top: var(--rule-hair) solid var(--color-rule);
  display: grid;
  gap: var(--space-3xs);
  min-height: 60px;
  padding: var(--space-sm);
  text-decoration: none;
}

.search-result[aria-selected="true"],
.search-result:hover {
  background: var(--color-paper-2);
}

.search-result small {
  color: var(--color-muted);
}

.search-result mark {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.popular-searches {
  border-top: var(--rule-hair) solid var(--color-rule);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
}

.popular-searches h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

.search-chip,
.chat-quick button {
  background: transparent;
  border: var(--rule-hair) solid var(--color-rule-strong);
  border-radius: var(--radius-round);
  color: var(--color-ink);
  min-height: 44px;
  padding: var(--space-xs) var(--space-md);
  white-space: nowrap;
}

.search-chip:hover,
.chat-quick button:hover {
  background: var(--color-paper-2);
}

.chat-launcher {
  align-items: center;
  background: var(--color-ink);
  border: var(--rule-hair) solid var(--color-ink);
  border-radius: var(--radius-round);
  bottom: max(var(--space-md), env(safe-area-inset-bottom));
  box-shadow: var(--shadow-modal);
  color: var(--color-paper);
  display: flex;
  font-weight: 600;
  gap: var(--space-xs);
  min-height: 48px;
  padding: var(--space-sm) var(--space-md);
  position: fixed;
  right: max(var(--space-md), env(safe-area-inset-right));
  white-space: nowrap;
  z-index: var(--z-toast);
}

.chat-launcher:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}

.chat-launcher__dot {
  background: var(--color-accent);
  border-radius: var(--radius-round);
  height: 8px;
  width: 8px;
}

.chat-dialog {
  width: min(calc(100% - 1rem), 520px);
}

.chat-dialog > * {
  margin-inline: var(--space-lg);
}

.chat-dialog__head {
  margin-top: var(--space-lg);
}

.chat-disclosure {
  background: var(--color-paper-2);
  border-radius: var(--radius-medium);
  color: var(--color-muted);
  font-size: var(--text-sm);
  padding: var(--space-sm);
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.chat-log {
  display: grid;
  gap: var(--space-sm);
  margin-block: var(--space-md);
  max-height: 32dvh;
  min-height: 80px;
  overflow-y: auto;
}

.chat-message {
  border-radius: var(--radius-medium);
  max-width: 88%;
  padding: var(--space-sm) var(--space-md);
}

.chat-message--user {
  background: var(--color-ink);
  color: var(--color-paper);
  justify-self: end;
}

.chat-message--assistant {
  background: var(--color-paper-2);
  color: var(--color-ink);
  justify-self: start;
}

.chat-message p {
  margin: 0;
}

.chat-message__links {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.chat-compose {
  border-top: var(--rule-hair) solid var(--color-rule);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-md);
}

.chat-compose > div {
  display: grid;
  gap: var(--space-xs);
  grid-template-columns: minmax(0, 1fr) auto;
}

.chat-handoff {
  background: var(--color-paper-2);
  border-radius: var(--radius-medium);
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
}

.chat-handoff[hidden] {
  display: none;
}

.site-footer {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: var(--space-3xl) var(--page-gutter) var(--space-xl);
}

.site-footer__inner {
  margin-inline: auto;
  max-width: var(--page-max);
}

.site-footer a,
.site-footer .footer-link-button {
  color: var(--color-paper);
}

.footer-statement {
  border-bottom: var(--rule-hair) solid var(--color-muted);
  display: grid;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.site-brand--footer span,
.site-brand--footer b {
  color: var(--color-paper);
}

.footer-statement > p {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.05;
  margin: 0;
  max-width: 18ch;
}

.footer-links {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: minmax(0, 1fr);
  padding-block: var(--space-xl);
}

.footer-links > div {
  align-content: start;
  display: grid;
  gap: var(--space-xs);
}

.footer-links h2 {
  color: var(--color-paper-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-xs);
  text-transform: uppercase;
}

.footer-links a {
  min-height: 32px;
  text-decoration: none;
}

.footer-links p {
  color: var(--color-paper-2);
  font-size: var(--text-sm);
  margin: 0;
}

.footer-meta {
  border-top: var(--rule-hair) solid var(--color-muted);
  color: var(--color-paper-2);
  display: flex;
  flex-direction: column;
  font-size: var(--text-sm);
  gap: var(--space-sm);
  padding-top: var(--space-lg);
}

.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-link-button {
  background: transparent;
  border: 0;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

@media (max-width: 24rem) {
  .site-header__inner {
    gap: var(--space-xs);
  }

  .site-brand b {
    display: none;
  }
}

@media (min-width: 40rem) {
  .audience-paths__grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .service-card--featured {
    grid-row: span 2;
  }

  .job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .fp-hero {
    min-height: clamp(640px, 78dvh, 850px);
    padding-block: var(--space-xl) var(--space-3xl);
  }

  .fp-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .fp-hero h1 {
    font-size: var(--text-display);
  }

  .fp-hero__media figure,
  .fp-hero__media img {
    min-height: 560px;
  }

  .audience-paths__grid {
    grid-template-columns: 1.18fr 0.82fr;
  }

  .path-card--candidate {
    margin-top: var(--space-xl);
  }

  .industry-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .industry-card:nth-child(1) {
    grid-column: span 7;
  }

  .industry-card:nth-child(2) {
    grid-column: span 5;
  }

  .industry-card:nth-child(3) {
    grid-column: span 4;
  }

  .industry-card:nth-child(4) {
    grid-column: span 8;
  }

  .process-list li {
    grid-template-columns: 5rem minmax(0, 0.8fr) minmax(0, 1fr);
  }

  .process-list span {
    grid-column: 3;
  }

  .job-filters {
    grid-template-columns: 1.25fr repeat(3, minmax(0, 0.75fr)) auto;
  }

  .job-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flexpro-form-wrap,
  .final-cta {
    padding: var(--space-2xl);
  }

  .footer-statement {
    align-items: end;
    grid-template-columns: 1fr 1.2fr;
  }

  .footer-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-meta {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 74rem) {
  .desktop-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .mobile-menu {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .path-card,
  .service-card,
  .industry-card,
  .job-card {
    transition: transform var(--dur-short) var(--ease-out);
  }

  .path-card:hover,
  .service-card:hover,
  .industry-card:hover,
  .job-card:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .fp-hero__copy {
    animation: hero-settle var(--dur-long) var(--ease-out) both;
  }

  .fp-hero__media {
    animation: hero-settle var(--dur-long) var(--ease-out) 80ms both;
  }

  @keyframes hero-settle {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 150ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
  }
}
