/* Join BCPD — reference: 07 - Join BCPD.png (805px mockup ≈ 1440px desktop, ×1.79) */

/* ---------- Hero ---------- */
.hero--join { --media-w: 54%; --fade: 13%; --hero-h: clamp(470px, 46vw, 680px); --copy-w: 50%; }
.hero--join .hero__media img { object-position: 50% 62%; }
.hero--join .display { font-size: clamp(2.8rem, 1rem + 6.2vw, 6.6rem); line-height: .9; }
.hero--join .hero__lede { font-size: clamp(1.15rem, .8rem + 1.2vw, 1.95rem); max-width: 20.5em; margin-bottom: clamp(.6rem, 1vw, 1rem); }
.hero--join .hero__lede--sm { font-size: clamp(1rem, .8rem + .7vw, 1.5rem); line-height: 1.3; max-width: 25em; margin-bottom: clamp(1.1rem, 2vw, 1.8rem); }
.hero--join .hero__note { --tilt: -15deg; right: 2.5%; top: 6%; font-size: clamp(1.4rem, .9rem + 1.4vw, 2.4rem); }
@media (max-width: 900px) {
  .hero--join { --copy-w: 100%; }
  .hero--join .hero__note { top: auto; right: 1rem; font-size: 1.3rem; }
}

/* ---------- Who we're looking for: four role cards ---------- */
.join-roles { background: var(--paper-tex) 0 0 / 512px, #fbfbf8; padding-block: clamp(1.4rem, 2.4vw, 2.4rem) clamp(2rem, 3vw, 3rem); overflow: hidden; }
.join-roles__wrap { width: min(100% - 2 * clamp(6px, .8vw, 12px), 1480px); }
.join-roles__plane { right: 1%; top: 1%; width: clamp(140px, 16vw, 250px); opacity: .7; }
.join-roles__head { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem clamp(1rem, 2vw, 2rem); padding-inline: clamp(.5rem, 3vw, 3rem); margin-bottom: clamp(1rem, 1.6vw, 1.5rem); }
.join-roles .h-display--2 { font-size: clamp(2.2rem, 1rem + 4.4vw, 5.2rem); }
.join-roles__dash { width: clamp(24px, 3vw, 46px); height: 2px; background: var(--navy-700); opacity: .7; }
.join-roles__note { --tilt: -7deg; font-size: clamp(1.25rem, .8rem + 1.2vw, 2.2rem); }
.join-role-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(5px, .7vw, 10px); }
.join-role { border-radius: 2px; box-shadow: 0 1px 3px rgb(0 30 63 / .1), 0 6px 18px rgb(0 30 63 / .08); }
.join-role__media { --ratio: 197 / 172; clip-path: polygon(0 0, 100% 9%, 100% 100%, 0 100%); }
.join-role__badge { --size: clamp(52px, 4.6vw, 76px); position: absolute; z-index: 2; left: 6%; bottom: 6%; }
.join-role .card__body { padding: clamp(.8rem, 1.4vw, 1.3rem) clamp(1rem, 1.8vw, 1.8rem) clamp(1.2rem, 2vw, 2rem); gap: .6rem; }
.join-role__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--ink); font-size: clamp(1.3rem, .8rem + 1.35vw, 2.2rem); line-height: 1; }
.join-role__text { font-size: clamp(1rem, .8rem + .6vw, 1.4rem) !important; line-height: 1.25 !important; color: var(--text-soft); margin-bottom: .5rem; }
.join-role .checklist { gap: .7rem; }
.join-role .checklist li { grid-template-columns: 1.6em 1fr; font-size: clamp(.92rem, .7rem + .6vw, 1.3rem); color: var(--text-soft); }
.join-role .checklist .icon { width: 1.5em; height: 1.5em; margin-top: -.05em; }
.join-role .checklist .icon { color: var(--navy-800); }
@media (max-width: 980px) { .join-role-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .join-role-list { grid-template-columns: 1fr; } .join-roles__wrap { width: min(100% - 2 * var(--gutter), 1480px); } }

/* ---------- Play your part in Lincolnshire's heritage ---------- */
.join-heritage {
  overflow: hidden; padding-block: clamp(2rem, 3vw, 3rem) clamp(2.5rem, 4vw, 4rem);
  background:
    radial-gradient(ellipse 12% 60% at 0% 50%, #cfe6f8, transparent 80%),
    radial-gradient(ellipse 14% 60% at 100% 50%, #cfe6f8, transparent 80%),
    var(--paper-tex) 0 0 / 512px, #f9fafa;
}
.join-heritage__thistle-l { top: 8%; opacity: .55; }
.join-heritage__thistle-r { top: 40%; opacity: .55; }
.join-heritage__plane { left: 26%; bottom: 0; width: clamp(200px, 22vw, 340px); opacity: .45; }
.join-heritage__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.join-heritage .h-display--2 { font-size: clamp(2.2rem, 1rem + 3.8vw, 4.5rem); margin-bottom: clamp(1rem, 2vw, 1.8rem); }
.join-heritage__prose { font-size: clamp(1rem, .8rem + .6vw, 1.4rem); line-height: 1.32; color: var(--text); max-width: 34em; margin-bottom: clamp(1.2rem, 2vw, 2rem); }
.join-collage { position: relative; aspect-ratio: 390 / 320; margin-right: calc(-1 * var(--gutter) * .6); }
.join-collage > * { position: absolute; margin: 0; }
.join-collage .print { padding: clamp(3px, .45vw, 7px); }
.join-collage__band { left: 2.6%; top: 7.8%; width: 31%; height: 60%; z-index: 2; }
.join-collage__portrait { left: 46%; top: 2.5%; width: 23%; height: 33%; z-index: 1; }
.join-collage__bomber { left: 35%; top: 32%; width: 43%; height: 25%; z-index: 3; }
.join-collage__sketch { left: 78%; top: 33%; width: 20%; height: 52%; z-index: 1; background: #f3eee2; }
.join-collage__airfield { left: 1%; top: 72%; width: 27%; height: 22%; z-index: 3; }
.join-collage__card {
  left: 26%; top: 61%; width: 20%; height: 36%; z-index: 4; transform: rotate(-8deg); padding: 6% 1.5%;
  background: var(--paper-tex) 0 0 / 300px, #fdfcf8; box-shadow: var(--shadow-print); display: grid; place-items: center;
}
.join-collage__card .script { --tilt: -6deg; font-size: clamp(.95rem, .55rem + 1vw, 1.7rem); }
.join-collage__badge { left: 46%; top: 62%; width: 25%; height: 31%; z-index: 5; }
.join-collage__note { left: 71%; top: 4%; z-index: 4; --tilt: -10deg; font-size: clamp(1.2rem, .7rem + 1.2vw, 2.1rem); }
@media (max-width: 900px) {
  .join-heritage__grid { grid-template-columns: 1fr; }
  .join-collage { margin-inline: 0; }
}

/* ---------- Neurodivergent-friendly & inclusive ---------- */
.join-incl {
  overflow: hidden; padding-block: clamp(2rem, 3vw, 3rem) clamp(2.5rem, 4vw, 4rem);
  background:
    radial-gradient(ellipse 50% 40% at 30% 10%, rgb(255 255 255 / .8), transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 40%, rgb(255 255 255 / .6), transparent 70%),
    linear-gradient(180deg, #d8ecfb, #e6f3fd 50%, #f3f8fc);
}
.join-incl__thistle-l { top: 30%; }
.join-incl__thistle-r { top: 10%; }
.join-incl__plane { left: 64%; top: 6%; width: clamp(150px, 17vw, 260px); opacity: .55; }
.join-incl__poppies { right: 0; bottom: 0; width: clamp(80px, 9vw, 140px); }
.join-incl__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: start; margin-bottom: clamp(1.6rem, 3vw, 3rem); }
.join-incl .h-display--2 { font-size: clamp(2rem, 1rem + 3.9vw, 4.6rem); margin-bottom: clamp(.6rem, 1vw, 1rem); }
.join-incl__lede { font-size: clamp(1.02rem, .8rem + .7vw, 1.5rem); line-height: 1.3; color: var(--text); max-width: 42em; }
.join-incl__note { --tilt: -14deg; font-size: clamp(1.3rem, .8rem + 1.3vw, 2.3rem); margin-top: -.5rem; }
.join-incl__features > * { gap: .6rem; }
.join-incl__blob {
  display: grid; place-items: center; width: clamp(110px, 11vw, 165px); aspect-ratio: 165 / 120; margin-bottom: .4rem; color: var(--navy-800);
  background:
    radial-gradient(ellipse 48% 44% at 44% 52%, rgb(98 168 230 / .85) 30%, transparent 72%),
    radial-gradient(ellipse 30% 36% at 72% 38%, rgb(120 185 238 / .8) 20%, transparent 75%),
    radial-gradient(ellipse 26% 28% at 22% 30%, rgb(140 198 242 / .75) 20%, transparent 75%),
    radial-gradient(ellipse 22% 18% at 80% 80%, rgb(140 198 242 / .6) 20%, transparent 75%);
  filter: saturate(1.05);
}
.join-incl__blob .icon { width: 42%; height: 42%; }
.join-incl__features h3 { font-family: var(--font-serif); text-transform: none; font-size: clamp(1.1rem, .8rem + .9vw, 1.75rem); line-height: 1.1; }
.join-incl__features p { font-size: clamp(.95rem, .8rem + .5vw, 1.3rem); line-height: 1.3; max-width: 17em; }

/* ---------- Ready to join the ranks? ---------- */
.join-cta { position: relative; background: var(--navy-900); color: #eaf2fb; isolation: isolate; }
.join-cta__wave-top { position: relative; z-index: 3; margin-bottom: calc(var(--wave-h) * -.6); }
.join-cta__band {
  position: relative; overflow: hidden; min-height: clamp(300px, 26vw, 400px);
  background: radial-gradient(ellipse 60% 90% at 70% 10%, #0a2e5c, transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.join-cta__photo { position: absolute; inset: 0 auto 0 0; width: 34%; }
.join-cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
.join-cta__thistle { right: 1%; top: 10%; width: clamp(100px, 12vw, 180px); }
.join-cta__content { position: relative; z-index: 1; padding: clamp(2.5rem, 4.5vw, 4.5rem) clamp(1rem, 3vw, 3rem) clamp(5rem, 9vw, 8rem) 34.5%; }
.join-cta .h-display--2 { font-size: clamp(2rem, 1rem + 4vw, 4.7rem); color: #fff; }
.join-cta__lede { font-size: clamp(1.05rem, .8rem + .9vw, 1.75rem); margin: .4rem 0 clamp(1rem, 1.8vw, 1.6rem); color: #eaf2fb; }
.join-cta__contact { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem clamp(1.2rem, 2.6vw, 2.6rem); font-family: var(--font-ui); font-weight: 600; font-size: clamp(1rem, .8rem + .6vw, 1.45rem); }
.join-cta__contact a:not(.btn) { display: inline-flex; align-items: center; gap: .55em; color: #fff; text-decoration: none; }
.join-cta__contact a:not(.btn):hover span { text-decoration: underline; }
.join-cta__contact a:not(.btn) .icon { width: 1.5em; height: 1.5em; }
.join-cta__swoosh {
  position: relative; z-index: 2; margin: clamp(-5rem, -7vw, -3rem) 0 0 26%; padding: clamp(1rem, 1.6vw, 1.6rem) clamp(1rem, 3vw, 3rem) calc(var(--wave-h) * .7 + .6rem) clamp(3rem, 7vw, 7rem);
  background: var(--paper-tex) 0 0 / 512px, #fbfbf8; border-top-left-radius: 70% 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem;
}
.join-cta__features { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; }
.join-cta__features li { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding-inline: clamp(.6rem, 1.6vw, 1.6rem); text-align: center; font-family: var(--font-body); font-weight: 600; letter-spacing: .01em; text-transform: uppercase; font-size: clamp(.78rem, .55rem + .55vw, 1.06rem); line-height: 1.25; color: var(--navy-700); }
.join-cta__features li + li { border-left: 1px solid var(--line); }
.join-cta__features .icon { width: clamp(28px, 2.6vw, 44px); height: clamp(28px, 2.6vw, 44px); color: var(--navy-800); }
.join-cta__note { --tilt: -20deg; font-size: clamp(1.3rem, .8rem + 1.3vw, 2.3rem); margin-top: -1rem; }
@media (max-width: 900px) {
  .join-cta__photo { position: relative; width: 100%; height: 260px; }
  .join-cta__photo img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .join-cta__content { padding: 1rem var(--gutter) 3rem; }
  .join-cta__swoosh { margin: 0; border-radius: 0; padding: 1.4rem var(--gutter) calc(var(--wave-h) * .7 + 1rem); grid-template-columns: 1fr; }
  .join-cta__features { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; }
  .join-cta__features li:nth-child(3) { border-left: 0; }
  .join-cta__note { margin: 0 0 0 auto; }
}
@media (max-width: 560px) {
  .join-collage { aspect-ratio: 390 / 400; }
  .join-collage__note { left: 64%; font-size: 1.15rem; }
  .join-incl__head { grid-template-columns: 1fr; }
  .join-incl__note { justify-self: end; margin-top: 0; }
}
@media (min-width: 1100px) {
  .join-heritage .h-display--2 { white-space: nowrap; position: relative; z-index: 2; font-size: clamp(2.6rem, .6rem + 3.6vw, 4.4rem); }
}

@media (max-width: 700px) { .join-roles__note { --tilt: -4deg; margin-top: .4rem; } }
