.people-form { --form-error: #d9a29a; }
/* Contact and Careers share the site's paper, navy, gold and photographic language. */
:is(.contact-page,.careers-page) main > .band { padding-block: 88px; }
:is(.contact-page,.careers-page) main > .band > .wrap > .rule { display: none; }
:is(.contact-page,.careers-page) .band .head { margin-bottom: 40px; }
:is(.contact-page,.careers-page) .band .d2 { font-size: clamp(40px,5vw,72px); line-height: 1.08; letter-spacing: -.045em; }
:is(.contact-page,.careers-page) .band .head__k { color: var(--gold-deep); font-size: 11px; letter-spacing: .14em; margin-bottom: 22px; }
:is(.contact-page,.careers-page) main > [id] { scroll-margin-top: 120px; }
:is(.contact-page,.careers-page) .band .tx2 { line-height: 1.65; }
.contact-page main > .contact-hero { padding-top: 165px; }
.contact-hero > .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px 7%; align-items: center; }
.contact-hero .head { grid-column: 1; grid-row: 1; margin: 0; align-self: end; }
.contact-hero .d1 { font-size: clamp(52px,5.5vw,82px); line-height: 1.06; letter-spacing: -.05em; }
.contact-hero .head__a { display: none; }
.contact-hero .gsplit { display: contents; }
.contact-hero .gsplit > div { grid-column: 1; grid-row: 2; align-self: start; }
.contact-hero .lede { font-size: 17px; line-height: 1.7; max-width: 42ch; }
.contact-hero .gsplit > figure { grid-column: 2; grid-row: 1 / 3; align-self: stretch; position: relative; min-height: 500px; overflow: hidden; }
.contact-hero figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.contact-hero figcaption { position: absolute; inset: auto 0 0; padding: 50px 26px 24px; margin: 0; color: var(--ivory); background: linear-gradient(transparent,var(--w8)); }
.contact-hero > .wrap > .between { grid-column: 1 / -1; margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--line-l); }
.contact-hero .between .sm { font-size: 13px; max-width: 62ch; }
.contact-hero [data-clock] { color: var(--gold-deep); font-size: 20px; }
.contact-page #markets { background: var(--ivory); }
.contact-page #markets [data-panel-in] { margin-top: 40px; }
.contact-page #markets [data-panel-in] > .gsplit { gap: 7%; align-items: start; }
.contact-page #markets [data-panel-in] .h3 { font-size: clamp(28px,3vw,42px); letter-spacing: -.04em; }
.contact-page #markets .rowlist .h5 { font-size: 15px; font-weight: 400; line-height: 1.6; }
.contact-page #markets .rowlist li { padding-block: 22px; }
.contact-page #markets [data-panel-in] figure img { width: 100%; aspect-ratio: 1.6; object-fit: cover; filter: none; }
.contact-page #markets [data-panel-in]:not([hidden]) { animation: people-panel-in .45s var(--ease) both; }
.country-choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.country-choices button { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 18px; font: inherit; font-size: 14px; background: transparent; color: var(--w7); border: 1px solid var(--line-l); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.country-choices img { width: 23px; height: 16px; object-fit: cover; }
.country-choices button[aria-pressed="true"] { background: var(--w7); color: var(--ivory); border-color: var(--w7); }
.country-choices button:hover { border-color: var(--gold-deep); }
.country-choices button:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.people-filter-source[hidden] { display: none; }

/* Fields keep their labels, with a restrained lift and an expanding gold underline. */
:is(.contact-page #message,.careers-page #apply) { background: var(--w8); color: var(--ivory); }
:is(.contact-page #message,.careers-page #apply) .head__k { color: var(--gold); }
:is(.contact-page #message,.careers-page #apply) > .wrap > .gsplit { grid-template-columns: minmax(0,1.25fr) minmax(0,.65fr); gap: 9%; align-items: start; }
:is(.contact-page,.careers-page) main form { margin-top: 32px; }
.people-form .field { position: relative; border: 0; background: var(--w7); isolation: isolate; }
.people-form .field > label { position: absolute; left: 18px; top: 26px; z-index: 2; margin: 0; color: var(--w1); font-size: 14px; font-weight: 400; line-height: 1.2; letter-spacing: 0; text-transform: none; pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease),color .25s; }
.people-form .field:is(:focus-within,.is-filled,.has-select) > label { transform: translateY(-13px) scale(.8); color: var(--gold); }
.people-form .field::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); pointer-events: none; }
.people-form .field:focus-within::after { transform: scaleX(1); }
.people-form .field :is(input,textarea,select,.sel__btn) { width: 100%; min-height: 76px; padding: 32px 18px 12px; border: 0; border-bottom: 1px solid var(--line-d); border-radius: 0; box-shadow: none; background: transparent; color: var(--ivory); font: inherit; font-size: 16px; line-height: 1.5; outline: none; }
.people-form .field textarea { min-height: 185px; resize: vertical; padding-top: 44px; }
.people-form .field:has(textarea) > label { transform: translateY(-13px) scale(.8); color: var(--gold); }
.people-form .field input:autofill { -webkit-text-fill-color: var(--ivory); box-shadow: 0 0 0 1000px var(--w7) inset; }
.people-form .field:has(input:autofill) > label { transform: translateY(-13px) scale(.8); }
.people-form .field .sel__btn { padding-right: 46px; text-transform: none; letter-spacing: 0; }
.people-form .field .sel__btn b { position: absolute; right: 18px; top: 33px; width: 16px; height: 16px; color: var(--gold); }
.people-form .field .sel__btn svg { position: static; width: 16px; height: 16px; }
.people-form .field .sel { position: static; }
.people-form .field .sel__list { border-color: var(--gold); background: var(--w7); }
.people-form .field:has(.sel[data-open]) { z-index: 5; }
.people-form .field [aria-invalid="true"] { border-bottom-color: var(--form-error); }
.people-form > .g2 { gap: 18px; }
.people-form .mt24 { margin-top: 18px; }
.people-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--gold); flex-shrink: 0; }
.people-form > label.grow { align-items: flex-start; flex-direction: row; flex-wrap: nowrap; gap: 12px; line-height: 1.5; }
.people-form > label.grow span { font-size: 12px; }
.people-form [type="submit"] { min-height: 52px; background: var(--gold); color: var(--w8); border-color: var(--gold); }
.people-form [type="submit"] span { color: var(--w8); }
.form-progress { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; padding-bottom: 12px; position: relative; color: var(--w1); font-size: 11px; letter-spacing: .03em; }
.form-progress::before,.form-progress::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--line-d); }
.form-progress::after { background: var(--gold); transform: scaleX(var(--form-progress,0)); transform-origin: left; transition: transform .4s var(--ease); }
.form-progress strong { font-weight: 400; color: var(--gold); }
.people-form [data-demo-note]:not([hidden]) { padding: 18px; border-left: 2px solid var(--gold); background: var(--w7); line-height: 1.6; }
.application-context { margin-bottom: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-d); color: var(--gold); font-size: 16px; }
.application-context[hidden] { display: none; }
.contact-page #message .rail { position: sticky; top: 135px; }
.contact-page #message .rail::before { content: ''; width: 62px; height: 82px; margin-bottom: 26px; background: url('../logo/senator-s-web.png') center/contain no-repeat; opacity: .7; }
.contact-page #message .rail li { padding: 26px 0; border-color: var(--line-d); }
.contact-page #message .rail .chip-n { display: none; }
.contact-page #message .rail .h5 { font-size: 23px; font-weight: 400; letter-spacing: -.03em; }
.contact-page #message .rail .sm { font-size: 14px; }

/* Careers reuses the clean, photographic market-card composition. */
.careers-page .hero__h1 { font-size: clamp(54px,6.4vw,92px); line-height: 1.04; max-width: 17ch; }
.careers-page .band--tight .d3 { font-size: clamp(30px,3.5vw,50px); line-height: 1.16; letter-spacing: -.04em; }
.careers-page #workplace { background: var(--ivory); color: var(--w8); }
.careers-page #workplace .stmt { font-size: clamp(24px,2.4vw,34px); line-height: 1.4; max-width: 52ch; }
.careers-page #workplace .cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 52px 32px; }
.careers-page #workplace .career-card { background: transparent; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--line-l); margin: 0; translate: none; }
.careers-page #workplace .career-card:hover { background: transparent; }
.careers-page #workplace .card__media { aspect-ratio: 1.65; margin-bottom: 22px; }
.careers-page #workplace .card__media img { filter: none; scale: 1; transform: none; translate: none; transition: scale .9s var(--ease); }
.careers-page #workplace .card__media::after { opacity: 0; }
.careers-page #workplace .card > :not(.card__media) { translate: none; transform: none; }
.careers-page #workplace .card .h4 { font-size: clamp(28px,3vw,40px); margin-top: 12px; line-height: 1.1; letter-spacing: -.04em; }
.careers-page #workplace .card .h4::after { display: none; }
.careers-page #workplace .card .sm { font-size: 14px; line-height: 1.65; margin-top: 15px; padding-right: 52px; }
.careers-page #workplace .card > .kick { font-size: 10px; letter-spacing: .09em; }
.careers-page #workplace .card__go { display: none; }
.career-card__arrow { position: absolute; right: 0; bottom: 24px; width: 42px; height: 42px; padding: 11px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); transition: background .4s,color .4s,rotate .5s var(--ease); }
@media(hover:hover) {
  .careers-page #workplace .career-card:hover img { scale: 1.04; }
  .careers-page #workplace .career-card:hover .career-card__arrow { background: var(--gold); color: var(--w8); rotate: -35deg; }
}
.careers-page #hire .mkx { padding-block: 30px; gap: 22px; }
.careers-page #hire .mkx__name { font-size: clamp(24px,2.6vw,36px); letter-spacing: -.035em; line-height: 1.2; }
.careers-page #hire .mkx__num { font-size: 52px; }
.careers-page #hire .mkx__p { font-size: 14px; }
.careers-page #roles { background: var(--ivory); }
.careers-page #roles > .wrap > .between { margin-bottom: 28px; }
.careers-page #roles .between > .grow { margin-left: auto; }
.careers-page [data-filter-count="roles"] { color: var(--gold-deep); font-size: 30px; letter-spacing: -.035em; margin-right: 8px; }
.careers-page .openings { display: block; }
.careers-page .openings > .opening { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 30px; padding: 30px 0; align-items: center; background: none; border-bottom: 1px solid var(--line-l); }
.careers-page .opening[hidden] { display: none !important; }
.opening__country { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 12px; }
.opening__country img { width: 22px; height: 15px; object-fit: cover; }
.careers-page .opening__meta { display: block; font-size: 10px; letter-spacing: .05em; line-height: 1.4; }
.careers-page .opening__title { font-size: clamp(23px,2.4vw,32px); line-height: 1.2; letter-spacing: -.025em; font-weight: 400; margin-top: 8px; }
.careers-page .opening__tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 300px; justify-content: flex-end; }
.careers-page .opening__tags li { padding: 7px 10px; background: transparent; border: 1px solid var(--line-l); font-size: 10px; line-height: 1.4; }
.careers-page .opening__tags .opening__tag--new { border-color: var(--gold); color: var(--gold-deep); }
.careers-page .opening__cta { min-height: 48px; border: 1px solid var(--gold-deep); padding: 14px 20px; }
.careers-page .opening__cta::after { content: '\2197'; margin-left: 16px; color: var(--gold-deep); }
.careers-page [data-filter-empty="roles"] > div { margin-top: 0; padding: 44px; background: var(--paper); }
.careers-page [data-filter-empty="roles"] .sq { display: none; }
.careers-page [data-filter-empty="roles"] .d3 { font-size: clamp(28px,3.5vw,48px); line-height: 1.15; }
.careers-page #apply figure { position: sticky; top: 132px; }
.careers-page #apply figure img { width: 100%; aspect-ratio: .85; object-fit: cover; filter: none; }
.careers-page #apply figcaption { color: var(--w1); font-size: 11px; line-height: 1.6; }
@keyframes people-panel-in { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media(max-width:1000px) {
  .contact-hero > .wrap { gap: 24px 36px; }
  .contact-hero .d1 { font-size: 54px; }
  .contact-hero .gsplit > figure { min-height: 480px; }
  :is(.contact-page #message,.careers-page #apply) > .wrap > .gsplit { grid-template-columns: minmax(0,1.4fr) minmax(0,.7fr); gap: 34px; }
  .people-form .g2 { grid-template-columns: 1fr; gap: 18px; }
  .careers-page .opening__tags { max-width: 190px; }
}
@media(max-width:700px) {
  :is(.contact-page,.careers-page) main > .band { padding-block: 62px; }
  .contact-page main > .contact-hero { padding-top: 136px; }
  .contact-hero > .wrap { display: block; }
  .contact-hero .d1 { font-size: clamp(44px,10.8vw,64px); }
  .contact-hero .gsplit { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; }
  .contact-hero .lede { font-size: 15px; }
  .contact-hero .gsplit > figure { min-height: 330px; width: 100%; }
  .contact-hero > .wrap > .between { display: grid; gap: 24px; margin-top: 28px; }
  .contact-page #markets [data-panel-in] > .gsplit { grid-template-columns: 1fr; gap: 30px; }
  .country-choices { gap: 8px; margin-bottom: 24px; }
  .country-choices button { padding: 10px 12px; font-size: 12px; min-height: 46px; gap: 7px; }
  :is(.contact-page #message,.careers-page #apply) > .wrap > .gsplit { grid-template-columns: 1fr; gap: 42px; }
  .contact-page #message .rail,.careers-page #apply figure { position: static; }
  .contact-page #message .rail::before { width: 44px; height: 58px; margin: 0; }
  .careers-page #workplace .cards { grid-template-columns: 1fr; gap: 34px; }
  .careers-page .openings > .opening { grid-template-columns: 1fr auto; gap: 18px; padding-block: 26px; }
  .careers-page .opening__main { grid-column: 1 / -1; }
  .careers-page .opening__tags { justify-content: flex-start; max-width: none; }
  .careers-page .opening__cta { padding: 12px; font-size: 10px; }
  .careers-page .opening__cta::after { margin-left: 8px; }
  .careers-page [data-filter-empty="roles"] > div { padding: 28px 22px; }
  .careers-page #apply figure img { aspect-ratio: 1.3; }
  .people-form .field > label { font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) {
  .contact-page #markets [data-panel-in]:not([hidden]) { animation: none; }
  .people-form .field > label,.people-form .field::after,.form-progress::after,.country-choices button,.career-card__arrow,.careers-page #workplace .card__media img { transition: none; }
  .careers-page #workplace .career-card:hover img { scale: 1; }
}

.careers-page .opening__cta > span {background:transparent;padding:0}
