
/* Site chrome — header, footer and page shell. The sections themselves are styled
   by cc-sections.css. */
html { font-size: 62.5%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; font-family: 'Source Serif 4', Georgia, serif; }
/* The header button and the footer take the site's deep green (it is otherwise defined only inside the sections) */
.site-header, .site-footer { --cc-navy: #14231F; }
main { display: block; }
img { max-width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 20; background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.site-header__in { display: flex; align-items: center; gap: 3rem; min-height: 8.4rem; }
.site-logo { display: inline-flex; align-items: baseline; gap: 1.1rem; text-decoration: none; color: inherit; padding-right: 1.2rem; flex: 0 0 auto; }
.site-logo img { width: 21rem; height: auto; display: block; }
.site-logo__sep {
  font-family: 'Jost', Arial, sans-serif; font-weight: 300; font-size: 1.9rem;
  line-height: 1; opacity: .35; margin: 0 -.2rem;
}
.site-logo__suffix {
  font-family: 'Jost', Arial, sans-serif; font-weight: 300; font-size: 1.45rem;
  letter-spacing: .16em; text-transform: uppercase; opacity: .68; white-space: nowrap;
}
.site-nav { display: flex; gap: 2.2rem; flex: 1 1 auto; min-width: 0; justify-content: flex-end; overflow: hidden; }
.site-nav a {
  font-family: 'Jost', Arial, sans-serif; font-size: 1.3rem; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; color: inherit; white-space: nowrap;
  padding-bottom: .3rem; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a.is-current { border-bottom-color: currentColor; }
.site-cta {
  display: inline-flex; align-items: center; padding: .9rem 1.8rem;
  background: var(--cc-navy, #111); color: #fff; text-decoration: none;
  border: 1px solid var(--cc-navy, #111);
  font-family: 'Jost', Arial, sans-serif; font-size: 1.25rem; letter-spacing: .16em;
  text-transform: uppercase; white-space: nowrap;
}
.site-cta:hover { background: transparent; color: var(--cc-navy, #111); }
.site-burger { display: none; background: none; border: 0; padding: 1rem; cursor: pointer; }
.site-burger span { display: block; width: 2.4rem; height: 1px; background: currentColor; margin: .6rem 0; }

@media (min-width: 1380px) and (max-width: 1599px) {
  .site-nav { gap: 1.8rem; font-size: 1.25rem; }
  .site-header__in { gap: 2.4rem; }
}
@media (max-width: 1379px) {
  .site-header__in { flex-wrap: wrap; justify-content: space-between; gap: 1.6rem; }
  .site-burger { display: block; order: 2; }
  .site-header__cta { order: 3; }
  .site-nav { order: 4; flex-basis: 100%; display: none; flex-direction: column; gap: 1.6rem; padding-bottom: 2.4rem; }
  .site-nav.is-open { display: flex; }
  .site-logo img { width: 15rem; }
}
@media (max-width: 767px) { .site-logo__suffix { font-size: 1.15rem; letter-spacing: .14em; } .site-logo__sep { font-size: 1.5rem; } }
@media (max-width: 599px) {
  .site-header__cta { display: none; }
  .site-logo__suffix, .site-logo__sep { display: none; }
  .site-logo img { width: 13rem; }
  .site-header__in { min-height: 6.4rem; }
}

.site-footer { background: var(--cc-navy, #111); color: #fff; padding: 7rem 0 3rem; }
.site-footer__in { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 750px) { .site-footer__in { grid-template-columns: 2fr 1fr 1fr; gap: 6rem; } }
.site-footer__logo { width: 18rem; height: auto; margin-bottom: 2rem; }
.site-footer p { font-size: 1.5rem; line-height: 1.7; max-width: 46ch; margin: 0; opacity: .9; }
.site-footer h2 {
  font-family: 'Jost', Arial, sans-serif; font-size: 1.2rem; letter-spacing: .26em;
  text-transform: uppercase; margin: 0 0 1.6rem; opacity: .7; font-weight: 400;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 1.5rem; line-height: 2; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__legal { margin-top: 5rem; padding-top: 2.4rem; border-top: 1px solid rgba(255,255,255,.25); }
.site-footer__legal p { font-size: 1.3rem; opacity: .7; }

/* Placeholder shown where photography has not been supplied yet */
.ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--cc-tint, #f2f1ee);
  border: 1px solid rgba(0,0,0,.07);
}
.ph span {
  font-family: 'Jost', Arial, sans-serif; font-size: 1.15rem; letter-spacing: .24em;
  text-transform: uppercase; opacity: .38;
}
.cc-scheme--tint .ph { background: #fff; }

/* Enquiry thank-you (replaces the form after sending) */
.form-thanks { max-width: 64rem; }
.form-thanks:focus { outline: none; }
.form-thanks .cc-btn { margin-top: 1.2rem; }

/* Team cards: headshot, then name and role beneath it; biography beside the photo when the card is wide enough */
.team-card { container-type: inline-size; }
.team-card__in { display: grid; grid-template-columns: 1fr; grid-template-areas: "photo" "id" "bio"; }
.team-card__photo { grid-area: photo; width: 18rem; aspect-ratio: 4 / 5; margin-bottom: 2.4rem; }
.team-card__id { grid-area: id; }
.team-card__id .cc-h { margin-bottom: 0; }
.team-card__bio { grid-area: bio; margin-top: 2rem; }
.team-card__bio p { margin-top: 0; }
@container (min-width: 44rem) {
  .team-card__in { grid-template-columns: 18rem 1fr; column-gap: 3.6rem; grid-template-areas: "photo bio" "id id"; }
  .team-card__bio { margin-top: 0; }
}

/* Wider (3:2) image frame, used for the scorecard band on Home */
.cc-split__media .cc-media.cc-media--3x2 { aspect-ratio: 3 / 2; }

/* Module cards (Modules page): what is included, then the fee, aligned to the foot of each card */
.mod-card { display: flex; flex-direction: column; }
.mod-list { list-style: none; margin: 2rem 0 0; padding: 0; font-size: 1.45rem; line-height: 1.55; }
.mod-list li { position: relative; padding: .8rem 0 .8rem 2.4rem; border-top: 1px solid rgba(20,35,31,.12); }
.mod-list li::before { content: "\2014"; position: absolute; left: 0; opacity: .5; }
.mod-fee { margin: auto 0 0; padding-top: 2.8rem; font-family: 'Jost', Arial, sans-serif; font-weight: 400; font-size: 3rem; line-height: 1; }
.mod-fee span { display: block; margin-bottom: .8rem; font-size: 1.2rem; letter-spacing: .22em; text-transform: uppercase; opacity: .6; }
.mod-fee--soon { font-size: 2rem; opacity: .75; }

/* v14: length and follow-up line on module cards */
.mod-meta { margin: 2rem 0 0; font-family: 'Jost', Arial, sans-serif; font-size: 1.3rem; line-height: 1.5; letter-spacing: .04em; opacity: .75; }
.mod-meta + .mod-fee { padding-top: 1.6rem; }
/* v14: the menu's scorecard link is only needed where the header button is hidden or the menu is folded */
@media (min-width: 1380px) { .site-nav a.site-nav__score { display: none; } }
/* v14: hold the Modules grids at a fixed number of columns on wide screens */
@media (min-width: 990px) {
  .cc-cols__grid.mod-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cc-cols__grid.mod-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* v15: About team cards carry longer biographies - keep name and role directly under the photo,
   with the biography running beside both; links in a biography take the text colour */
@container (min-width: 44rem) {
  .team-card--long .team-card__in { grid-template-rows: auto 1fr; grid-template-areas: "photo bio" "id bio"; }
}
.team-card__bio a { color: inherit; text-underline-offset: .3rem; }

/* v17: a link to a section (e.g. contact.html#enquiry) lands with the section clear of the sticky header */
section[id] { scroll-margin-top: 8.4rem; }
@media (max-width: 599px) { section[id] { scroll-margin-top: 6.4rem; } }
/* v17: Contact - Karen beside "What happens next"; on narrower screens the photo sits small, beside her name */
.contact-karen { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2.4rem; margin: 3.2rem 0 2.8rem; }
.contact-karen__photo { width: 18rem; aspect-ratio: 4 / 5; }
.contact-karen__id .cc-h { margin-bottom: 0; }
@media (max-width: 989px) {
  .contact-karen { grid-template-columns: 9.6rem 1fr; column-gap: 2rem; align-items: end; }
  .contact-karen__photo { width: 9.6rem; }
}
.contact-steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; }
.contact-steps li { counter-increment: step; position: relative; padding: 1rem 0 1rem 3.6rem; border-top: 1px solid rgba(20,35,31,.12); }
.contact-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1.25rem; font-family: 'Jost', Arial, sans-serif; font-size: 1.25rem; letter-spacing: .1em; opacity: .6; }
/* v17: short notes under form fields; fields hidden for corporate-partner enquiries */
.cc-field .cc-form__note { margin-top: .8rem; }
.cc-form [hidden] { display: none !important; }
.cc-form__note a { color: inherit; text-underline-offset: .3rem; }
/* v17: privacy notice - headed paragraphs; footer legal link; keep "30-minute" together in headings */
.nowrap { white-space: nowrap; }
.site-footer__legal p { max-width: none; }
.site-footer__legal a { white-space: nowrap; }
.privacy .cc-h--m { margin: 4rem 0 1.2rem; }
.privacy .cc-body { margin-bottom: 0; }
.privacy .cc-body a { color: inherit; text-underline-offset: .3rem; }
.privacy__list { margin: 0 0 1.2rem; }

/* v19: no fees on the cards - the link sits at the foot of each card instead */
.mod-card > .cc-col__link { margin-top: auto; padding-top: 2.4rem; align-self: flex-start; }
/* v19: Programme 3.4 - "Prices on request" under the three columns */
.price-note { margin-top: 4.8rem; padding-top: 2.4rem; border-top: 1px solid rgba(255,255,255,.22); max-width: 64rem; }
.price-note .cc-eyebrow { margin-bottom: 1.2rem; }

/* v20: About 6.1 - the boutique photo behind "Why we do this", greyscale at 18% (baked into the file), filling the band */
.cc.about-why { background: #fff url("about-why-background.jpg") 40% 55% / cover no-repeat; }

/* v22: Programme 3.3 - the eye behind "Five profit-critical areas", greyscale at 18% (baked into the file), filling the band */
.cc.programme-areas { background: #fff url("programme-areas-background.jpg") 50% 40% / cover no-repeat; }
