:root {
  --yellow: #fcb814;
  --yellow-soft: #fef0cf;
  --yellow-wash: #fef7e6;
  --black: #000000;
  --charcoal: #3f3c39;
  --white: #ffffff;
  --off-white: #fafafa;
  --grey: #e8e6e1;
  --grey-text: #4d4b48;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --section-pad: 130px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ---------- Shared title system ---------- */
.eyebrow {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  letter-spacing: 5px; font-size: 15px; color: var(--black);
}
.section-head { text-align: center; margin-bottom: 60px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-title {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  letter-spacing: 6px; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.1; color: var(--black);
}
.section-head p.intro { margin-top: 22px; color: var(--grey-text); font-size: 17px; }
.divider { width: 40px; height: 3px; background: var(--yellow); border: 0; margin: 22px auto 0; }
.divider.dark { background: var(--black); }
.divider.left { margin-left: 0; }
.section-cta { text-align: center; margin-top: 52px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--serif); font-weight: 500; font-size: 16px;
  letter-spacing: 2px; text-transform: uppercase; background: var(--yellow); color: var(--black);
  border: 1.5px solid var(--yellow); border-radius: 4px; padding: 15px 34px; cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover { background: var(--black); color: var(--yellow); border-color: var(--black); }
.btn.small { padding: 11px 26px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--yellow); border-color: var(--black); }
.btn.on-dark.ghost { color: var(--white); border-color: var(--yellow); }
.btn.on-dark.ghost:hover { background: var(--yellow); color: var(--black); }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 30%, var(--yellow-wash) 100%);
  border-bottom: 1px solid var(--grey);
}
.nav-bar { display: flex; align-items: center; gap: 30px; padding: 24px 0; }
.wordmark { flex: 0 0 auto; display: inline-flex; align-items: center; }
.wordmark img { height: 60px; width: auto; display: block; }
nav.menu { flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; }
nav.menu a {
  font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; white-space: nowrap; position: relative; padding: 6px 0; color: var(--charcoal);
}
nav.menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--yellow); transition: width .3s ease; }
nav.menu a:hover::after, nav.menu a.active::after { width: 100%; }

/* Hamburger toggle (hidden on desktop, shown on mobile) */
.nav-toggle {
  display: none; flex: 0 0 auto; width: 46px; height: 46px; margin-left: auto;
  border: 0; background: transparent; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle .bar { width: 26px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-bar.open .nav-toggle .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-bar.open .nav-toggle .bar:nth-child(2) { opacity: 0; }
.nav-bar.open .nav-toggle .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { position: relative; background: var(--yellow-wash); overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 clamp(52px, 6vw, 84px); text-align: center; }
.page-hero .blob { position: absolute; filter: blur(34px); z-index: 0; pointer-events: none; }
.page-hero .blob-1 { top: -150px; right: -80px; width: 480px; opacity: .42; }
.page-hero .blob-2 { bottom: -180px; left: -120px; width: 420px; opacity: .34; }
.page-hero .inner { position: relative; z-index: 2; }
.page-hero .eyebrow { display: inline-block; margin-bottom: 16px; }
.page-hero h1 { font-family: var(--serif); font-weight: 300; text-transform: uppercase; letter-spacing: 6px; font-size: clamp(36px, 5.4vw, 64px); color: var(--black); line-height: 1.04; }
.page-hero p { max-width: 640px; margin: 22px auto 0; color: var(--grey-text); font-size: 18px; }

/* ---------- Hero (image fades into the copy) ---------- */
.hero { position: relative; background: var(--yellow-wash); overflow: hidden; display: flex; align-items: center; min-height: 600px; }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-left: 14px; }
.hero-copy { max-width: 600px; padding: clamp(70px, 8vw, 116px) 0; }
.hero-copy .eyebrow { display: inline-block; color: var(--black); }
.hero-copy .hero-rule { width: 48px; height: 2px; background: var(--yellow); border: 0; margin: 15px 0 28px; }
.hero-copy h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.04; letter-spacing: 0.5px; color: var(--black); }
.hero-copy h1 .hl { position: relative; white-space: nowrap; }
.hero-copy h1 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 8px; height: 13px; background: var(--yellow); opacity: .85; z-index: -1; }
.hero-copy p.lede { margin: 28px 0 36px; font-size: 18px; color: var(--grey-text); max-width: 432px; }
#home .hero-copy p.lede { white-space: nowrap; max-width: none; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo-bleed { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: 1; }
.hero-photo-bleed img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 32%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 22%, #000 46%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 22%, #000 46%);
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.09) translate(-1.2%, -1.2%); } }

/* ---------- Jobs hero: match Hot Talent hero dimensions ---------- */
.hero.jobs-hero { min-height: 460px; }
.hero.jobs-hero .hero-copy { padding: 44px 0; }
.hero.jobs-hero .hero-photo-bleed { width: 68%; }
.hero.jobs-hero .hero-copy p.lede { white-space: nowrap; }
.hero.jobs-hero .hero-copy p.lede .mbr { display: none; }
.hero-img-ladies { display: none; }

/* ---------- Stat strip ---------- */
.stats {
  background: var(--off-white);
  color: var(--charcoal);
}
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 56px; padding-bottom: 56px; align-items: start; }
.stat { text-align: center; display: flex; flex-direction: column; align-items: center; }
.stat .num { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 30px; line-height: 1.2; color: #fcb814; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; white-space: nowrap; }
.stat .lbl { margin-top: 12px; font-family: "Montserrat", sans-serif; font-weight: 400; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey-text); }

/* ---------- About ---------- */
.about { padding: var(--section-pad) 0; background: var(--white); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; column-gap: 36px; align-items: center; }
.about-head { grid-column: 2; grid-row: 1; }
.about-photo { position: relative; align-self: center; aspect-ratio: 3 / 2; width: 100%; grid-column: 1; grid-row: 1 / span 2; }
.about-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 78%, rgba(0,0,0,0.7) 90%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 78%, rgba(0,0,0,0.7) 90%, transparent 100%);
}
.about-copy .eyebrow { display: block; }
.about-copy { grid-column: 2; grid-row: 2; }
.about-head .divider.left { margin-bottom: 0; }
.about-copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.12; margin: 18px 0 24px; color: var(--black); }
.about-copy p { color: var(--grey-text); margin-bottom: 18px; font-size: 17px; }
.about-copy .btn { margin-top: 16px; }

/* ---------- Services ---------- */
.services { padding: var(--section-pad) 0; background: var(--off-white); }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.svc-card {
  background: var(--white); border: 1px solid var(--yellow); border-radius: 6px; padding: 40px 30px;
  text-align: center; transition: box-shadow .35s ease, transform .35s ease;
  display: flex; flex-direction: column;
}
.svc-card:hover { box-shadow: 0 26px 50px -22px rgba(252,184,20,0.55); transform: translateY(-6px); }
.svc-card .icon-circle { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--black); }
.svc-card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: 0.5px; margin-bottom: 12px; color: var(--black); min-height: 62px; display: flex; align-items: center; justify-content: center; }
.svc-card p { font-family: "Montserrat", sans-serif; color: var(--grey-text); font-size: 14px; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.svc-card .link { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; border-bottom: 2px solid var(--yellow); padding-bottom: 3px; align-self: center; }
.svc-card .link:hover { color: var(--yellow); }

/* ---------- Team ---------- */
.team {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse 620px 440px at top left, var(--yellow-soft) 0%, transparent 62%),
    radial-gradient(ellipse 620px 440px at top right, var(--yellow-soft) 0%, transparent 62%),
    radial-gradient(ellipse 620px 440px at bottom left, var(--yellow-soft) 0%, transparent 62%),
    radial-gradient(ellipse 620px 440px at bottom right, var(--yellow-soft) 0%, transparent 62%),
    #ffffff;
}
.team-carousel { position: relative; }
.team-viewport { overflow: hidden; }
.team-arrow { display: none; }
.team-grid { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; transition: transform .6s cubic-bezier(.6,.01,.2,1); }
.member { text-align: left; flex: 0 0 25%; width: 25%; box-sizing: border-box; padding: 0 15px; }
.team-dots { display: flex; justify-content: center; gap: 9px; margin-top: 34px; }
.team-dots button { width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer; border: none; background: var(--grey); transition: background .25s ease, transform .25s ease; }
.team-dots button:hover { background: #cbc8c0; }
.team-dots button.active { background: var(--yellow); transform: scale(1.35); }
.member .card {
  position: relative;
  aspect-ratio: 5 / 8;
  border-radius: 12px 72px 12px 72px;
  overflow: hidden;
  background: var(--yellow);
  box-shadow: 0 22px 44px -24px rgba(252, 184, 20, .85);
  transition: transform .5s ease, box-shadow .5s ease;
}
.member:hover .card { transform: translateY(-6px); box-shadow: 0 30px 54px -22px rgba(252, 184, 20, .95); }
.member .watermark {
  position: absolute; right: 8px; bottom: 70px; z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 600; font-size: 52px;
  letter-spacing: 3px; color: rgba(0, 0, 0, .10);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.member .photo { position: absolute; inset: 0; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s ease; filter: grayscale(.08) contrast(1.02); }
.member:hover .photo img { transform: scale(1.05); }
.member .photo img.zoom-stacey { transform: scale(1.16); transform-origin: center top; }
.member:hover .photo img.zoom-stacey { transform: scale(1.22); transform-origin: center top; }
.member .card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44%; z-index: 1;
  background: linear-gradient(to top, var(--yellow) 8%, rgba(252, 184, 20, .72) 30%, rgba(252, 184, 20, 0) 100%);
  pointer-events: none;
}
.member .caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 20px 22px; }
.member .caption h4 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.04; color: #ffffff; text-shadow: 0 1px 4px rgba(0, 0, 0, .28); }
.member .caption .role { font-size: 11px; line-height: 1.5; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, .92); font-weight: 500; margin-top: 6px; min-height: 34px; text-shadow: 0 1px 3px rgba(0, 0, 0, .26); }

/* ---------- Hot Talent ---------- */
.hot { padding: var(--section-pad) 0; background: var(--white); overflow: hidden; }
.hot .section-title, .hot .intro { color: var(--black); }
.hot .intro { opacity: 0.8; }
.scroller { display: flex; gap: 26px; overflow-x: auto; padding: 6px 40px 26px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.scroller::-webkit-scrollbar { display: none; }
.talent-card { flex: 0 0 auto; width: 320px; scroll-snap-align: center; background: var(--white); border-radius: 8px; padding: 32px; box-shadow: 0 22px 46px -28px rgba(0,0,0,0.4); display: flex; flex-direction: column; }
.talent-card .ref { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey-text); }
.talent-card h4 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--black); margin: 6px 0 4px; }
.talent-card .meta { font-size: 14px; color: var(--grey-text); margin-bottom: 18px; }
.talent-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.talent-card .tags span { font-size: 12px; letter-spacing: 0.5px; padding: 5px 12px; border: 1px solid var(--grey); border-radius: 100px; color: var(--charcoal); }
.talent-card .avail { font-size: 13px; font-weight: 500; color: var(--charcoal); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.talent-card .avail .pip { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.talent-card .btn { margin-top: auto; }

/* Hot Talent: full grid layout (dedicated page) */
.talent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.talent-grid .talent-card { width: auto; border: 1px solid var(--grey); box-shadow: none; transition: box-shadow .35s ease, transform .35s ease; }
.talent-grid .talent-card:hover { box-shadow: 0 22px 46px -28px rgba(0,0,0,0.25); transform: translateY(-5px); }

/* ---------- Jobs ---------- */
.jobs { padding: var(--section-pad) 0; background: var(--off-white); }
.jobs { padding-top: 60px; }
.job-list { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--grey); }
.job { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr auto; gap: 24px; align-items: center; padding: 26px 16px; border-bottom: 1px solid var(--grey); transition: background .25s ease, padding-left .25s ease; }t .25s ease; }
.job:hover { background: var(--yellow-wash); padding-left: 26px; }
.job .title { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--black); }
.job .title .meta { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.job .title .posted { font-family: var(--sans); font-weight: 400; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-text); position: relative; padding-left: 14px; }
.job .title .posted::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--grey); }
.job .title .type { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-top: 4px; }
.job .title .meta .type { margin-top: 0; }
.job .cell { font-size: 14px; color: var(--grey-text); letter-spacing: 0.5px; }
.job .cell .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--charcoal); margin-bottom: 2px; }
.job .apply { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; background: var(--yellow); color: var(--black); border-radius: 4px; padding: 9px 18px; align-self: start; transition: background .25s ease, box-shadow .25s ease; }
.job .apply:hover { color: var(--black); box-shadow: 0 8px 18px -10px rgba(252,184,20,.9); }
.jobs .foot { text-align: center; margin-top: 50px; }

/* Jobs search + toolbar + filter panel (dedicated page) */
.job-search { max-width: 1040px; margin: 0 auto 22px; display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.js-field { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--grey); border-radius: 6px; padding: 0 16px; transition: border-color .2s ease; }
.js-field:focus-within { border-color: var(--yellow); }
.js-field svg { width: 18px; height: 18px; color: var(--grey-text); flex-shrink: 0; }
.js-field.js-keyword { flex: 1 1 320px; }
.js-field.js-loc { flex: 0 1 220px; }
.js-field input, .js-field select { border: 0; background: transparent; font-family: var(--sans); font-size: 15px; color: var(--charcoal); padding: 15px 0; width: 100%; outline: none; cursor: text; }
.js-field.js-loc select { cursor: pointer; }
.job-search .btn { flex: 0 0 auto; padding: 14px 34px; }

.job-toolbar { max-width: 1040px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.job-count { font-family: var(--sans); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-text); }
.jobs .job-count { padding-left: 16px; }
.talent-section .job-count { padding-left: 32px; }
.job-count strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--black); letter-spacing: 0; }
.job-tools { display: flex; align-items: center; gap: 12px; }
.job-tool-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 22px; border: 1px solid var(--grey); background: var(--white); color: var(--black); border-radius: 6px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.job-tool-btn svg { width: 17px; height: 17px; }
.job-tool-btn:hover { border-color: var(--yellow); }
.job-tool-btn[aria-expanded="true"] { background: var(--yellow); border-color: var(--yellow); }
.filter-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--black); color: var(--yellow); font-size: 11px; letter-spacing: 0; }
.job-sort { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-text); }
.job-sort select { font-family: var(--sans); font-size: 13px; letter-spacing: 1px; color: var(--black); border: 1px solid var(--grey); border-radius: 6px; padding: 11px 14px; background: var(--white); cursor: pointer; transition: border-color .2s ease; }
.job-sort select:hover, .job-sort select:focus { border-color: var(--yellow); outline: none; }

.filter-panel { max-width: 1040px; margin: 0 auto 30px; background: var(--white); border: 1px solid var(--grey); border-radius: 10px; padding: 28px 30px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 26px 30px; }
.filter-panel[hidden] { display: none; }
.job-search { scroll-margin-top: 130px; }

/* ---------- Hot Talent cover hero (matches home hero) ---------- */
.page-hero.has-cover { background: var(--yellow-wash); text-align: left; padding: 0; display: flex; align-items: center; min-height: 460px; }
.page-hero.has-cover .inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; padding-left: 14px; padding-right: 40px; padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(56px, 7vw, 92px); }
.page-hero.has-cover .eyebrow { display: inline-block; color: var(--black); margin-bottom: 0; }
.page-hero.has-cover .hero-rule { width: 48px; height: 2px; background: var(--yellow); border: 0; margin: 15px 0 24px; }
.page-hero.has-cover h1 { font-family: var(--serif); font-weight: 300; text-transform: none; letter-spacing: 0.5px; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.04; margin: 0; max-width: none; white-space: nowrap; }
.page-hero.has-cover h1 .hl { position: relative; white-space: nowrap; }
.page-hero.has-cover h1 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 8px; height: 13px; background: var(--yellow); opacity: .85; z-index: -1; }
.page-hero.has-cover p { font-family: "Montserrat", sans-serif; max-width: 432px; margin: 24px 0 0; color: var(--grey-text); font-size: 14px; }
.page-hero.has-cover .hero-actions { margin-top: 34px; }

/* Talent listing section (Hot Talent) */
.talent-section { padding-top: 60px; }
.talent-section .section-head { max-width: 880px; }
#talentFilterPanel { grid-template-columns: repeat(5, 1fr); }
.talent-section .job-toolbar, .talent-section #talentFilterPanel, .talent-section .job-empty { max-width: none; }
.page-hero.has-cover .hero-photo-bleed { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; z-index: 1; }
.page-hero.has-cover .hero-photo-bleed img {
  width: 100%; height: 100%; object-fit: cover; object-position: 82% center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 22%, #000 46%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 22%, #000 46%);
  animation: kenburns 22s ease-in-out infinite alternate;
}

/* ---------- Pager ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 17px; line-height: 1; color: var(--black);
  background: var(--white); border: 1px solid var(--grey); border-radius: 6px;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.page-btn:hover { border-color: var(--yellow); background: var(--yellow-wash); }
.page-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); font-weight: 600; }
.page-btn.page-arrow { font-size: 20px; }
.filter-panel .filter-group h5 { font-family: var(--sans); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--charcoal); margin-bottom: 14px; }
.filter-panel label { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14.5px; color: var(--charcoal); padding: 6px 0; cursor: pointer; }
.filter-panel label input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--grey); border-radius: 4px; cursor: pointer; flex-shrink: 0; position: relative; transition: border-color .15s ease, background .15s ease; }
.filter-panel label input:hover { border-color: var(--yellow); }
.filter-panel label input:checked { background: var(--yellow); border-color: var(--yellow); }
.filter-panel label input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--black); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.filter-foot { grid-column: 1 / -1; border-top: 1px solid var(--grey); padding-top: 18px; display: flex; justify-content: flex-end; }
.filter-foot .link { font-family: var(--sans); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--black); border: 0; background: none; cursor: pointer; border-bottom: 2px solid var(--yellow); padding: 0 0 3px; }
.filter-foot .link:hover { color: var(--yellow); }
.job-empty { max-width: 1040px; margin: 40px auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--grey-text); }

/* ---------- Social Responsibility ---------- */
.social { padding: 64px 0 var(--section-pad); background: var(--white); }
.social-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.social-copy .eyebrow { display: block; }
.social-copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.14; margin: 18px 0 64px; color: var(--black); }
.social-copy p { color: var(--grey-text); font-size: 17px; margin-bottom: 18px; }
.pillars { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; }
.pillar .dot { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow-wash); border: 1px solid var(--yellow); display: flex; align-items: center; justify-content: center; color: var(--black); }
.pillar h4 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--black); }
.pillar p { color: var(--grey-text); font-size: 15px; margin: 2px 0 0; }
.social-photo { aspect-ratio: 5 / 4; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.3); }
.social-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillars-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; }
.pillars-row .pillar { padding-top: 24px; border-top: 2px solid var(--yellow); }

/* ---------- Kids slideshow (full-bleed, faded) ---------- */
.kids-show { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: var(--off-white); }
.kids-bg { position: absolute; inset: 0; z-index: 0; }
.kids-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.kids-slide.active { opacity: 0.58; }
.kids-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(250,250,248,0.42) 0%, rgba(250,250,248,0.12) 45%, rgba(250,250,248,0.42) 100%); pointer-events: none; }
.kids-inner { position: relative; z-index: 2; width: 100%; text-align: center; padding: 90px 40px; }
.kids-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 8px; }
.kids-arrow {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--black); border: 1px solid var(--grey);
  font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}
.kids-arrow:hover { background: var(--yellow); border-color: var(--yellow); }
.kids-dots { display: flex; justify-content: center; gap: 10px; }
.kids-dots button { width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer; border: none; background: rgba(0,0,0,.22); transition: background .25s ease, transform .25s ease; }
.kids-dots button:hover { background: rgba(0,0,0,.4); }
.kids-dots button.active { background: var(--yellow); transform: scale(1.35); }

/* Initiative cards (dedicated page) */
.initiatives { padding: var(--section-pad) 0 56px; background: var(--off-white); }
.init-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.init-card { background: var(--white); border: 1px solid var(--grey); border-top: 4px solid var(--yellow); border-radius: 6px; padding: 38px 32px; }
.init-card .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow-wash); border: 1px solid var(--yellow); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--black); }
.init-card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--black); margin-bottom: 12px; }
.init-card p { color: var(--grey-text); font-size: 15px; }

/* ---------- Reviews (rolling carousel) ---------- */
.reviews {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}
.review-carousel {
  position: relative; max-width: 1040px; margin: 0 auto; padding: 36px 90px 34px;
  background: linear-gradient(160deg, #ffffff 0%, var(--yellow-wash) 100%);
  border: 1px solid var(--yellow-soft); border-radius: 14px;
  box-shadow: 0 30px 70px -40px rgba(252, 184, 20, .55);
  overflow: hidden;
}
.review-carousel::before {
  content: "\201C"; position: absolute; top: -34px; left: 20px; z-index: 0;
  font-family: var(--serif); font-size: 230px; line-height: 1;
  color: var(--yellow); opacity: .10; pointer-events: none;
}
.review-carousel::after {
  content: "\201D"; position: absolute; bottom: -120px; right: 20px; z-index: 0;
  font-family: var(--serif); font-size: 230px; line-height: 1;
  color: var(--yellow); opacity: .10; pointer-events: none;
}
.review-viewport { overflow: hidden; position: relative; z-index: 1; }
.review-track { display: flex; transition: transform .7s cubic-bezier(.6, .01, .2, 1); }
.review {
  flex: 0 0 100%; min-width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 8px 10px;
}
.review .quote-mark { font-family: var(--serif); font-size: 48px; line-height: 0.5; color: var(--yellow); margin-bottom: 12px; }
.review blockquote { font-family: var(--serif); font-style: normal; font-weight: 300; font-size: 20px; line-height: 1.45; color: var(--charcoal); margin: 0 0 20px; max-width: 820px; text-wrap: pretty; }
.review figcaption { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.review figcaption .name { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--black); position: relative; padding-bottom: 11px; }
.review figcaption .name::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 26px; height: 3px; background: var(--yellow); border-radius: 2px; }
.review figcaption .role { font-style: italic; font-size: 13.5px; color: var(--grey-text); }
.rev-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--black); border: 1px solid var(--yellow-soft);
  font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -8px rgba(252, 184, 20, .6);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.rev-arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.rev-arrow.prev { left: 14px; }
.rev-arrow.next { right: 14px; }
.review-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; position: relative; z-index: 1; }
.review-dots button {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer;
  border: none; background: #e2ddd0; transition: background .25s ease, transform .25s ease;
}
.review-dots button:hover { background: #d8c98f; }
.review-dots button.active { background: var(--yellow); transform: scale(1.35); }

/* ---------- Blogs ---------- */
.blogs { padding: var(--section-pad) 0; background: var(--white); }
.edit-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.edit-bar .label { font-family: var(--serif); text-transform: uppercase; letter-spacing: 4px; font-size: 15px; }
.edit-nav { display: flex; gap: 12px; }
.arrow-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--yellow); background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--black); transition: background .3s ease; }
.arrow-btn:hover { background: var(--yellow); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.post .post-img { aspect-ratio: 16 / 11; overflow: hidden; border-radius: 6px; margin-bottom: 22px; }
.post .post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.post:hover .post-img img { transform: scale(1.05); }
.post .cat { font-family: var(--sans); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--yellow); font-weight: 500; margin-bottom: 10px; }
.post h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.2; margin-bottom: 12px; color: var(--black); }
.post p { color: var(--grey-text); font-size: 15px; margin-bottom: 16px; }
.read-more { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; border-bottom: 2px solid var(--yellow); padding-bottom: 3px; }
.read-more:hover { color: var(--yellow); }

/* Featured blog (dedicated page) */
.feature-post { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; margin-bottom: 80px; }
.feature-post .f-img { aspect-ratio: 16 / 11; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.3); }
.feature-post .f-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-post .cat { font-family: var(--sans); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--yellow); font-weight: 500; margin-bottom: 14px; }
.feature-post h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; color: var(--black); margin-bottom: 18px; }
.feature-post p { color: var(--grey-text); font-size: 15px; margin-bottom: 24px; }

/* ---------- Salary Survey (unpublished until launch) ---------- */
.salary { padding: var(--section-pad) 0; background: var(--black); color: var(--white); }
.salary .section-title, .salary .intro { color: var(--white); }
.salary .salary-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.salary .intro { color: rgba(255,255,255,0.72); }
.salary .survey-form { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.salary input { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.25); color: var(--white); padding: 15px 20px; border-radius: 4px; font-family: var(--sans); font-size: 15px; min-width: 300px; }
.salary input::placeholder { color: rgba(255,255,255,0.5); }
.badge-soon { display: inline-block; background: var(--yellow); color: var(--black); font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; }

/* ---------- Salary Survey page ---------- */
.page-hero.salary-hero .hero-photo-bleed img { object-position: 60% center; }
.salary-page { padding: var(--section-pad) 0; background: var(--white); }
.salary-page .wrap { max-width: 1240px; }
.sal-block { max-width: none; margin: 0 auto; }
.sal-block + .sal-block { margin-top: 76px; }
.sal-block .section-head { margin-bottom: 34px; }
.sal-lead { font-family: var(--sans); font-size: 16px; line-height: 1.78; color: var(--grey-text); text-align: center; }
.sal-lead + .sal-lead { margin-top: 18px; }
.sal-lead strong { color: var(--black); font-weight: 600; }
.sal-intro-list { list-style: none; margin: 30px auto 0; max-width: 620px; }
.sal-intro-list li { position: relative; padding-left: 26px; margin-bottom: 13px; font-family: var(--sans); font-size: 15px; color: var(--grey-text); line-height: 1.6; }
.sal-intro-list li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; }

/* Survey sources panel */
.sal-sources { background: var(--off-white); width: 100vw; margin-left: calc(50% - 50vw); margin-top: 72px; padding: 76px 0 82px; }
.sources-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sal-sources .sources-title { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: .5px; color: var(--black); text-align: center; }
.sal-sources .divider { margin: 18px auto 56px; }
.sources-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 52px 44px; text-align: left; }
.sources-grid .pillar { grid-column: span 4; padding-top: 0; align-items: flex-start; }
.sources-grid .pillar:nth-child(4) { grid-column: 3 / span 4; }
.sources-grid .pillar:nth-child(5) { grid-column: 8 / span 4; }
.sources-grid .pillar p { font-family: var(--sans); color: var(--grey-text); font-size: 15px; line-height: 1.6; margin: 4px 0 0; }

/* Experience level cards */
.exp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 4px; }
.exp-card { background: var(--white); border: 1px solid var(--grey); border-top: 3px solid var(--yellow); border-radius: 6px; padding: 30px 22px; text-align: center; transition: box-shadow .35s ease, transform .35s ease; }
.exp-card:hover { box-shadow: 0 18px 40px rgba(252,184,20,0.16); transform: translateY(-4px); }
.exp-card .lvl { font-family: var(--serif); font-size: 25px; font-weight: 500; color: var(--black); margin-bottom: 10px; }
.exp-card .band { display: none; }
.exp-card .yrs { font-family: var(--sans); font-size: 13.5px; color: var(--grey-text); line-height: 1.55; }

/* Salary notes */.sal-notes { background: var(--off-white); width: 100vw; margin-left: calc(50% - 50vw); border: 0; border-radius: 0; padding: 56px 40px 58px; margin-top: 40px; }
.sal-notes h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: .5px; color: var(--black); text-align: center; margin-bottom: 4px; }
.sal-notes p.sub { font-family: var(--sans); font-size: 13px; color: var(--grey-text); text-align: center; margin-bottom: 16px; }
.sal-chips { display: flex; flex-wrap: nowrap; gap: 8px 10px; justify-content: center; }
.sal-chips span { font-family: var(--sans); font-size: 12px; color: var(--grey-text); background: var(--white); border: 0; border-radius: 40px; padding: 6px 14px; }
.sal-notes .ctc-note { text-align: center; font-family: var(--sans); font-size: 13.5px; color: var(--grey-text); margin-top: 24px; }
.sal-notes .ctc-note strong { color: var(--black); }

/* Category filter toolbar + tables */
.sal-tables { max-width: 1040px; margin: 0 auto; }
.sal-tables .section-title { white-space: nowrap; }
.sal-tables .section-head { max-width: none; }
.sal-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.sal-tab { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--charcoal); background: var(--white); border: 1px solid var(--grey); border-radius: 100px; padding: 10px 20px; cursor: pointer; transition: border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease; }
.sal-tab:hover { border-color: var(--yellow); color: var(--black); }
.sal-tab.active { background: var(--yellow-wash); border-color: var(--yellow); color: var(--black); box-shadow: none; }
.sal-tables .sal-toolbar { margin-top: 44px; }
.sal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; padding-bottom: 0; }
.sal-count { font-family: var(--sans); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-text); }
.sal-count strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--black); letter-spacing: 0; }
.sal-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sal-select { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-text); }
.sal-select select { font-family: var(--sans); font-size: 13px; letter-spacing: .6px; color: var(--black); border: 1px solid var(--grey); border-radius: 6px; padding: 11px 32px 11px 14px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.5' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right 13px center; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sal-select select:hover, .sal-select select:focus { border-color: var(--yellow); outline: none; }
.sal-cat { display: none; }
.sal-cat.active { display: block; animation: salFade .4s ease; }
@keyframes salFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sal-cat h3, .sal-cat .cat-rule { display: none; }
.sal-table-wrap { overflow-x: auto; }
.sal-table { width: 100%; border-collapse: collapse; }
.sal-table thead th { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--charcoal); text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--grey); white-space: nowrap; }
.sal-table thead th:first-child { padding-left: 0; }
.sal-table thead th:first-child, .sal-table td.role { width: 46%; }
.sal-table thead th:nth-child(2), .sal-table td:nth-child(2) { width: 27%; }
.sal-table td { font-family: var(--sans); font-size: 14px; letter-spacing: .5px; color: var(--grey-text); padding: 24px 20px; border-bottom: 1px solid var(--grey); vertical-align: middle; }
.sal-table td.role { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--black); position: relative; padding-left: 0; transition: padding-left .25s ease; }
.sal-table td.role::before { content: none; }
.sal-table td.role .role-sub { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-top: 7px; }
.sal-filter-panel { grid-template-columns: 2fr 1fr; }
.sal-filter-panel .filter-group:first-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-content: start; }
.sal-filter-panel .filter-group:first-child h5 { grid-column: 1 / -1; }
.sal-search { margin-top: 40px; }
.sal-results { margin-top: 10px; overflow-x: auto; }
.exp-tag { display: inline-block; font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: .5px; text-transform: none; color: var(--grey-text); }
.sal-table thead th:last-child { text-align: right; }
.sal-table td.pay { white-space: nowrap; text-align: right; }
.pay-num { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: .5px; color: var(--grey-text); white-space: nowrap; }
.sal-table tbody tr { transition: background .25s ease; }
.sal-table tbody tr:hover { background: var(--yellow); }
.sal-table tbody tr:hover td.role .role-sub { color: #fff; }
.sal-table tbody tr:hover td.role { padding-left: 30px; }
.sal-foot { font-family: var(--sans); font-size: 12.5px; color: var(--grey-text); text-align: center; margin-top: 22px; font-style: italic; }

@media (max-width: 768px) {
  .exp-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .exp-card { padding: 24px 16px; }
  .exp-card .lvl { font-size: 21px; }
  .sal-block + .sal-block { margin-top: 56px; }
  .sal-notes { padding: 40px 22px 42px; }
  .sal-chips { flex-wrap: wrap; }
  .sal-lead { font-size: 14.5px; }
  .sal-intro-list li { font-size: 13.5px; }
  .sal-sources { padding: 44px 0 48px; margin-top: 44px; }
  .sources-inner { padding: 0 22px; }
  .sal-sources .sources-title { font-size: 22px; }
  .sal-notes h3 { font-size: 22px; }
  .sal-sources .divider { margin: 16px auto 36px; }
  .sources-grid { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin: 0 auto; }
  .sources-grid .pillar, .sources-grid .pillar:nth-child(4), .sources-grid .pillar:nth-child(5) { grid-column: auto; }
  .sources-list p { font-size: 13.5px; }
  .sources-grid .pillar p { font-size: 14.5px; }
  .sal-cat h3 { font-size: 24px; }
  .sal-table thead th { font-size: 10px; padding: 14px 10px; }
  .sal-table td { font-size: 12px; padding: 16px 10px; }
  .sal-table td.role { font-size: 16px; padding-left: 14px; }
  .sal-table td.role::before { height: 18px; }
  .exp-tag, .pay-num { font-size: 12px; }
  .sal-tabs { gap: 7px; margin-top: 22px; }
  .sal-tab { font-size: 10.5px; padding: 8px 13px; letter-spacing: .6px; }
  .sal-table tbody tr:hover td.role { padding-left: 20px; }
  .exp-tag { font-size: 11px; letter-spacing: 0; }
  .sal-table thead th { font-size: 10px; padding: 14px 12px; letter-spacing: .8px; }
  .sal-table thead th:first-child { padding-left: 14px; }
  .sal-table thead th:last-child { text-align: left; }
  .sal-table td.pay { text-align: left; }
  .sal-tables .section-title { font-size: clamp(21px, 5.8vw, 28px); letter-spacing: 2.5px; white-space: normal; }
  .sal-toolbar { gap: 12px; }
  .sal-select { font-size: 11px; }
}

/* ---------- Contact (dual) ---------- */
.contact { padding: var(--section-pad) 0; background: var(--white); }
.contact-toggle { display: flex; gap: 18px; justify-content: center; max-width: 720px; margin: 0 auto 36px; }
.contact-tab {
  flex: 1; cursor: pointer; font-family: var(--serif); font-weight: 500; font-size: 21px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--black); background: #ffffff; border: 1px solid var(--yellow); border-radius: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 26px 24px; position: relative; transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.contact-tab::after { content: ""; display: block; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; margin: 12px auto 0; transition: width .3s ease; }
.contact-tab:hover { background: var(--yellow); }
.contact-tab.active { background: var(--yellow); }
.contact-tab.active::after { width: 54px; background: var(--black); }
.tab-emoji { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--black); line-height: 0; }
.tab-emoji svg { width: 21px; height: 21px; display: block; }
.contact-tab:hover .tab-emoji, .contact-tab.active .tab-emoji { background: var(--black); color: var(--yellow); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; max-width: 720px; margin: 0 auto; }
.contact-col[hidden] { display: none; }
.contact-col { border: 1px solid var(--grey); border-radius: 10px; padding: 48px 44px; display: flex; flex-direction: column; transition: box-shadow .35s ease; }
.contact-col.clients { background: var(--yellow); border-color: var(--yellow); }
.contact-col.candidates { background: var(--off-white); }
.contact-col:hover { box-shadow: 0 26px 56px -28px rgba(0,0,0,0.28); }
.contact-col .eyebrow { color: var(--black); }
.contact-col h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: var(--black); margin: 12px 0 10px; }
.contact-col p.sub { font-size: 16px; color: var(--charcoal); margin-bottom: 28px; }
.contact-col.candidates p.sub { color: var(--grey-text); }
form .field { margin-bottom: 16px; }
form label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 7px; color: var(--charcoal); font-weight: 500; }
form input, form textarea, form select {
  width: 100%; font-family: var(--sans); font-size: 15px; font-weight: 300;
  padding: 13px 15px; border: 1px solid var(--grey); border-radius: 4px; background: var(--white); color: var(--charcoal);
}
.contact-col.clients form input, .contact-col.clients form textarea, .contact-col.clients form select { border-color: rgba(0,0,0,0.18); }
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--black); }
form textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.file-field { border: 1.5px dashed var(--grey); border-radius: 6px; padding: 16px; text-align: center; background: var(--white); cursor: pointer; transition: border-color .25s ease, background .25s ease; }
.file-field:hover { border-color: var(--yellow); background: var(--yellow-wash); }
.file-field input { display: none; }
.file-field .file-label { font-size: 14px; color: var(--grey-text); display: flex; align-items: center; justify-content: center; gap: 10px; }
.file-field .file-label svg { color: var(--yellow); }
.file-field .fname { display: block; margin-top: 8px; font-size: 13px; color: var(--black); font-weight: 500; }
.contact-col form { display: flex; flex-direction: column; flex: 1; }
.contact-col form .btn { margin-top: auto; width: 100%; text-align: center; background: var(--black); color: var(--yellow); border-color: var(--black); }
.contact-col form .btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.contact-col.candidates form .btn { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.contact-col.candidates form .btn:hover { background: var(--black); color: var(--yellow); border-color: var(--black); }
.form-note { font-size: 13px; color: var(--grey-text); margin-top: 14px; text-align: center; }
.form-success { display: none; background: rgba(0,0,0,0.06); border-radius: 6px; padding: 14px; text-align: center; font-size: 14px; color: var(--black); margin-top: 14px; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: var(--white); padding: 86px 0 46px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; align-items: start; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-col h5 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.72); padding: 6px 0; transition: color .25s ease; }
.footer-col a:hover { color: var(--yellow); }
.socials { display: flex; gap: 14px; margin-top: 6px; }
.footer-legal { display: flex; flex-direction: column; }
.footer-legal .socials { margin-top: auto; padding-top: 22px; justify-content: flex-end; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--yellow); color: var(--yellow); display: flex; align-items: center; justify-content: center; transition: background .3s ease, color .3s ease; }
.socials a:hover { background: var(--yellow); color: var(--black); }
.copyright { font-size: 12.5px; letter-spacing: 1.2px; color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.designed-by { text-align: center; font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-top: 18px; }
.designed-by a, .credit-link { color: var(--yellow); transition: color .2s ease; }
.designed-by a:hover, .credit-link:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo img { animation: none; }
}

/* ---------- Responsive ---------- */
/* mobile-only line breaks */
.mbr { display: none; }
/* desktop-only line break */
.dbr { display: inline; }
/* Global safeguards (all sizes) */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, video, svg { max-width: 100%; }
.pager { flex-wrap: wrap; }

@media (max-width: 1024px) and (min-width: 769px) {
  .team-grid .member { width: calc((100% - 56px) / 3); }
}
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .talent-grid, .init-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-panel, #talentFilterPanel { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Hamburger nav + mobile layout (<= 900px) ===== */
@media (max-width: 900px) {
  .nav-bar { position: relative; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
  .nav-bar .wordmark img { height: 46px !important; }
  .nav-toggle { display: inline-flex; }

  nav.menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
    flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0;
    background: #fff; border-top: 1px solid var(--grey);
    box-shadow: 0 26px 44px -26px rgba(0,0,0,.3);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-bar.open nav.menu { max-height: 78vh; overflow-y: auto; }
  nav.menu a {
    white-space: normal; width: 100%; padding: 15px 4px;
    border-bottom: 1px solid var(--grey); font-size: 13px; letter-spacing: 1.5px;
  }
  nav.menu a:last-child { border-bottom: 0; }
  nav.menu a::after { display: none; }
  nav.menu a.active { color: #000; background: var(--yellow-wash); padding-left: 14px; }

  /* Stacked grids */
  .social-grid, .contact-grid, .feature-post { grid-template-columns: 1fr; gap: 40px; }
  /* About: full-bleed image first (touching stats, fading to white at the bottom), then eyebrow above the headline */
  .about { padding-top: 0; }
  .about-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .about-photo { order: 1; width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; margin-bottom: 18px; max-width: none; aspect-ratio: 16 / 10; }
  .about-photo img { object-position: 50% 32%;
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%), linear-gradient(to right, transparent 0%, #000 17%, #000 83%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 58%, transparent 100%), linear-gradient(to right, transparent 0%, #000 17%, #000 83%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .about-head { order: 2; text-align: left; margin-bottom: 0; }
  .about-head .divider.left { margin-left: 0; margin-right: 0; margin-top: 12px; }
  .about-copy { order: 3; text-align: left; }
  .about-copy .divider.left { margin-left: 0; margin-right: 0; }
  .about-copy .btn { align-self: flex-start; }

  /* Heroes: keep the desktop look — photo bleeds in from the right, copy on the left */
  .hero, .hero.jobs-hero, .page-hero.has-cover { min-height: 400px; }
  .hero .hero-photo-bleed,
  .hero.jobs-hero .hero-photo-bleed,
  .page-hero.has-cover .hero-photo-bleed { width: 47%; opacity: 1; }
  .hero .hero-photo-bleed img,
  .hero.jobs-hero .hero-photo-bleed img,
  .page-hero.has-cover .hero-photo-bleed img {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 28%, #000 70%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 28%, #000 70%);
    animation: none;
  }
  .hero .wrap { padding-left: 24px; padding-right: 0; }
  .hero-copy { max-width: 56%; }
  .page-hero.has-cover .inner { max-width: 56%; padding-left: 24px; padding-right: 14px; }
  .hero-copy p.lede, .page-hero.has-cover p { max-width: none; }
  /* headlines wrap within the copy column */
  .hero-copy h1, .page-hero.has-cover h1 { white-space: normal; }
  .hero-copy h1 .hl, .page-hero.has-cover h1 .hl { white-space: normal; }

  .review-grid, .blog-grid, .talent-grid, .init-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .review-carousel { padding: 44px 20px 40px; }
  .rev-arrow { width: 38px; height: 38px; font-size: 20px; }
  .rev-arrow.prev { left: 4px; }
  .rev-arrow.next { right: 4px; }
  .review-carousel::before { font-size: 200px; top: -20px; }
  .stats .wrap { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Filters: two columns on tablets */
  .filter-panel, #talentFilterPanel { grid-template-columns: repeat(2, 1fr); }
  /* Social Responsibility pillars: collapse so they don't overflow */
  .pillars-row { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* ===== Phone scaling (<= 768px): make everything smaller + natural ===== */
@media (max-width: 768px) {
  :root { --section-pad: 68px; }
  .mbr { display: inline; }
  .hero.jobs-hero .hero-copy p.lede { white-space: normal; }
  .hero.jobs-hero .hero-copy p.lede .mbr { display: inline; }
  #home .hero-copy p.lede { white-space: normal; }
  .dbr { display: none; }
  .wrap { padding: 0 22px; }
  .scroller { padding-left: 22px; padding-right: 22px; }

  /* Type scale down */
  .eyebrow { font-size: 11px; letter-spacing: 3px; }
  .section-head { margin-bottom: 34px; }
  .section-title { font-size: clamp(21px, 5.8vw, 28px); letter-spacing: 2.5px; }
  .jobs .section-title, .talent-section .section-title { font-size: clamp(16px, 4.4vw, 25px); white-space: nowrap; }
  .section-head p.intro { font-size: 13.5px; margin-top: 14px; }
  /* Hero: tall "title screen" — the big headline owns the first screen, body sits below the fold */
  .hero, .hero.jobs-hero, .page-hero.has-cover { min-height: 0; align-items: stretch; }
  .hero .wrap { display: flex; }
  .hero .hero-photo-bleed,
  .hero.jobs-hero .hero-photo-bleed,
  .page-hero.has-cover .hero-photo-bleed { width: 50%; }
  .hero .hero-photo-bleed img,
  .hero.jobs-hero .hero-photo-bleed img,
  .page-hero.has-cover .hero-photo-bleed img {
    object-position: 56% 28%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.12) 12%, rgba(0,0,0,0.42) 26%, rgba(0,0,0,0.78) 40%, #000 54%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.12) 12%, rgba(0,0,0,0.42) 26%, rgba(0,0,0,0.78) 40%, #000 54%);
  }
  /* Jobs hero: keep the woman's face in the visible (opaque) zone */
  /* Jobs hero on mobile: full photo side-bleed, both ladies' faces framed, subtle clean fade */
  .hero.jobs-hero .hero-photo-bleed { width: 58%; }
  .hero.jobs-hero .hero-copy { max-width: 46%; }
  .hero.jobs-hero .hero-copy p.lede { white-space: normal; }
  .hero.jobs-hero .hero-head h1 { white-space: nowrap; font-size: clamp(16px, 4.4vw, 25px); }
  .hero.jobs-hero .hero-img-ladies { display: none !important; }
  .hero.jobs-hero .hero-img-full {
    display: block;
    object-fit: cover !important;
    object-position: 62% 30% !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
    mask-image: linear-gradient(to right, transparent 0%, #000 30%);
  }
  /* Hot Talent hero on mobile: same treatment as the Jobs hero */
  .page-hero.has-cover .hero-photo-bleed { width: 58% !important; }
  .page-hero.has-cover .inner { max-width: 52% !important; }
  .page-hero.has-cover h1 { white-space: nowrap; font-size: clamp(16px, 4.4vw, 25px); }
  .page-hero.has-cover .hero-actions .btn { white-space: nowrap; font-size: 12px; letter-spacing: 1px; padding: 9px 13px; }
  .page-hero.has-cover .hero-actions { margin-top: 10px; }
  /* Blogs hero: sub-headline breaks to 2 lines on mobile */
  .page-hero.blogs-hero .inner { max-width: 60% !important; }
  .page-hero.blogs-hero p.lede { white-space: normal; }
  /* Salary hero: frame on the gold coin stacks */
  .page-hero.has-cover.salary-hero .hero-photo-bleed img { object-position: 58% center !important; }
  /* Social hero: frame on the teacher + smiling girls (keep faces in the opaque zone) */
  .page-hero.has-cover.social-hero .hero-photo-bleed { width: 50% !important; }
  .page-hero.has-cover.social-hero .inner { max-width: 62% !important; }
  .page-hero.has-cover.social-hero p.lede { white-space: normal; max-width: none !important; }
  .page-hero.has-cover.social-hero .hero-photo-bleed img {
    object-fit: cover !important;
    object-position: 60% 26% !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.12) 14%, rgba(0,0,0,0.5) 30%, #000 48%) !important;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.12) 14%, rgba(0,0,0,0.5) 30%, #000 48%) !important;
  }
  .page-hero.has-cover .hero-photo-bleed img {
    object-fit: cover !important;
    object-position: 69% 22% !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%) !important;
    mask-image: linear-gradient(to right, transparent 0%, #000 30%) !important;
  }
  .hero-copy { max-width: 56%; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; min-height: 440px; padding: 30px 0 34px; }
  .page-hero.has-cover .inner { max-width: 56%; margin-left: 0; margin-right: auto; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; min-height: 440px; padding-top: 30px; padding-bottom: 34px;px); padding-top: 24px; padding-bottom: 30px; }
  /* headline at top, with body + CTA close beneath it */
  .hero-head { min-height: 0; }
  /* Bigger, dominant headline */
  .hero-copy h1, .page-hero.has-cover h1 { font-size: clamp(20px, 5.6vw, 30px); line-height: 1.14; }
  .hero-copy h1 .hl::after { bottom: 3px; height: 8px; }
  .hero-copy .hero-rule, .page-hero.has-cover .hero-rule { margin: 12px 0 14px; width: 34px; }
  /* body + CTA sit close under the headline */
  .hero-copy p.lede, .page-hero.has-cover p {
    font-size: 11px !important; line-height: 1.5; letter-spacing: .2px;
    margin: 14px 0 16px; max-width: none;
  }
  .btn { font-size: 12px; letter-spacing: 1px; padding: 11px 20px; }
  .hero-actions { gap: 8px; margin-top: 0; }
  .hero-actions .btn { font-size: 12px; letter-spacing: 1px; padding: 9px 16px; border-radius: 4px; }

  /* About / The Visionary */
  .about-copy h2 { font-size: clamp(22px, 6vw, 30px); margin: 8px 0 14px; }
  .about-copy p { font-size: 11px !important; line-height: 1.6; margin-bottom: 12px; }
  .social-copy h2 { margin: 10px 0 18px !important; }
  .section-cta { margin-top: 40px !important; }
  .social-copy p { font-family: "Montserrat", sans-serif; font-size: 11px; line-height: 1.6; margin-bottom: 12px; }
  .kids-show { min-height: 0; aspect-ratio: 4 / 3; }
  .kids-inner { padding: 40px 24px; }
  .pillar p, .pillars-row .pillar p { font-family: "Montserrat", sans-serif; color: var(--grey-text); font-size: 11px; line-height: 1.6; }
  .init-card p { font-family: "Montserrat", sans-serif; color: var(--grey-text); font-size: 11px; line-height: 1.6; }
  .about-copy .btn { margin-top: 12px; }

  /* Cards */
  .cards-4 { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .svc-card { padding: 28px 24px; }
  .svc-card .icon-circle { width: 54px; height: 54px; margin-bottom: 16px; }
  .svc-card h3 { font-size: 19px; min-height: 0; margin-bottom: 9px; }
  .svc-card p { font-size: 11px !important; line-height: 1.6; margin-bottom: 18px; }
  .svc-card .link { font-size: 12px; letter-spacing: 1.5px; }
  /* Our Team: rolling carousel, two cards at a time */
  .team-carousel { position: relative; padding: 0 0 6px; }
  .team-viewport { overflow: hidden; }
  .team-grid { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; max-width: none; width: auto; margin: 0; padding: 4px 0 8px; transition: transform .6s cubic-bezier(.6,.01,.2,1); }
  .team-grid .member { flex: 0 0 50%; width: 50%; box-sizing: border-box; padding: 0 7px; }
  .member .card { aspect-ratio: 3 / 4; border-radius: 8px 26px 8px 26px; box-shadow: 0 12px 26px -16px rgba(252,184,20,.85); }
  .member .card::after { height: 46%; }
  .member .caption { padding: 0 12px 12px; }
  .member .caption h4 { font-size: 16px; line-height: 1.05; }
  .member .caption .role { font-size: 9px; letter-spacing: .8px; margin-top: 3px; min-height: 0; }
  .team-arrow { display: none; }
  .team-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .team-dots button { width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer; border: none; background: var(--grey); transition: background .25s ease, transform .25s ease; }
  .team-dots button.active { background: var(--yellow); transform: scale(1.35); }

  /* Reviews */
  .review blockquote { font-size: 13px; line-height: 1.55; margin: 0 0 14px; }
  .review .quote-mark { font-size: 34px; margin-bottom: 6px; }
  .review figcaption .name { font-size: 13px; padding-bottom: 9px; }
  .review figcaption .role { font-size: 10.5px; }

  /* Contact */
  .contact-toggle { gap: 10px; margin-bottom: 26px; }
  .contact-tab { font-size: 12px; letter-spacing: 1px; padding: 16px 12px; border-radius: 8px; }
  .contact-tab::after { margin-top: 9px; height: 2px; }
  .contact-col { padding: 32px 24px; }
  .contact-col h3 { font-size: clamp(22px, 6vw, 30px); }
  .contact-col p.sub { font-size: 13.5px; margin-bottom: 22px; }
  form label { font-size: 11px; }
  .form-note { font-size: 12px; }

  /* Jobs / Talent lists */
  .job { grid-template-columns: 1fr; gap: 8px; }
  .job .apply {
    margin-top: 8px;
    align-self: start;
    justify-self: start;
    width: auto;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 1px;
    padding: 7px 16px;
  }
  .field-row { grid-template-columns: 1fr; }
  .talent-card .btn.small {
    font-family: var(--serif); font-weight: 500; font-size: 10.5px;
    letter-spacing: 1px; padding: 7px 16px;
    align-self: flex-start; width: auto;
  }
  .salary input { min-width: 0; width: 100%; }

  /* Footer: brand full-width, then Company|Services and Connect|Legal as pairs */
  footer { padding-top: 38px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 30px; margin-bottom: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { margin-bottom: 16px; }
  .copyright { justify-content: center; text-align: center; }

  /* Stat band: keep all four key points on a single line */
  .stats { padding: 44px 0; }
  .stats .wrap { gap: 6px; padding: 0 10px; }
  .stat .num { font-size: clamp(11px, 3vw, 26px); white-space: nowrap; letter-spacing: 0; min-height: 0; }
  .stat .lbl { font-size: clamp(8px, 2.2vw, 11px); letter-spacing: .5px; line-height: 1.3; margin-top: 5px; }

  /* Prevent iOS auto-zoom on focus by keeping inputs >=16px */
  input, select, textarea,
  .js-field input, .js-field select { font-size: 16px; }
}

@media (max-width: 680px) {
  /* Jobs search bar: stack fields full width */
  .job-search { flex-direction: column; }
  .js-field.js-keyword, .js-field.js-loc { flex: 1 1 auto; width: 100%; }
  .job-search .btn { width: 100%; }
  /* Salary search + toolbar: smaller, more breathing room */
  .sal-search { gap: 10px; margin-bottom: 46px; }
  .sal-search .js-field { padding: 0 14px; border-radius: 8px; }
  .sal-search .js-field input { padding: 12px 0; }
  .sal-search .js-field svg { width: 16px; height: 16px; }
  .sal-search .btn { padding: 12px 20px; font-size: 14px; letter-spacing: 2px; border-radius: 8px; }
  .sal-tables .job-toolbar { margin-top: 4px; margin-bottom: 8px; gap: 10px; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; text-align: left; }
  .sal-tables .job-count { font-size: 11px; letter-spacing: .5px; flex: 0 0 auto; padding-left: 14px; }
  .sal-tables .job-count strong { font-size: 17px; }
  .sal-tables .job-tools { gap: 8px; flex: 0 0 auto; }
  .sal-tables .job-tool-btn { padding: 8px 12px; font-size: 10.5px; letter-spacing: 1px; gap: 6px; }
  .sal-tables .job-tool-btn svg { width: 14px; height: 14px; }
  .sal-tables .job-sort { gap: 5px; font-size: 10px; letter-spacing: .8px; }
  .sal-tables .job-sort span { display: none; }
  .sal-tables .job-sort select { padding: 8px 10px; font-size: 11px; }
  .sal-tables .sal-results { margin-top: 34px; }
  /* Jobs toolbar: same one-line compact treatment as salary */
  .jobs .job-toolbar { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; text-align: left; gap: 10px; }
  .jobs .job-search { margin-bottom: 42px; }
  .jobs .job-count { font-size: 11px; letter-spacing: .5px; flex: 0 0 auto; padding-left: 16px; }
  .jobs .section-title { font-size: clamp(21px, 5.8vw, 28px); letter-spacing: 2.5px; white-space: normal; font-weight: 300; }
  /* Hot Talent toolbar: same one-line compact treatment; headline matches Jobs */
  .talent-section .section-title { font-size: clamp(21px, 5.8vw, 28px); letter-spacing: 2.5px; white-space: normal; font-weight: 300; }
  .talent-section .job-toolbar { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; text-align: left; gap: 10px; }
  .talent-section .job-count { font-size: 11px; letter-spacing: .5px; flex: 0 0 auto; padding-left: 32px; }
  .talent-section .talent-grid { margin-top: 32px; }
  .talent-section .job-count strong { font-size: 17px; }
  .talent-section .job-tools { gap: 8px; flex: 0 0 auto; }
  .talent-section .job-tool-btn { padding: 8px 12px; font-size: 10.5px; letter-spacing: 1px; gap: 6px; }
  .talent-section .job-tool-btn svg { width: 14px; height: 14px; }
  .talent-section .job-sort { gap: 5px; font-size: 10px; letter-spacing: .8px; }
  .talent-section .job-sort span { display: none; }
  .talent-section .job-sort select { padding: 8px 10px; font-size: 11px; }
  .jobs .job-count strong { font-size: 17px; }
  .jobs .job-tools { gap: 8px; flex: 0 0 auto; }
  .jobs .job-tool-btn { padding: 8px 12px; font-size: 10.5px; letter-spacing: 1px; gap: 6px; }
  .jobs .job-tool-btn svg { width: 14px; height: 14px; }
  .jobs .job-sort { gap: 5px; font-size: 10px; letter-spacing: .8px; }
  .jobs .job-sort span { display: none; }
  .jobs .job-sort select { padding: 8px 10px; font-size: 11px; }
  /* Toolbar: count over tools, both centered */
  .job-toolbar { flex-direction: column; gap: 14px; align-items: center; text-align: center; }
}

@media (max-width: 560px) {
  /* Filters: single column on phones */
  .filter-panel, #talentFilterPanel { grid-template-columns: 1fr; gap: 18px 24px; }
  .filter-foot { justify-content: center; }
  /* Stats: stay one row, tighter still */
  .stats .wrap { gap: 5px; padding: 0 8px; }
  .stat .num { font-size: clamp(10px, 3vw, 22px); }
  /* Reviews: tighter on small phones */
  .review-carousel { padding: 28px 14px 26px; }
  .review-carousel::before { font-size: 130px; }
  /* Pager: a touch smaller so more fit per row */
  .page-btn { min-width: 38px; height: 38px; font-size: 15px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ===================== Article pages ===================== */
.article-hero { background: var(--yellow-wash); padding: 52px 0 40px; }
.article-hero .wrap { max-width: 1000px; }
.article-back { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-text); margin-bottom: 26px; transition: color .2s ease; }
.article-back:hover { color: var(--black); }
.article-hero .cat { font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.article-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 5vw, 54px); line-height: 1.12; color: var(--black); margin: 14px 0 18px; max-width: 760px; text-wrap: balance; }
.article-meta { font-family: var(--sans); font-size: 13px; letter-spacing: .5px; color: var(--grey-text); display: flex; align-items: center; gap: 12px; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--grey-text); opacity: .6; }
.article-figure { max-width: 1000px; margin: 32px auto 0; padding: 0 40px; }
.article-figure img { width: 100%; height: clamp(220px, 38vw, 440px); object-fit: cover; border-radius: 12px; }
.article-body { max-width: 720px; margin: 0 auto; padding: 60px 40px 96px; }
.article-body > p, .article-body li { font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.85; color: var(--charcoal); margin-bottom: 1.35em; }
.article-body .lead { font-size: 20px; line-height: 1.7; color: var(--black); }
.article-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; color: var(--black); margin: 1.8em 0 .5em; }
.article-body strong { font-weight: 600; color: var(--black); }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 1.4em; }
.article-body li { margin-bottom: .55em; }
.article-body blockquote { border-left: 3px solid var(--yellow); margin: 1.8em 0; padding: 4px 0 4px 26px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.4; color: var(--black); }
.article-foot { border-top: 1px solid var(--grey); margin-top: 48px; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.article-byline { font-family: var(--sans); font-size: 13.5px; letter-spacing: .4px; color: var(--grey-text); }
.article-byline strong { color: var(--black); font-weight: 600; }
@media (max-width: 768px) {
  .article-hero { padding: 36px 0 32px; }
  .article-figure { padding: 0 18px; }
  .article-body { padding: 44px 18px 70px; }
  .article-body > p, .article-body li { font-size: 15px; }
  .article-body .lead { font-size: 17px; }
}

/* Industry headings in the filtered and paginated salary results. */
.sal-table .sal-industry-heading th { padding: 32px 0 16px; text-align: left; border-bottom: 2px solid var(--yellow); }
.sal-table .sal-industry-heading h3 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--black); letter-spacing: .5px; }
.sal-table tbody tr.sal-industry-heading:hover { background: transparent; }
@media (max-width: 640px) {
  .sal-table .sal-industry-heading th { padding: 24px 14px 12px; }
  .sal-table .sal-industry-heading h3 { font-size: 22px; }
}
