/* =============================================================================
   The Employer Interest Form parts of the Contact page (/contact, which the menu item "Let's Connect" opens) and of Workshops & Webinars
   (/workshops-webinars): the home page's look. Beige page, three numbered tiles in the logo's
   colours, one deep plum band with the one call to action. Tokens and components (btn, card-w, band) come from theme.css.
   Type: one size per level, from the site's scale in theme.css, as on the About page. Section headings (.cn-h2) are var(--fs-h2), the title of a step
   or of a card (.cn-h3, .cn-area h3) is var(--fs-h3), and every paragraph of reading text is var(--fs-body); only the short note under the button
   (.cn-note) is var(--fs-small). The big numbers 1, 2 and 3 on the tiles keep their own size: they are figures in the display font, not headings.
   ============================================================================= */

.cn-in{max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter)}
.cn-sec{padding:clamp(16px,3vw,44px) 0 clamp(48px,6.5vw,96px)}
.cn-h2{font-size:var(--fs-h2); line-height:1.1; letter-spacing:-.03em; text-wrap:balance}
.cn-h3{font:400 var(--fs-h3)/1.25 var(--display); letter-spacing:-.02em; color:inherit}

/* ---- The three steps: tiles in the logo's colours, a light number and a pale quarter disc in the corner; the tiles stay trim,
        no taller than their text asks ------------------------------------------------------------------------------------------- */
.cn-steps{list-style:none; margin:clamp(24px,3vw,44px) 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,28px)}
.cn-step{--c:var(--leaf); --on:#13210A; position:relative; display:flex; flex-direction:column; gap:12px; padding:clamp(20px,2.1vw,28px); overflow:hidden; isolation:isolate; border-radius:var(--r); background:var(--c); color:var(--on)}
.cn-amber{--c:var(--amber); --on:#2B1604}
.cn-sky{--c:var(--sky); --on:#06222F}
.cn-disc{position:absolute; right:0; top:0; z-index:-1; width:clamp(56px,5.5vw,80px); aspect-ratio:1; border-radius:0 var(--r) 0 100%; background:rgba(255,255,255,.3)}   /* a pale quarter disc in the top corner, no taller than the number beside it, so it never sits behind a line of text */
.cn-num{display:block; width:fit-content; margin-bottom:clamp(10px,1.3vw,18px); font:300 clamp(40px,3.8vw,56px)/.95 var(--display); letter-spacing:-.05em}
.cn-label{display:block; margin-bottom:8px; font:700 12.5px/1.2 'Noto Sans',system-ui,sans-serif; letter-spacing:.12em; text-transform:uppercase}
.cn-step p{margin:0; max-width:34ch; font-size:var(--fs-body); line-height:1.6}

/* ---- Personalized Support for Your Workplace: the text and six areas (white cards, two by two) beside a portrait in an arch, which stays in view
        on a tall screen; on a tablet and a phone the portrait comes after the text, smaller. The areas wear the logo colours (.cn-leaf ... below) ---- */
.cn-leaf{--c:var(--leaf); --on:#13210A}
.cn-plum{--c:var(--plum); --on:#FFFFFF}
.cn-support{padding-top:0}
.cn-support-grid{display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(36px,6vw,104px); align-items:start}
.cn-support-grid.is-solo{grid-template-columns:minmax(0,1fr)}
.cn-support-copy{display:flex; flex-direction:column; align-items:flex-start; gap:18px; min-width:0}
.cn-lead{margin:0; max-width:60ch; font-size:var(--fs-body); line-height:1.65; color:var(--ink)}
.cn-sub{margin:6px 0 0; font-weight:600; line-height:1.5; color:var(--deep)}
.cn-areas{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; width:100%; margin:0; padding:0; list-style:none}
.cn-area{display:grid; grid-template-columns:44px minmax(0,1fr); column-gap:14px; row-gap:4px; align-content:start; padding:18px 20px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-m)}
.cn-area-ic{grid-row:1 / span 2; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--c); color:var(--on)}
.cn-area h3{margin:0; font:400 var(--fs-h3)/1.3 var(--display); letter-spacing:-.015em; color:var(--deep)}
.cn-area p{margin:0; font-size:var(--fs-body); line-height:1.55; color:var(--muted)}
.cn-tailored{margin:4px 0 0; max-width:62ch; font-style:italic; line-height:1.6; color:var(--muted)}
.cn-art{--arch:50% 50% var(--r-m) var(--r-m) / 34% 34% var(--r-m) var(--r-m); position:relative; width:min(100%,440px); aspect-ratio:5/6; margin-inline:auto}
.cn-art::before{content:""; position:absolute; inset:0; border-radius:var(--arch); background:var(--green-t); transform:translate(-8%,5%)}   /* an arch behind, down to the left */
.cn-arch{position:absolute; inset:0; z-index:1; overflow:hidden; border-radius:var(--arch); background:var(--lilac)}
.cn-arch img{position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:50% 30%}
.cn-art-dot{position:absolute; z-index:2; top:5%; right:-3%; width:clamp(40px,12%,64px); aspect-ratio:1; border-radius:50%; background:var(--amber)}
@media (min-width:1001px) and (min-height:760px){
  .cn-art{position:sticky; top:calc(var(--hdr-h) + 32px)}   /* beside the six areas the portrait stays in view */
}

/* ---- The band: the text on the left, the button, its note and the "already completed" line on the right -------------------------- */
.cn-band{margin-bottom:clamp(32px,5vw,72px)}
.cn-band-in{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(32px,6vw,104px); align-items:center}
.cn-band-copy{display:flex; flex-direction:column; gap:clamp(18px,2vw,28px)}
.cn-band .cn-h2{color:var(--on-deep)}
.cn-text{display:flex; flex-direction:column; gap:14px; max-width:60ch}
.cn-text p{margin:0; font-size:var(--fs-body); line-height:1.7; color:var(--on-deep-s)}
.cn-band-act{display:flex; flex-direction:column; align-items:flex-start; gap:22px}
.cn-act{display:flex; flex-direction:column; align-items:flex-start; gap:12px}
.cn-act .btn svg{flex:none}
.cn-note{margin:0; font-size:var(--fs-small); line-height:1.5; color:var(--on-deep-s)}
.cn-done{margin:0; max-width:46ch; padding:20px 24px; border:1px solid rgba(251,248,242,.22); border-radius:var(--r-m); background:rgba(251,248,242,.07); font-size:var(--fs-body); line-height:1.6; color:var(--on-deep-s)}
.cn-done b,.cn-done .cn-h3{color:var(--on-deep); font-weight:600}
.cn-done .cn-h3{margin-bottom:6px; font-weight:500}
.cn-done p{margin:0}

/* ---- Workshops: the line about upcoming sessions ---------------------------------------------------------------------------- */
.cn-upcoming{display:flex; align-items:center; gap:20px; max-width:860px; margin:0; font-size:var(--fs-body); line-height:1.6; color:var(--ink)}
.cn-up-ic{display:grid; place-items:center; flex:none; width:56px; height:56px; border-radius:50%; background:var(--sky); color:#06222F}

@media (max-width:1000px){
  .cn-steps{grid-template-columns:minmax(0,1fr)}
  .cn-step p{max-width:52ch}
  .cn-band-in{grid-template-columns:minmax(0,1fr)}
  .cn-support-grid{grid-template-columns:minmax(0,1fr)}
  .cn-art{width:min(80%,300px)}
}
@media (max-width:640px){
  .cn-areas{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){
  .cn-act .btn{width:100%}
  .cn-upcoming{align-items:flex-start}
  .cn-area{padding:16px}
}
@media print{
  .cn-art{display:none}
}
@media (forced-colors:active){
  .cn-area-ic,.cn-arch{border:2px solid CanvasText}
  .cn-art::before,.cn-art-dot{display:none}
}
