:root {
  --navy: #0b182d;
  --navy-2: #132540;
  --gold: #f6c667;
  --gold-dark: #b7892f;
  --paper: #fafaf7;
  --ink: #101c2f;
  --body: #596273;
  --line: #e3e6eb;
  --container: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: "Avenir LT Pro", "Avenir Next", Avenir, "Manrope", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 16px; background: #fff; color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--navy); color: #fff; }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { display: block; width: 74px; height: 74px; object-fit: contain; }
.header-apply, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .84rem; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.header-apply { padding: 10px 18px; }
.button { min-height: 56px; padding: 15px 27px; box-shadow: 0 14px 30px rgba(215, 169, 46, .22); }
.header-apply:hover, .button:hover { background: #ffda73; transform: translateY(-2px); }
.header-apply:focus-visible, .button:focus-visible { outline: 3px solid rgba(246, 198, 103, .72); outline-offset: 4px; }

.job-hero { padding: 86px 0 76px; color: #fff; background: linear-gradient(117deg, var(--navy) 0%, var(--navy-2) 67%, #1c3152 100%); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--gold); font-size: .73rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 2px; background: currentColor; }
h1, h2, p { margin-top: 0; }
h1, h2 { color: var(--navy); letter-spacing: -.055em; }
h1 { max-width: 750px; margin-bottom: 17px; color: #fff; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .94; }
h1 em { color: var(--gold); font-family: "Tomboy LP", "Segoe Print", "Bradley Hand", cursive; font-weight: 500; }
.location { margin-bottom: 22px; color: #d2dae6; font-weight: 600; }
.location span { margin-inline: 7px; color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tags span { padding: 5px 11px; border: 1px solid rgba(246, 198, 103, .5); border-radius: 999px; color: var(--gold); font-size: .78rem; font-weight: 700; }

.job-content { padding: 52px 0 68px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(42px, 7vw, 96px); align-items: start; }
article > section { margin-bottom: 39px; }
h2 { margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.08; }
p { margin-bottom: 16px; }
ul { margin: 0; padding-left: 23px; }
li { margin: 9px 0; padding-left: 4px; }
li::marker { color: var(--gold-dark); }
.compensation { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 14px 35px rgba(11, 24, 45, .05); }
.compensation p { margin-bottom: 3px; color: var(--gold-dark); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.compensation strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.045em; line-height: 1.2; }
.compensation small { font-size: .58em; font-weight: 700; }
.compensation span { display: block; font-size: .88rem; }
.apply-card { position: sticky; top: 28px; padding: 27px; border-radius: 18px; background: var(--navy); color: #cbd4e0; }
.apply-card p { margin-bottom: 7px; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.apply-card strong { display: block; margin-bottom: 22px; color: #fff; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.035em; }
.button-block { width: 100%; }
.apply-card small { display: block; margin-top: 16px; font-size: .75rem; line-height: 1.5; text-align: center; }
footer { padding: 26px 0; background: var(--navy); color: #aab7c7; font-size: .83rem; text-align: center; }

@media (max-width: 720px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .header-inner { min-height: 76px; }
  .brand img { width: 60px; height: 60px; }
  .job-hero { padding: 58px 0 55px; }
  .layout { grid-template-columns: 1fr; gap: 4px; }
  .apply-card { position: static; }
}

@media (max-width: 410px) {
  .header-apply { padding: 9px 13px; font-size: .76rem; }
  h1 { font-size: 2.8rem; }
}
