/* Hallmark v2.0.0 · theme: custom · idea: compact careers directory · shape: bold heading above editorial tiles · axes: light/grotesk-heavy/warm · entry: bank application */
/* critique: the direct application leads, and all role guides remain available through compact secondary links. */
/* Hallmark · waive 38iii · one burnt-orange word in the homepage heading · the accent separates the occupational focus at a glance. */
@font-face {
  font-family: Onest;
  src: url("onest-cyr.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Onest;
  src: url("onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --canvas: #f6f5f3;
  --paper: #fffefc;
  --warm: #f4f1ed;
  --ink: #191714;
  --muted: #58534e;
  --line: #dfdbd4;
  --accent: #ff9a67;
  --accent-hover: #ffb389;
  --accent-ink: #ad390b;
  --tint: #fbefe6;
  --inverse: #fffaf4;
  --inverse-muted: #e0d4c8;
  --focus: #a53d18;
  --focus-dark: #ffc9a9;
  --gutter: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: clamp(0px, 3vw, 40px) auto;
  width: min(100% - 48px, 1140px);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  font: 400 1rem/1.58 Onest, system-ui, sans-serif;
}
html { background: var(--canvas); }
img { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: .22em; }
a:hover { color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.042em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.85rem); font-weight: 760; }
p { text-wrap: pretty; }
.shell { width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 16px; top: 16px; transform: translateY(-180%); padding: 8px; background: var(--paper); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.masthead { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: .4rem 1rem; }
.brand { display: inline-flex; align-items: center; gap: .62rem; color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 760; letter-spacing: -.04em; white-space: nowrap; }
.masthead nav { display: flex; gap: clamp(.85rem, 2.6vw, 2rem); flex-wrap: wrap; }
.masthead nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--accent-ink); text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: .85rem;
  padding: .68rem .94rem;
  color: var(--ink);
  background: var(--accent);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 760;
  line-height: 1.25;
}
.button:hover { color: var(--ink); background: var(--accent-hover); }
.button:active { transform: translateY(1px); }
.button span { font-size: 1.15em; }
.header-button, .secondary { color: var(--ink); border-color: var(--line); background: transparent; font-weight: 600; }
.header-button { min-height: 42px; font-size: .88rem; }
.header-button:hover, .secondary:hover { background: var(--tint); }
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.6rem, 6.3vw, 5.3rem); font-weight: 760; letter-spacing: -.068em; text-wrap: wrap; }
.hero h1 span { color: var(--accent-ink); }
.hero-copy > p { margin-top: .95rem; max-width: 52ch; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero-grid { margin-top: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; }
.featured { min-height: 272px; grid-row: span 2; padding: clamp(20px, 3vw, 34px); border-radius: 16px; display: flex; flex-direction: column; align-items: flex-start; background: var(--ink); color: var(--inverse); }
.featured :focus-visible { outline-color: var(--focus-dark); }
.featured .feature-meta { margin-bottom: auto; color: var(--accent); font-size: .88rem; font-weight: 600; }
.featured h2 { margin-top: 1.2rem; }
.featured > p:not(.feature-meta) { margin-top: .5rem; color: var(--inverse-muted); }
.featured .button { margin-top: 1.2rem; }
.hero-link { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .45rem; padding: clamp(17px, 2.8vw, 30px) 2.65rem clamp(17px, 2.8vw, 30px) clamp(17px, 2.8vw, 30px); border: 1px solid var(--line); border-radius: 16px; background: var(--warm); color: var(--ink); text-decoration: none; }
.hero-link:last-child { background: var(--paper); }
.hero-link:hover { background: var(--tint); }
.hero-link strong { font-size: clamp(1.2rem, 2.25vw, 1.8rem); line-height: 1.16; letter-spacing: -.035em; font-weight: 760; }
.hero-link span { font-size: .94rem; color: var(--muted); }
.hero-link b { position: absolute; right: 1.12rem; top: 50%; transform: translateY(-50%); color: var(--accent-ink); }
.section { padding-block: clamp(36px, 5.5vw, 72px); }
.job-section { color: var(--ink); background: var(--warm); border-block: 1px solid var(--line); scroll-margin-top: 1rem; }
.jobs { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; background: var(--line); }
.job { display: flex; flex-direction: column; gap: .85rem; padding: clamp(16px, 2.4vw, 28px); background: var(--paper); }
.job-type { margin-bottom: .35rem; color: var(--muted); font-size: .81rem; font-weight: 600; }
.job h3 { font-size: clamp(1.28rem, 2.4vw, 1.85rem); }
.job > p { color: var(--muted); font-size: .95rem; }
.job-actions { margin-top: auto; }
.guides, .related, .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 1.45rem 2rem; align-items: start; }
.guide-list, .questions { border-top: 1px solid var(--line); }
.guide-list a { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding-block: 1rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.guide-list a:hover strong { color: var(--accent-ink); text-decoration: underline; }
.guide-list strong { font-size: clamp(1.03rem, 1.9vw, 1.19rem); line-height: 1.25; }
.guide-list span { color: var(--muted); grid-row: 2; }
.guide-list b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--accent-ink); }
.faq-section { background: var(--warm); }
details { border-bottom: 1px solid var(--line); }
summary { display: block; cursor: pointer; list-style: none; position: relative; padding: 1rem 2rem 1rem 0; font-size: 1.04rem; font-weight: 760; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 1rem; color: var(--accent-ink); }
details[open] summary::after { content: "−"; }
details p { max-width: 64ch; padding: 0 1.5rem 1rem 0; color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding-block: 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; align-items: start; }
.footer p { padding-top: .45rem; color: var(--muted); font-size: .88rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem .95rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; color: var(--ink); }
.article-top { background: var(--warm); border-bottom: 1px solid var(--line); padding-block: clamp(24px, 4vw, 44px) clamp(36px, 6vw, 64px); }
.crumbs { display: flex; align-items: baseline; flex-wrap: wrap; gap: .28rem .6rem; color: var(--muted); font-size: .88rem; }
.article-top h1 { max-width: 20ch; margin-top: 1rem; font-size: clamp(2.35rem, 5.6vw, 4.65rem); font-weight: 760; letter-spacing: -.062em; text-wrap: wrap; }
.article-top p { max-width: 57ch; margin: .95rem 0 1.3rem; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.15rem); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .39fr); gap: 2rem clamp(2rem, 6vw, 6rem); padding-top: clamp(36px, 6vw, 64px); }
.article-body { max-width: 70ch; }
.article-body section + section { margin-top: 1.85rem; }
.article-body h2, .article-aside h2 { font-size: clamp(1.27rem, 2.5vw, 2rem); text-wrap: wrap; }
.article-body p, .article-aside p { margin-top: .6rem; }
.article-aside { align-self: start; padding: 1.1rem; background: var(--warm); border-radius: .7rem; }
.article-aside .button { margin-top: .92rem; }
.sample { padding: clamp(16px, 2.5vw, 28px); margin-top: 1.85rem; background: var(--tint); border-left: .22rem solid var(--accent-ink); }
@media (max-width: 850px) {
  .masthead { flex-wrap: wrap; padding-top: .5rem; }
  .masthead nav { flex-basis: 100%; order: 2; border-top: 1px solid var(--line); }
  .header-button { margin-left: auto; }
  .desktop-break { display: none; }
  .jobs { grid-template-columns: 1fr; }
  .job { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: start; gap: .5rem 1rem; }
  .job-actions { grid-column: 2; }
}
@media (max-width: 600px) {
  body { margin: 0; width: 100%; border: 0; border-radius: 0; }
  .masthead { min-height: 0; padding-top: .7rem; gap: .55rem; }
  .header-button { display: none; }
  .hero-grid, .guides, .related, .faq, .article-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.3rem, 10.4vw, 3.6rem); }
  .featured { grid-row: auto; min-height: 214px; }
  .hero-link { padding-block: 16px; }
  .job { grid-template-columns: 1fr; gap: .6rem; }
  .job-actions { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:active { transform: none; }
}
