/* ============================================================================
   ApexEvolv — SERVICE HERO

   The top of the four Services pages: Executive & C-Level Search, Contingent
   Search, Project Recruitment and Outplacement. Loaded after light.css on
   those four pages, on Our Mission, which opens with the same split on the
   warm-white ground but without the strip (.shero--nostrip), and on
   Expertise, whose strip states the page's scope in four items. (The home
   page loads it for the quiet link style, .shero__more, but has its own
   hero, in home.css.) It replaced the centred landing (topic, sentence,
   rounded photograph under it) on 19 Nov 2026, at the client's request.

   THE COMPOSITION. An editorial split: the copy on the left (label,
   headline, two short paragraphs, the call to action), one photograph on the
   right, cut square-cornered to the content edge. Under both runs a ruled
   information strip, three items on hairlines (unnumbered: the client took
   the 01-03 off on 19 Nov 2026). The photograph's foot stands
   ON the strip's top rule, so the rule is the ground line the composition
   stands on, and the copy is centred against the photograph's height.

   THE GROUND. Every service hero is a full-width block of colour that
   starts under the header bar (the bar stays white, as on every page), is
   closed by the strip, and hands over to the white page 99px below, so the
   hero reads as the page's opening plate and the sections after it as the
   page. Two grounds, chosen on 19 Nov 2026 and nothing else:
     - Executive & C-Level, the flagship: warm black #12110F, white and
       champagne type. The only dark hero on the site.
     - Contingent Search, Project Recruitment and Outplacement: the site's
       warm white #F4F3EF (the cards' --box), black type, the bronze
       champagne for the label, numerals and button.
   Same structure, type, spacing, photograph proportions and button on all
   four; only the ground and the type colour change.

   ONE SYSTEM, FOUR PAGES. Each page sets its own proportions on its section
   (--shCopy/--shPh column split, --shAR photo shape, --shPos crop, --shH
   headline size), so the four share a structure without being the same
   picture four times.

   PHONE AND TABLET. Below 960px the split stacks in reading order: label,
   headline, introduction, call to action, photograph, strip. On a tablet
   the photograph keeps an editorial offset from the left; on a phone it
   runs the full width and the strip becomes three ruled rows.
   ============================================================================ */

.sec.shero{
  --shCopy:45fr; --shPh:55fr;              /* column split */
  --shAR:1/1;                              /* photograph shape */
  --shPos:50% 50%;                         /* photograph crop */
  --shH:clamp(2.3rem,3.6vw,3.6rem);        /* headline */
  --shGapX:clamp(40px,5vw,84px);           /* between copy and photograph */
  --shHdr:59px;                            /* the fixed header bar's height */
  --shBg:var(--box);                       /* the warm white, #F4F3EF */
  background:var(--shBg);
  margin-top:var(--shHdr);
  padding:clamp(48px,8vh,96px) 0 0;
}
/* below the block the white page carries the whole gap itself */
.shero + section{padding-top:var(--sec-gap)}

/* ---- the split ------------------------------------------------------------ */
.shero__grid{display:grid;
  grid-template-columns:minmax(0,var(--shCopy)) minmax(0,var(--shPh));
  column-gap:var(--shGapX);align-items:stretch}
.shero__copy{align-self:center;padding-block:clamp(12px,2.4vh,28px)}

.shero .lab{margin:0}
.shero h1{margin:clamp(22px,3vh,30px) 0 0;max-width:none;
  font-size:var(--shH);font-weight:600;letter-spacing:-.045em;line-height:1.04;
  color:var(--ink)}
.shero__intro{margin-top:clamp(24px,3.4vh,34px);display:grid;gap:14px;max-width:46ch}
.shero__intro p{font-size:var(--t-lede);line-height:1.66;color:var(--mu)}

/* the call to action: one filled button, set in the label voice so it reads
   with the eyebrow and the strip rather than as a web form's submit */
.shero__acts{display:flex;flex-wrap:wrap;align-items:center;gap:16px 34px;
  margin-top:clamp(30px,4.4vh,44px)}
.shero .shero__cta{padding:18px 28px;font-size:.76rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase}
.shero__more{display:inline-flex;align-items:center;gap:10px;padding:6px 0;
  font-size:var(--t-micro);font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink);border-bottom:1px solid var(--line2);
  transition:border-color .3s var(--e)}
.shero__more svg{width:13px;height:13px;fill:none;stroke:var(--goldDeep);stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--e)}
.shero__more:hover,.shero__more:focus-visible{border-color:var(--goldDeep)}
.shero__more:hover svg,.shero__more:focus-visible svg{transform:translateY(3px)}

/* ---- the photograph: square-cut, cropped, never stretched ------------------
   The figure takes its height from --shAR, or from the copy when the copy
   is the taller of the two; the image fills it with object-fit, so a crop
   changes and the picture never distorts. width:100% matters: without it a
   stretched height runs back through the aspect ratio into the width, and
   the photograph pushes out past the content edge. */
.shero__ph{position:relative;width:100%;min-width:0;margin:0;aspect-ratio:var(--shAR);
  overflow:hidden;background:var(--box)}
.shero__ph img{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:var(--shPos)}

/* ---- the strip: three items on hairlines, no icons, no numbers -------------- */
.shero__strip{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--line2)}     /* the block's edge closes it */
.shero__strip li{
  padding:clamp(20px,2.8vh,28px) clamp(16px,2vw,28px);
  font-size:var(--t-micro);font-weight:700;letter-spacing:.14em;line-height:1.5;
  text-transform:uppercase;color:var(--ink)}
.shero__strip li:first-child{padding-left:0}
.shero__strip li + li{border-left:1px solid var(--line)}

/* ---- the flagship: warm black ------------------------------------------------
   The page's tokens are re-pointed inside the section, so the label, the
   button, the hairlines and the type all take their dark-ground values
   without a second set of rules. Champagne here is the fill tone #D6BE93,
   not the bronze the white page uses for text. */
.sec.shero--dark{
  --ink:#FFFFFF; --onIvory:#FFFFFF;
  --mu:rgba(244,243,239,.74); --onIvoryMu:rgba(244,243,239,.74);
  --gold:#D6BE93; --goldDeep:#D6BE93; --goldHi:#EBD9B4; --onGold:#12100A;
  --line:rgba(244,243,239,.14); --line2:rgba(244,243,239,.26);
  --box:#1B1A17;
  --shBg:#12110F;color:var(--ink)}
.shero--dark .shero__strip li{color:rgba(244,243,239,.88)}
/* (the section rail's colours over the black block moved to motion.css on
   26 Nov 2026, where each mark now takes the ground behind it; the rail is
   hidden over the hero since then) */

/* ---- the four pages ---------------------------------------------------------- */
/* HEADLINE SIZES are set so the longest line fits its column at every
   desktop width, so the line breaks stay where the copy puts them. Line
   width is about 8.3x the type size for "for roles that shape", 8.9x for
   "Recruitment aligned" and 11x for the two-line headlines' second line.
   The flagship's headline is the largest of the four. */
/* Executive & C-Level: the widest photograph, three-line headline */
.sec.shero--exec{--shCopy:44fr;--shPh:56fr;--shAR:10/9;--shPos:50% 46%;
  --shH:clamp(2.4rem,4vw,3.6rem)}
/* Contingent: the longest headline line, so the copy takes a little more */
.sec.shero--cont{--shCopy:49fr;--shPh:51fr;--shAR:6/5;--shPos:50% 40%;
  --shH:clamp(2.1rem,3.4vw,3.05rem)}
.shero--cont .shero__ph img{filter:grayscale(1) contrast(1.04)}
/* Project Recruitment: wide enough to keep all three people at the drawings */
.sec.shero--proj{--shCopy:45fr;--shPh:55fr;--shAR:5/4;--shPos:50% 30%;
  --shH:clamp(2.3rem,3.8vw,3.45rem)}
/* Outplacement: square, the figure and the tower both in frame */
.sec.shero--outp{--shCopy:49fr;--shPh:51fr;--shAR:1/1;--shPos:24% 50%;
  --shH:clamp(2.1rem,3.4vw,3.05rem)}
/* Our Mission: the photograph at about 45% of the width, cut upright from
   the city panorama, away from the shop sign on its left. "Understanding the
   business." is the longest line, about 12.5x the type size. */
.sec.shero--mission{--shCopy:52fr;--shPh:48fr;--shAR:5/6;--shPos:80% 50%;
  --shH:clamp(2rem,3.2vw,2.85rem)}
/* Expertise: half and half, the city panorama cut square from its centre
   (clear of the Mission crop on its right and the shop sign on its left),
   in black and white. Its strip has four items. */
.sec.shero--exp{--shCopy:50fr;--shPh:50fr;--shAR:1/1;--shPos:40% 50%;
  --shH:clamp(2.4rem,4.4vw,4rem)}
.shero--exp .shero__ph img{filter:grayscale(1) contrast(1.06)}
/* with no strip to close the block, the block closes on its own padding */
.sec.shero--nostrip{padding-bottom:clamp(48px,8vh,96px)}

/* ---- tablet and phone --------------------------------------------------------- */
@media(max-width:959px){
  .sec.shero{padding-top:clamp(40px,6vh,64px)}
  .shero__grid{grid-template-columns:minmax(0,1fr)}
  .shero__copy{padding:0;max-width:40rem}
  .shero h1{font-size:clamp(2.1rem,6.2vw,3.2rem)}
  /* width:auto here, or the offset adds to a full width and the page
     scrolls sideways */
  .shero__ph{width:auto;margin:clamp(40px,6vh,56px) 0 0 16.666%;aspect-ratio:3/2}
}
@media(max-width:620px){
  .shero__ph{margin-left:0;aspect-ratio:4/3}
  .shero h1{font-size:clamp(1.95rem,8.4vw,2.6rem)}
  .shero .shero__cta{padding:16px 20px;letter-spacing:.1em}
  /* the two-line headlines' long second line stays one line on a phone
     rather than stranding its last word */
  .shero--cont h1,.shero--outp h1{font-size:clamp(1.7rem,7.5vw,2.4rem)}
  .shero--mission h1{font-size:clamp(1.55rem,6.9vw,2.2rem)}
  .shero__strip{grid-template-columns:minmax(0,1fr)}
  .shero__strip li{padding:18px 0}
  .shero__strip li + li{border-left:0;border-top:1px solid var(--line)}
}
