/* subnav.py: held until its stylesheet */.snav{display:none}

/* ===== THE TIER JOINS (joins.py) ======================================= */
/* Thirty hard joins across the site, all of them the same two blues meeting
   with nothing between them. A 150px gradient of the upper band's colour
   laid over the lower band's own background turns the seam into a change of
   tier. Both directions, because the site alternates.

   Excluded by name: the bands that already paint their own background. */
section:not(.alt) + section.alt:not(.sh2-words):not(.dk-panel):not(.map-port):not(.tl-track){
  background-image:linear-gradient(180deg,#0b0f2e 0,rgba(17,23,64,0) 150px);}
section.alt + section:not(.alt):not(.sh2-words):not(.dk-panel):not(.map-port):not(.tl-track){
  background-image:linear-gradient(180deg,#111740 0,rgba(11,15,46,0) 150px);}
/* and the same on the way out of a band, so a tier that ends does not end
   on a line either */
section.alt:last-of-type:not(.sh2-words):not(.dk-panel):not(.map-port):not(.tl-track){
  background-image:linear-gradient(180deg,rgba(17,23,64,0) 0,
    rgba(17,23,64,0) calc(100% - 150px),#0b0f2e 100%);}


/* ===== THE APPROVAL RECORD CARD (approvals_pages.py) =================== */
/* The one component these pages needed that the site did not already have.
   Everything else on them is a component that was already locked. */
.apr-card{background:rgba(255,255,255,.05);border-radius:26px;
  padding:clamp(28px,3vw,44px);}
.apr-top{display:grid;grid-template-columns:1fr auto;gap:28px;
  align-items:start;}
.apr-top h2{margin:16px 0 0;}
.apr-top p{margin:18px 0 0;max-width:52em;font-size:16px;line-height:1.72;
  color:rgba(255,255,255,.72);}
/* the status chip. It says one of three words and they mean different
   things, which is the whole argument of the index page, so it is set
   plainly rather than dressed up as a badge. */
.apr-state span{display:inline-flex;align-items:center;height:30px;
  padding:0 15px;border-radius:999px;background:rgba(0,238,204,.14);
  font-size:12.5px;font-weight:700;letter-spacing:1.2px;
  text-transform:uppercase;color:var(--aqua,#00eac8);white-space:nowrap;}
.apr-rows{margin:36px 0 0;padding:0;}
/* NO BORDERS. The rule on this project is that a line is a gap over a
   coloured ground, never a border, so the rows are separated by the ground
   showing through a one pixel gap. */
.apr-row{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,11fr);
  gap:18px;padding:18px 0 17px;
  background:linear-gradient(180deg,rgba(255,255,255,.10) 0 1px,
    transparent 1px);}
.apr-row:first-child{background:none;}
.apr-row dt{margin:0;font-size:13px;font-weight:700;letter-spacing:1.1px;
  text-transform:uppercase;color:rgba(255,255,255,.55);}
.apr-row dd{margin:0;display:flex;flex-direction:column;gap:5px;}
.apr-row dd b{font-size:18px;font-weight:700;color:#fff;}
.apr-row dd em{font-style:normal;font-size:14px;line-height:1.6;
  color:rgba(255,255,255,.55);}
.apr-req{font-size:18px;font-weight:700;color:var(--aqua,#00eac8);}
.apr-foot{display:flex;flex-wrap:wrap;align-items:center;gap:18px;
  margin-top:34px;}
.apr-hint{font-size:14px;line-height:1.6;color:rgba(255,255,255,.55);
  max-width:34em;}
/* the chip on the index cards, same three words as the record card's */
.apr-chip{display:inline-flex;align-items:center;height:26px;padding:0 12px;
  /* width:max-content and align-self, for the fourth time on this project.
     The card body is a flex column, so an inline-flex child still stretches
     to the cross axis unless it is told not to. Same bug as the bento chip,
     the services header chip and the vertical header chip. */
  width:max-content;align-self:flex-start;
  border-radius:999px;background:rgba(0,238,204,.14);margin-bottom:14px;
  font-size:11.5px;font-weight:700;letter-spacing:1.1px;
  text-transform:uppercase;color:var(--aqua,#00eac8);}
@media (max-width:900px){
  /* A plain 1fr track still sizes to the status chip's min-content. */
  .apr-top{grid-template-columns:minmax(0,1fr);}
  .apr-top > *{min-width:0;}
  .apr-state span{height:auto;min-height:30px;max-width:100%;
    white-space:normal;}
  .apr-chip{height:auto;min-height:26px;max-width:100%;
    white-space:normal;}
  .apr-row{grid-template-columns:1fr;gap:6px;}
}

/* THE SECOND PARAGRAPH OF THE OPENING BLOCK. The two column block is
   borrowed from wordsart and the paragraph under the naming one is
   styled by searchfit, which does not run on this page, so both
   paragraphs came out the same colour with no gap between them and
   read as one slab. These are searchfit's own numbers.

   DOUBLED CLASS AND !important, which is this project's rule rather
   than a flourish: extract_css reorders the sheets, so a rule at the
   same specificity as the one setting .lede on this page loses or
   wins by file order and neither is a decision. */
html body .sh2-words .lede-also.lede-also{
  margin:22px 0 0 !important;max-width:72ch;font-size:16.5px;
  line-height:1.66;color:rgba(255,255,255,.58) !important;}


/* ===== the lead time commitment (reshore.py) =========================== */
.lt-band{display:grid;grid-template-columns:auto 1fr auto;gap:34px;
  align-items:center;border-radius:24px;padding:34px 38px;
  background:linear-gradient(120deg,rgba(0,238,204,.10),
    rgba(255,255,255,.04));}
.lt-n{font-family:'Gotham','Inter',Arial,sans-serif;font-weight:900;
  font-size:clamp(20px,2.1vw,30px);line-height:1.05;letter-spacing:-.02em;
  color:#00eac8;max-width:14em;}
.lt-w h3{margin:0 0 8px;font-size:19px;font-weight:700;color:#fff;}
.lt-w p{margin:0;font-size:15.5px;line-height:1.66;
  color:rgba(255,255,255,.74);max-width:46em;}
@media (max-width:1000px){
  .lt-band{grid-template-columns:1fr;gap:18px;padding:28px 26px;}
  .lt-band .btn{justify-self:start;}
}


/* ===== the capability brochure band (brochure.py) ====================== */
.br-band{display:grid;grid-template-columns:1fr auto;gap:32px;
  align-items:center;border-radius:24px;padding:32px 36px;
  background:rgba(255,255,255,.05);}
.br-band h3{margin:0 0 8px;font-size:20px;font-weight:700;color:#fff;}
.br-band p{margin:0;font-size:15.5px;line-height:1.66;
  color:rgba(255,255,255,.72);max-width:54em;}
@media (max-width:820px){
  .br-band{grid-template-columns:1fr;gap:18px;padding:26px 24px;}
  .br-band .btn{justify-self:start;}
}


/* ===== cookie consent (tracking.py) =================================== */
.cks{position:fixed;left:0;right:0;bottom:0;z-index:9000;
  background:linear-gradient(150deg,#1b2452,#141b45);
  box-shadow:0 -18px 44px rgba(5,8,26,.4);
  transform:translateY(100%);transition:transform .32s ease;}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .cks{background:linear-gradient(150deg,rgba(27,36,82,.72),
    rgba(16,22,58,.78));
    -webkit-backdrop-filter:blur(20px) saturate(150%);
    backdrop-filter:blur(20px) saturate(150%);}
}
.cks.on{transform:none;}
.cks-in{max-width:1180px;margin:0 auto;padding:20px 24px;
  display:flex;gap:28px;align-items:center;flex-wrap:wrap;}
.cks-t{margin:0;flex:1 1 420px;min-width:0;color:rgba(255,255,255,.82);
  font-size:15px;line-height:1.55;}
.cks-t b{color:#fff;font-weight:600;}
/* the second sentence on its own line. A block span rather than a
   <br>, so it still reads as one sentence after another to anything
   that is listening to the page instead of looking at it. */
.cks-s{display:block;}
.cks-b{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.cks button{font:inherit;font-size:14px;font-weight:600;cursor:pointer;
  border:0;border-radius:999px;padding:11px 24px;letter-spacing:.2px;}
.cks-y{background:#00eecc;color:#0b0f2e;}
.cks-y:hover{background:#5cf2dd;}
.cks-n{background:rgba(255,255,255,.1);color:#fff;}
.cks-n:hover{background:rgba(255,255,255,.18);}
.cks-l{color:rgba(255,255,255,.62);font-size:14px;text-decoration:underline;
  text-underline-offset:3px;margin-left:6px;}
.cks-l:hover{color:#00eecc;}
@media (max-width:720px){
  .cks-in{padding:16px 18px;gap:14px;}
  .cks-t{flex:1 1 100%;font-size:14px;}
  .cks-b{width:100%;}
  .cks-y,.cks-n{flex:1 1 auto;text-align:center;}
}
@media (prefers-reduced-motion:reduce){.cks{transition:none;}}


/* ------------------------------ THE SECTOR TIER'S OWN CHEVRON (sectorchev) */
html body section.wy.ind-tier{position:relative;}
html body section.wy.ind-tier > .sec-chev{position:absolute;top:0;left:14%;
  z-index:4;pointer-events:none;}
@media (max-width:900px){
  html body section.wy.ind-tier > .sec-chev{display:none;}
}


/* ========== the chevron runs anchored to an edge (chevanchor.py) ====== */
/* Matt's rule, 2 November: "needs to anchor to top or bottom of a
   horizontal edge, where it is and slides left / right axis can be
   varied." So the vertical anchor is the constraint and the horizontal
   position is free, which is why nothing here touches left or right.

   MEASURED FIRST, and the markup was already right: the run's top sits
   at exactly the top of the block below it, 2222px against 2222px on
   about.html. It was anchored and it still read as floating, because
   oneground.py made every block the same colour on 20 October, so that
   box edge is invisible, and the block then opens with 100 to 124px of
   padding before any ink. The chevron was sitting on a real edge that
   nobody can see, a hundred pixels above anything it could belong to.

   So the block's own content comes up to meet it. The run stays where
   it is, on the edge, and the eyebrow underneath starts 34px below it
   instead of 100, which makes the chevron read as the top of that
   block rather than as a mark adrift between two. */
html body .chev-band + section,
html body .chev-band + div{padding-top:34px !important;}
@media (max-width:760px){
  html body .chev-band + section,
  html body .chev-band + div{padding-top:26px !important;}
}


/* ============================ FAQ, one standard (faq.py) ============== */
#faq h2 .ghost,#faq h2 span{color:inherit !important;}
#faq h2{color:#fff;}
html body .faq details{background:none !important;box-shadow:none !important;
  border-radius:0 !important;margin:0 !important;overflow:hidden;
  background-image:linear-gradient(rgba(128,140,170,.28),rgba(128,140,170,.28)) !important;
  background-size:100% 1px !important;background-position:bottom left !important;
  background-repeat:no-repeat !important;}
html body .faq details>summary,html body .faq details>.ans{background:transparent;}
/* an open row is the same flat row, not a card: the palette layer gives
   .faq details[open] a panel and this is the standard putting it back */
html body .faq details[open]{background-image:linear-gradient(rgba(128,140,170,.28),rgba(128,140,170,.28)) !important;
  background-color:transparent !important;box-shadow:none !important;}
html body .faq summary{list-style:none;cursor:pointer;display:flex !important;
  align-items:center;justify-content:space-between;gap:28px;
  padding:26px 0 !important;margin:0 !important;text-align:left;
  font-weight:600;font-size:clamp(16px,1.25vw,18px);line-height:1.4;}
html body .faq summary::-webkit-details-marker{display:none;}

/* THE FIRST QUESTION STARTS LEVEL WITH THE TITLE. Matt, 1 October: "any
   time text / content is on the right it top aligns to top of title text
   ... IE where the FAQ's are currently locked in - we'll also need to
   adjust that alignment".

   The two columns of .faq-grid already start at the same y, which put the
   first question level with the EYEBROW and 24px above the title. The
   title's cap sits 50px down that column: 30px of eyebrow and the 20px gap
   locked earlier today. The question's own cap sits 25.6px down: the
   summary.s 26px of top padding and its own leading. 28px is the
   difference, and it is the only number in this block that is not already
   written somewhere above. Below 1081px the grid is one column and the
   question follows the title, so the rule stops there. */
@media (min-width:1081px){
  html body .faq-grid > :nth-child(2){margin-top:28px;}
}
html body .faq summary::after{content:"" !important;flex:0 0 18px;width:18px !important;
  height:18px !important;border-radius:0 !important;padding:0 !important;
  background:
    linear-gradient(var(--aqua,#00eecc),var(--aqua,#00eecc)) center/100% 2px no-repeat,
    linear-gradient(var(--aqua,#00eecc),var(--aqua,#00eecc)) center/2px 100% no-repeat !important;
  transition:transform .35s cubic-bezier(.22,1,.36,1) !important;}
html body .faq details[open]:not(.fq-shut)>summary::after{transform:rotate(45deg);}
html body .faq .ans{transition:none !important;animation:none !important;}
html body .faq .ans{padding:0 46px 28px 0 !important;margin:0 !important;
  text-align:left;max-width:760px;font-size:16px;line-height:1.7;}
html body .faq .ans p{margin:0 0 12px;}

/* the FAQ's two column shape, home's own proportions (faq.py) */
.faq-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;
  align-items:start;}
.faq-grid h2{max-width:13ch;}
.faq-grid .sec-note{margin-top:18px;font-size:15.5px;line-height:1.7;
  color:var(--body,rgba(255,255,255,.74));max-width:44ch;}
@media (max-width:980px){
  .faq-grid{grid-template-columns:1fr;gap:34px;}
  .faq-grid h2{max-width:none;}
}
