/* Open Design exploration, adapted to TW's approved brand and live content. */
body.public-site .navlinks a { transition: color 160ms ease, border-color 160ms ease; }
body.public-site .return-link { border-color: #b4c3ca; }
body.public-site .button { font-weight: 700; }
body.public-site .text-link { text-decoration-thickness: 1px; }
body.public-site .text-link span { transition: transform 180ms ease; }
body.public-site .text-link:hover span { transform: translateX(3px); }
body.public-site .navlinks a:focus-visible { outline-offset: -3px; }
body.public-site [hidden] { display: none !important; }

.recruitment-home .recruitment-hero { display: block; padding: 0; background: #162d3a; color: #fff; }
.recruitment-home .recruitment-hero>.wrap { width: 100%; }
.recruitment-hero-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); grid-template-areas: 'copy feature' 'search search'; align-items: center; gap: 32px 64px; padding: 60px 0 0; }
.recruitment-hero-copy { grid-area: copy; }
.recruitment-feature { grid-area: feature; }
.recruitment-search { grid-area: search; }
body.public-site .recruitment-hero .eyebrow { color: #b2dce5; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
body.public-site .recruitment-hero h1 { color: #fff; font-size: clamp(40px,4.7vw,62px); font-weight: 700; line-height: 1.1; letter-spacing: -.045em; margin: 0 0 24px; }
.recruitment-hero h1 span { color: #9cdae5; }
body.public-site .recruitment-hero .lead { max-width: 570px; font-size: 18px; line-height: 1.7; color: #d6e0e5; margin-bottom: 0; }
.recruitment-feature { border: 1px solid #526975; border-top: 3px solid #9cdae5; padding: 28px; }
.recruitment-feature .feature-location { color: #c4d2d9; margin-bottom: 12px; font-size: 13px; }
body.public-site .recruitment-feature h2 { color: #fff; font-size: 25px; line-height: 1.3; margin-bottom: 16px; }
body.public-site .recruitment-feature .feature-package { color: #d6e0e5; font-size: 15px; margin-bottom: 18px; line-height: 1.6; }
body.public-site .recruitment-feature .text-link { color: #fff; font-size: 14px; border-top: 1px solid #526975; padding-top: 12px; width: 100%; justify-content: space-between; }
body.public-site .recruitment-feature .text-link:hover { color: #9cdae5; }
.recruitment-search { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) auto; gap: 24px; align-items: end; padding: 24px; background: #fff; color: var(--ink); border-radius: 3px; }
body.public-site .recruitment-search label { font-size: 13px; min-width: 0; }
body.public-site .recruitment-search input, body.public-site .recruitment-search select { width: 100%; margin: 8px 0 0; height: 50px; border-color: #abbcc4; font-size: 15px; }
body.public-site .recruitment-search .button { height: 50px; margin: 0; min-width: 155px; }
.recruitment-hero-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0 24px; }
body.public-site .recruitment-hero-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; color: #e0e9ed; font-size: 14px; min-height: 44px; text-decoration: none; }
body.public-site .recruitment-hero-links a:hover { color: #9cdae5; text-decoration: underline; }
.recruitment-hero a:focus-visible { outline-color: #9cdae5 !important; }
.recruitment-principles { background: #edf4f5; border-bottom: 1px solid #d9e4e8; }
.recruitment-principles .wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-block: 18px; }
.recruitment-principles span { font-size: 13px; color: #375562; display: flex; align-items: center; gap: 12px; }
.recruitment-principles span::before { content: '✓'; font-size: 14px; color: #00677b; }
body.public-site .home-openings { padding-block: 60px 64px; scroll-margin-top: 24px; }
body.public-site .home-openings .sectionhead { margin-bottom: 28px; }
body.public-site .home-openings h2, body.public-site .home-journey h2, body.public-site .home-support h2 { font-size: clamp(28px,3vw,36px); letter-spacing: -.035em; }
body.public-site .recruitment-home .eyebrow { letter-spacing: .06em; }
.home-role-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.home-role-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.home-role-filters button { display: inline-flex; align-items: center; gap: 12px; border: 1px solid #b9c7ce; background: #fff; color: var(--ink); border-radius: 3px; padding: 10px 16px; min-height: 44px; font-size: 14px; cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.home-role-filters button span { font-size: 12px; opacity: .8; }
.home-role-filters button:hover { background: #edf4f5; }
.home-role-filters button[aria-pressed=true] { background: #162d3a; border-color: #162d3a; color: #fff; }
body.public-site .home-role-toolbar .fine { margin: 0; font-size: 13px; }
.home-vacancy-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.home-vacancy { display: flex; flex-direction: column; min-width: 0; border: 1px solid #d3dee3; border-radius: 3px; padding: 24px; background: #fff; transition: border-color 180ms ease; }
.home-vacancy:hover { border-color: #508392; }
.home-vacancy-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.home-vacancy .role-discipline { font-size: 12px; font-weight: 600; color: #00677b; }
.home-role-arrow { color: #6d8792; font-size: 20px; line-height: 1; }
body.public-site .home-vacancy h3 { font-size: 21px; line-height: 1.35; margin: 0 0 12px; letter-spacing: -.025em; }
.home-vacancy h3 a { text-decoration: none; }
.home-vacancy h3 a:hover { text-decoration: underline; }
body.public-site .home-role-location { font-size: 12px; color: #52616a; margin: 0 0 20px; }
.home-role-location span { margin-inline: 5px; }
body.public-site .home-role-summary { font-size: 14px; line-height: 1.7; color: #52616a; margin-bottom: 18px; }
body.public-site .home-role-pay { padding: 0 0 14px; border: 0; }
body.public-site .home-role-pay summary { font-size: 13px; min-height: 38px; display: list-item; text-decoration: underline; text-underline-offset: 4px; }
body.public-site .home-role-pay p { font-size: 14px; margin: 4px 0 0; }
body.public-site .home-vacancy>.text-link { margin-top: auto; padding-top: 14px; border-top: 1px solid #e0e7ea; justify-content: space-between; font-size: 13px; text-decoration: none; gap: 8px; }
body.public-site .home-vacancy>.text-link:hover { text-decoration: underline; }
body.public-site .home-availability-note { font-size: 13px; color: #52616a; margin: 24px 0 0; max-width: 80ch; }
.home-journey { background: #f3f5f6; border-block: 1px solid #e1e7ea; }
.home-journey>.wrap { padding-block: 56px; }
.home-journey-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.home-journey-steps li { padding-top: 22px; border-top: 1px solid #b7c9d1; }
.home-journey-steps li>span { color: #00677b; font-size: 13px; font-weight: 600; display: block; margin-bottom: 20px; }
body.public-site .home-journey-steps h3 { font-size: 20px; margin-bottom: 12px; }
body.public-site .home-journey-steps p { font-size: 15px; color: #52616a; margin: 0; max-width: 34ch; }
body.public-site .home-founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0,1.25fr); gap: 80px; align-items: center; padding-block: 72px; }
.home-founder figure { margin: 0; max-width: 350px; }
.home-founder img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 28%; border-radius: 3px; }
.home-founder figcaption { font-weight: 600; font-size: 15px; margin-top: 16px; }
.home-founder figcaption span { display: block; font-size: 12px; color: #52616a; font-weight: 400; margin-top: 4px; }
body.public-site .home-founder h2 { font-size: clamp(28px,3vw,38px); line-height: 1.2; margin-bottom: 24px; letter-spacing: -.035em; }
body.public-site .home-founder .lead { font-size: 19px; color: var(--ink); }
body.public-site .home-founder p { max-width: 50ch; color: #52616a; }
.home-founder .actions { display: flex; flex-wrap: wrap; }
.home-founder .actions>.text-link { font-size: 14px; }
.home-employers .agency-employer-grid { padding-block: 64px; }
body.public-site .home-employers h2 { font-size: clamp(28px,3vw,38px); line-height: 1.22; }
body.public-site .home-employers .eyebrow { color: #b2dce5; }
body.public-site .home-support { padding-block: 64px; }
.home-support-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.home-support-grid article { padding: 28px; border: 1px solid #d3dee3; border-radius: 3px; }
.home-service-index { display: block; font-size: 12px; font-weight: 600; color: #00677b; margin-bottom: 24px; }
body.public-site .home-support-grid h3 { font-size: 23px; }
body.public-site .home-support-grid p { font-size: 15px; color: #52616a; max-width: 46ch; }
.home-support-grid .text-link { font-size: 14px !important; }

/* The jobs directory uses the same restrained card system as the homepage. */
body.recruitment-jobs .pagehero { max-width: none; padding-block: 28px 36px; }
body.recruitment-jobs .pagehero p { max-width: 64ch; }
body.recruitment-jobs .interview-callout { margin-block: 0 28px; padding: 24px 28px; background: #edf4f5; border: 1px solid #ccdce2; border-left: 3px solid #00677b; }
body.recruitment-jobs .interview-callout h2 { font-size: 23px; }
body.recruitment-jobs .interview-callout p { font-size: 15px; }
body.recruitment-jobs .filters { background: #f3f5f6; border: 1px solid #d9dfe2; border-radius: 3px; padding: 24px; margin: 0 0 20px; }
body.recruitment-jobs .job { border: 1px solid #d3dee3; border-radius: 3px; margin-bottom: 16px; padding: 26px; }
body.recruitment-jobs .job:hover { border-color: #508392; }
body.recruitment-jobs .job:last-of-type { margin-bottom: 24px; }

@media (min-width:701px) and (prefers-reduced-motion:no-preference) {
  .recruitment-hero-copy { animation: recruitment-arrive 450ms ease-out both; }
  .recruitment-feature { animation: recruitment-arrive 550ms ease-out both; }
  @keyframes recruitment-arrive { from { opacity: .65; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width:1100px) {
  .recruitment-hero-grid { gap: 32px 40px; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
  .recruitment-feature { padding: 24px; }
  .home-vacancy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.public-site .home-founder { gap: 48px; }
}
@media (max-width:850px) {
  .recruitment-hero-grid { padding-top: 44px; gap: 28px; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
  body.public-site .recruitment-hero h1 { font-size: 42px; }
  body.public-site .recruitment-hero .lead { font-size: 16px; }
  body.public-site .recruitment-feature h2 { font-size: 22px; }
  .recruitment-search { gap: 16px; padding: 20px; }
  body.public-site .recruitment-search .button { min-width: 125px; padding-inline: 14px; }
  .recruitment-principles .wrap { gap: 16px; }
  .recruitment-principles span { font-size: 12px; align-items: start; }
  .home-journey-steps { gap: 24px; }
}
@media (max-width:700px) {
  .recruitment-hero-grid { grid-template-columns: 1fr; grid-template-areas: 'copy' 'search' 'feature'; padding: 36px 0 0; gap: 24px; }
  body.public-site .recruitment-hero .eyebrow { font-size: 11px; }
  body.public-site .recruitment-hero h1 { font-size: clamp(36px,8vw,48px); line-height: 1.12; margin-bottom: 20px; }
  body.public-site .recruitment-hero .lead { font-size: 17px; }
  .recruitment-feature { padding: 20px; }
  body.public-site .recruitment-feature h2 { font-size: 23px; margin-bottom: 12px; }
  .recruitment-feature .feature-location { font-size: 12px; }
  body.public-site .recruitment-feature .eyebrow { margin-bottom: 12px; }
  body.public-site .recruitment-feature .feature-package { margin-bottom: 8px; }
  .recruitment-search { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  body.public-site .recruitment-search input, body.public-site .recruitment-search select { font-size: 16px; }
  body.public-site .recruitment-search .button { width: 100%; }
  .recruitment-hero-links { display: grid; gap: 0; padding-block: 12px 20px; }
  body.public-site .recruitment-hero-links a { font-size: 13px; }
  .recruitment-principles .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px; }
  .recruitment-principles span { font-size: 12px; }
  body.public-site .home-openings { padding-block: 40px; }
  body.public-site .home-openings .sectionhead { margin-bottom: 20px; }
  .home-role-toolbar { display: block; }
  body.public-site .home-role-toolbar .fine { margin-top: 14px; }
  .home-role-filters { gap: 6px; }
  .home-role-filters button { font-size: 13px; padding: 9px 12px; gap: 8px; }
  .home-vacancy-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-vacancy { padding: 24px; }
  body.public-site .home-vacancy h3 { font-size: 22px; }
  body.public-site .home-role-summary { font-size: 15px; }
  body.public-site .home-vacancy>.text-link { font-size: 14px; }
  .home-journey>.wrap { padding-block: 40px; }
  .home-journey-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .home-journey-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 8px 16px; padding-top: 20px; }
  .home-journey-steps li>span { grid-row: 1 / span 2; padding-top: 2px; margin: 0; }
  body.public-site .home-journey-steps h3 { margin: 0; font-size: 20px; }
  body.public-site .home-journey-steps p { max-width: none; }
  body.public-site .home-founder { grid-template-columns: 1fr; gap: 32px; padding-block: 44px; }
  .home-founder figure { max-width: 320px; }
  body.public-site .home-founder h2 { font-size: 30px; }
  body.public-site .home-founder .lead { font-size: 18px; }
  .home-founder .actions { gap: 12px; }
  .home-employers .agency-employer-grid { padding-block: 40px; }
  body.public-site .home-support { padding-block: 40px; }
  .home-support-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-support-grid article { padding: 24px; }
  body.recruitment-jobs .job { padding: 24px; }
  body.recruitment-jobs .interview-callout { padding: 24px; }
}
@media (max-width:380px) {
  .home-role-filters button { gap: 5px; padding-inline: 9px; font-size: 12px; }
  .home-vacancy { padding: 20px; }
}
@media (prefers-reduced-motion:reduce) {
  .recruitment-hero-copy, .recruitment-feature { animation: none; }
  body.public-site .text-link span, .home-vacancy, .home-role-filters button, body.public-site .navlinks a { transition: none; }
  body.public-site .text-link:hover span { transform: none; }
}
@media print {
  .recruitment-home .recruitment-hero { background: #fff; color: #162d3a; }
  body.public-site .recruitment-hero h1, .recruitment-hero h1 span, body.public-site .recruitment-hero .lead { color: #162d3a; }
  .recruitment-feature, .recruitment-search, .recruitment-hero-links, .home-role-filters, .recruitment-principles { display: none; }
  .recruitment-hero-grid, body.public-site .home-founder { display: block; }
  .home-vacancy { break-inside: avoid; }
}
