/* HR Bro, Direction 2: warm and approachable.
   Cream ground, the logo's navy for ink and actions, marigold as the one warm accent.
   Headlines in Bricolage Grotesque, text in Figtree, both self-hosted. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  /* refreshed palette: the logo's navy as the anchor, deep teal as the calm second colour, saffron as the one warm accent */
  --p-bg: #faf7f2; --p-surface: #ffffff; --p-ink: #14142b; --p-muted: #55586a;
  --p-accent: #05053a; --p-accent-ink: #faf7f2; --p-action: #05053a; --p-action-ink: #faf7f2;
  --p-inv-bg: #05053a; --p-inv-surface: #12124a; --p-inv-ink: #faf7f2; --p-inv-muted: #b3b5cc;
  --p-inv-accent: #f2a33a; --p-inv-accent-ink: #14142b; --p-inv-action: #f2a33a; --p-inv-action-ink: #14142b;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.035em;
  --ly-scale: 0.96;
  --marigold: #f2a33a;
  --teal: #0e6b62; --teal-ink: #0b544d;
  --teal-50: #e3f0ed; --saffron-50: #fcefd8; --sand: #f2ebdf;
  --tint-sun: var(--saffron-50); --tint-sky: var(--teal-50); --tint-leaf: var(--sand); --tint-clay: #f6e6d3;
}
/* calmer pages (Consulting, Contact): no pastel tints, cream and navy only */
html[data-calm] { --tint-sun: var(--sand); --tint-sky: var(--sand); --tint-leaf: var(--sand); --tint-clay: var(--sand); }

/* the logo: the client's HB monogram beside the name */
.nav__logo img.brand-mark, .footer .brand-mark { height: 28px; width: auto; }
.nav__logo .tm, .tm { font-size: .55em; vertical-align: super; margin-left: 1px; letter-spacing: 0; }

/* rows: a small second line under each name */
.rows .rows__name small { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-body); margin-top: 4px; max-width: 52ch; }
.rows .rows__value { color: var(--muted); font-size: var(--t-small); }

/* picture-develops: the section's one photograph on the split's right column */
.develop { margin: 0; border-radius: var(--r-lg); overflow: hidden; height: min(600px, var(--ly-fit, 600px)); }
.develop > img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .develop { height: auto; aspect-ratio: 4 / 3; margin-top: var(--s-7); } }

/* the community tiles: one linked card per WhatsApp room */
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.room { display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-3); min-height: 212px; color: inherit; }
.room__code { font: var(--display-weight) 48px/1 var(--font-display); letter-spacing: var(--display-tracking-xl); }
.room__name { font-weight: 500; font-size: var(--t-card); line-height: 1.3; }
.room__name small { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-body); margin-top: 6px; }
.room__go { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; font-size: var(--t-small); }
.room__go img, .room__go svg { width: 20px; height: 20px; flex: none; }
.room--all { background: var(--p-inv-accent); color: var(--p-inv-accent-ink); --muted: #4b4b6b; border-color: transparent; }
@media (max-width: 1023px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .room { min-height: 168px; } .room__code { font-size: 40px; } }
@media (max-width: 639px) { .rooms { gap: var(--s-3); } .room { min-height: 0; padding: var(--s-4); } .room__code { font-size: 30px; } .room__name small { display: none; } }

/* the social preview cards: a designed preview panel of each channel */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.chan { display: grid; gap: var(--s-4); color: inherit; }
.chan__panel { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; background: var(--p-inv-bg); color: var(--p-inv-ink); padding: var(--s-6); display: flex; flex-direction: column; justify-content: space-between; }
.chan__panel--light { background: var(--p-surface); color: var(--p-ink); }
.chan__panel .chan__icon { width: 44px; height: 44px; }
.chan__big { font: var(--display-weight) clamp(28px, 2.4vw, 40px)/1.04 var(--font-display); letter-spacing: var(--display-tracking); max-width: 14ch; }
.chan__mark { position: absolute; right: -6%; bottom: -8%; width: 58%; opacity: .14; pointer-events: none; }
.chan__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.chan__meta h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; margin: 0; }
.chan__meta span { color: var(--muted); font-size: var(--t-small); white-space: nowrap; }
.chan > p { margin: 0; max-width: 40ch; }
.chan .link { font-weight: 500; }
.chan__panel img.chan__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chan__panel:has(.chan__photo) .chan__icon, .chan__panel:has(.chan__photo) .chan__big { position: relative; z-index: 1; }
@media (max-width: 1023px) { .channels { grid-template-columns: 1fr; } .chan { grid-template-columns: 1fr 1fr; align-items: start; column-gap: var(--s-5); } .chan__panel { grid-row: span 3; aspect-ratio: 4 / 3; } }
@media (max-width: 639px) { .chan { grid-template-columns: 1fr; } .chan__panel { aspect-ratio: 16 / 9; padding: var(--s-5); } .chan__big { font-size: 24px; } }

.more-channels { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); }
.more-channels a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: var(--t-small); }
.more-channels svg { width: 18px; height: 18px; }

/* the footer: the light monogram on the navy ground */
.footer__brand { display: inline-flex; align-items: center; gap: var(--s-3); font: 500 22px/1 var(--font-display); letter-spacing: -0.02em; }
.footer__brand img { height: 40px; width: auto; }
.footer__tm { color: var(--muted); font-size: var(--t-small); max-width: 46ch; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.socials a svg { width: 18px; height: 18px; }

/* the WhatsApp line with its memory hook */
.wa-hook { font-variant-numeric: tabular-nums; }
.wa-hook b { font-weight: 500; letter-spacing: .02em; }

/* inner pages: credentials, platform list, directory groups */
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts-list li { display: grid; grid-template-columns: 7ch minmax(0, 1fr); gap: var(--s-5); padding-block: var(--s-5); border-bottom: 1px solid var(--line); align-items: baseline; }
.facts-list li:first-child { padding-top: 0; }
.facts-list b { font: var(--display-weight) var(--t-stat)/1 var(--font-display); letter-spacing: var(--display-tracking); }
.facts-list span { max-width: 48ch; }
.region { margin-top: var(--s-7); }
.region:first-of-type { margin-top: 0; }
.region > .t-label { margin-bottom: var(--s-4); color: var(--muted); }
.area-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.area-tags li { list-style: none; padding: 10px 16px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 7%, var(--bg)); font-weight: 500; font-size: var(--t-small); }
.area-tags { padding: 0; margin: 0; }
.letter { font: var(--display-weight) var(--t-h3)/1.3 var(--font-display); letter-spacing: -0.02em; max-width: 30ch; }
.contact-lines { display: grid; gap: var(--s-5); }
.contact-lines a { display: grid; gap: 4px; padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.contact-lines a span:first-child { color: var(--muted); font-size: var(--t-small); }
.contact-lines a span:last-child { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: -0.02em; }
.contact-lines a:hover span:last-child { color: var(--action); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* a designed board in the hero of the community and content pages (the directory, the channels) */
.board { position: relative; height: 100%; min-height: 320px; border-radius: var(--r-lg); background: var(--p-inv-bg); color: var(--p-inv-ink); padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.board__codes { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px clamp(16px, 2.4vw, 36px); font: var(--display-weight) clamp(48px, 7vw, 112px)/1 var(--font-display); letter-spacing: var(--display-tracking-xl); }
.board__codes span:nth-child(2) { opacity: .45; }
.board__line { margin: 0; color: var(--p-inv-muted); font-weight: 500; }
.board__icon { width: 56px; height: 56px; }
.board--content { justify-content: space-between; }
.board__mark { position: absolute; right: -8%; bottom: -10%; width: 70%; opacity: .16; }
.board__icons { display: flex; gap: var(--s-4); }
.board__icons img { width: 56px; height: 56px; background: var(--p-bg); border-radius: 14px; padding: 8px; }
.board--content::before { content: "HR Bro"; font: var(--display-weight) clamp(56px, 8vw, 128px)/1 var(--font-display); letter-spacing: var(--display-tracking-xl); }
.about-chan .chan__panel { aspect-ratio: 16 / 10; }
@media (max-width: 639px) { .board { min-height: 260px; } .board__codes { font-size: 44px; } }
@media (max-width: 639px) { .footer__legal .socials { flex-wrap: wrap; gap: 6px; } .footer__legal .socials a { width: 44px; height: 44px; } .closing__links .grid > * { min-width: 0; } .footer__col a { overflow-wrap: anywhere; } }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); }
@media (max-width: 639px) { .form-pair { grid-template-columns: 1fr; } }
.region .rooms { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 639px) { .region .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .region .room { min-height: 236px; } }

/* home: the community rooms as rows beside the directory board */
.room-rows { list-style: none; margin: 0 0 var(--s-6); padding: 0; }
.room-rows a { display: grid; grid-template-columns: 5ch minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); min-height: 52px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.room-rows li:first-child a { border-top: 1px solid var(--line); }
.rr__code { font: var(--display-weight) 24px/1 var(--font-display); letter-spacing: -0.02em; color: var(--muted); }
.rr__name { font-weight: 500; }
.rr__go { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-small); font-weight: 500; }
.room-rows a:hover .rr__name { text-decoration: underline; text-underline-offset: 4px; }
.ground-inverse .board { background: var(--p-inv-surface); }
#community .board { height: min(620px, 100%); min-height: 520px; }
@media (max-width: 1023px) { #community .board { min-height: 300px; height: auto; margin-top: var(--s-7); } }
.legal-links { display: inline-flex; gap: var(--s-5); }
.footer__brand { min-height: 44px; }
.chan > p { display: none; }
.chan__panel { aspect-ratio: 4 / 3; }
@media (max-width: 639px) { .chan__panel { aspect-ratio: 16 / 10; } }
@media (max-width: 639px) { .chan__panel { aspect-ratio: 16 / 10; } }
.engine-cta { margin-top: var(--s-6); }
@media (max-width: 639px) { .chan > p { display: block; } }
#enquiry .form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
#enquiry .form textarea { min-height: 120px; }
#engagements .panel .frame__img { object-position: 0 0; }


/* ---------------------------------------------------------------- Direction 2 additions */
/* the greeting pill over the hero h1 */
.greet { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s-5); padding: 6px 16px 6px 6px; background: var(--p-surface); border-radius: 999px; font-weight: 500; font-size: var(--t-small); box-shadow: 0 1px 0 rgba(20,20,43,.06); }
.greet img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
/* the hand-drawn marigold underline under one phrase of the h1 */
.uline { position: relative; white-space: nowrap; }
.uline svg { position: absolute; left: 0; bottom: -0.04em; width: 100%; height: 0.16em; overflow: visible; }
.uline path { fill: none; stroke: var(--marigold); stroke-width: 6; stroke-linecap: round; }
/* the credentials band at the hero's foot */
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin: var(--s-7) 0 0; padding: 0; }
.creds > div { background: var(--p-surface); border-radius: 18px; padding: 12px 14px; }
.creds dt { font: 600 24px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--p-accent); }
.creds dd { margin: 4px 0 0; font-size: 13px; line-height: 1.35; color: var(--p-muted); }
@media (max-width: 1023px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .creds { display: none; } }
/* the hero picture: softer, larger corner */
.hero--split .hero__media, .hero--split .hero__media img { border-radius: 32px; }
.ly-float { border-radius: 20px; }
/* rounded, warm cards everywhere */
.card { border-radius: 24px; }
.ground-surface { --bg: #ffffff; }
.develop { border-radius: 32px; }
/* rows become soft cards on the warm pages */
html:not([data-calm]) #work .rows > li { background: var(--p-surface); border: 0; border-radius: 20px; padding: 16px 20px; margin-bottom: 10px; }
html:not([data-calm]) #work .rows > li:nth-child(1) { background: var(--tint-sun); }
html:not([data-calm]) #work .rows > li:nth-child(2) { background: var(--tint-leaf); }
html:not([data-calm]) #work .rows > li:nth-child(3) { background: var(--tint-sky); }
html:not([data-calm]) #work .rows > li:nth-child(4) { background: var(--tint-clay); }
/* the HR engine stages: each step on its own tint */
.mo-pc__step:nth-child(1) { --step-tint: var(--tint-sun); }
.mo-pc__step:nth-child(2) { --step-tint: var(--tint-sky); }
.mo-pc__step:nth-child(3) { --step-tint: var(--tint-leaf); }
.mo-pc__step:nth-child(4) { --step-tint: var(--tint-clay); }
.mo-pc__visuals.frame { border-radius: 32px; }
/* the WhatsApp rooms as pills on the navy band */
.room-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.room-pills a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--p-inv-surface); color: var(--p-inv-ink); font-weight: 500; }
.room-pills a b { display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 8px; border-radius: 999px; background: rgba(251,245,236,.12); font: 600 15px/1 var(--font-display); }
.room-pills a.is-new { background: var(--marigold); color: #14142b; }
.room-pills a.is-new b { background: rgba(20,20,43,.12); }
.wa-badge { width: 56px; height: 56px; padding: 10px; border-radius: 18px; background: var(--p-bg); }
/* social cards: white with a tinted panel */
.chan__panel { background: var(--p-inv-bg); border-radius: 24px; }
.chan__panel--light { background: var(--tint-sun); }
.channels .chan:nth-child(3) .chan__panel { background: var(--tint-clay); color: var(--p-ink); }
.channels .chan:nth-child(3) .chan__mark { filter: none; }
/* directory cards on the community page: tinted by region */
.region:nth-of-type(1) .room { background: var(--tint-sun); border-color: transparent; }
.region:nth-of-type(2) .room { background: var(--tint-sky); border-color: transparent; }
.region:nth-of-type(3) .room { background: var(--tint-leaf); border-color: transparent; }
/* the boards (community and content heroes) */
.board { border-radius: 32px; }
/* footer: rounded top edge on the navy */
.footer--dark { border-radius: 48px 48px 0 0; }
/* the four stages: the open step sits on its own soft tint, marigold rule on the left */
[data-moment="pinned-chapters"] .mo-pc__step { padding: 12px 18px 12px 20px; border-radius: 0 20px 20px 0; transition: background-color 300ms ease, border-color 300ms ease; }
[data-moment="pinned-chapters"] .mo-pc__step h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
[data-moment="pinned-chapters"].is-live .mo-pc__step.is-on { background: var(--step-tint); border-left-color: var(--marigold); }
[data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step { background: var(--step-tint); border-left-color: var(--marigold); margin-bottom: var(--s-3); }
@media (prefers-reduced-motion: reduce) { [data-moment="pinned-chapters"] .mo-pc__step { transition: none; } }
/* the hero h1 in the wider display face: three lines in the text column */
.hero--split h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.04; }
/* the rooms as one column of full-width pills beside the text */
.room-pills { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.room-pills a { width: 100%; min-height: 60px; font-size: 17px; justify-content: flex-start; box-sizing: border-box; }
.room-pills a::after { content: "Join"; margin-left: auto; font-size: 14px; font-weight: 600; opacity: .8; }
@media (max-width: 1023px) { .room-pills { margin-top: var(--s-7); } }
@media (max-width: 639px) { .room-pills a { min-height: 52px; font-size: 16px; } }
@media (max-width: 639px) {
  .greet { margin-bottom: 8px; padding: 4px 12px 4px 4px; font-size: 13px; }
  .greet img { width: 24px; height: 24px; }
  .hero--split h1 { line-height: 1; }
  [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step { padding: 8px 12px; margin-bottom: 0; }
  .engine-cta { display: none; }
  .chan__panel { aspect-ratio: 16 / 9; }
}
@media (max-width: 639px) { #engine:not(.is-live) { min-height: calc(2 * 100lvh); } }

/* ---------------------------------------------------------------- motion review fixes (emil-design-eng) */
:root { --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1); }
/* room pills and channel chips: colour eases on hover, a small press on click; hover only where a mouse exists */
.room-pills a, .more-channels a { transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out-strong); }
.room-pills a:active, .more-channels a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .room-pills a:hover { background: #22226a; }
  .room-pills a.is-new:hover { background: #f0b555; }
  .more-channels a:hover { border-color: var(--line-strong); }
  /* the social cards answer the pointer: the panel lifts 2px, the watermark drifts a touch */
  .chan .chan__panel { transition: transform 200ms var(--ease-out-strong); }
  .chan .chan__mark { transition: transform 300ms var(--ease-out-strong); }
  .chan:hover .chan__panel { transform: translateY(-2px); }
  .chan:hover .chan__mark { transform: translate(-6px, -4px); }
}
/* the stage tint: a colour change, 240ms */
[data-moment="pinned-chapters"] .mo-pc__step { transition-duration: 240ms; }
/* the marigold underline draws itself once, after the hero words land */
.uline path { stroke-dasharray: 320; stroke-dashoffset: 0; }
html.m-enter .uline path { stroke-dashoffset: 320; }
html.m-enter.m-enter-done .uline path, .hero.is-entered .uline path { stroke-dashoffset: 0; transition: stroke-dashoffset 700ms var(--ease-out-strong) 350ms; }
@media (prefers-reduced-motion: reduce) {
  .uline path { stroke-dashoffset: 0 !important; transition: none !important; }
  .room-pills a, .more-channels a, .chan .chan__panel, .chan .chan__mark { transition: none; }
}

/* ---------------------------------------------------------------- critique fixes */
/* headlines: no mid-word breaks, balanced lines */
h1, h2 { hyphens: manual; text-wrap: balance; }
/* About credentials: the label column fits its widest label */
.facts-list li { grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--s-6); }
.record-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 0 0; border-radius: 24px; display: block; }
/* credentials: larger, darker labels; a phone-only copy at the top of #work */
.creds dd { font-size: 14px; color: #44455a; }
.creds--phone { display: none; }
@media (max-width: 639px) { .creds--phone { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 var(--s-7); } }
/* white grounds become a warmer cream-adjacent surface */
.ground-surface { --bg: var(--sand); }
/* the community band on Home: a light sun tint, navy pills, no marigold */
.ground-tint { --bg: var(--teal-50); background: var(--bg); color: var(--ink); }
.ground-tint .room-pills a { background: var(--p-inv-bg); color: var(--p-inv-ink); }
.ground-tint .room-pills a:hover { background: #1c1c5c; }
.ground-tint .wa-badge { background: #ffffff; }
.room-pills a.is-new { background: var(--p-inv-bg); color: var(--p-inv-ink); box-shadow: inset 0 0 0 2px var(--marigold); }
.room-pills a.is-new b { background: rgba(251,245,236,.12); }
@media (hover: hover) and (pointer: fine) { .room-pills a.is-new:hover { background: #1c1c5c; } }
/* the WhatsApp chip on the hero photo is a real link */
a.wa-chip { color: inherit; text-decoration: none; display: block; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
a.wa-chip:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { a.wa-chip:hover { transform: translateY(-2px); } }
/* consulting engagements: tinted cards with an icon */
.eng-grid { row-gap: var(--s-5); }
.card.eng { background: var(--eng-tint, var(--p-surface)); border: 0; border-radius: 28px; padding: 32px; gap: 10px; min-height: 236px; }
html[data-calm] .card.eng { background: #f3ede2; }
.eng__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: rgba(255,255,255,.7); color: var(--p-accent); margin-bottom: 6px; }
.eng__label { margin: 0; font-size: var(--t-small); font-weight: 600; color: #5b4a22; }
html[data-calm] .eng__label { color: var(--p-muted); }
.card.eng h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
@media (max-width: 1023px) { .card.eng { min-height: 0; padding: 24px; } }
/* contact: optional marker, the select, what happens next */
.opt { font-weight: 400; color: var(--p-muted); }
.next { background: var(--p-surface); border-radius: 28px; padding: 32px; display: grid; gap: var(--s-5); align-content: start; }
.next h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
.next__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.next__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.next__steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--p-accent); color: var(--p-accent-ink); font-weight: 600; }
.next__steps span { display: grid; gap: 2px; color: var(--muted); }
.next__steps strong { color: var(--ink); font-weight: 600; }
.next__note { margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--line); font-weight: 500; }
.next__wa { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; color: var(--p-accent); }
@media (max-width: 1023px) { .next { margin-top: var(--s-7); } }
a.wa-chip { width: 340px; max-width: calc(100% - 48px); }

/* ---------------------------------------------------------------- round 3 */
/* the floating WhatsApp button, bottom right on every page */
.wa-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #ffffff; box-shadow: 0 8px 24px rgba(20,20,43,.18), 0 2px 6px rgba(20,20,43,.12); transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease; }
.wa-fab:active { transform: scale(0.95); }
.wa-fab:focus-visible { outline: 3px solid var(--p-accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .wa-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,20,43,.22), 0 2px 6px rgba(20,20,43,.12); } }
@media (max-width: 639px) { .wa-fab { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }
@media print { .wa-fab { display: none; } }
/* Home: the software jobs channel as its own sub-item under the six state rooms */
.room-sub { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid rgba(20,20,43,.14); display: grid; gap: var(--s-2); }
.room-sub__label { font-size: var(--t-small); font-weight: 600; color: var(--p-muted); }
.ground-tint .room-pills .room-sub a { background: transparent; color: var(--p-ink); box-shadow: inset 0 0 0 1.5px rgba(5,5,58,.35); min-height: 52px; }
.ground-tint .room-pills .room-sub a b { background: rgba(5,5,58,.08); }
@media (hover: hover) and (pointer: fine) { .ground-tint .room-pills .room-sub a:hover { background: rgba(5,5,58,.06); } }
/* Community: the software jobs region reads as a separate, quieter group */
.region--also { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.region--also .rooms { grid-template-columns: minmax(0, 1fr); }
.region--also .room { background: transparent; border: 1px solid var(--line-strong); min-height: 0; }
@media (max-width: 639px) { .eng__icon { display: none; } .card.eng { padding: 20px; } .chan__panel { aspect-ratio: 2 / 1; } }
@media (min-width: 1024px) { .card.eng.span-4 { min-height: 260px; } }
@media (min-width: 1024px) { .region .rooms, .region--also .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
html:not([data-calm]) #work .rows > li:nth-child(5) { background: var(--tint-leaf); }
/* one plain line under each HR engine area, before its tags */
.region__desc { margin: 0 0 var(--s-3); max-width: 52ch; color: var(--ink); }
#areas .region > .t-label { margin-bottom: 4px; color: var(--p-accent); font-weight: 600; }
#areas .region { margin-top: var(--s-6); }
@media (max-width: 1023px) { #areas .develop { display: none; } }
.areas-grid { row-gap: var(--s-7); }
.areas-grid .region { margin-top: 0 !important; }
@media (max-width: 1023px) { .areas-grid .region { grid-column: span 6; } }
@media (max-width: 639px) { .areas-grid .region { grid-column: 1 / -1; } }
#questions .develop { height: min(520px, 100%); }
@media (max-width: 1023px) { #questions .develop { display: none; } }


/* ---------------------------------------------------------------- round 5: Consulting redesign */
/* hero: the text column fills the photo's height; the outcomes sit at its foot */
.hero--full .hero__text { align-self: stretch; display: flex; flex-direction: column; }
.outcomes { margin-top: auto; padding-top: var(--s-7); }
.outcomes__label { margin: 0 0 var(--s-3); font-size: var(--t-small); font-weight: 600; color: var(--teal-ink); }
.outcomes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.outcomes li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.outcomes li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.4 2.6 2.6L12 5.6' fill='none' stroke='%230e6b62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 1023px) { .outcomes { padding-top: var(--s-6); } }
@media (max-width: 639px) { .outcomes { display: none; } }

/* six signs: a numbered list on the navy band */
.signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-7); }
.signs li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-5) 0; border-top: 1px solid rgba(250,247,242,.16); font-size: 18px; line-height: 1.45; }
.sign__n { font: 600 15px/1.6 var(--font-display); color: var(--marigold); letter-spacing: .02em; }
@media (max-width: 1023px) { .signs { margin-top: var(--s-7); } }
@media (max-width: 639px) { .signs { grid-template-columns: minmax(0, 1fr); } .signs li { padding: var(--s-4) 0; font-size: 16px; } }

/* engagements: icon, label, title, text, and a "best for" foot */
.card.eng { background: var(--p-surface); box-shadow: inset 0 0 0 1px rgba(20,20,43,.08); display: flex; flex-direction: column; }
html[data-calm] .card.eng { background: var(--p-surface); }
.eng__icon { background: var(--teal-50); color: var(--teal); }
.eng__label { color: var(--teal-ink); }
html[data-calm] .eng__label { color: var(--teal-ink); }
.eng__best { margin-top: auto !important; padding-top: var(--s-4); border-top: 1px dashed rgba(20,20,43,.16); color: var(--p-muted); font-size: var(--t-small); }
.eng__best b { display: block; color: var(--p-ink); font-weight: 600; margin-bottom: 2px; }
.card.eng > p:not(.eng__label):not(.eng__best) { margin-bottom: var(--s-4); }

/* what the HR engine covers: a bento of five different cards */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.area { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.area h3 { margin: 6px 0 0; font: 600 24px/1.15 var(--font-display); letter-spacing: -0.02em; }
.area p { margin: 0; max-width: 46ch; }
.area__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.area__tags { list-style: none; margin: auto 0 0; padding: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area__tags li { padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.area--feature { grid-column: span 2; background: var(--p-inv-bg); color: var(--p-inv-ink); padding: 40px; }
.area--feature h3 { font-size: 34px; }
.area--feature p { font-size: 19px; color: #e2e2ee; }
.area--feature .area__icon { background: rgba(242,163,58,.16); color: var(--marigold); }
.area--feature .area__tags li { background: rgba(250,247,242,.1); color: var(--p-inv-ink); }
.area--teal { background: var(--teal-50); }
.area--teal .area__icon { background: #ffffff; color: var(--teal); }
.area--teal .area__tags li { background: #ffffff; }
.area--saffron { background: var(--saffron-50); }
.area--saffron .area__icon { background: #ffffff; color: #9a5a00; }
.area--saffron .area__tags li { background: #ffffff; }
.area--sand { background: #ffffff; }
.area--sand .area__icon { background: var(--sand); color: var(--p-accent); }
.area--sand .area__tags li { background: var(--sand); }
.area--plain { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(20,20,43,.14); }
.area--plain .area__icon { background: var(--p-accent); color: var(--p-accent-ink); }
.area--plain .area__tags li { background: rgba(20,20,43,.06); }
@media (max-width: 1023px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area--feature { grid-column: 1 / -1; } }
@media (max-width: 639px) { .bento { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } .area, .area--feature { padding: 22px; } .area--feature h3 { font-size: 26px; } .area--feature p { font-size: 17px; } .area__tags li { font-size: 13px; padding: 5px 10px; } }

/* how an engagement runs: four steps on a line */
.run { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); position: relative; }
.run::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--teal), rgba(14,107,98,.15)); }
.run li { position: relative; display: grid; gap: 10px; align-content: start; }
.run__n { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--p-bg); box-shadow: inset 0 0 0 2px var(--teal); color: var(--teal); font: 600 18px/1 var(--font-display); }
.run li:last-child .run__n { background: var(--teal); color: #ffffff; }
.run h3 { margin: 8px 0 0; font: 600 22px/1.2 var(--font-display); letter-spacing: -0.015em; }
.run p { margin: 0; color: var(--p-muted); }
@media (max-width: 1023px) { .run { grid-template-columns: repeat(2, minmax(0, 1fr)); } .run::before { display: none; } }
@media (max-width: 639px) { .run { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } }
/* round 5 fixes */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap, var(--s-5)); row-gap: var(--s-5); }
.area--feature { grid-column: span 8; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-6); align-items: stretch; min-height: 400px; }
.area__body { display: flex; flex-direction: column; gap: 10px; }
.area__img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; border-radius: 18px; }
.bento > .area:not(.area--feature) { min-height: 330px; }
@media (max-width: 1023px) { .bento > .area { grid-column: span 6 !important; } .bento > .area--feature { grid-column: 1 / -1 !important; grid-template-columns: minmax(0, 1fr); } .area__img { display: none; } .bento > .area:not(.area--feature) { min-height: 0; } }
@media (max-width: 639px) { .bento > .area { grid-column: 1 / -1 !important; } .area__icon { display: none; } }
.signs li { font-size: 20px; padding: var(--s-6) 0; }
.run li { background: var(--p-surface); border-radius: 24px; padding: 24px; box-shadow: inset 0 0 0 1px rgba(20,20,43,.08); min-height: 230px; }
.run::before { top: 47px; left: 48px; right: 48px; }
.run__cta { margin-top: var(--s-7); }
@media (max-width: 1023px) { .run li { min-height: 0; } }
@media (max-width: 639px) { .eng__best { display: none; } .run li { padding: 18px; } .signs li { font-size: 16px; padding: var(--s-4) 0; } }
.area--plain { background: #ffffff; box-shadow: inset 0 0 0 1.5px rgba(20,20,43,.12); }
@media (max-width: 639px) { .bento > .area:not(.area--feature) .area__tags { display: none; } }
/* Home hero foot: the five engagements as quick links */
.outcomes ul.ways { display: flex; flex-wrap: wrap; gap: 8px; }
.outcomes ul.ways li::before { display: none; }
.outcomes ul.ways a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #ffffff; box-shadow: inset 0 0 0 1px rgba(20,20,43,.1); font-size: 14px; font-weight: 500; color: var(--p-ink); transition: background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.outcomes ul.ways a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .outcomes ul.ways a:hover { background: var(--teal-50); } }
.signs li { grid-template-columns: 28px minmax(0, 1fr); }
.sign__n { width: 12px; height: 12px; margin-top: 0.55em; border-radius: 50%; background: var(--marigold); }
.hero--full .hero__text > .greet, .hero--full .hero__text > .hero__kicker { align-self: flex-start; }

/* ---------------------------------------------------------------- round 6 */
/* the four stages as real cards: rounded, padded, a numbered teal badge; the open stage lifts onto white */
[data-moment="pinned-chapters"] .mo-pc__steps { counter-reset: stage; gap: 10px; }
[data-moment="pinned-chapters"] .mo-pc__step,
[data-moment="pinned-chapters"].is-live .mo-pc__step,
[data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step {
  counter-increment: stage; position: relative; border: 0; border-left: 0; border-top: 0;
  border-radius: 20px; margin: 0; padding: 18px 22px 18px 76px; background: transparent;
  box-shadow: inset 0 0 0 1px rgba(20,20,43,.08);
  transition: background-color 240ms ease, box-shadow 240ms ease; }
[data-moment="pinned-chapters"] .mo-pc__step::before {
  content: counter(stage); position: absolute; left: 22px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal);
  font: 600 15px/1 var(--font-display); transition: background-color 240ms ease, color 240ms ease; }
[data-moment="pinned-chapters"] .mo-pc__step h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 36px; letter-spacing: -0.015em; }
[data-moment="pinned-chapters"] .mo-pc__step p { color: var(--p-muted); }
/* live: the open stage is a white card with a soft shadow and a filled badge */
[data-moment="pinned-chapters"].is-live .mo-pc__step.is-on { background: #ffffff; box-shadow: 0 1px 2px rgba(20,20,43,.06), 0 10px 28px rgba(20,20,43,.08); }
[data-moment="pinned-chapters"].is-live .mo-pc__step.is-on::before,
[data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step::before { background: var(--teal); color: #ffffff; box-shadow: none; }
[data-moment="pinned-chapters"].is-live .mo-pc__visuals.frame { border-radius: 28px; box-shadow: 0 10px 28px rgba(20,20,43,.08); }
/* at rest (tablet, no script, reduced motion): every stage a white card, its visual inside it */
[data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step { background: #ffffff; box-shadow: 0 1px 2px rgba(20,20,43,.06), 0 6px 20px rgba(20,20,43,.05); }
@media (min-width: 640px) {
  [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step { padding: 24px 24px 24px 80px; }
  [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step::before { top: 24px; left: 24px; }
  [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__visual { border-radius: 14px; }
}
@media (max-width: 639px) {
  [data-moment="pinned-chapters"] .mo-pc__step, [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step { padding: 16px 16px 16px 64px; }
  [data-moment="pinned-chapters"] .mo-pc__step::before { left: 16px; top: 16px; width: 32px; height: 32px; }
  [data-moment="pinned-chapters"] .mo-pc__step h3 { font-size: 18px; line-height: 32px; }
}
@media (prefers-reduced-motion: reduce) { [data-moment="pinned-chapters"] .mo-pc__step, [data-moment="pinned-chapters"] .mo-pc__step::before { transition: none; } }

/* Consulting engagements: back to a colour of their own each, as in the earlier layout */
#engagements .card.eng { box-shadow: none; }
#engagements .eng-grid > .card.eng:nth-child(1) { background: var(--saffron-50); }
#engagements .eng-grid > .card.eng:nth-child(2) { background: var(--teal-50); }
#engagements .eng-grid > .card.eng:nth-child(3) { background: var(--sand); }
#engagements .eng-grid > .card.eng:nth-child(4) { background: #f6e6d3; }
#engagements .eng-grid > .card.eng:nth-child(5) { background: var(--teal-50); }
#engagements .eng__icon { background: rgba(255,255,255,.75); color: var(--p-accent); }
#engagements .eng__best { border-top-color: rgba(20,20,43,.14); }

/* round 6b: static stage cards keep their inset over the kit's row rule */
@media (min-width: 640px) {
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step {
    padding: 28px 28px 28px 96px; border-top: 0; border-radius: 24px; align-items: center; }
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step::before { top: 28px; left: 32px; }
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step h3 { margin: 0; }
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step p { margin: 0; max-width: 44ch; color: var(--muted, #4a4a63); }
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step .mo-pc__visual { border-radius: 16px; }
}
@media (max-width: 639px) {
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step { padding: 18px 18px 18px 66px; border-radius: 20px; }
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step::before { top: 18px; left: 18px; }
}
@media (min-width: 640px) {
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step { align-items: start; grid-template-rows: auto 1fr; }
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step h3 { align-self: start; line-height: 36px; }
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__step p { align-self: start; }
  html main > [data-moment="pinned-chapters"]:not(.is-live) .mo-pc__visual > img { max-height: none; aspect-ratio: 16 / 10; object-position: top center; }
}

/* round 7: belief line, stage guide */
.belief { font: 600 clamp(20px, 2vw, 26px)/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--teal-ink, #0b544d); margin: 4px 0 0; }
.belief::before { content: ""; display: inline-block; width: 28px; height: 3px; border-radius: 2px; background: var(--saffron, #f2a33a); vertical-align: middle; margin-right: 12px; transform: translateY(-2px); }
.footer__belief { font: 600 22px/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--saffron, #f2a33a); margin: 0; }

#stages .hrst { list-style: none; margin: var(--s-7, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter, 24px); position: relative; counter-reset: st; }
#stages .hrst::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: repeating-linear-gradient(90deg, rgba(14,107,98,.35) 0 8px, transparent 8px 14px); }
#stages .hrst__item { position: relative; counter-increment: st; padding-top: 64px; }
#stages .hrst__item::before { content: counter(st); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 18px/1 var(--font-display); background: var(--teal, #0e6b62); color: #fff; box-shadow: 0 0 0 6px var(--sand, #f2ebdf); }
#stages .hrst__item:nth-child(2)::before { background: var(--saffron, #f2a33a); color: #14142b; }
#stages .hrst__item:nth-child(3)::before { background: #05053a; }
#stages .hrst__size { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--teal-ink, #0b544d); background: #e3f0ed; padding: 4px 10px; border-radius: 999px; }
#stages .hrst__item h3 { font: 600 clamp(22px, 2vw, 28px)/1.15 var(--font-display); letter-spacing: -0.02em; margin: 14px 0 12px; }
#stages .hrst__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
#stages .hrst__list li { position: relative; padding-left: 22px; line-height: 1.45; }
#stages .hrst__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--teal, #0e6b62); }
#stages .hrst__start { margin: 0; padding-top: 14px; border-top: 1px solid rgba(20,20,43,.12); font-size: 15px; }
#stages .hrst__start span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: rgba(20,20,43,.6); margin-bottom: 2px; }
#stages .hrst__start a { color: #05053a; font-weight: 600; text-decoration: underline; text-decoration-color: var(--saffron, #f2a33a); text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (max-width: 767px) {
  #stages .hrst { grid-template-columns: 1fr; gap: 28px; }
  #stages .hrst::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(14,107,98,.35) 0 8px, transparent 8px 14px); }
  #stages .hrst__item { padding: 0 0 0 64px; }
  #stages .hrst__list { gap: 6px; }
}

/* round 8: mobile number with country code, captcha */
.phone { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 8px; }
.phone input { width: 100%; min-width: 0; }
.field--captcha { max-width: 22rem; }
.field--captcha label { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.captcha__new { font: inherit; font-size: 14px; color: var(--teal-ink, #0b544d); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.captcha__new:hover { color: #05053a; }

/* round 9: the email address is an image that sits on the text line */
.email-link { display: inline-block; line-height: 1; border-radius: 4px; }
.email-img { display: inline-block; height: 1.2em; width: auto; vertical-align: -0.25em; max-width: 100%; }
.email-link:hover .email-img { opacity: .8; }
.email-link:focus-visible { outline: 2px solid var(--saffron, #f2a33a); outline-offset: 3px; }
.footer__col .email-img { height: 1.15em; }
