/* Extracted from the page's inline <style> block.
   The site's Content-Security-Policy is style-src 'self', which blocks
   inline styles outright. Same rules, same order, now served as a file. */

/* ==================================================================
   NAV — secondary call to action
   Deliberately quieter than the four primary links. The employer path
   stays the loudest thing in the header.
   ================================================================== */
.nav-cta {
  padding: 9px 17px !important;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--red-on-dark);
  color: var(--red-on-dark) !important;
}

/* ==================================================================
   ABOUT — photograph added on the left
   The section already pushed its copy to the right and left the left
   half carrying nothing but the faded mark, so the picture fills a gap
   rather than displacing anything.
   ================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
}

.about__figure {
  position: relative;
  z-index: 2;
  margin: 0;
}

.about__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* A red edge on the picture, matching the stroke weight of the route so
   the two read as the same drawing system. */
.about__figure::after {
  position: absolute;
  z-index: 1;
  bottom: -14px;
  left: -14px;
  width: 118px;
  height: var(--route-width);
  background: var(--red);
  content: "";
}

.about__mark {
  left: auto !important;
  right: -170px !important;
  opacity: 0.05 !important;
}

/* ==================================================================
   NETWORK — the candidate band
   One tone deeper than About so two dark sections in a row read as a
   deliberate pair rather than a join that failed. Same three ground
   layers as the hero, recomposed.
   ================================================================== */
.network {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(40px, 5vw, 84px);
  overflow: hidden;
  padding: 86px clamp(22px, 5vw, 82px);
  background:
    radial-gradient(820px 460px at 12% 92%, rgba(215, 25, 32, 0.16), transparent 62%),
    linear-gradient(157deg, #15181c 0%, #101316 52%, #0b0d0f 100%);
  color: var(--white);
}

.network::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(68deg, transparent 34%, #000 64%, transparent 97%);
  mask-image: linear-gradient(68deg, transparent 34%, #000 64%, transparent 97%);
  opacity: 0.45;
}

.network__content,
.network__figure {
  position: relative;
  z-index: 2;
}

.network__content > p:not(.eyebrow):not(.network__note) {
  max-width: 50ch;
  margin: 24px 0 0;
  color: var(--body-on-ink);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.72;
}

.network__points {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.network__points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  max-width: 52ch;
  color: #ececef;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.network__points .tick {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--red-on-dark);
}

.network__actions {
  margin: 32px 0 0;
}

.network__note {
  margin: 20px 0 0;
  color: #9a9ca1;
  font-size: 13px;
  line-height: 1.6;
}

.network__note a {
  color: #c8c9cc;
  text-underline-offset: 3px;
}

.network__note a:hover,
.network__note a:focus-visible {
  color: var(--red-on-dark);
}

.network__figure {
  margin: 0;
}

.network__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* The route finishes on this section and runs down the right-hand
   gutter. The extra right padding keeps the picture clear of it at every
   width where the route is drawn. */
@media (min-width: 861px) {
  .network {
    padding-right: calc(clamp(22px, 5vw, 82px) + 62px);
  }
}

/* ==================================================================
   COLLECTION NOTICE — sits inside the enquiry form, above the button
   ================================================================== */
.collection-notice {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--line);
  background: var(--paper);
  color: var(--body-on-paper);
  font-size: 13px;
  line-height: 1.6;
}

.collection-notice a {
  color: var(--red-text);
  text-underline-offset: 3px;
}

/* Footer secondary links now live in styles.css, since every page
   carries them. */

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 980px) {
  .about,
  .network {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Picture below the words on both, so the reading order does not put a
     decorative image ahead of the heading. */
  .about__figure,
  .network__figure {
    order: 2;
  }

  .about__content,
  .network__content {
    order: 1;
    max-width: none;
  }

  .about__figure::after {
    left: 0;
  }
}

@media (max-width: 720px) {
  .network {
    padding: 62px 22px;
  }
}

/* The nav pill has no room on the mobile drawer's own terms; it becomes a
   normal item there rather than a stretched pill. */
@media (max-width: 860px) {
  .nav-cta {
    align-self: flex-start;
  }
}

/* ==================================================================
   MOCKUP FLAG — not part of the design
   ================================================================== */
.mock-flag {
  margin: 0;
  padding: 11px clamp(22px, 5vw, 82px);
  border-top: 2px solid #b58900;
  background: #3a2c00;
  color: #ffd97a;
  font-size: 13px;
  line-height: 1.5;
}

.mock-flag code {
  color: #ffe9b0;
  font-size: 12px;
}
