:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  color: #152132;
  background: #f3f4f6;
  --navy: #101a29;
  --red: #9c303b;
  --muted: #4c596a;
  --hairline: #dce0e5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: #792631; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2268bf; outline-offset: 3px; }
.skip { position: absolute; top: .5rem; left: .5rem; background: white; padding: .7rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead {
  background: var(--navy); color: #fff; min-height: 84px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .75rem max(1.125rem, calc((100vw - 1060px) / 2));
  border-bottom: 3px solid var(--red);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; color: white; text-decoration: none; font-weight: 750; letter-spacing: .13em; line-height: 1.1; }
.brand img { object-fit: contain; }
.brand small { font-size: .68em; letter-spacing: .23em; }
.back { color: #e5e8ee; font-size: .9rem; text-align: right; }
.shell { width: min(1060px, calc(100% - 2.25rem)); margin-inline: auto; }
.hero { padding: clamp(2rem, 5vw, 4rem) 0 1.9rem; }
.hero-photo { display: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.7rem, 7vw, 5.1rem); line-height: 1.04; letter-spacing: -.06em; }
.hero p, .panel p, aside p { margin-top: .65rem; color: var(--muted); }
.notice { background: #faecec; border-left: 4px solid var(--red); padding: .9rem 1rem; margin-bottom: 1.35rem; }
.notice strong { display: block; }
.layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(180px, 1fr); align-items: start; gap: clamp(1rem, 4vw, 3.2rem); }
.panel { padding: clamp(1.15rem, 4vw, 2.3rem); background: white; border: 1px solid var(--hairline); border-radius: 12px; min-width: 0; }
.panel h2 { font-size: 1.55rem; letter-spacing: -.035em; }
.panel h3 { margin-top: 1.15rem; font-size: 1.08rem; }
aside { padding: .9rem 0 0; font-size: .94rem; }
aside h2 { font-size: 1rem; line-height: 1.3; }
.preview-links { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .55rem; }
form { margin-top: 1.2rem; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 1.1rem; }
legend { padding: 0; margin: 0 0 .8rem; font-weight: 720; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { min-width: 0; display: grid; align-content: start; gap: .3rem; }
.field.wide { grid-column: 1 / -1; }
label { font-weight: 620; }
input, select, textarea {
  width: 100%; min-width: 0; min-height: 46px; border: 1px solid #8994a2; border-radius: 6px;
  background: #fff; color: var(--navy); font: inherit; padding: .58rem .67rem;
}
textarea { resize: vertical; min-height: 6rem; }
input[type="checkbox"] { margin: .20em 0 0; width: 20px; min-height: 20px; accent-color: var(--red); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: .75rem; margin: .9rem 0; font-weight: 475; }
.field small { color: var(--muted); }
.signing { border-top: 1px solid var(--hairline); padding-top: 1rem; margin-top: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.15rem; align-items: start; }
button, .button {
  appearance: none; cursor: pointer; background: var(--navy); color: white; text-decoration: none;
  border: 1px solid var(--navy); border-radius: 6px; font: inherit; font-weight: 680;
  min-height: 45px; padding: .58rem 1rem; text-align: center;
}
button:hover, .button:hover { background: #26364b; }
button:disabled { opacity: .55; cursor: default; }
.secondary { color: var(--navy); border-color: #abb3be; background: #fff; }
.secondary:hover { background: #eef1f4; }
article { margin: 1rem 0; border: 1px solid var(--hairline); border-radius: 8px; padding: 1rem clamp(.9rem, 3vw, 1.4rem); overflow-wrap: anywhere; }
article p { white-space: pre-wrap; }
.records { padding: 0; list-style: none; }
.records li { padding: .85rem 0; border-bottom: 1px solid var(--hairline); overflow-wrap: anywhere; }
dl { display: grid; gap: .3rem; }
dt { font-weight: 700; }
dd { margin: 0 0 .5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
#status.error { color: #90253a; font-weight: 650; }
#status:empty { display: none; }
.footer { border-top: 1px solid var(--hairline); margin-top: 3rem; padding: 1.1rem 0 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; color: var(--muted); font-size: .85rem; }
.careers-branded {
  --graphite: #171518;
  --paper: #f3f0ec;
  --brand-red: #b12c3c;
  --backdrop-depth: 22rem;
  --hairline: #ded8d2;
  --muted: #524d51;
  color: #252126;
  background: linear-gradient(to bottom, var(--graphite) 0 var(--backdrop-depth), var(--paper) var(--backdrop-depth));
}
.careers-branded .shell { width: min(1120px, calc(100% - 3rem)); }
.careers-branded .masthead {
  min-height: 78px;
  padding-inline: max(1.5rem, calc((100vw - 1120px) / 2));
  background: var(--graphite);
  border-bottom: 1px solid #3b3439;
}
.careers-branded .back {
  color: #f3e9e7;
  text-decoration: none;
  text-underline-offset: .25em;
}
.careers-branded .back:hover { text-decoration: underline; }
.careers-branded .hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  min-height: 410px;
  padding: 0;
  margin: 1.65rem 0 clamp(1.8rem, 3.5vw, 3.1rem);
  overflow: hidden;
  border: 1px solid #40343b;
  border-radius: 18px;
  background: #1b171b;
  color: #fff9f3;
  box-shadow: 0 .9rem 2.6rem #241a2526;
}
.careers-branded .hero-copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 4.3vw, 4.2rem);
  background: radial-gradient(ellipse at 24% 76%, #371b26, transparent 73%);
}
.careers-branded .hero-copy::before {
  position: absolute;
  z-index: -1;
  inset: 1rem 10% 1rem -4%;
  content: '';
  background: url('/careers/logo.webp') center / contain no-repeat;
  opacity: .11;
  pointer-events: none;
}
.careers-branded h1, .careers-branded .panel h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}
.careers-branded h1 {
  max-width: 8ch;
  font-size: clamp(3.9rem, 6.25vw, 6.1rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.careers-branded .hero p {
  max-width: 30ch;
  margin-top: 1.15rem;
  color: #f0e2de;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}
.careers-branded .hero-photo {
  display: block;
  background:
    linear-gradient(90deg, #1b171b 0, #1b171b3b 9%, transparent 29%),
    linear-gradient(to top, #1712184f, transparent 56%),
    url('/careers/careers-hero.webp') 53% center / cover no-repeat;
}
.careers-branded :is(.hero-apply, button[type='submit'], .primary-action) {
  background: var(--brand-red);
  border-color: var(--brand-red);
  min-height: 49px;
  border-radius: 8px;
  color: #fff;
  padding: .71rem 1.15rem;
}
.careers-branded .hero-apply {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.35rem;
}

.careers-branded .hero-policy {
  margin-top: 1rem;
  padding-block: .25rem;
  color: #fff9f3;
  text-underline-offset: .25em;
}
.careers-branded :is(.hero-apply, button[type='submit'], .primary-action):hover { background: #942333; border-color: #942333; }
.careers-branded .layout { grid-template-columns: minmax(0, 1fr) minmax(15rem, 17.25rem); gap: clamp(1.25rem, 3vw, 2.1rem); }
.careers-branded .panel {
  padding: clamp(1.45rem, 4vw, 2.65rem);
  border-radius: 17px;
  box-shadow: 0 .32rem 1.2rem #271c290a;
  scroll-margin-top: 1.25rem;
}
.careers-branded .panel h2 { font-size: clamp(1.85rem, 3.3vw, 2.65rem); line-height: 1.08; letter-spacing: -.034em; }
.careers-branded .posting-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .8rem;
  margin: .95rem 0 1rem;
  padding-left: .75rem;
  border-left: 3px solid var(--brand-red);
}
.careers-branded .posting-meta h3, .careers-branded .posting-meta p { margin: 0; font-size: .95rem; }
.careers-branded input:not([type='checkbox']), .careers-branded select, .careers-branded textarea {
  min-height: 51px;
  border: 1px solid #8d8487;
  border-radius: 8px;
  background: #fdfcfb;
}
.careers-branded form { margin-top: 1.55rem; }
.careers-branded aside {
  padding: 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: #faf7f3;
  overflow-wrap: anywhere;
}
.careers-branded aside h2 { font-size: 1.04rem; }
.careers-branded #support a { color: #822633; font-weight: 650; }
.careers-document { --backdrop-depth: 14.5rem; }
.careers-document .hero {
  grid-template-columns: minmax(0, 64fr) minmax(0, 36fr);
  min-height: 252px;
  margin-bottom: 2rem;
}
.careers-document .hero-copy { padding: clamp(1.85rem, 4vw, 3.25rem); }
.careers-document .hero-copy::before {
  inset: .75rem 5% .75rem 28%;
  background-position: right center;
}
.careers-document h1 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.043em;
}
.careers-document .hero p { max-width: 49ch; margin-top: .9rem; }
.careers-document .hero-photo { background-position: center, center, 57% center; }
.careers-document .document-text {
  margin: 1.1rem 0 1.25rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  border-radius: 12px;
  background: #faf7f3;
}
.careers-document .document-text p { color: #423c41; line-height: 1.68; }
.careers-document .document-text h3 { margin-top: 1.3rem; line-height: 1.3; }
.careers-document .document-text h3:first-child { margin-top: 0; }
.careers-document .document-text .document-version { margin-top: 0; color: #822633; font-size: .86rem; font-weight: 700; }
.careers-document .policy-copy { margin-top: .85rem; }
.careers-document .w9-instructions {
  margin-top: 1.75rem;
  padding: 1.15rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #faf7f3;
}
.careers-document .w9-instructions h3 { margin-top: 0; }
.careers-document .w9-instructions a { display: inline-block; margin-top: .6rem; font-weight: 650; }
.careers-document .w9-instructions .w9-error { color: #90253a; font-weight: 650; }
.careers-document .w9-instructions [role="status"]:empty { display: none; }
.careers-document .packet-download { margin-top: 1.2rem; }
@media (max-width: 845px) {
  .careers-branded .layout { grid-template-columns: minmax(0, 1fr); }
  .careers-home .hero { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 360px; }
  .careers-home h1 { font-size: clamp(3.1rem, 8vw, 4.7rem); }
}
@media (max-width: 670px) {
  .layout, .fields { grid-template-columns: 1fr; }
  .layout { gap: 1.2rem; }
  .hero { padding-top: 2rem; }
  .careers-branded .shell { width: calc(100% - 2rem); }
  .careers-branded .masthead { min-height: 69px; padding-inline: 1rem; }
  .careers-branded .masthead img { width: 42px; height: 45px; }
  .careers-branded .masthead .brand { gap: .44rem; font-size: .8rem; }
  .careers-branded .back { font-size: .78rem; }
  .careers-branded .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-top: 1rem; border-radius: 14px; }
  .careers-branded .hero-copy { padding: 1.55rem 1.35rem 1.4rem; }
  .careers-branded .hero-copy::before { inset: .55rem 5% .55rem 35%; }
  .careers-branded h1 { max-width: none; font-size: clamp(2.55rem, 10.3vw, 3.7rem); }
  .careers-branded .hero p { margin-top: .75rem; }
  .careers-branded .hero-apply { margin-top: 1rem; }
  .careers-branded .hero-photo {
    aspect-ratio: 1.72;
    background:
      linear-gradient(to bottom, #1b171b7d, transparent 22%),
      url('/careers/careers-hero.webp') center 55% / cover no-repeat;
  }
  .careers-document { --backdrop-depth: 11rem; }
  .careers-document .hero { margin-bottom: 1.25rem; }
  .careers-document .hero-copy { padding: 1.6rem 1.35rem; }
  .careers-document h1 { max-width: 18ch; font-size: clamp(2.35rem, 8.9vw, 3.3rem); }
  .careers-document .hero-photo { display: none; }
}
