/* Phoenix Talent Network theme. Loads after site.css and site2.css.
   Phoenix brand from the live site: black ground, orange-red #EF5324, Archivo Black titles.
   Same rules as every Libero build: solid fills, square corners, no tints, no grey text,
   no coloured left rails. */
:root {
  --o: #F26B1D;          /* Phoenix orange, from James Uddin's mockup (10 Nov 2026) */
  --o-h: #D95A10;        /* hover */
  --o-t: #C2500C;        /* orange text on white */
  --ink: #0B0B0D;
  --alt: #F2F2F2;
  --band: #000000;
  --font: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --title: "Barlow Condensed", "Barlow", Arial, sans-serif;
  --hero: "Montserrat", "Barlow", Arial, sans-serif;
}

/* Titles: tall condensed capitals, as on the mockup. Page headlines in heavy Montserrat. */
h1, h2, .h2, .h2-title, .h2-end h2, .h2-promise h2, .fh { font-family: var(--title); font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.h2-title { font-family: var(--hero); font-weight: 900; letter-spacing: -0.01em; line-height: 1.02; }
h3, .h3 { font-family: var(--title); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
.btn { font-family: var(--title); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 18px; }
.prose h2, .prose h3 { text-transform: none; }

/* Black header with the white Phoenix logo. */
.hdr { background: #000; border-bottom: 1px solid #1F1F21; color: #fff; }
.hdr .brand img { height: 46px; }
.mainnav a { color: #fff; }
.mainnav a:hover { color: var(--o); }
.hdr .btn-line { border-color: #fff; color: #fff; }
.hdr .btn-line:hover { background: #fff; color: var(--ink); }
.hdr-phone { color: #fff; }
.burger span { background: #fff; }
.drawer { background: #000; border-bottom-color: #1F1F21; color: #fff; }
.drawer a:not(.btn) { border-bottom-color: #2A2A2C; color: #fff; }
.drawer .btn-line { border-color: #fff; color: #fff; }
@media (min-width: 1080px) and (max-width: 1279px) { .hdr .brand img { height: 38px; } }
.admin .hdr .brand img { height: 36px; }

/* Black home page sections, as on the live site: divisions and services. */
.h2-alt { background: #000; color: #fff; }
.h2-alt .h2-head h2 { color: #fff; }
.h2-alt .h2-disc { background: #000; }
.h2-alt .h2-disc a { background: #0B0B0D; color: #fff; }
.h2-alt .h2-disc a:hover { background: var(--o); color: #fff; }
.h2-alt .h2-disc a:hover .di { background: #000; }
.h2-alt .h2-disc .chev { color: #fff; }


/* Testimonials are long on this site: smaller type, wider cards. */
.h2-quotes .h2-quote blockquote { font-size: 17px; line-height: 1.6; font-weight: 500; letter-spacing: 0; max-width: 64ch; }
@media (min-width: 900px) { .h2-quotes .h2-quote { flex-basis: calc(50% - 12px); } }

/* Three principles in a row. */
.why.why-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 899px) { .why.why-3 { grid-template-columns: 1fr; } }

/* About page photo. */
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Footer: the stacked logo. */
.ftr-logo img { width: 150px; height: auto; }

/* Tile grids with an odd count: the last tile stretches, so no empty black cell shows. */
@media (min-width: 900px) {
  .h2-disc > a:last-child:nth-child(3n+1) { grid-column: span 3; }
  .h2-disc > a:last-child:nth-child(3n+2) { grid-column: span 2; }
}
@media (min-width: 561px) and (max-width: 899px) { .h2-disc > a:last-child:nth-child(2n+1) { grid-column: span 2; } }


/* The promise band is black too. */
.h2-promise { background: #000; }
.h2-steps li b { color: #fff; }
.h2-ticks i.on { background: var(--o); }

/* The five pillars (numbered) and the four sectors. Hairlines only, no boxes. */
.why.why-5 { grid-template-columns: repeat(5, 1fr); column-gap: 28px; }
.why.why-4 { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
.why.why-5 h3, .why.why-4 h3 { font-size: 19px; }
.h2-head-sub { margin-top: 56px; }
.h2-alt .why > div { border-top-color: #333; }
.h2-alt .why h3 { color: #fff; }
.h2-alt .why p { color: #fff; }
@media (max-width: 1099px) { .why.why-5 { grid-template-columns: repeat(3, 1fr); } .why.why-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .why.why-5, .why.why-4 { grid-template-columns: 1fr; } }
.h2-head-p { display: block; }
.h2-head-p p { margin: 12px 0 0; max-width: 640px; font-size: 18px; }
.h2-alt .h2-head-p p { color: #fff; }
.h2-bigquote { margin: 0; max-width: 900px; }
.h2-bigquote blockquote { margin: 0; font-family: var(--title); font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -0.01em; }

/* Promise band with no picture beside it (5 Nov) */
.h2-promise-solo { grid-template-columns: 1fr; }


/* ==========================================================================
   James Uddin's look (mockup, 10 Nov 2026). Black, orange, condensed capitals,
   black and white photo tiles. Solid fills, square corners, no tinted boxes.
   ========================================================================== */
.o { color: var(--o); }
.bar { display: block; width: 64px; height: 6px; background: var(--o); margin: 0 0 22px; }
.btn-line { border-color: var(--o); }
.hdr .btn-line, .h2-hero .btn-line, .h2-subhero .btn-line, .x-hero .btn-line, .x-dark .btn-line { border-color: var(--o); color: #fff; }
.hdr .btn-line:hover, .h2-hero .btn-line:hover, .h2-subhero .btn-line:hover, .x-hero .btn-line:hover, .x-dark .btn-line:hover { background: var(--o); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--o); }

/* Header: logo with "Search & Selection" under it, a thin divider, condensed menu. */
.hdr .wrap { height: 92px; }
.brand { display: flex; flex-direction: column; text-decoration: none; padding-right: 22px; margin-right: 6px; border-right: 1px solid #3A3A3D; }
.hdr .brand img { height: 56px; width: auto; }
.brand-sub { font: 700 17px/1 var(--title); text-transform: uppercase; letter-spacing: 0.06em; color: var(--o); margin-top: 6px; }
.mainnav a { font-family: var(--title); font-size: 18px; font-weight: 500; letter-spacing: 0.01em; }
.mainnav a[aria-current="page"]::after { bottom: -6px; height: 3px; }
.hdr .hdr-cta { margin-left: auto; border-width: 2px; font-size: 17px; }
@media (min-width: 1080px) and (max-width: 1279px) { .mainnav { gap: 14px; } .mainnav a { font-size: 16.5px; } .hdr .brand img { height: 44px; } .brand-sub { font-size: 14px; } }
@media (max-width: 1079px) { .hdr .wrap { height: 76px; } .hdr .brand img { height: 40px; } .brand-sub { font-size: 13px; margin-top: 4px; } .brand { border-right: 0; padding-right: 0; } .hdr .hdr-cta { display: none; } .burger { margin-left: auto; } }
.drawer a:not(.btn) { font-family: var(--title); font-size: 20px; text-transform: uppercase; }

/* Home hero: his artwork fills the right and fades into black behind the headline. */
.x-hero { position: relative; background: #000; color: #fff; overflow: hidden; }
.x-hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; overflow: hidden; }
.x-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; transform-origin: 60% 50%; will-change: transform; }
.x-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.85) 14%, rgba(0,0,0,0) 46%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 18%); }
.x-hero-in { position: relative; z-index: 1; min-height: min(80vh, 720px); display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 72px; }
.x-hero-in > * { max-width: 640px; }
.x-h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1; margin: 0 0 26px; }
.x-h1 .w:last-child > span { color: #fff; }
.x-h1 .w.o > span { color: var(--o); }
.x-lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; margin: 0 0 34px; color: #fff; }
.x-hero .btn-row { gap: 26px; }
.x-hero .btn { min-height: 58px; padding: 16px 30px; font-size: 21px; }

/* The five pillars: a dark band split by thin white lines. */
.x-band { background: #111113; color: #fff; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.x-pillars { display: grid; grid-template-columns: repeat(5, 1fr); }
.x-pillars > div { padding: 34px 22px; text-align: center; border-left: 1px solid #fff; }
.x-pillars > div:first-child { border-left: 0; }
.x-pillars h3 { margin: 0 0 12px; font-size: 24px; color: #fff; }
.x-pillars p { margin: 0; font-size: 17px; line-height: 1.4; color: #fff; }
@media (max-width: 1099px) { .x-pillars { grid-template-columns: repeat(3, 1fr); } .x-pillars > div { border-left: 0; border-top: 1px solid #fff; } .x-pillars > div:nth-child(-n+3) { border-top: 0; } }
@media (max-width: 699px) { .x-pillars { grid-template-columns: 1fr; } .x-pillars > div { padding: 22px 0; text-align: left; } .x-pillars > div:nth-child(2), .x-pillars > div:nth-child(3) { border-top: 1px solid #fff; } }

/* Section intros: orange kicker with a short bar, big condensed heading. */
.x-kicker { font: 700 20px/1 var(--title); text-transform: uppercase; color: var(--o); margin: 0 0 18px; padding-bottom: 12px; position: relative; }
.x-kicker::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 4px; background: var(--o); }
.x-intro h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.02; margin: 0 0 22px; }
.x-intro p:last-child { font-size: 19px; line-height: 1.45; margin: 0; }
.x-areas { background: var(--alt); color: var(--ink); padding: 64px 0; }
.x-areas-in { display: grid; grid-template-columns: 1fr 2.1fr; gap: 40px; align-items: center; }
.x-dark { background: #000; color: #fff; padding: 64px 0; }
.x-dark.x-pad { padding: 56px 0; }
.x-light { background: var(--alt); color: var(--ink); padding: 64px 0; }
@media (max-width: 999px) { .x-areas-in { grid-template-columns: 1fr; } }

/* Specialism tiles: black and white photo, label and orange arrow at the foot. */
.x-tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.x-tile { grid-column: span 3; position: relative; display: block; aspect-ratio: 4 / 4.2; overflow: hidden; background: #111; color: #fff; text-decoration: none; }
.x-tile:nth-child(n+5) { grid-column: span 4; aspect-ratio: 16 / 10; }
.x-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: grayscale(1) contrast(1.1) brightness(.75); transition: filter .4s, transform .6s; }
.x-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 55%); }
.x-tile b { position: absolute; left: 18px; right: 14px; bottom: 16px; z-index: 1; font: 700 24px/1.05 var(--title); text-transform: uppercase; }
.x-tile .chev, .x-sector .chev { color: var(--o); width: 14px; height: 14px; margin-left: 4px; vertical-align: 1px; }
.x-tile:hover img { filter: grayscale(0) contrast(1.05) brightness(.9); transform: scale(1.04); }
@media (max-width: 699px) { .x-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .x-tile, .x-tile:nth-child(n+5) { grid-column: span 1; aspect-ratio: 1; } .x-tile:last-child { grid-column: span 2; aspect-ratio: 2 / 1; } .x-tile b { font-size: 20px; left: 12px; bottom: 12px; } }

/* Sector cards: colour photo, title and Learn more in orange, thin white frame. */
.x-sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.x-sectors-2 { grid-template-columns: repeat(2, 1fr); }
.x-sector { position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; border: 1px solid #fff; color: #fff; text-decoration: none; }
.x-sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: transform .6s, filter .4s; }
.x-sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,0) 60%); }
.x-sector span { position: absolute; left: 22px; right: 18px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.x-sector b { font: 700 28px/1 var(--title); text-transform: uppercase; }
.x-sector em { font: 700 19px/1 var(--title); font-style: normal; text-transform: uppercase; color: var(--o); }
.x-sector:hover img { transform: scale(1.05); filter: brightness(.95); }
.x-sectors-in { grid-template-columns: 1fr 2.6fr; }
@media (max-width: 999px) { .x-sectors-in { grid-template-columns: 1fr; } }
@media (max-width: 799px) { .x-sectors, .x-sectors-2 { grid-template-columns: 1fr; } .x-sector { aspect-ratio: 16 / 9; } }

/* Quote and the four things we focus on, on light grey, split by thin lines. */
.x-quote { background: var(--alt); color: var(--ink); padding: 56px 0; }
.x-quote-in { display: grid; grid-template-columns: 1.15fr 1.6fr; gap: 40px; align-items: center; }
.x-quote figure { margin: 0; display: flex; gap: 18px; }
.x-quote .qm { font: 900 92px/0.8 var(--hero); color: var(--o); }
.x-quote blockquote { margin: 0; font-size: 20px; line-height: 1.5; font-style: italic; }
.x-focus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.x-focus li { padding: 6px 20px; border-left: 1px solid var(--ink); text-align: center; }
.x-focus b { display: block; font: 700 34px/1 var(--title); text-transform: uppercase; color: var(--o-t); margin-bottom: 10px; }
.x-focus span { font-size: 16px; line-height: 1.4; }
@media (max-width: 1099px) { .x-quote-in { grid-template-columns: 1fr; } }
@media (max-width: 699px) { .x-focus { grid-template-columns: 1fr 1fr; row-gap: 22px; } .x-focus li { padding: 4px 12px; } .x-focus li:nth-child(odd) { border-left: 0; padding-left: 0; } }

/* Current searches and insights. */
.x-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.x-head h2 { font-size: clamp(30px, 3vw, 42px); margin: 0; line-height: 1; }
.x-jobs, .x-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.x-job { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: #000; color: #fff; text-decoration: none; border-top: 4px solid var(--o); }
.x-job b { font: 700 25px/1.08 var(--title); text-transform: uppercase; margin-bottom: 6px; }
.x-job span { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.x-job span svg { width: 17px; height: 17px; color: var(--o); flex: none; }
.x-job em, .x-post em { margin-top: auto; padding-top: 12px; font: 700 18px/1 var(--title); font-style: normal; text-transform: uppercase; color: var(--o); }
.x-job:hover { background: #151517; }
.x-note { margin: 26px 0 0; font-size: 18px; }
.x-note a { color: var(--o-t); font-weight: 600; }
.x-post { display: flex; flex-direction: column; gap: 14px; color: #fff; text-decoration: none; }
.x-post .ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.x-post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.x-post:hover .ph img { transform: scale(1.04); }
.x-post b { font: 700 23px/1.1 var(--title); text-transform: uppercase; }
@media (max-width: 899px) { .x-jobs, .x-posts { grid-template-columns: 1fr; } }

/* Closing band: heading left, button right. */
.x-cta { background: #111113; color: #fff; padding: 46px 0; border-top: 1px solid #222; }
.x-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.x-cta h2 { font-size: clamp(30px, 3.2vw, 44px); margin: 0 0 6px; line-height: 1; }
.x-cta p { margin: 0; font-size: 20px; }
.x-cta .btn { min-height: 58px; padding: 16px 34px; font-size: 22px; }

/* Inner page headers: his artwork fades in from the right. */
.h2-subhero { background: #000; }
.sub-art { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; overflow: hidden; }
.sub-art img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .75; }
.sub-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.15) 100%); }
.h2-subhero .wrap { z-index: 1; }
.h2-subhero .h2-title { font-size: clamp(36px, 4.4vw, 64px); max-width: 15ch; }
.h2-subhero .h2-lede { max-width: 620px; }
@media (max-width: 899px) { .sub-art { width: 100%; } .sub-art img { opacity: .4; } .sub-art::after { background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 100%); } }

/* Our Approach: numbered steps. */
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.x-steps li { border-top: 4px solid var(--o); padding-top: 18px; }
.x-steps .n { font: 900 40px/1 var(--hero); color: var(--o-t); }
.x-steps h3 { font-size: 24px; margin: 12px 0 10px; }
.x-steps p { margin: 0; font-size: 17px; line-height: 1.5; }
@media (max-width: 1099px) { .x-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .x-steps { grid-template-columns: 1fr; } }

/* Footer: logo, four link columns, LinkedIn. */
.ftr { background: #000; }
.ftr-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
.ftr-logo { display: inline-flex; flex-direction: column; text-decoration: none; }
.ftr-logo img { width: 190px; height: auto; }
.ftr-logo .brand-sub { font-size: 17px; margin-top: 8px; }
.hp2 .ftr h3 { font-family: var(--title); text-transform: uppercase; font-size: 17px; letter-spacing: 0.04em; }
.ftr .ftr-h2 { margin-top: 22px; }
.ftr-li svg { width: 30px; height: 30px; color: #fff; margin-top: 10px; }
@media (max-width: 999px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: span 2; } }

/* Job page "At a glance" line (16 Nov 2026): plain text between hairlines, no box. */
.hp2 .post .glance{border-top:1px solid #e3e3e8;border-bottom:1px solid #e3e3e8;padding:12px 0;margin:0 0 22px}

/* Cookie banner: solid black bar, Accept and Reject the same size and colour. */
.ckbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; background: #000; color: #fff; border-top: 2px solid var(--o); padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); }
.ckbar[hidden] { display: none; }
.ckbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; justify-content: space-between; }
.ckbar p { margin: 0; font-size: 15px; line-height: 1.5; max-width: 70ch; }
.ckbar a { color: #fff; text-decoration: underline; }
.ckbar-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 0 0 auto; }
.ckbar-btns .btn { min-width: 130px; justify-content: center; }
@media (max-width: 899px) { .ckbar-btns { width: 100%; } .ck-open .chat-fab { display: none; } }

/* Footer legal links and company line. */
.ftr .legal .linkish { background: none; border: 0; padding: 0; margin-left: 18px; color: #fff; font: inherit; cursor: pointer; }
.ftr .legal .linkish:hover { color: var(--o); }
@media (max-width: 899px) { .ftr .legal .linkish { padding: 10px 8px 10px 0; margin-left: 0; } }
.ftr .co-line { margin-top: 14px; font-size: 13px; color: #fff; }

/* Legal pages */
.legal-doc h2 { font-size: 24px; margin: 1.8em 0 .6em; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc ul { margin: 0 0 1.2em 1.2em; }
.legal-doc li { margin-bottom: .45em; }
