*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.5 "DM Sans","Segoe UI",sans-serif;--paper:#faf7f5;--ink:#211544;--accent:#2a1a55;--soft:#f9e6dc;--card:#fffdfa;--line:#d7ced8;--pad:clamp(20px,4vw,66px)}
body[data-theme=h]{--paper:#fff;--ink:#21101d;--accent:#bd005c;--soft:#fbe3ef;--card:#fff;--line:#e3d4df}
body[data-theme=at]{--paper:#cff0fb;--ink:#410d47;--accent:#410d47;--soft:#e8f8fc;--card:#fff;--line:#d9d7e1}
body[data-theme=au]{--paper:#fbf1e0;--ink:#111d55;--accent:#19287f;--soft:#f5e1bc;--card:#fffaf1;--line:#c8bdaa}
a{color:inherit;text-underline-offset:.22em}
:focus-visible{outline:3px solid #2278ee;outline-offset:4px}
h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:"DM Sans","Segoe UI",sans-serif;font-weight:800;letter-spacing:-.06em;line-height:1.02}
h1{font-size:clamp(3rem,6vw,7rem)}h2{font-size:clamp(1.8rem,3.4vw,3.7rem)}h3{font-size:clamp(1.15rem,1.7vw,1.8rem)}
p{margin-top:.65rem}
button,input,select{font:inherit}
button,.button{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;border:1px solid transparent;border-radius:9px;padding:.62em 1.05em;min-height:48px;font-weight:700;cursor:pointer;text-decoration:none;text-align:center}
button:hover,.button:hover{filter:brightness(.83)}
.skip{position:absolute;left:1rem;top:-5rem;background:#fff;padding:.5rem;z-index:10}.skip:focus{top:.5rem}
.preview,header,footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-inline:var(--pad)}
.preview{padding-block:.45rem;background:#17151c;color:#f2eef2;font-size:.8rem;flex-wrap:wrap}.preview div,header nav,footer nav{display:flex;flex-wrap:wrap;gap:1rem 1.9rem}
.preview div{gap:.45rem 1rem}.preview a[aria-current],nav a[aria-current]{text-decoration:underline;font-weight:800}
.night-preview-links{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem 1rem}
.night-motion-toggle{min-height:24px;min-width:6.2rem;padding:0 .55em;border-color:#aebfd2;border-radius:4px;background:transparent;color:inherit}
.night-motion-toggle[hidden]{display:none}
header{min-height:77px;border-bottom:1px solid var(--line)}header nav a,footer nav a{font-weight:700;text-decoration:none}header nav a:hover,footer nav a:hover{text-decoration:underline}
.brand{font-size:clamp(1.45rem,3vw,2.5rem);text-decoration:none;white-space:nowrap}
footer{margin-top:auto;flex-wrap:wrap;border-top:1px solid var(--line);padding-block:1.5rem}footer p{margin:0;font-size:.9rem}
.footer-motion-toggle{min-height:44px;padding:0 .25rem;border:0;background:transparent;color:inherit;font-size:.85rem;font-weight:500;text-decoration:underline;text-underline-offset:.22em}
.footer-motion-toggle:hover{filter:none;text-decoration-thickness:2px}
.footer-motion-toggle[hidden]{display:none}
#app{min-height:100vh;display:flex;flex-direction:column}
.hero,.section{padding:clamp(26px,4vw,62px) var(--pad);border-bottom:1px solid var(--line)}
.inner{background:var(--soft)}
.inner h1{max-width:19ch;font-size:clamp(2.5rem,5.4vw,5.4rem);margin-top:.5rem}
.inner p{max-width:58ch;font-size:1.15rem}
.inner>.agency-logo{margin:1.2rem 0 .9rem}
.section-heading,.actions{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.section-heading{margin-bottom:1.1rem}.actions{justify-content:flex-start;margin-top:1.25rem}
.section-heading a,.source,.count,.agency-cta{font-weight:700;color:var(--accent)}
.feed-note{color:var(--muted);margin:0 0 1rem}
.job-pagination{display:flex;align-items:center;justify-content:center;gap:1.5rem;margin:1.5rem 0 0}
.job-pagination a{color:var(--accent);font-weight:700}
.search{display:flex;align-items:end;flex-wrap:wrap;gap:.65rem;margin-top:1.3rem}
.search label{display:flex;flex-direction:column;gap:.24rem;flex:1 1 8.5rem;font-weight:700;font-size:.86rem;min-width:0}.search .keyword{flex:2 1 13rem}
.search input,.search select,.finder-form select{width:100%;min-height:48px;background:#fff;color:#23212a;border:1px solid var(--line);padding:.6rem .72rem;border-radius:8px;font-size:1rem;font-weight:500}
.agency-row,.job-row{display:grid;align-items:center;gap:1.15rem;padding:1.15rem 0;border-bottom:1px solid var(--line)}
.agency-row{grid-template-columns:1.35fr 1fr 1fr auto}.job-row{grid-template-columns:1.4fr 1fr auto}
.agency-row:first-child,.job-row:first-child{border-top:1px solid var(--line)}.agency-list,.job-list{margin-top:1rem}
.agency-name{display:flex;align-items:center;gap:.8rem}.agency-row h3 a,.job-row h3 a,.showcase h3 a{text-decoration:none}.agency-row h3 a:hover,.job-row h3 a:hover,.showcase h3 a:hover{text-decoration:underline}
small{display:block;margin-bottom:.2rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.71rem}
.agency-logo{display:inline-flex;width:105px;min-width:105px;height:50px;align-items:center;justify-content:center;border-radius:6px;background:#fff;padding:.45rem}
.agency-logo img{width:100%;height:100%;object-fit:contain}
.logo-boden{background:#14181b}
.logo-hvac-recruitment,.logo-maxwell-stephens,.logo-total-facilities-recruitment,.logo-front-fm,.logo-invictus-group,.logo-gh-engage,.logo-nexus-careers,.logo-skilled-careers{background:#142437}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:0}.facts div{padding:.6rem 1rem;border-left:2px solid var(--accent)}dt{font-weight:800}dd{margin:0}
.empty,.measure{max-width:62ch}.measure{margin-bottom:1rem}.vacancies{background:var(--soft)}
.source-boards>div:last-child{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.source-boards>div>a{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:.9rem;font-weight:700}
.guided{padding:clamp(28px,5vw,72px) var(--pad);border-bottom:1px solid var(--line)}
.guided-main{max-width:1080px;margin:0 auto}
.guided-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.8rem 2rem;flex-wrap:wrap}
.guided-heading h1{font-size:clamp(2.75rem,5.4vw,5.45rem);letter-spacing:-.06em}
.guided-heading p{font-size:clamp(1rem,1.55vw,1.3rem)}
.guided-heading>a{font-weight:750;color:var(--accent)}

.finder-form{display:grid;gap:11px;margin-top:1.65rem}.finder-form label{display:grid;grid-template-columns:34% 1fr;align-items:center;gap:.75rem;background:var(--soft);border-radius:12px;padding:.65rem 1.2rem;color:var(--ink);font-weight:550}
.finder-form select{border:0;border-left:1px solid #988a9a;border-radius:0;background:transparent;color:var(--ink);min-height:2.5rem;padding-block:.2rem;padding-left:1rem;font-size:clamp(1rem,1.9vw,1.55rem);font-weight:800}
.finder-form button{margin-top:.5rem;min-height:58px;font-size:clamp(1rem,1.8vw,1.35rem)}
.guided-results{margin-top:2rem}.guided-results>h2{font-size:.87rem;letter-spacing:.19em;text-transform:uppercase;display:flex;gap:1rem;align-items:center;margin-bottom:1rem}.guided-results>h2:after{content:"";height:1px;background:var(--line);flex:1}
.showcase{display:grid;gap:12px}.showcase article{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:1.15rem;display:grid;gap:.7rem}.showcase p{font-size:.97rem;line-height:1.4}.showcase .agency-cta{display:inline-block;margin-top:.65rem}
.guided-results .showcase,.hero-au+.section .showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
.chips{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.65rem}.chips a{background:var(--soft);text-decoration:none;padding:.23rem .6rem;border-radius:999px;font-size:.8rem}.chips a:hover{text-decoration:underline}
.mode-switch{display:flex;width:100%;border:1px solid var(--line);border-radius:999px;background:#fff;padding:3px}.mode-switch a{flex:1;text-align:center;text-decoration:none;border-radius:999px;padding:.55rem;font-weight:800}.mode-switch a[aria-current]{background:var(--accent);color:#fff;text-decoration:none}
[data-theme=h] header .brand::before{content:"";display:inline-block;width:.7em;height:.7em;margin-right:.38em;vertical-align:.06em;background:repeating-linear-gradient(117deg,#bb005d 0 10px,#e94a9b 10px 19px,#51083d 19px 28px);clip-path:polygon(33% 0,100% 0,68% 100%,0 100%)}
.hero-h{padding:clamp(18px,2.4vw,36px) var(--pad)}.magenta-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:16px}
.magenta-search{padding:clamp(20px,3vw,44px);background:linear-gradient(145deg,#fff2f8,#f7d6e9);display:flex;flex-direction:column;justify-content:center}
.magenta-search h1{font-size:clamp(2.6rem,5vw,5.5rem);color:#100c10}.magenta-search p{font-size:clamp(1rem,1.5vw,1.35rem);line-height:1.25}.magenta-search .mode-switch{margin-top:1.4rem}
.magenta-search .search{margin-top:.85rem}.magenta-search .search .keyword{flex-basis:10rem}.magenta-search button,[data-theme=h] .button{border-radius:999px}
.magenta-grid .showcase article{grid-template-columns:minmax(85px,26%) 1fr;align-items:center;border-radius:5px}.magenta-grid .showcase article>div{border-left:1px solid var(--line);padding-left:1rem}.magenta-grid .agency-logo{width:100%;min-width:0;height:64px}
[data-theme=h] .home-directory .search{margin-bottom:1.4rem}
[data-theme=at] header{border-bottom:0}[data-theme=at] header .brand{font-size:1.35rem;letter-spacing:-.045em}
.hero-at{border-bottom:0;padding-block:clamp(38px,6.8vw,105px) clamp(34px,5.5vw,82px)}
.search-first{text-align:center;max-width:1180px;margin:auto}.search-first h1{font-size:clamp(3.45rem,10.8vw,10rem);letter-spacing:-.084em;margin-bottom:clamp(1.5rem,4vw,3.5rem)}
.search-first .mode-switch{max-width:330px;margin:auto;background:var(--soft);border:0}
.search-first .search{background:#fff;border-radius:12px;padding:5px;gap:0;flex-wrap:nowrap;margin-top:1.35rem}.search-first .keyword{font-size:0;gap:0}.search-first input{border:0;font-size:clamp(1rem,2.1vw,1.6rem);padding-left:1rem}
.search-first button{background:#151218;min-width:clamp(80px,15vw,175px);font-size:clamp(.85rem,1.8vw,1.15rem)}
.quick{display:flex;justify-content:center;gap:clamp(15px,5vw,65px);margin-top:1.6rem;flex-wrap:wrap}.quick a{font-weight:750}
[data-theme=at] .home-directory{margin:0 var(--pad) 32px;border-radius:18px;background:#fff;padding:clamp(18px,3vw,38px);border:0}
[data-theme=au] header,.hero-au{background:#19287f;color:#fff3d7;border-color:#4753a0}
[data-theme=au] header .brand{position:relative;padding-bottom:.2rem}[data-theme=au] header .brand:after{content:"";position:absolute;left:0;bottom:0;width:75%;height:4px;background:#ffd34d;clip-path:polygon(0 18%,99% 0,92% 78%,2% 100%)}
.hero-au{padding-block:0}.illustrated-hero{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;min-height:clamp(360px,38vw,600px);overflow:hidden}.illustrated-hero h1{font-size:clamp(2.6rem,5.5vw,6.5rem)}.illustrated-hero>div{position:relative;z-index:1;padding:2rem 0}.illustrated-hero img{width:100%;max-height:540px;object-fit:contain;object-position:bottom;align-self:end;display:block}
.illustrated-hero .search button{background:#ffd85b;color:#10194e}.illustrated-hero .search input{background:transparent;color:#fff;border-color:#fff3d7}.illustrated-hero .search input::placeholder{color:#fff3d7}
[data-theme=au] .home-directory .showcase article{grid-template-columns:auto 1fr;align-items:center;border-radius:8px}
@media(max-width:850px){.agency-row{grid-template-columns:1.1fr 1fr 1fr}.agency-row .count{grid-column:1/-1}.agency-name{flex-wrap:wrap}.magenta-grid{grid-template-columns:1fr}.magenta-grid .showcase{grid-template-columns:repeat(2,minmax(0,1fr))}.magenta-grid .showcase article{grid-template-columns:1fr}.magenta-grid .showcase article>div{border:0;padding:0}.magenta-grid .agency-logo{width:105px}}
@media(max-width:600px){header{align-items:flex-start;flex-direction:column;justify-content:center;gap:.55rem;padding-block:.75rem}header nav,footer nav{gap:.55rem 1rem}.agency-row,.job-row,.facts{grid-template-columns:1fr 1fr}.agency-name,.job-row>div{grid-column:1/-1}.source-boards>div:last-child,.guided-results .showcase,.hero-au+.section .showcase{grid-template-columns:1fr}.illustrated-hero{grid-template-columns:1fr}.illustrated-hero img{max-height:330px}.illustrated-hero>div{padding-bottom:.75rem}.search-first h1{font-size:clamp(3rem,13vw,5.7rem)}.magenta-grid .showcase{grid-template-columns:1fr}}

@font-face{font-family:"DM Sans";src:url("assets/dm-sans.ttf") format("truetype");font-weight:100 1000;font-style:normal;font-display:swap}

@font-face{font-family:Manrope;src:url("assets/manrope.ttf") format("truetype");font-weight:200 800;font-display:swap}
@font-face{font-family:"Bricolage Grotesque";src:url("assets/bricolage.ttf") format("truetype");font-weight:200 800;font-display:swap}
body[data-theme=m]{font-family:Manrope,"Segoe UI",sans-serif}
[data-theme=m] :is(h1,h2,h3,.brand){font-family:"Bricolage Grotesque","Segoe UI",sans-serif;font-weight:650;line-height:1.06;letter-spacing:-.032em}
[data-theme=m] .guided-heading h1{font-size:clamp(2.65rem,5.35vw,5rem);font-weight:630;letter-spacing:-.04em}
[data-theme=m] .brand{display:inline-flex;align-items:center;gap:.62rem;font-size:1.38rem;font-weight:720;letter-spacing:-.026em}
[data-theme=m] .brand img{display:block;flex:none}
[data-theme=m] .guided-heading p{line-height:1.55}
[data-theme=m] .guided .finder-form select{font-weight:660}
[data-theme=m] .showcase h3{margin-bottom:.35rem}

.m-welcome{margin:clamp(16px,2.5vw,38px) var(--pad) 0;padding:clamp(30px,7vw,105px) clamp(24px,6vw,95px);min-height:clamp(340px,37vw,560px);display:flex;align-items:center;position:relative;isolation:isolate;overflow:hidden;border-radius:20px;background:#2d2044;color:#fff9f2}
.m-welcome::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#2b1e41 22%,#2b1e41e8 42%,#2b1e4140 77%),url("fm-professional.png") right 42% / auto 132% no-repeat}
.m-welcome-copy{max-width:52rem}
[data-theme=m] .m-welcome h1{max-width:11ch;font-size:clamp(3.2rem,7vw,7.2rem);letter-spacing:-.055em}
.m-welcome p{margin-top:1.1rem;max-width:42ch;font-size:clamp(1rem,1.6vw,1.28rem);color:#f4eaf3}
.m-welcome-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem 1.4rem;margin-top:1.55rem;font-weight:750}
.m-welcome-actions .button{background:#f8cebb;color:#291c3c}
#agency-finder,#agency-matches{scroll-margin-top:1rem}
@media(max-width:620px){.m-welcome::before{background:linear-gradient(90deg,#2b1e41f7,#2b1e4199),url("fm-professional.png") 65% center / cover no-repeat}.m-welcome{border-radius:14px}}
@font-face{font-family:"Instrument Sans";src:url("assets/instrument-sans.ttf") format("truetype");font-weight:400 700;font-display:swap}
body[data-theme=m],[data-theme=m] :is(h1,h2,h3,.brand){font-family:"Instrument Sans","Segoe UI",sans-serif}
[data-theme=m] .m-welcome h1{font-weight:680;letter-spacing:-.05em}
[data-theme=m] .brand{font-weight:700}

body[data-theme=m]{--paper:#fffaf5;--ink:#06343d;--accent:#075061;--soft:#fae7dc;--card:#fffdfa;--line:#d8d8d0}
[data-theme=m] .brand{color:#06343d;display:inline-block}
.brand-g{display:inline-flex;flex-direction:column;line-height:.88;letter-spacing:-.045em;font-weight:700;font-size:1.45rem}
.brand-g::after{content:"";height:3px;margin-top:6px;background:linear-gradient(90deg,#075061 50%,#f7a985 50%)}
[data-theme=m] .m-welcome{background:#07343d;color:#fff9ef}
[data-theme=m] .m-welcome::before{background:linear-gradient(90deg,#07343d 22%,#07343ded 43%,#07343d35 80%),url("fm-professional.png") right 42% / auto 132% no-repeat}
[data-theme=m] .m-welcome p{color:#f8f2eb}
[data-theme=m] .m-welcome-actions .button{background:#ffc3a8;color:#12343c}
@media(max-width:620px){[data-theme=m] .m-welcome::before{background:linear-gradient(90deg,#07343df7,#07343d99),url("fm-professional.png") 65% center / cover no-repeat}}


body[data-brand=ad]{
  --paper:#f8fafc;
  --ink:#101d35;
  --accent:#142645;
  --soft:#e9f2fc;
  --card:#fff;
  --line:#d2deec;
}
[data-brand=ad] header,
[data-brand=ad] footer{background:#0d1a34;color:#f8fbff;border:0}
[data-brand=ad] header{min-height:76px}
[data-brand=ad] a.brand{display:inline-flex;align-items:center;color:inherit}
[data-brand=ad] .brand-ad{display:block;max-width:100%;height:auto;overflow:visible}
[data-brand=ad] footer .brand-ad{width:160px}
[data-brand=ad] header nav a{font-weight:550}
.ad-intro{
  position:relative;
  isolation:isolate;
  padding:clamp(44px,6vw,96px) var(--pad) clamp(28px,4vw,60px);
  background:#d8eafb;
  border-bottom:1px solid #c6dced;
}
.ad-intro-content,.ad-agencies{max-width:1440px;margin-inline:auto}
[data-brand=ad] .ad-intro h1{
  font-size:clamp(2.6rem,6vw,6rem);
  font-weight:700;
  letter-spacing:-.057em;
}
.ad-intro p{max-width:52ch;margin-top:1rem;color:#2e435e;font-size:clamp(1rem,1.7vw,1.25rem)}
.ad-intro .finder-form{
  grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  align-items:end;
  gap:12px;
  margin-top:clamp(24px,3vw,42px);
  padding:clamp(12px,2vw,23px);
  background:#fcfdff;
  border:1px solid #c0d5e8;
  border-radius:16px;
  box-shadow:0 10px 24px #20385b10;
}
.ad-intro .finder-form label{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:.35rem;
  background:none;
  border-radius:0;
  padding:0;
  font-size:.88rem;
  font-weight:650;
}
.ad-intro .finder-form select{
  border:1px solid #afc1d6;
  border-radius:8px;
  background:#fff;
  min-width:0;
  min-height:48px;
  padding:.55rem .65rem;
  font-size:1rem;
  font-weight:500;
}
.ad-intro .finder-form button{margin:0;min-height:48px;font-size:.98rem;white-space:nowrap}
.ad-agencies .showcase{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.ad-agencies .showcase article{padding:1.25rem;grid-template-rows:auto 1fr}
.ad-agencies .showcase article>div{display:flex;flex-direction:column;align-items:flex-start}
.agency-card-actions{width:100%;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1rem;margin-top:auto;padding-top:1rem}
.ad-agencies .agency-card-actions .agency-cta{margin:0}
.agency-job-count{font-size:.85rem;font-weight:650;color:#245278;white-space:nowrap}
.agency-profile-about{margin-bottom:1.4rem}
@media(max-width:920px){
  .ad-intro .finder-form{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ad-intro .finder-form button{grid-column:1/-1}
  .ad-agencies .showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .ad-intro .finder-form,.ad-agencies .showcase{grid-template-columns:1fr}
  [data-brand=ad] header nav{padding-block:.35rem}
}

.ad-intro{overflow:visible;z-index:1}
.finder-query{grid-column:1/-1;position:relative;min-width:0}
.finder-query input{width:100%;min-height:50px;margin-top:.35rem;padding:.6rem .8rem;border:1px solid #afc1d6;border-radius:8px;background:#fff;color:var(--ink);font-size:1rem}
.search-suggestions{position:absolute;inset:calc(100% + 5px) 0 auto;z-index:2;max-height:17rem;overflow:auto;padding:.3rem;background:#fff;border:1px solid #afc1d6;border-radius:10px;box-shadow:0 12px 30px #152c5030}
.search-suggestions [role=option]{display:flex;align-items:center;gap:.7rem;padding:.55rem .65rem;border-radius:6px;cursor:pointer}
.search-suggestions [role=option]:hover,.search-suggestions [aria-selected=true]{background:#e9f2fc}
.search-suggestions .agency-logo{width:70px;min-width:70px;height:34px;padding:.25rem}
.search-suggestions small{margin:0;font-size:.76rem;letter-spacing:0;text-transform:none;color:#405674}
.job-suggestions [role=option]{justify-content:space-between;min-height:44px;font-size:.95rem;line-height:1.3;overflow-wrap:anywhere}
.job-suggestions small{flex:none;border-radius:4px;padding:.2rem .35rem;background:var(--soft);color:var(--muted)}
.search-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* AD homepage and shared page surfaces */
body[data-brand=ad]{
  --paper:#f5f8fb;
  --ink:#13233c;
  --accent:#164973;
  --soft:#eaf3fc;
  --line:#d4e0eb;
  --ad-navy:#0b1a2f;
  --ad-ice:#9ed5fb;
}
[data-brand=ad] header,
[data-brand=ad] footer{
  background:var(--ad-navy);
  padding-inline:max(var(--pad),calc((100vw - 1344px) / 2));
}
[data-brand=ad] header{
  border-bottom:1px solid #ffffff20;
}
[data-brand=ad] header nav a{
  padding-block:.35rem;
  text-underline-offset:.45em;
}
[data-brand=ad] header nav a[aria-current=page]{
  color:var(--ad-ice);
}
[data-brand=ad] .preview{
  background:#eaf1f8;
  color:#314963;
  padding-inline:max(var(--pad),calc((100vw - 1344px) / 2));
}
[data-brand=ad] .section{
  max-width:1440px;
  margin-inline:auto;
}
[data-brand=ad] .section-heading{
  gap:.75rem 1.5rem;
  margin-bottom:1.55rem;
}
[data-brand=ad] .section-heading h2{
  font-size:clamp(1.85rem,3.05vw,3.15rem);
}
[data-brand=ad] .section-heading>a{
  font-size:.92rem;
  font-weight:650;
}
.ad-intro{
  background:var(--ad-navy);
  color:#f8fbff;
  border-bottom:0;
  padding-top:clamp(2.2rem,4.1vw,4.5rem);
  padding-bottom:clamp(1.3rem,2.2vw,2rem);
}
.ad-intro-content{max-width:1344px}
.ad-hero-copy{
  position:relative;
  max-width:44rem;
  min-height:clamp(187px,18vw,270px);
}
[data-brand=ad] .ad-intro h1{
  max-width:14ch;
  font-size:clamp(3.1rem,6.15vw,6.5rem);
  line-height:.97;
  letter-spacing:-.05em;
  word-spacing:.045em;
}
.ad-intro h1 span{color:var(--ad-ice)}
.ad-intro p{
  max-width:42ch;
  margin-top:1.25rem;
  color:#e2eaf5;
  line-height:1.6;
}
 .ad-intro .finder-form{
  color:var(--ink);
  margin-top:1.45rem;
  border-color:#e6edf5;
  box-shadow:0 14px 40px #0003;
}
.ad-intro .finder-form label{
  color:#253c55;
}
.ad-intro .finder-form button{
  background:#123e65;
}
:is(.ad-intro,.directory-intro,.jobs-finder-band) .finder-query input{
  padding-left:2.5rem;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23394d67' stroke-width='1.7'%3E%3Ccircle cx='10.5' cy='10.5' r='6.3'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E") no-repeat .77rem center / 19px;
}
.ad-agencies .showcase article{
  border-radius:15px;
  padding:1.35rem;
  box-shadow:0 3px 9px #243d5c08;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.ad-agencies .showcase article:focus-within,
.ad-agencies .showcase article:hover{
  border-color:#8fabcb;
  box-shadow:0 9px 24px #243d5c12;
}
.ad-agencies .showcase .agency-card-wordmark{margin:0}
.ad-agencies .showcase .agency-card-wordmark .agency-logo{width:160px;height:58px;padding:.3rem}
.ad-agencies .showcase .agency-card-wordmark .logo-300north{width:186px;padding:0}
.ad-agencies .showcase .agency-card-wordmark .logo-boden{width:148px}
body[data-brand=ad] #agency-matches{padding-top:clamp(1.15rem,2.3vw,2.1rem)}
.agency-filter-pills{display:flex;flex-wrap:wrap;gap:.45rem .55rem;list-style:none;margin:0 0 .85rem;padding:0}
.agency-filter-pills li{max-width:100%;min-width:0}
.agency-filter-pills a{display:inline-flex;align-items:center;gap:.62rem;min-height:34px;padding:.19rem .65rem .19rem .78rem;border:1px solid var(--line);border-radius:999px;background:var(--soft);color:var(--accent);font-size:.84rem;font-weight:650;text-decoration:none;overflow-wrap:anywhere}
.agency-filter-pills a:hover{border-color:var(--accent)}
.agency-filter-pills a span[aria-hidden]{font-size:1.13rem;line-height:1}
.agency-result-count{margin:.4rem 0 0;color:var(--muted,var(--ink));font-size:.88rem;font-weight:550}
[data-brand=ad] .inner{
  background:linear-gradient(118deg,#e8f3fd 0%,#f5f9fe 67%,#dcecfb 100%);
  padding-inline:max(var(--pad),calc((100vw - 1344px) / 2));
  border-bottom-color:#d8e5f1;
}
[data-brand=ad] .inner h1{
  max-width:17ch;
  margin-block:.75rem;
}
[data-brand=ad] .inner p{
  color:#3c536d;
}
[data-brand=ad] .inner .search{
  padding:1rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 5px 20px #172f500a;
}
[data-brand=ad] .inner-profile .agency-logo{
  display:flex;
  width:140px;
  height:56px;
}
[data-brand=ad] .inner a.back-link{
  display:inline-block;
  font-size:.9rem;
  font-weight:650;
}
[data-brand=ad] .agency-list,
[data-brand=ad] .job-list{
  display:grid;
  gap:.65rem;
}
[data-brand=ad] .agency-row,
[data-brand=ad] .job-row{
  border:1px solid var(--line);
  background:#fff;
  border-radius:11px;
  padding:1rem 1.2rem;
}
[data-brand=ad] .agency-row:focus-within,
[data-brand=ad] .job-row:focus-within{
  border-color:#7ea4ca;
}
[data-brand=ad] .vacancies{
  background:#eaf2fa;
}
[data-brand=ad] .facts div{
  padding:1rem 1.15rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
}
[data-brand=ad] .facts dt{
  margin-bottom:.35rem;
  color:#395772;
  font-size:.83rem;
}
[data-brand=ad] .detail-summary{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  padding:0;
  margin:1.2rem 0;
  list-style:none;
}
[data-brand=ad] .detail-summary li{
  background:#fff;
  border:1px solid #cbdceb;
  border-radius:999px;
  padding:.36rem .75rem;
  font-weight:650;
  font-size:.92rem;
}
[data-brand=ad] footer{
  row-gap:1.4rem;
  padding-block:2.1rem;
}
[data-brand=ad] footer p{
  flex-basis:100%;
  color:#bacee1;
}
@media (min-width:1160px){
  .ad-intro .finder-form{grid-template-columns:1.65fr 1.05fr 1fr 1.05fr auto}
  .ad-intro .agency-search{grid-column:auto;align-self:start}
  .ad-intro .agency-search input{min-height:48px}
}
@media (max-width:600px){
  .ad-hero-copy{min-height:0}
  [data-brand=ad] .inner .search{gap:.65rem}
  [data-brand=ad] .facts{grid-template-columns:1fr}
  [data-brand=ad] .inner-profile .actions a{white-space:normal}
}

.ad-hero-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:.45rem;
  margin-top:.85rem;
}
.ad-hero-actions button{
  background:#0d1e35de;
  color:#f8fbff;
  border:1px solid #afc7e480;
  min-height:36px;
  padding:.3rem .7rem;
  border-radius:6px;
  font-size:.82rem;
  font-weight:650;
}
.ad-hero-actions button:hover{background:#24476c;filter:none}

[data-brand=ad] .ad-intro .ad-headline-option{
  max-width:20ch;
  font-size:clamp(2.7rem,5.05vw,5.65rem);
}

.ad-hero-media{
  position:absolute;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
}
.ad-hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(90deg,#0b1a2f 0%,#0b1a2f 23%,#0b1a2f9e 40%,transparent 70%),
    linear-gradient(0deg,#0b1a2f 0%,transparent 44%);
}
.ad-hero-photo{
  position:absolute;
  inset:0 0 auto auto;
  width:min(83%,1370px);
  height:100%;
  display:block;
  object-fit:cover;
  object-position:right center;
  opacity:0;
  transition:opacity .7s ease;
}
.ad-hero-photo.is-previous{opacity:1;z-index:0}
.ad-hero-photo.is-current{opacity:1;z-index:1}
.ad-intro-content{position:relative}
@media(max-width:900px){
  .ad-hero-photo{width:100%;object-position:68% center}
  .ad-hero-media::after{
    background:linear-gradient(90deg,#0b1a2f 0%,#0b1a2fd9 30%,#0b1a2f20 80%),
      linear-gradient(0deg,#0b1a2f 0%,transparent 75%);
  }
}
@media(max-width:600px){
  .ad-hero-photo{height:59%;object-position:70% center}
  .ad-hero-media::after{
    background:linear-gradient(90deg,#0b1a2fee 0%,#0b1a2f60 85%),
      linear-gradient(0deg,#0b1a2f 42%,transparent 75%);
  }
}
@media(prefers-reduced-motion:reduce){.ad-hero-photo{transition:none}}

/* Illustrated through typography and linked directory categories. */
.ad-index-hero{
  background:
    radial-gradient(ellipse at 87% 18%,#24539a 0%,#153265 40%,transparent 69%),
    #0b1a2f;
}
.ad-index-hero .ad-intro-content{
  display:grid;
  grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);
  grid-template-areas:"copy specialisms" "finder finder";
  align-items:center;
  gap:clamp(24px,3.3vw,48px);
}
.ad-index-hero .ad-hero-copy{grid-area:copy;min-height:0}
.ad-index-hero .finder-form{grid-area:finder;margin-top:0}
.ad-index-types{
  grid-area:specialisms;
  margin:0;
  padding:clamp(1rem,2vw,1.65rem);
  border:1px solid #c7def74d;
  border-radius:16px;
  background:#10294785;
  box-shadow:0 18px 38px #07172b40;
}
[data-brand=ad] .ad-index-types h2{
  font-size:1.15rem;
  font-weight:650;
  letter-spacing:-.012em;
  margin:0 0 .8rem;
  color:#f0f8ff;
}
.ad-index-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.ad-index-links a{
  position:relative;
  display:flex;
  align-items:flex-end;
  min-height:clamp(52px,5.5vw,82px);
  background:#d6ebff;
  color:#132d52;
  border:1px solid #fff5;
  border-radius:8px;
  font-size:clamp(.93rem,1.35vw,1.3rem);
  font-weight:700;
  line-height:1.16;
  padding:.7rem .85rem;
  text-decoration:none;
  transition:background .18s ease;
}
.ad-index-links a:nth-child(3n + 2){background:#a9d4fd}
.ad-index-links a:nth-child(3n){background:#f2f7ff}
.ad-index-links a:hover,
.ad-index-links a:focus-visible{background:#fff;text-decoration:underline}
@media(max-width:920px){
  .ad-index-hero .ad-intro-content{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"copy" "finder" "specialisms";
  }
}
@media(max-width:600px){
  .ad-index-hero .ad-intro-content{gap:1.25rem}
  .ad-index-types{padding:.85rem}
}

.ad-night-hero{
  padding:0;
  background:#f5f8fb;
}
.ad-night-hero .ad-intro-content{max-width:none}
.ad-night-hero .ad-hero-copy{
  max-width:none;
  min-height:clamp(310px,31vw,470px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  isolation:isolate;
  overflow:hidden;
  padding:clamp(2rem,5vw,5rem) max(var(--pad),calc((100vw - 1344px) / 2));
  background:#09192c;
}
.ad-night-photo{
  position:absolute;
  inset:0 0 0 auto;
  width:min(82%,1320px);
  height:100%;
  z-index:-2;
  display:block;
  object-fit:cover;
  object-position:right 68%;
}
[data-stone-motion]{pointer-events:none}
.ad-night-hero .ad-hero-copy::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#09192c 15%,#09192ce5 24%,#09192c55 44%,transparent 69%);
}
.ad-night-hero .finder-form{
  max-width:none;
  border:0;
  border-radius:0;
  margin:0;
  padding:1.1rem max(var(--pad),calc((100vw - 1344px) / 2));
  background:#fff;
  box-shadow:none;
  border-bottom:1px solid var(--line);
}
@media(max-width:700px){
  .ad-night-hero .ad-hero-copy{min-height:350px;justify-content:flex-end}
  .ad-night-photo{width:100%;object-position:85% center}
  .ad-night-hero .ad-hero-copy::after{
    background:linear-gradient(0deg,#061322ed 0%,#061322a8 45%,#06132210 100%);
  }
}

/* Featured jobs and agency directory */
body[data-brand=ad] .featured-jobs{max-width:1360px;background:#fff}
.featured-jobs .section-heading h2{font-size:clamp(1.78rem,3vw,2.65rem);letter-spacing:-.04em}
.featured-job[hidden]{display:none}
.featured-job-list{border-top:1px solid #9aa9c4}
.featured-job{display:grid;grid-template-columns:112px minmax(0,1.8fr) minmax(0,1fr) minmax(125px,.86fr);align-items:center;gap:1rem;min-height:66px;padding:.7rem 0;border-bottom:1px solid var(--line)}
.featured-job-agency{justify-self:start}
.featured-job .agency-logo{width:108px;min-width:0;height:41px;padding:.28rem}
.featured-job h3{font-size:1.06rem;line-height:1.35;letter-spacing:-.015em;overflow-wrap:anywhere}
.featured-job h3 a{text-decoration:none}
.featured-job h3 a:hover{text-decoration:underline}
.featured-job-location,.featured-job-pay{font-size:.88rem;color:#44526a}
.featured-job-pay{font-weight:650}

.directory-intro{padding:clamp(1.45rem,3vw,2.9rem) max(var(--pad),calc((100vw - 1360px)/2 + var(--pad)));border-bottom:1px solid var(--line);background:#f4f7fc}
.directory-intro h1{font-size:clamp(2.2rem,4vw,3.65rem);letter-spacing:-.052em}
.directory-intro p{margin-top:.35rem;color:#43536d}
.compact-finder{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;align-items:end;gap:0;margin-top:1.1rem}
.compact-finder .finder-query{grid-column:auto}
.compact-finder label{display:grid;gap:.32rem;margin:0;padding:0;border-radius:0;background:none;font-size:.88rem;font-weight:700;color:#283952}
.compact-finder .finder-query input{height:50px;margin-top:0;border-radius:6px 0 0 6px}
.compact-finder>button{height:50px;min-height:0;margin:0;border-radius:0 6px 6px 0;background:#273da7;font-size:.97rem}
.compact-finder>.filter-button{border:1px solid #afc1d6;border-inline:0;border-radius:0;background:#eff3fc;color:#263b88}
.finder-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;padding-top:.85rem}
[data-finder-toggle][aria-expanded=false]~.finder-filters{display:none}
.compact-finder select{min-height:44px;padding:.45rem .65rem;border:1px solid #afc1d6;border-radius:6px;background:#fff;color:var(--ink)}
body[data-brand=ad] .agency-directory.section{max-width:1360px;padding-top:clamp(1.2rem,2.5vw,2.1rem)}
body[data-brand=ad] :is(#agency-matches,.agency-directory):has(>.agency-filter-pills){padding-top:clamp(.85rem,1.65vw,1.4rem)}
.agency-directory .directory-toolbar{align-items:center;margin-bottom:1rem}
.agency-directory .directory-toolbar h2{font-size:clamp(1.25rem,2vw,1.6rem);letter-spacing:-.025em}
.directory-tools{display:flex;align-items:center;gap:.85rem}
.directory-tools>a{font-size:.88rem}
.directory-view{display:flex;overflow:hidden;padding:3px;border:1px solid #cbd5e6;border-radius:7px;background:#fff}
.directory-view a{display:grid;place-items:center;min-width:56px;min-height:36px;padding:.28rem .55rem;border-radius:4px;color:#455574;font-size:.86rem;font-weight:700;text-decoration:none}
.directory-view a:is(:hover,:focus-visible){background:#eff3fc;outline-offset:-2px}
.directory-view a[aria-current]{background:#e6ecfc;color:#22398d;text-decoration:none}
.agency-directory .showcase article{padding:1rem;border-radius:8px}
.agency-directory .agency-card-actions{margin-top:auto;padding-top:.7rem}
.agency-directory .showcase .chips{margin-bottom:.6rem}
.directory-list :is(.directory-list-head,.directory-list-row){display:grid;grid-template-columns:minmax(136px,1fr) minmax(0,1.6fr) minmax(0,1.05fr) minmax(110px,.8fr) 6.4rem;align-items:center;gap:1rem}
.directory-list-head{padding:.55rem 0;border-bottom:1px solid #9aa9c4;color:#4d5d75;font-size:.82rem;font-weight:700}
.directory-list-row{min-height:65px;padding:.65rem 0;border-bottom:1px solid var(--line);color:#35445e;font-size:.88rem}
.directory-list-row h3{line-height:1}
.directory-list-row .agency-logo{width:min(100%,137px);min-width:0;height:44px}
.directory-list-row .logo-300north{padding:.15rem}
.directory-list-row :is(.directory-list-jobs,.directory-list-profile){color:var(--accent);font-size:.87rem;font-weight:700}
.directory-list-profile{justify-self:end;text-decoration:none}
.directory-list-profile:hover{text-decoration:underline}
@media(max-width:760px){
  .directory-list .directory-list-head{display:none}
  .directory-list .directory-list-row{grid-template-columns:minmax(0,1fr) auto;gap:.35rem .75rem;padding:.72rem 0}
  .directory-list-row:first-of-type{border-top:1px solid #9aa9c4}
  .directory-list-skills{grid-row:2;grid-column:1/-1}
  .directory-list-coverage,.directory-list-profile{grid-row:3}
  .directory-list-jobs{grid-row:1;grid-column:2}
  .featured-job{grid-template-columns:83px minmax(0,1fr);gap:.16rem .75rem}
  .featured-job-agency{grid-row:span 3;align-self:start}
  .featured-job .agency-logo{width:83px;height:36px}
  .featured-job :is(h3,.featured-job-location,.featured-job-pay){grid-column:2}
}
@media(max-width:600px){
  .compact-finder{grid-template-columns:1fr 1fr;gap:.5rem}
  .compact-finder .finder-query{grid-column:1/-1}
  .compact-finder .finder-query input,.compact-finder>button,.compact-finder>.filter-button{border-radius:6px}
  .compact-finder>.filter-button{border-inline:1px solid #afc1d6}
  .finder-filters{grid-template-columns:1fr}
}

/* Hybrid site */
body[data-layout=hybrid]{
  --paper:#f7f9fd;--ink:#161f31;--accent:#243dad;--card:#fff;--soft:#eaf0fb;--line:#d6dfed;--muted:#45536b;
  --ad-navy:#101b31;--ad-ice:#a6d7ff;
  --site-width:1360px;
  --site-inset:max(var(--pad),calc((100% - var(--site-width)) / 2 + var(--pad)));
  --section-heading-size:clamp(1.6rem,2.65vw,2.35rem);
}
html:has(body[data-layout=hybrid]){scrollbar-gutter:stable}
body[data-layout=hybrid] :is(header,footer,.inner,.directory-intro,.jobs-hero,.jobs-finder-band){padding-inline:var(--site-inset)}
body[data-layout=hybrid] header{min-height:68px}
body[data-layout=hybrid] header .brand-ad{width:221px}
body[data-layout=hybrid] header nav{font-size:.94rem}
.site-menu-toggle{display:none}
body[data-layout=hybrid] .section{max-width:var(--site-width)}
body[data-layout=hybrid] .section-heading{margin-bottom:1.3rem}
body[data-layout=hybrid] :is(#agency-matches,#browse-specialisms,#index-vacancies) h2,
body[data-layout=hybrid] .section-heading h2{font-size:var(--section-heading-size);letter-spacing:-.043em;line-height:1.12}
body[data-layout=hybrid] .directory-toolbar h2{font-size:clamp(1.25rem,2vw,1.6rem);letter-spacing:-.025em}
body[data-layout=hybrid] .section-heading>a{font-size:.88rem}
body[data-layout=hybrid] .inner{
  padding-block:clamp(1.55rem,3.25vw,3.1rem);background:#eef3fb;border-bottom-color:var(--line)
}
body[data-layout=hybrid] :is(.inner,.directory-intro) h1{
  max-width:27ch;margin:0;font-size:clamp(2.2rem,4vw,3.65rem);letter-spacing:-.052em
}
body[data-layout=hybrid] :is(.inner,.directory-intro) p{color:var(--muted)}
body[data-layout=hybrid] .inner .search{border-radius:10px;box-shadow:none}
body[data-layout=hybrid] main .section+.source-boards{padding-top:1.45rem}

body[data-layout=hybrid] .ad-night-hero .ad-hero-copy{
  min-height:clamp(310px,27vw,410px);padding-inline:max(var(--pad),calc((100vw - var(--site-width)) / 2));background:var(--hybrid-hero,var(--ad-navy))
}
body[data-layout=hybrid] .ad-night-hero .ad-hero-copy::after{
  background:var(--hybrid-hero-wash,linear-gradient(90deg,#101b31 8%,#101b31f7 22%,#101b31b0 49%,#101b3145 65%,transparent 79%))
}
.ad-night-visual{position:absolute;inset:0;z-index:-2;pointer-events:none}
.ad-night-visual .ad-night-photo{z-index:0}
body[data-layout=hybrid] .ad-hero-copy .ad-headline-option{
  max-width:12.6em;color:#fff;font-size:clamp(2.45rem,5.15vw,5.2rem);letter-spacing:-.048em;line-height:1.02
}
body[data-layout=hybrid] .ad-hero-copy p{
  max-width:48ch;margin-top:1.25rem;color:var(--hybrid-hero-text,#dce7f6);font-size:clamp(1.08rem,1.75vw,1.375rem);line-height:1.45
}
body[data-layout=hybrid] .ad-night-hero .compact-finder{
  padding-inline:var(--site-inset);background:var(--card)
}
body[data-layout=hybrid] .compact-finder{grid-template-columns:minmax(0,1fr) max-content max-content;gap:.55rem}
body[data-layout=hybrid] .compact-finder .finder-query{grid-column:auto}
body[data-layout=hybrid] .compact-finder :is(input,select,button){
  border-color:var(--finder-border,#bdcbe1);border-radius:8px
}
body[data-layout=hybrid] .compact-finder :is(.finder-query input,button){height:51px}
body[data-layout=hybrid] .compact-finder>button{
  grid-column:auto;background:var(--finder-action,var(--accent));border-color:var(--finder-action-border,transparent);color:var(--finder-action-ink,#fff)
}
body[data-layout=hybrid] .compact-finder .filter-button{
  border:1px solid var(--finder-border,#bdcbe1);background:var(--finder-tint,#edf2fb);color:var(--finder-ink,var(--accent));padding-inline:1.15rem
}
body[data-layout=hybrid] .compact-finder label{color:var(--ink)}
body[data-layout=hybrid] #agency-matches{
  padding-bottom:clamp(1.8rem,3.5vw,3.2rem);border-bottom:0
}
body[data-layout=hybrid] #agency-matches .showcase article{
  padding:clamp(1rem,1.8vw,1.4rem);border-color:var(--line);border-radius:7px;box-shadow:none
}
body[data-layout=hybrid] #agency-matches .showcase article:is(:hover,:focus-within){
  border-color:var(--hybrid-card-hover-border,#8ea3cf);background:var(--hybrid-card-hover,#fbfcff)
}
body[data-layout=hybrid] #agency-matches .showcase p{color:var(--muted)}
body[data-layout=hybrid] #agency-matches .showcase .chips{margin-bottom:1rem}
body[data-layout=hybrid] #agency-matches .showcase .chips a{border-radius:4px;background:var(--soft);color:var(--accent)}
body[data-layout=hybrid] .ad-agencies .agency-card-actions{padding-top:.8rem;border-top:1px solid var(--line)}
body[data-layout=hybrid] .agency-card-actions a{color:var(--accent);text-decoration:none}
body[data-layout=hybrid] .agency-card-actions a:hover{color:var(--ink)}
body[data-layout=hybrid] .hybrid-specialisms{
  padding-block:0 clamp(1.8rem,3.5vw,3.2rem);border-bottom:0
}
.hybrid-specialisms h2{margin-bottom:1rem}
.hybrid-specialisms .category-list{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:hidden;
  border:1px solid var(--hybrid-panel-divider,#34425c);border-radius:11px;background:var(--hybrid-panel,var(--ad-navy))
}
.hybrid-specialisms .category-list>a{
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr;align-content:stretch;
  min-height:116px;padding:1.25rem clamp(.85rem,1.5vw,1.35rem);gap:.35rem .55rem;
  border:0;border-radius:0;background:transparent;color:var(--hybrid-panel-text,#f8fbff);text-decoration:none
}
.hybrid-specialisms .category-list>a+a{border-inline-start:1px solid var(--hybrid-panel-divider,#34425c)}
.hybrid-specialisms .category-list>a:is(:hover,:focus-visible){background:var(--hybrid-panel-hover,#213452)}
.hybrid-specialisms .category-list>a:focus-visible{outline:2px solid var(--ad-ice);outline-offset:-4px}
.hybrid-specialisms .category-list>a strong{font-size:1.22rem;letter-spacing:-.03em}
.hybrid-specialisms .category-list>a small{
  grid-row:2;color:var(--hybrid-panel-muted,#d6e1f2);font-size:.83rem;line-height:1.4;font-weight:500;letter-spacing:0;text-transform:none
}
.hybrid-specialisms .category-list>a span{
  display:grid;place-items:center;align-self:center;grid-area:1/2/3;width:29px;height:29px;
  border:1px solid var(--hybrid-arrow-border,#597596);border-radius:50%;color:var(--ad-ice)
}
.hybrid-specialisms .category-list>a:hover span{
  border-color:var(--ad-ice);background:var(--ad-ice);color:var(--hybrid-panel,var(--ad-navy))
}
body[data-layout=hybrid] .featured-jobs{
  max-width:none;padding-inline:var(--site-inset);background:var(--hybrid-jobs-band,#eaf1fb)
}
body[data-layout=hybrid] .featured-job-list{border-top-color:var(--hybrid-jobs-divider,#a6b9d5)}
body[data-layout=hybrid] :is(.featured-job-location,.featured-job-pay){color:var(--muted)}

/* Jobs board */
.jobs-hero{background:var(--hybrid-hero,var(--ad-navy));color:#fff;padding-block:clamp(1.5rem,3.5vw,3rem)}
.jobs-hero h1{font-size:clamp(2rem,4.75vw,4.3rem);line-height:1.04;letter-spacing:-.043em}
.jobs-hero h1 span{color:var(--ad-ice)}
.jobs-hero p{margin-top:.6rem;color:var(--hybrid-hero-text,#dce7f6);font-size:clamp(1rem,1.5vw,1.15rem)}
.recruiter-enquiry-link{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1.2rem;background:var(--soft)}
.recruiter-enquiry-link h2,.enquiry-card h2{font-size:var(--section-heading-size);letter-spacing:-.038em;line-height:1.15}
.recruiter-enquiry-link p,.enquiry-privacy{color:var(--muted)}
.enquiry-card{max-width:740px;padding:clamp(1.05rem,3.3vw,2.4rem);border:1px solid var(--line);border-radius:12px;background:var(--card)}
.enquiry-card>a{display:inline-block;margin-top:1rem;color:var(--accent)}
.enquiry-form{display:grid;justify-items:start;gap:1.2rem}
.enquiry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;width:100%}
.enquiry-form label{display:grid;gap:.36rem;width:100%;font-size:.94rem;font-weight:650}
.enquiry-form :is(input,select,textarea){width:100%;min-height:46px;padding:.65rem .78rem;border:1px solid var(--finder-border,#bdcbe1);border-radius:8px;background:var(--card);color:var(--ink);font:inherit;font-size:1rem;font-weight:450}
.enquiry-form textarea{resize:vertical}
.enquiry-form button:disabled{opacity:.55;cursor:default}
.enquiry-form .enquiry-privacy{margin:0;font-size:.9rem}
.enquiry-errors{width:100%;padding:.75rem 1rem;border-left:3px solid #a33537;background:#fff3f3;color:#792225}
.enquiry-errors ul{margin:0;padding-inline-start:1.2rem}
.enquiry-trap{position:absolute;inset:auto auto auto -9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:550px){.enquiry-fields{grid-template-columns:1fr}}
.jobs-finder-band{padding-block:1rem;background:var(--card);border-bottom:1px solid var(--line)}
.jobs-finder-band .compact-finder{margin:0}
body[data-layout=hybrid] .jobs-results{padding-block:clamp(1.3rem,3vw,2.5rem)}
.job-board-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.13fr);gap:clamp(1rem,2.5vw,2rem);align-items:start}
.job-board-preview{
  position:sticky;top:1.15rem;min-width:0;overflow-anchor:none;
  --profile-ink:var(--ink);--profile-muted:var(--muted);--profile-line:var(--line);--profile-link:var(--accent);
  --profile-tint:var(--soft);--profile-surface:var(--card);--profile-radius:10px
}
.job-board-hint,.job-board-preview-message{margin:0;padding:1rem 1.15rem;color:var(--muted)}
.job-board-hint{background:var(--card);border:1px solid var(--line);border-radius:10px}
.job-board-preview .job-preview-bar{
  position:sticky;top:0;z-index:4;display:flex;justify-content:flex-end;padding:.16rem .5rem;
  border-bottom:1px solid var(--line);background:var(--card)
}
.job-board-preview .job-preview-close{
  min-height:40px;gap:.4rem;padding:.3rem .65rem;border-radius:5px;background:transparent;color:var(--accent);font-size:.88rem
}
.job-board-preview .job-preview-close:hover{background:var(--soft);filter:none}
.job-board-preview .job-preview-close span{font-size:1.3rem;line-height:1}
.job-board-preview .job-preview-title-row h2{font-size:clamp(1.55rem,2.8vw,2.4rem);line-height:1.12;letter-spacing:-.035em}
.job-board-preview .job-preview-description h3{font-size:1.1rem;letter-spacing:-.015em}
.job-board-list{margin:0;padding:0;list-style:none;background:var(--card);border:1px solid var(--line);border-radius:10px}
.job-board-row{
  position:relative;display:grid;align-items:center;gap:.55rem clamp(.65rem,1.55vw,1.25rem);
  grid-template-columns:clamp(72px,7.2vw,98px) minmax(0,1fr) 32px;
  padding:.8rem clamp(.7rem,1.65vw,1.25rem);min-height:76px;overflow-wrap:anywhere
}
.job-board-row+.job-board-row{border-top:1px solid var(--line)}
.job-board-row:first-child{border-radius:9px 9px 0 0}
.job-board-row:last-child{border-end-start-radius:9px;border-end-end-radius:9px}
.job-board-row:is(:hover,:focus-within,:has([aria-current=true])){background:var(--hybrid-card-hover,#f4f7fe)}
.job-board-row:has([aria-current=true]){box-shadow:inset 3px 0 var(--accent)}
.job-board-row>.agency-logo{width:100%;min-width:0;height:42px;padding:.3rem;border:1px solid #17233813}
.job-board-role h3{font-size:clamp(1rem,1.5vw,1.25rem);line-height:1.24;letter-spacing:-.023em}
.job-board-link{text-decoration:none}
.job-board-link::after{content:"";position:absolute;inset:0;border-radius:inherit}
.job-board-link:focus-visible{outline:0}
.job-board-link:focus-visible::after{outline:2px solid var(--accent);outline-offset:-2px}
.job-board-agency{position:relative;display:inline-block;margin-top:.18rem;color:var(--muted);font-size:.86rem;text-decoration:none}
.job-board-agency:is(:hover,:focus-visible){color:var(--accent);text-decoration:underline}
.job-board-details{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;gap:.2rem .75rem;align-items:baseline}
.job-board-meta,.job-board-pay{color:var(--muted);font-size:.9rem;line-height:1.38}
.job-board-meta{display:flex;flex-wrap:wrap;gap:0 .5em}
.job-board-meta span+span::before{content:"·";margin-inline-end:.5em}
.job-board-pay{margin:0}
.job-board-pay strong{color:var(--ink);font-weight:650}
.job-board-arrow{
  grid-column:3;grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;color:var(--accent)
}
.job-board-row:is(:hover,:focus-within) .job-board-arrow{border-color:var(--accent);background:var(--soft)}

@media(max-width:900px){
  .hybrid-specialisms .category-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hybrid-specialisms .category-list>a:nth-child(odd){border-inline-start:0}
  .hybrid-specialisms .category-list>a:nth-child(n+3){border-block-start:1px solid var(--hybrid-panel-divider,#34425c)}
}
@media(max-width:800px){
  .job-board-layout{display:block}
  .job-board-preview{position:static}
  .job-board-hint{display:none}
  html:has(.job-board-preview dialog:modal){overflow:hidden}
  .job-board-preview .job-preview-close{min-height:44px}
}
@media(max-width:800px) and (prefers-reduced-motion:no-preference){
  .job-board-preview dialog:modal{animation:job-board-slide-in .24s ease-out}
  @keyframes job-board-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
}
@media(max-width:760px){
  html:has(body[data-layout=hybrid]){scroll-padding-top:64px}
  body[data-layout=hybrid] header{
    position:sticky;top:0;z-index:5;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;
    min-height:64px;gap:.45rem .75rem;padding-block:.55rem
  }
  body[data-layout=hybrid] header .brand-ad{width:clamp(150px,46vw,185px)}
  .site-menu-toggle{
    display:inline-flex;gap:.5rem;min-height:44px;padding:.42rem .65rem;border:1px solid #ffffff42;border-radius:7px;
    background:transparent;color:inherit;font-size:.88rem
  }
  .site-menu-toggle:hover,.site-menu-toggle[aria-expanded=true]{background:#ffffff18;filter:none}
  .site-menu-icon{
    width:17px;height:12px;border-block:1.5px solid currentColor;
    background:linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat
  }
  body[data-layout=hybrid] header .site-menu-toggle+#main-navigation{
    position:absolute;inset:calc(100% + .15rem) var(--pad) auto;display:grid;gap:0;padding:.3rem;
    border:1px solid #ffffff29;border-radius:9px;background:var(--ad-navy);box-shadow:0 12px 26px #111c3859
  }
  body[data-layout=hybrid] header .site-menu-toggle[aria-expanded=false]+#main-navigation{display:none}
  body[data-layout=hybrid] #main-navigation a{
    display:flex;align-items:center;min-height:44px;padding:.55rem .75rem;border-radius:5px
  }
  body[data-layout=hybrid] #main-navigation a:is(:hover,[aria-current=page]){background:#ffffff12}
  body[data-layout=hybrid] footer nav a{display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:700px){
  .jobs-hero h1{max-width:19ch}
  .jobs-hero p{max-width:38ch}
  .job-board-row{grid-template-columns:72px minmax(0,1fr) 28px;gap:.65rem;min-height:0}
  .job-board-row>.agency-logo{height:36px}
  .job-board-details{grid-column:1/3}
  .job-board-pay{font-size:.86rem}
  .job-board-arrow{width:27px;height:27px}
  body[data-layout=hybrid] .ad-night-hero .ad-hero-copy{
    min-height:clamp(210px,33svh,280px);justify-content:flex-end;align-items:flex-start;
    padding:1.25rem var(--pad) clamp(1.5rem,4.5svh,2.5rem)
  }
  body[data-layout=hybrid] .ad-hero-copy .ad-headline-option{
    max-width:20ch;font-size:clamp(1.6rem,8.2vw,2.65rem);line-height:1.08;text-wrap:balance
  }
  body[data-layout=hybrid] .ad-hero-copy .ad-headline-option br{display:none}
  body[data-layout=hybrid] .ad-hero-copy p{
    max-width:42ch;margin-top:.65rem;font-size:clamp(.98rem,3.6vw,1.12rem);line-height:1.48;text-wrap:balance
  }
  body[data-layout=hybrid] .ad-night-hero .ad-hero-copy::after{
    background:var(--hybrid-hero-mobile-wash,linear-gradient(90deg,#101b31eb 0%,#101b31ab 62%,#101b313b 100%),linear-gradient(0deg,#101b31b8,transparent 75%))
  }
  .ad-night-visual .ad-night-photo{width:100%;object-position:86% 55%}
  body[data-layout=hybrid] .compact-finder{grid-template-columns:1fr 1fr}
  body[data-layout=hybrid] .compact-finder .finder-query{grid-column:1/-1}
  body[data-layout=hybrid] .compact-finder .finder-filters{grid-template-columns:1fr}
  body[data-layout=hybrid] .ad-night-hero .compact-finder{padding-block:.8rem 1rem}
  body[data-layout=hybrid] :is(.inner,.directory-intro) h1{font-size:clamp(1.9rem,7vw,2.7rem)}
  body[data-layout=hybrid] :is(.inner,.directory-intro) p{font-size:1rem;line-height:1.5}
  body[data-layout=hybrid] .inner .search{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:.8rem;gap:.6rem
  }
  body[data-layout=hybrid] .inner .search :is(.keyword,button,label:last-of-type){grid-column:1/-1}
  body[data-layout=hybrid] .job-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:.55rem .75rem;padding:.9rem}
  body[data-layout=hybrid] .job-row>div{grid-column:1/-1}
  body[data-layout=hybrid] .job-row h3{font-size:1.12rem;line-height:1.3;overflow-wrap:anywhere}
  body[data-layout=hybrid] .job-row .source{display:inline-flex;align-items:center;min-height:32px;font-size:.88rem}
  body[data-layout=hybrid] .job-row>span,body[data-layout=hybrid] .job-row>strong{font-size:.88rem}
  body[data-layout=hybrid] .agency-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:.9rem}
  body[data-layout=hybrid] .agency-name{grid-column:1/-1}
  .directory-view a,.directory-tools>a,.directory-list-profile{min-height:44px}
  .directory-tools>a,.directory-list-profile{display:inline-flex;align-items:center}
  body[data-layout=hybrid] .section-heading{gap:.2rem .65rem;margin-bottom:.85rem}
  body[data-layout=hybrid] .section-heading>a{display:inline-flex;align-items:center;min-height:36px}
  body[data-layout=hybrid] .agency-card-actions a{display:inline-flex;align-items:center;min-height:36px}
}
@media(max-width:450px){
  .hybrid-specialisms .category-list{grid-template-columns:minmax(0,1fr)}
  .hybrid-specialisms .category-list>a{min-height:82px}
  .hybrid-specialisms .category-list>a+a{border-inline-start:0;border-block-start:1px solid var(--hybrid-panel-divider,#34425c)}
}
