/* Wealthbrite website v5: "the payslip, the career line, plain English"
   Blue and teal blocks on white. Coral = actions. Purple = Carla's pen (handwritten notes).
   Boldness lives in three moments: the annotated payslip, the career line, the crossed-out jargon. */
:root {
  --blue: #96ccd3;
  --blue-soft: #e3f1f3;
  --teal: #152e36;
  --teal-soft: #3b545b;
  --mist: #c3d2d4;
  --coral: #f6766d;
  --coral-deep: #ea5d53;
  --purple: #b275dd;
  --yellow: #f9e192;
  --white: #ffffff;
  --rule: rgba(21, 46, 54, 0.14);
  --max: 1200px;
  --sans: "Cabinet Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--teal); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); font-weight: 900; line-height: .98; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 900; line-height: 1.02; }
h3 { font-size: 1.45rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.shell { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.blk { padding-block: 110px; }
.blk-s { padding-block: 64px; }
.on-blue { background: var(--blue); }
.on-teal { background: var(--teal); color: var(--white); }
.on-soft { background: var(--blue-soft); }
.sub { font-size: 1.25rem; max-width: 34em; }
.muted { color: var(--teal-soft); }
.on-teal .muted { color: var(--mist); }
.hand { font-family: var(--hand); font-weight: 700; font-size: 1.6rem; line-height: 1.05; color: var(--purple); }
.on-teal .hand, .on-blue .hand.light { color: var(--blue); }
.head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.head .sub { margin: 0; }

/* Actions */
.btn { display: inline-flex; align-items: center; padding: 16px 28px; border-radius: 999px; background: var(--coral); color: var(--teal); font: inherit; font-weight: 800; font-size: 1.02rem; text-decoration: none; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--coral-deep); }
.btn.sm { padding: 10px 20px; font-size: .95rem; }
.txt { font-weight: 800; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.on-teal .txt { color: var(--white); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule); }
.top .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .m { height: 30px; width: auto; }
.brand .w { height: 19px; width: auto; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { text-decoration: none; font-weight: 700; }
.menu a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--teal); border-radius: 999px; font: inherit; font-weight: 800; color: var(--teal); padding: 8px 16px; cursor: pointer; }

/* ===== A: the payslip hero ===== */
.hero-pay { background: var(--blue); overflow: hidden; }
.hero-pay .shell { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-block: 72px 110px; }
.hero-pay h1 { font-size: clamp(2.7rem, 5.8vw, 5rem); }
.hero-pay .sub { margin-top: 26px; }
.slip-wrap { position: relative; padding: 30px 170px 46px 0; min-width: 0; }
.slip { background: var(--white); border-radius: 6px; padding: 26px 28px 22px; box-shadow: 0 30px 60px -22px rgba(21,46,54,.5); transform: rotate(-2deg); font-variant-numeric: tabular-nums; position: relative; }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: radial-gradient(circle at 8px 10px, transparent 7px, var(--white) 7.5px) 0 0 / 16px 10px repeat-x; }
.slip-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--teal); padding-bottom: 12px; margin-bottom: 6px; }
.slip-head b { display: block; font-size: 1.05rem; }
.slip-head span { font-size: .88rem; color: var(--teal-soft); }
.row { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px dashed rgba(21,46,54,.22); }
.row .v { font-weight: 700; }
.row.neg .v { color: var(--teal-soft); }
.row.total { border: 0; border-top: 2px solid var(--teal); margin-top: 6px; padding-top: 14px; font-size: 1.25rem; font-weight: 900; }
.row mark { background: linear-gradient(transparent 55%, var(--yellow) 55%); color: inherit; padding-inline: 2px; }
.slip .eg { font-size: .78rem; color: var(--teal-soft); margin: 10px 0 0; }
.pen { position: absolute; font-family: var(--hand); font-weight: 700; font-size: 1.6rem; line-height: 1.02; color: var(--teal); width: 180px; transform: rotate(-3deg); }
.pen svg { position: absolute; overflow: visible; }
.pen path { fill: none; stroke: var(--coral); stroke-width: 2.6; stroke-linecap: round; }
.pen.p1 { right: -6px; top: 84px; }
.pen.p2 { right: -18px; top: 204px; }
.pen.p3 { right: -2px; top: 300px; }
.pen.p4 { right: 6px; bottom: -4px; color: var(--coral-deep); }

/* Logos strip */
.firms { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 44px; }
.firms .t { font-weight: 700; color: var(--teal-soft); margin-right: 8px; }
.firms .f { font-weight: 900; font-size: 1.3rem; letter-spacing: -0.02em; color: rgba(21,46,54,.6); }

/* ===== B: the career line ===== */
.career { background: var(--teal); color: var(--white); overflow: hidden; }
.career .intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.career .intro .sub { color: var(--mist); margin: 0; }
.line-wrap { overflow-x: auto; margin-top: 30px; }
.line { position: relative; min-width: 940px; max-width: var(--max); margin: 0 auto; padding-inline: 24px; height: 400px; }
.line svg.path { position: absolute; left: 24px; top: 0; width: calc(100% - 48px); height: 300px; overflow: visible; }
.line svg.path path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 1700; stroke-dashoffset: 0; animation: draw 2.4s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 1700; } to { stroke-dashoffset: 0; } }
.mo { position: absolute; transform: translate(-50%, -100%); background: none; border: 0; padding: 0 0 2px; cursor: pointer; color: var(--white); font: inherit; text-align: center; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
.mo .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); border: 3px solid var(--blue); transform: translateY(9px); transition: background .2s, border-color .2s; }
.mo .t { font-weight: 700; font-size: .95rem; width: 128px; line-height: 1.2; }
.mo:hover .dot, .mo.on .dot { background: var(--coral); border-color: var(--coral); }
.mo.on .t { color: var(--blue); }
.spans { position: absolute; left: 24px; right: 24px; top: 318px; display: grid; grid-template-columns: 30fr 29fr 41fr; gap: 20px; }
.spans a { text-decoration: none; border-top: 3px solid var(--purple); padding-top: 12px; }
.spans b { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.spans small { color: var(--mist); font-size: .92rem; }
.spans a:hover b { color: var(--blue); }
.teach { margin-top: 36px; background: var(--blue); color: var(--teal); border-radius: 26px; padding: 26px 30px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.teach .hand { color: var(--teal); font-size: 1.5rem; }
.teach p { margin: 4px 0 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }

/* Research themes */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--teal); }
.theme { padding: 30px 30px 0 0; }
.theme + .theme { padding-left: 30px; border-left: 1px solid var(--rule); }
.theme .fig { font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.theme h3 { margin-bottom: 8px; }
.theme p { color: var(--teal-soft); margin: 0; }
.theme .hand { display: block; margin-top: 14px; font-size: 1.35rem; }

/* ===== C: plain English ===== */
.plain { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.translate { background: var(--blue); border-radius: 30px; padding: 30px 34px; min-width: 0; }
.tr { padding-block: 16px; border-bottom: 1px solid rgba(21,46,54,.2); }
.tr:last-child { border-bottom: 0; }
.tr .j { display: block; font-weight: 700; text-decoration: line-through; text-decoration-color: var(--coral-deep); text-decoration-thickness: 3px; color: var(--teal-soft); }
.tr .p { display: block; font-family: var(--hand); font-weight: 700; font-size: 1.9rem; line-height: 1.05; margin-top: 4px; }
.nots { font-size: clamp(2rem, 4.6vw, 3.7rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.08; display: grid; gap: 6px; }
.nots s { text-decoration-color: var(--coral); text-decoration-thickness: 6px; color: #7d959a; }
.nots .yes { font-family: var(--hand); font-weight: 700; color: var(--blue); font-size: 1.12em; letter-spacing: 0; margin-top: 14px; }

/* Why firms work with us */
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.photo { position: relative; background: var(--blue-soft); border-radius: 18px; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; max-width: 100%; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo.sq { aspect-ratio: 1 / 1; }
.photo span { font-weight: 700; font-size: .92rem; color: rgba(21,46,54,.45); text-align: center; padding: 16px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.on-blue .photo { background: rgba(255,255,255,.4); }
.caption { font-family: var(--hand); font-weight: 700; font-size: 1.45rem; color: var(--purple); margin-top: 12px; transform: rotate(-1.5deg); }
.defs { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin-top: 40px; }
.defs div { border-top: 2px solid var(--teal); padding-top: 14px; }
.defs h3 { font-size: 1.25rem; margin-bottom: 6px; }
.defs p { margin: 0; color: var(--teal-soft); }

/* Proof */
.big-quote { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; max-width: 22em; margin: 0; }
.q-item { display: none; }
.q-item.active { display: block; }
.q-item cite { display: block; font-style: normal; margin-top: 18px; font-weight: 700; color: var(--teal-soft); }
.q-dots { display: flex; gap: 10px; margin-top: 26px; }
.q-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(21,46,54,.22); cursor: pointer; padding: 0; transition: width .2s; }
.q-dots button.on { width: 32px; background: var(--coral); }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 80px; }
.case { border-top: 2px solid var(--teal); padding-top: 18px; display: grid; gap: 14px; }
.case .who { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; }
.case .who span { font-weight: 600; color: var(--teal-soft); }
.case h3 { font-size: 1.6rem; }
.heard { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 80px; }
.heard h3 { font-size: 1.15rem; margin-bottom: 14px; }
.heard ul { list-style: none; margin: 0; padding: 0; }
.heard li { border-top: 1px solid var(--rule); padding-block: 12px; display: flex; justify-content: space-between; gap: 16px; }
.heard li a { font-weight: 700; text-decoration: none; }
.heard li a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.heard li span { color: var(--teal-soft); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; position: relative; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--teal-soft); padding-bottom: 22px; max-width: 40em; margin: 0; }

/* Closing */
.closing { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.closing h2 { font-size: clamp(2.6rem, 6vw, 5rem); }

/* Inner page hero */
.page-hero { background: var(--blue); }
.page-hero .shell { padding-block: 80px 90px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: end; }
.page-hero.teal { background: var(--teal); color: var(--white); }
.page-hero.teal .sub { color: var(--mist); }
.page-hero .sub { margin-top: 24px; }

/* About */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.story .sub { font-size: 1.35rem; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.person h3 { margin-top: 16px; }
.person p { margin: 2px 0 0; color: var(--teal-soft); }

/* Courses */
.course { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; padding-block: 72px; border-top: 2px solid var(--teal); }
.course:first-child { border-top: 0; padding-top: 0; }
.course .stage { font-family: var(--hand); font-weight: 700; font-size: 1.6rem; color: var(--purple); }
.course h2 { margin: 4px 0 12px; }
.course .for { font-size: 1.25rem; color: var(--teal-soft); margin-bottom: 26px; }
.moments { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.moments span { border: 1.5px solid var(--teal); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .95rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); margin: 0 0 30px; }
.facts div { padding: 16px 18px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.facts dt { font-weight: 800; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--teal-soft); }
.mini-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.mini-line a { text-decoration: none; border-top: 3px solid var(--purple); padding-top: 12px; }
.mini-line b { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.mini-line small { color: var(--mist); }

/* Insights */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filters button { border: 1.5px solid var(--teal); background: var(--white); color: var(--teal); padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer; }
.filters button.on { background: var(--teal); color: var(--white); }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
.post { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.post.hide { display: none; }
.post .with { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--teal-soft); }
.post .with img { height: 22px; width: auto; }
.post h3 { font-size: 1.6rem; }
.post .theme-name { font-family: var(--hand); font-weight: 700; font-size: 1.35rem; color: var(--purple); }

/* Events */
.events { display: grid; gap: 0; border-top: 2px solid var(--teal); }
.event { display: grid; grid-template-columns: 180px 1fr auto; gap: 32px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.event .when { font-weight: 900; font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.02em; }
.event h3 { margin-bottom: 4px; }
.event p { margin: 0; color: var(--teal-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.form { background: var(--white); border-radius: 26px; padding: 36px; box-shadow: 0 30px 60px -30px rgba(21,46,54,.45); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 800; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--white); font: inherit; color: var(--teal); }
.field textarea { min-height: 140px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.topics { border: 0; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.topics legend { font-weight: 800; margin-bottom: 12px; padding: 0; }
.topics input { position: absolute; opacity: 0; }
.topics label { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--teal); cursor: pointer; font-weight: 700; font-size: .96rem; }
.topics input:checked + label { background: var(--teal); color: var(--white); }
.topics input:focus-visible + label { outline: 3px solid var(--purple); outline-offset: 2px; }
.hp { display: none; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-block: 16px; border-top: 1px solid rgba(21,46,54,.2); }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--teal); display: grid; place-items: center; font-weight: 800; }
.steps b { display: block; }

/* Members + footer */
.members { border-top: 1px solid var(--rule); padding-block: 30px; }
.members .shell { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.members .t { font-weight: 700; color: var(--teal-soft); }
.members .m b { display: block; }
.members .m small { color: var(--teal-soft); font-size: .88rem; }
.foot { background: var(--teal); color: var(--white); padding-block: 72px 32px; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot .brand .m { height: 40px; }
.foot .brand .w { height: 26px; }
.foot h4 { margin: 0 0 14px; font-size: 1rem; color: var(--blue); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; color: var(--mist); }
.foot a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--coral); }
.foot .base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #93a6aa; font-size: .9rem; }

/* Content gaps: hidden until switched on */
.gap { display: none; background: #fff3c4; border: 1.5px dashed #c9a93a; color: #6b5412; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: 0; padding: 3px 9px; border-radius: 8px; vertical-align: middle; line-height: 1.4; }
body.show-gaps .gap { display: inline-block; }
.gap-toggle { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--teal); color: var(--white); border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .line svg.path path { animation: none; } }

/* Responsive */
@media (max-width: 1000px) {
  .hero-pay .shell, .plain, .why, .faq-grid, .closing, .page-hero .shell, .story, .contact, .head, .career .intro { grid-template-columns: 1fr; gap: 40px; }
  .slip-wrap { padding-right: 0; padding-bottom: 10px; max-width: 560px; }
  .pen { position: static; transform: none; display: inline-block; width: auto; font-size: 1.35rem; margin: 12px 18px 0 0; }
  .pen svg { display: none; }
  .course { grid-template-columns: 1fr; gap: 32px; }
  .course .photo { max-width: 420px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .shell { padding-inline: 16px; }
  .blk { padding-block: 76px; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--white); padding: 20px 16px 28px; gap: 18px; border-bottom: 1px solid var(--rule); }
  .menu.open { display: flex; }
  .brand .w { height: 16px; }
  .themes, .defs, .cases, .heard, .people, .posts, .facts, .mini-line { grid-template-columns: 1fr; }
  .theme, .theme + .theme { padding: 24px 0; border-left: 0; }
  .theme + .theme { border-top: 1px solid var(--rule); }
  .facts div, .facts div + div { padding: 12px 0; border-left: 0; }
  .teach { grid-template-columns: 1fr; }
  .translate { padding: 22px; }
  .slip { padding: 20px 18px; }
  .event { grid-template-columns: 1fr; gap: 10px; }
  .two { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .foot .cols { grid-template-columns: 1fr; }
}

/* Career line on phones: tappable list of money moments */
@media (max-width: 760px) {
  .line-wrap { overflow: visible; margin-top: 28px; }
  .line { min-width: 0; height: auto; padding-inline: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
  .line svg.path { display: none; }
  .mo { position: static !important; transform: none; flex-direction: row; gap: 8px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 14px 8px 10px; }
  .mo .dot { transform: none; width: 12px; height: 12px; border-width: 2px; }
  .mo .t { width: auto; }
  .mo.on { border-color: var(--coral); }
  .spans { position: static; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; width: 100%; }
}

/* Proof: quotes with awards */
.proof-top { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: center; }
.awards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.awards figure { margin: 0; }
.awards img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #eeeeee; }
.awards figcaption { font-size: .88rem; font-weight: 700; margin-top: 8px; color: var(--teal-soft); line-height: 1.3; }
.proof .cases { margin-top: 72px; }

/* Podcasts: artwork tiles */
.pods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.pod { text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pod .art { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--teal); position: relative; }
.pod .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pod:hover .art img { transform: scale(1.04); }
.pod .art::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l10 6-10 6z' fill='%23152e36'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.pod .show { font-size: .9rem; font-weight: 700; color: var(--purple); }
.pod b { font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.01em; }
.pod .play { display: none; }
.press { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--teal); }
.press .t { font-weight: 800; width: 100%; }
.press a { flex: 1 1 220px; text-decoration: none; border: 1.5px solid var(--rule); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.press a:hover { border-color: var(--coral); }
.press .outlet { font-size: .88rem; font-weight: 800; color: var(--teal-soft); }
.press a b { font-size: 1.08rem; line-height: 1.25; }
@media (max-width: 1000px) {
  .proof-top { grid-template-columns: 1fr; gap: 36px; }
  .awards { max-width: 380px; }
  .pods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .pods { grid-template-columns: 1fr 1fr; gap: 18px; } .pod b { font-size: 1rem; } }

/* Logos: one consistent grey */
.firms { align-items: center; }
.logo { width: auto; filter: grayscale(1) brightness(0); opacity: .55; }
.logo-lock { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: rgba(0,0,0,.55); }
.logo-lock .logo { opacity: 1; filter: none; }
.members .logo { opacity: .7; }

/* Events */
.ev-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ev { text-decoration: none; display: grid; gap: 8px; align-content: start; }
.ev img, .ev-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--blue-soft); }
.ev .when, .ev-card .when { font-weight: 800; color: var(--purple); font-size: .95rem; }
.ev b { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
.ev:hover b { text-decoration: underline; text-decoration-color: var(--coral); }
.ev-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.ev-card { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.ev-card h3 { margin: 6px 0 8px; }
.ev-card p { color: var(--teal-soft); }
@media (max-width: 1000px) { .ev-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ev-row { grid-template-columns: 1fr; } .ev-card { grid-template-columns: 1fr; } }

/* v6 fixes */
/* Header logo: sit the wordmark on the same baseline as the W */
.brand { align-items: flex-end; }
.brand .w { margin-bottom: 1px; }
.foot .brand .w { margin-bottom: 2px; }

/* Jargon translator: readable crossed-out words */
.tr .j { font-size: 1.35rem; font-weight: 700; color: var(--teal); opacity: .75; text-decoration-thickness: 2px; text-decoration-color: var(--coral-deep); }
.tr .p { margin-top: 6px; }

/* Members strip */
.members { padding-block: 44px; background: var(--white); }
.members .shell { display: block; }
.members .t { text-align: center; font-weight: 700; color: var(--teal-soft); margin: 0 0 22px; }
.member-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.member-logos li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 6px 20px; min-height: 96px; }
.member-logos li + li { border-left: 1px solid var(--rule); }
.member-logos img { height: 48px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .6; }
.member-logos .word-logo { font-weight: 900; font-size: 1.15rem; line-height: 1.05; letter-spacing: -0.02em; text-align: center; color: rgba(0,0,0,.6); min-height: 48px; display: flex; align-items: center; }
.member-logos small { color: var(--teal-soft); font-size: .88rem; }
@media (max-width: 640px) {
  .member-logos { grid-template-columns: 1fr; gap: 18px; }
  .member-logos li + li { border-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
}

/* Event cards that do not rely on outside images */
.ev-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ev-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ev-card { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: start; background: var(--blue-soft); border-radius: 22px; padding: 24px; }
.ev-date { background: var(--white); border-radius: 16px; text-align: center; padding: 14px 8px; }
.ev-date b { display: block; font-size: 2.6rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.ev-date span { display: block; font-weight: 800; color: var(--purple); margin-top: 4px; text-transform: none; }
.ev-body h3 { margin: 6px 0 8px; font-size: 1.3rem; }
.ev-body p { color: var(--teal-soft); margin-bottom: 16px; }
.ev-card .when { font-weight: 700; font-size: .92rem; color: var(--teal-soft); }
.ev-card.compact { grid-template-columns: 1fr; }
.ev-card.compact .ev-date { display: inline-flex; align-items: baseline; gap: 8px; justify-self: start; padding: 10px 16px; }
.ev-card.compact .ev-date b { font-size: 1.8rem; }
.ev-card.compact .ev-date span { margin: 0; }
@media (max-width: 1000px) { .ev-list, .ev-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ev-card { grid-template-columns: 1fr; } .ev-date { display: inline-flex; align-items: baseline; gap: 8px; justify-self: start; padding: 10px 16px; } .ev-date b { font-size: 1.8rem; } }

/* Courses hero is now light blue: keep the stage links readable */
.page-hero .mini-line small { color: var(--teal-soft); }
.page-hero .mini-line a:hover b { color: var(--white); }
.page-hero .hand { color: var(--teal); }
.tr .j { font-size: 1.55rem; opacity: 1; color: var(--teal-soft); letter-spacing: -0.01em; }

/* ===== v7: Carla's updates ===== */
/* Career line: four stages */
.spans.four { grid-template-columns: 26fr 26fr 26fr 22fr; }
.mini-line.four { grid-template-columns: repeat(4, 1fr); }
.spans.four b { font-size: 1.2rem; }

/* Shoosmiths lead quote */
.lead-quote { margin: 0 0 56px; max-width: 980px; }
.lead-quote .lq-mark { height: 30px; width: auto; margin-bottom: 22px; }
.lead-quote blockquote { margin: 0 0 22px; font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; }
.lead-quote figcaption { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; color: var(--teal-soft); font-size: 1.05rem; }
.lead-quote figcaption b { color: var(--teal); }
.quotes-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 32px; border-top: 2px solid var(--teal); }
.quotes-two figure { margin: 0; }
.quotes-two blockquote { margin: 0 0 12px; font-size: 1.35rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.quotes-two figcaption { color: var(--teal-soft); font-weight: 700; font-size: .95rem; }

/* Awards strip */
.awards-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); }
.awards-strip .t { font-weight: 800; }
.aw { display: flex; align-items: center; gap: 14px; flex: 1 1 260px; }
.aw img, .aw-badge { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: 0 0 64px; background: #eee; }
.aw-badge { display: grid; place-items: center; background: var(--purple); color: var(--white); font-weight: 900; font-size: 1.05rem; }
.aw b { display: block; line-height: 1.25; }
.aw small { color: var(--teal-soft); }

/* Featured case studies */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs { background: var(--white); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cs-logo { margin-bottom: 8px; }
.cs h3 { font-size: 1.5rem; }
.cs p { color: var(--teal-soft); margin: 0; }
.cs-stat { display: grid; gap: 4px; border-top: 2px solid var(--teal); padding-top: 14px; margin-top: auto; width: 100%; }
.cs-stat b { font-size: 3.2rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--purple); }
.cs-stat span { font-weight: 700; }
.cs blockquote { margin: 0; font-family: var(--hand); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: var(--teal); }

/* Podcasts: five square tiles */
.pods.five { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.pod .art img { object-fit: cover; }

/* Featured in: publication logos in colour */
.featured { margin-top: 64px; padding-top: 28px; border-top: 2px solid var(--teal); }
.featured .t { display: block; font-weight: 800; margin-bottom: 22px; }
.press-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.press-logos a { display: inline-flex; align-items: center; transition: transform .15s; }
.press-logos a:hover { transform: translateY(-2px); }
.press-logos img { width: auto; max-width: 220px; object-fit: contain; }
.press { margin-top: 40px; }

/* Pointer band to services */
.beyond-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; background: var(--blue-soft); border-radius: 26px; padding: 30px 36px; }
.beyond-band h3 { margin-bottom: 6px; }
.beyond-band p { margin: 0; color: var(--teal-soft); max-width: 40em; }

/* Beyond the courses */
.beyond { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.beyond > div { background: var(--white); border-radius: 22px; padding: 28px; }
.beyond .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); font-weight: 900; margin-bottom: 16px; }
.beyond h3 { margin-bottom: 8px; }
.beyond p { color: var(--teal-soft); margin: 0; }
.convos { margin-top: 40px; }
.convos ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.convos li { border: 1.5px solid var(--teal); border-radius: 999px; padding: 9px 18px; font-weight: 700; background: var(--white); }

/* Speaker section */
.speaker { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.speaker .hand { color: var(--purple); }
.speaker h2 { margin: 4px 0 18px; }
.topics-list { margin: 0 0 18px; padding-left: 1.2em; font-weight: 700; }
.topics-list li { margin-bottom: 6px; }
.speaker p { color: var(--teal-soft); }
.cred-list { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 0; }
.cred-list li { border-top: 1px solid var(--rule); padding: 12px 0 12px 28px; position: relative; font-weight: 700; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }

/* Memberships: full colour, four columns */
.member-logos { grid-template-columns: repeat(4, 1fr); }
.member-logos img { filter: none; opacity: 1; height: 48px; max-width: 200px; object-fit: contain; }
.member-logos small { text-align: center; max-width: 22em; }
.member-logos a { display: inline-flex; }

/* Responsive for the new parts */
@media (max-width: 1000px) {
  .cs-grid, .beyond { grid-template-columns: 1fr; }
  .speaker { grid-template-columns: 1fr; gap: 36px; }
  .speaker .photo { max-width: 380px; }
  .pods.five { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .pods.five .pod { flex: 0 0 44%; scroll-snap-align: start; }
  .member-logos { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .member-logos li:nth-child(3) { border-left: 0; }
  .mini-line.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .quotes-two { grid-template-columns: 1fr; gap: 28px; }
  .pods.five .pod { flex-basis: 70%; }
  .spans.four { grid-template-columns: 1fr; }
  .mini-line.four { grid-template-columns: 1fr; }
  .beyond-band { padding: 24px; }
}
@media (max-width: 640px) {
  .member-logos { grid-template-columns: 1fr; }
  .member-logos li + li { border-left: 0; }
}
.firms { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.firms .logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.firms .gap { grid-column: 1 / -1; }
.tag { display: inline-block; background: #fde3e1; color: var(--teal); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .85rem; }
@media (max-width: 1000px) { .firms { grid-template-columns: 1fr; } .firms .logo-row { justify-content: flex-start; } }

/* ===== v8: themed testimonials, community, speaker quotes ===== */
.themed { padding-top: 32px; border-top: 2px solid var(--teal); }
.themed-h { margin-bottom: 18px; }
.theme-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.theme-tabs button { border: 1.5px solid var(--teal); background: var(--white); color: var(--teal); border-radius: 999px; padding: 10px 22px; font: inherit; font-weight: 800; cursor: pointer; }
.theme-tabs button[aria-selected="true"] { background: var(--teal); color: var(--white); }
.theme-panel { display: grid; grid-template-columns: .8fr 2.2fr; gap: 40px; align-items: start; }
.tp-stat { display: grid; gap: 6px; }
.tp-stat b { font-size: 4rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--purple); }
.tp-stat span { font-weight: 700; }
.tp-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tp-quotes figure, .spk-quotes figure { margin: 0; background: var(--blue-soft); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.tp-quotes blockquote, .spk-quotes blockquote { margin: 0; font-weight: 700; font-size: 1.08rem; line-height: 1.4; }
.tp-quotes figcaption, .spk-quotes figcaption { color: var(--teal-soft); font-weight: 700; font-size: .9rem; }
.cs-note { font-size: .98rem; }
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.community h2 { margin-bottom: 18px; }
.topic-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chips li { border: 1.5px solid var(--teal); border-radius: 999px; padding: 9px 16px; font-weight: 700; }
.score { display: flex; align-items: center; gap: 18px; }
.score b { font-size: 4rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--purple); white-space: nowrap; }
.score b small { font-size: 1.4rem; color: var(--teal-soft); }
.score span { font-weight: 700; max-width: 22em; }
.spk-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) {
  .theme-panel, .community { grid-template-columns: 1fr; gap: 24px; }
  .tp-quotes, .spk-quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .tp-quotes, .spk-quotes { grid-template-columns: 1fr; } }
.theme-panel[hidden] { display: none; }
.topic-chips li { border-radius: 16px; }

/* ===== v9: layout and responsive polish (no design changes) ===== */
/* Two white sections in a row: one gap, not two */
section.blk:not(.on-soft):not(.on-blue):not(.on-teal):not(.career) + section.blk:not(.on-soft):not(.on-blue):not(.on-teal):not(.career),
section.blk:not(.on-soft):not(.on-blue):not(.on-teal):not(.career) + section.blk-s { padding-top: 0; }

/* Headings beside long text sit at the top */
.head.head-top { align-items: start; }
.head .sub + .sub { margin-top: 1em; }

/* Case studies: headings, text and stats line up across the cards */
.cs-grid { grid-template-rows: auto; }
@supports (grid-template-rows: subgrid) {
  .cs { display: grid; grid-template-rows: subgrid; grid-row: span 5; align-content: start; justify-items: start; row-gap: 14px; }
  .cs-stat { margin-top: 10px; align-self: start; }
}
.cs-tag { align-self: start; }

/* Member logos: one logo line, one caption line */
.member-logos li { justify-content: flex-start; padding-block: 0; min-height: 0; }
.member-logos .ml { height: 56px; display: flex; align-items: center; justify-content: center; max-width: 100%; }
.member-logos .ml img { height: 48px; }
.member-logos small { line-height: 1.35; }

/* Event cards: register buttons line up */
.ev-card { align-items: stretch; }
.ev-body { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.ev-body .btn { margin-top: auto; }

/* Contact heading sized to its column */
@media (min-width: 1001px) { .contact { grid-template-columns: 1fr 1.05fr; } }
.contact-h { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }

/* Awards: label above, three equal columns */
.awards-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; }
.awards-strip .t { grid-column: 1 / -1; }
.aw { flex: none; }

/* More from Carla: equal grid */
.press { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.press .t { grid-column: 1 / -1; }

/* Footer legal links */
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.foot .legal { display: flex; gap: 24px; }
.foot .legal a { color: #93a6aa; }

/* Legal pages */
.legal-doc { max-width: 760px; }
.legal-doc h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 48px 0 14px; letter-spacing: -0.02em; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--teal-soft); }
.legal-doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-doc .updated { font-weight: 700; color: var(--teal); }
.legal-doc .note { background: var(--blue-soft); border-radius: 16px; padding: 18px 22px; color: var(--teal); }

/* Laptop widths (up to 1180px) */
@media (max-width: 1180px) {
  .hero-pay .shell { gap: 40px; }
  .slip-wrap { padding-right: 132px; }
  .pen { width: 140px; font-size: 1.35rem; }
  .pen.p1 { right: -4px; } .pen.p2 { right: -10px; } .pen.p3 { right: 0; } .pen.p4 { right: 4px; }
  .row { gap: 10px; font-size: .95rem; }
  .row > span:first-child { min-width: 0; }
  .row .v { white-space: nowrap; }
  .row.total { font-size: 1.12rem; }
  .firms { grid-template-columns: 1fr; gap: 18px; }
  .firms .logo-row { justify-content: space-between; }
}

/* Tablet (up to 1000px) */
@media (max-width: 1000px) {
  .slip-wrap { padding-right: 0; }
  .pen { width: auto; }
  .row { font-size: 1rem; }
  /* Career line becomes the tappable list on tablets too */
  .line-wrap { overflow: visible; margin-top: 28px; }
  .line { min-width: 0; height: auto; padding-inline: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
  .line svg.path { display: none; }
  .mo { position: static !important; transform: none; flex-direction: row; gap: 8px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 14px 8px 10px; }
  .mo .dot { transform: none; width: 12px; height: 12px; border-width: 2px; }
  .mo .t { width: auto; }
  .mo.on { border-color: var(--coral); }
  .spans, .spans.four { position: static; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 26px; width: 100%; }
  .press { grid-template-columns: 1fr 1fr; }
  .ev-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .foot .cols { grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
  .course .photo { max-width: 520px; aspect-ratio: 4 / 3; }
  .tp-quotes { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tp-quotes figure { padding: 18px; }
  .tp-quotes blockquote { font-size: 1rem; }
}

@media (max-width: 900px) {
  .firms .logo-row { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; gap: 26px 20px; }
  .awards-strip { grid-template-columns: 1fr; gap: 16px; }
}

/* Large phones and small tablets (up to 760px) */
@media (max-width: 760px) {
  .page-hero .shell { padding-block: 56px 64px; }
  .ev-row { grid-template-columns: 1fr; gap: 32px; }
  .ev img { aspect-ratio: 16 / 9; }
  .tp-quotes { grid-template-columns: 1fr; }
  .course .photo { max-width: none; }
  .course { padding-block: 56px; }
  .foot .cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .foot .cols > div:first-child { grid-column: 1 / -1; }
  .contact-h { font-size: clamp(2.2rem, 8vw, 3rem); }
}

/* Phones (up to 640px) */
@media (max-width: 640px) {
  .member-logos { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .member-logos li, .member-logos li + li { border-top: 0; padding: 0 10px; }
  .member-logos li:nth-child(even) { border-left: 1px solid var(--rule); }
  .member-logos li:nth-child(odd) { border-left: 0; }
  .member-logos .ml { height: 48px; }
  .member-logos .ml img { height: 36px; max-width: 100%; }
  .member-logos small { font-size: .8rem; }
  .press-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; justify-items: center; }
  .press-logos img { max-width: 140px; height: auto !important; max-height: 30px; }
  .spans, .spans.four { grid-template-columns: 1fr; }
  .press { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .firms .logo-row { grid-template-columns: repeat(2, 1fr); }
  .theme-tabs { flex-wrap: nowrap; gap: 6px; }
  .theme-tabs button { flex: 1 1 0; padding: 9px 8px; font-size: .92rem; }
  .tp-stat b { font-size: 3.2rem; }
  .foot .base { flex-direction: column; }
}
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-end .fine { margin: 0; font-size: .88rem; color: var(--teal-soft); max-width: 26em; }
.form-end .fine a { text-decoration-color: var(--coral); }
.mini-line b, .spans b, .cs h3, .ev b { text-wrap: balance; }

/* v10: client logo strip always on one line on desktop */
.firms .logo-lock { font-size: 1.2rem; }
@media (min-width: 1181px) {
  .firms .logo-row { flex-wrap: nowrap; gap: 20px; }
}
.firms .logo-lock .logo { filter: grayscale(1) brightness(0); opacity: 1; }
.firms .logo-lock { color: rgba(0,0,0,.55); }
.firms .logo-lock .logo { opacity: .55; }
/* Elite Business only publishes a white logo: show it dark on our white background */
.press-logos img.on-light { filter: brightness(0); opacity: .85; }
/* SMLF artwork has built-in padding: size it up to match the others optically */
.member-logos .ml img.pad { height: 64px; margin-block: -8px; }
@media (max-width: 640px) { .member-logos .ml img.pad { height: 50px; margin-block: -7px; } }

/* ===== v11: launch updates (16 Oct) ===== */
.career .hand { color: var(--blue); margin-bottom: 10px; }
/* Stats: headings share a line height so the three blocks line up */
@media (min-width: 761px) { .theme h3 { min-height: 2.3em; } }
.tp-stat small { color: var(--teal-soft); font-weight: 700; font-size: .9rem; }
/* Shoosmiths case study quote */
.cs-quote { margin: 10px 0 0; font-family: var(--hand); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: var(--teal); border-top: 2px solid var(--teal); padding-top: 14px; width: 100%; }
.cs .logo-lock.cs-logo { font-size: 1.2rem; }
.cs .logo-lock .logo { filter: grayscale(1) brightness(0); opacity: .55; }
.cs .logo-lock { color: rgba(0,0,0,.55); }
/* Podcasts: four tiles */
.pods.four { grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .pods.four { grid-template-columns: repeat(2, 1fr); } }
/* More from Carla: two cards */
.press.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .press.two { grid-template-columns: 1fr; } }
/* Courses without photos */
.course.no-photo { grid-template-columns: 1fr; max-width: 820px; }
/* Beyond the courses: each card opens the contact form */
.beyond > a.beyond-card { background: var(--white); border-radius: 22px; padding: 28px; text-decoration: none; display: flex; flex-direction: column; gap: 0; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.beyond > a.beyond-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.beyond-card p { margin-bottom: 18px !important; }
.beyond-card .go { margin-top: auto; font-weight: 800; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* Memberships when shown mid-page on the homepage */
main .members { border-top: 0; padding-block: 64px; }
/* Payslip notes: placed by script.js so each one points at the line it talks about */
@media (min-width: 1001px) { .pen[data-for] { right: auto; bottom: auto; } }
@media (max-width: 1180px) { .slip-head b { font-size: .95rem; white-space: nowrap; } .slip-head > span { font-size: .8rem; white-space: nowrap; } }
.foot .base .co { display: grid; gap: 4px; max-width: 46em; } .foot .base { align-items: flex-end; }
@media (max-width: 480px) { .foot .base { align-items: flex-start; } }

/* ===== v12 (16 Oct, after Kim) ===== */
.hero-pay .hero-hand { color: var(--teal); margin-bottom: 14px; }
/* Career stages are labels now, not links */
.spans > div { border-top: 3px solid var(--purple); padding-top: 12px; }
/* "No..." block: each line paired with what we do instead */
.nots.pairs { display: grid; gap: 22px; font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
.nots.pairs p { margin: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 8px 40px; align-items: baseline; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.nots.pairs p:last-child { border-bottom: 0; padding-bottom: 0; }
.nots.pairs .yes { font-family: var(--hand); font-weight: 700; color: var(--blue); font-size: 1.12em; letter-spacing: 0; line-height: 1.05; margin: 0; }
@media (max-width: 760px) { .nots.pairs p { grid-template-columns: 1fr; } }
.nots.pairs p { grid-template-columns: max-content minmax(0, 1fr); }
.nots.pairs .yes, .hero-hand { text-wrap: balance; }
@media (max-width: 1000px) { .nots.pairs p { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hero-pay .hero-hand { font-size: 1.35rem; } }
@media (min-width: 1001px) {
  .nots.pairs { grid-template-columns: max-content minmax(0, 1fr); column-gap: 40px; }
  .nots.pairs p { grid-column: 1 / -1; grid-template-columns: subgrid; }
}
@media (min-width: 1001px) { .nots.pairs .yes { font-size: 1.02em; } .nots.pairs { column-gap: 32px; } }
.nots.pairs { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
/* Publication shown by name (no logo file) */
.press-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; color: #262a33; line-height: 1; white-space: nowrap; }
@media (max-width: 640px) { .press-name { font-size: 1.2rem; } }

/* Payslip notes (v13): header items sit at the top so the tax code arrow lands on the text;
   room under the take-home figure for its note */
.slip-head { align-items: flex-start; }
@media (min-width: 1001px) {
  .slip .eg { margin-top: 52px; }
  .pen.p4 { width: auto; white-space: nowrap; }
}

/* ===== v13: small screens and tap targets ===== */
/* Small phones: nothing wider than the screen */
@media (max-width: 480px) {
  .slip-head { flex-wrap: wrap; row-gap: 4px; }
  .slip-head b, .slip-head > span { white-space: normal; }
}
@media (max-width: 400px) {
  .firms .logo-lock { font-size: 1rem; gap: 6px; }
  .firms .logo-lock .logo { height: 16px !important; }
  h1 { font-size: 2.35rem; }
  .hero-pay h1 { font-size: 2.45rem; }
}
/* Comfortable tap areas (about 44px) for text links and the menu */
.txt { display: inline-block; padding-block: 10px; }
.actions { gap: 14px 24px; }
.menu a:not(.btn) { padding-block: 10px; }
.brand { padding-block: 6px; }
.foot li { margin-bottom: 0; }
.foot li a { display: inline-block; padding-block: 7px; }
.foot .legal a { display: inline-block; padding-block: 10px; }
.press-logos a { padding: 8px 4px; }
.lead-quote figcaption .txt { padding-block: 8px; }
@media (max-width: 640px) { .press-logos img { height: 26px !important; width: auto; max-height: none; max-width: 150px; } }
@media (min-width: 1001px) and (max-width: 1180px) { .mo .t { width: 104px; font-size: .86rem; } }
@media (min-width: 1001px) { .line-wrap { overflow: visible; padding-top: 34px; margin-top: 0; } }
@media (max-width: 640px) { .press-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .press-logos a { max-width: 100%; } .press-logos img { max-width: 100%; } }

/* Timeline: never clip labels; space above is set by script.js */
.career .line-wrap { overflow: visible; }
@media (min-width: 1001px) { .line-wrap { padding-top: 40px; } }

/* ===== v14: FT badge in the hero, and payslip spacing ===== */
.ft-badge { display: inline-flex; align-items: baseline; gap: 8px; margin: 0 0 22px; padding: 9px 16px 8px; background: var(--white); border-radius: 999px; box-shadow: 0 6px 18px -10px rgba(21,46,54,.45); }
.ft-badge .ft-small { font-size: .82rem; font-weight: 700; color: var(--teal-soft); letter-spacing: .01em; }
.ft-badge .ft-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.12rem; color: #262a33; line-height: 1; white-space: nowrap; }
@media (max-width: 400px) { .ft-badge { gap: 6px; padding: 8px 13px 7px; } .ft-badge .ft-small { font-size: .76rem; } .ft-badge .ft-name { font-size: 1rem; } }
/* room for "The number that pays the rent" between the take-home figure and the footnote */
@media (min-width: 1001px) { .slip .eg { margin-top: 64px; } }

/* ===== v15: FT line, specialists label, arrow under take-home ===== */
.ft-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 18px; color: var(--teal); }
.ft-line::before { content: ""; width: 28px; height: 2px; background: var(--coral-deep); border-radius: 2px; }
.ft-line .ft-as { font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-soft); }
.ft-line .ft-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-weight: 700; letter-spacing: -.005em; white-space: nowrap; }
.hero-pay .hero-hand { margin-bottom: 12px; }
.pen.p4 svg { position: absolute; overflow: visible; }
.hero-pay .hero-hand { margin-bottom: 18px; }
/* "What we teach here" label: dark on the blue box (it had turned blue on blue) and contents centred */
.career .teach .hand { color: var(--teal); margin: 0; }
.teach { align-items: center; }
.teach > div { display: grid; gap: 6px; align-content: center; }
.teach p { margin: 0; }
.optout-msg { display: block; margin-top: 10px; font-weight: 700; color: var(--teal); }

/* ===== v16: Workplace Report pop-up ===== */
.report-pop { position: fixed; z-index: 70; right: 24px; bottom: 24px; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--teal); color: var(--white); border-radius: 26px; padding: 30px 28px 24px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55);
  transform: translateY(24px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.report-pop.show { transform: none; opacity: 1; }
.report-pop[hidden] { display: none; }
.rp-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.rp-close:hover { background: rgba(255,255,255,.2); }
.rp-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 48px 14px 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.rp-date { font-family: var(--hand); font-size: 1.55rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--teal); background: var(--yellow); border-radius: 10px; padding: 2px 10px 0; transform: rotate(-3deg); line-height: 1.15; }
.report-pop h2 { font-size: clamp(1.6rem, 3.2vw, 2rem); line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.02em; }
.rp-lead { color: var(--mist); margin: 0 0 14px; font-size: 1.02rem; line-height: 1.45; }
.rp-offer { font-family: var(--hand); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: var(--blue); margin: 0 0 16px; }
.rp-offer b { color: var(--white); font-weight: 700; }
.rp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.rp-f { display: grid; gap: 4px; font-size: .82rem; font-weight: 800; color: var(--mist); }
.rp-f.rp-wide { grid-column: 1 / -1; }
.rp-f input { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: var(--white); font: inherit; font-size: 1rem; font-weight: 500; }
.rp-f input:focus { outline: 3px solid var(--purple); outline-offset: 1px; border-color: transparent; }
.rp-form .btn { width: 100%; justify-content: center; }
.rp-fine { font-size: .78rem; color: var(--mist); margin: 12px 0 0; line-height: 1.4; }
.rp-fine a, .rp-error a { color: var(--white); text-decoration-color: var(--coral); }
.rp-error { margin: 10px 0 0; font-size: .88rem; font-weight: 700; color: #ffd0cc; }
.rp-error[hidden], .rp-view[hidden] { display: none; }
/* phones: a bottom sheet that never covers the whole page */
@media (max-width: 640px) {
  .report-pop { right: 8px; left: 8px; bottom: 8px; width: auto; max-height: 78vh; padding: 24px 18px 18px; border-radius: 22px; }
  .rp-fields { grid-template-columns: 1fr; }
  .rp-lead { font-size: .96rem; }
  .rp-offer { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .report-pop { transition: none; } }
.rp-date { white-space: nowrap; }
.rp-open { width: 100%; justify-content: center; }
.rp-form[hidden], .rp-open[hidden] { display: none; }
.report-pop.open .rp-ask .rp-lead { display: none; }   /* once the form opens, keep the card compact */
@media (max-width: 640px) { .rp-ask .rp-lead { display: none; } }
/* FT line in white, items on one centre line, sitting a little higher */
.ft-line { color: var(--white); align-items: center; gap: 10px; margin: -18px 0 22px; line-height: 1; }
.ft-line::before { background: var(--white); height: 2px; align-self: center; }
.ft-line .ft-as { color: var(--white); line-height: 1; padding-top: 1px; }
.ft-line .ft-name { color: var(--white); font-size: 1.2rem; line-height: 1; }
@media (max-width: 1000px) { .ft-line { margin-top: -8px; } }
/* FT wordmark in white at the top, sitting higher */
.ft-line { margin-top: -38px; margin-bottom: 26px; gap: 12px; }
.ft-line .ft-logo { height: 15px; width: auto; display: block; }
@media (max-width: 1000px) { .ft-line { margin-top: -20px; } }
@media (max-width: 400px) { .ft-line .ft-logo { height: 13px; } }
/* hero sits a little higher; FT line level with the top edge of the payslip */
@media (min-width: 1001px) { .hero-pay .shell { padding-top: 52px; } .ft-line { position: relative; top: -10px; } }
@media (max-width: 1000px) { .hero-pay .shell { padding-top: 40px; } .ft-line { margin-top: 0; } }
/* v17: FT badge on a dark teal pill for contrast against the light blue hero */
.ft-line { display: inline-flex; width: auto; max-width: 100%; background: var(--teal); padding: 9px 16px 9px 14px; border-radius: 999px; box-shadow: 0 2px 10px rgba(21,46,54,.18); }
.ft-line::before { display: none; }
.ft-line .ft-as { color: #fff; opacity: 1; }
@media (max-width: 400px) { .ft-line { padding: 8px 12px; gap: 8px; } .ft-line .ft-as { font-size: .7rem; } }
.ft-line { flex-wrap: nowrap; }
@media (max-width: 360px) { .ft-line { padding: 8px 11px; gap: 7px; } .ft-line .ft-as { font-size: .64rem; letter-spacing: .06em; white-space: nowrap; } .ft-line .ft-logo { height: 11px; } }
/* v18: awards in laurel wreaths on a dark teal band */
.accolades { margin-top: 56px; background: var(--teal); color: var(--white); border-radius: 22px; padding: 30px 28px 34px; }
.acc-t { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.acc-t::before, .acc-t::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.28); }
.acc-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.acc { text-align: center; }
.acc-wreath { position: relative; width: 196px; max-width: 100%; margin: 0 auto; aspect-ratio: 200 / 180; }
.acc-wreath img { position: absolute; inset: 0; width: 100%; height: 100%; }
.acc-in { position: absolute; inset: 18% 24% 14%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.acc-in b { font-size: .95rem; line-height: 1.15; font-weight: 800; text-wrap: balance; }
.acc-in span { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; color: var(--yellow); }
.acc p { margin: 10px auto 0; max-width: 220px; font-size: .9rem; line-height: 1.35; color: rgba(255,255,255,.85); text-wrap: balance; }
@media (max-width: 1000px) { .acc-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .accolades { padding: 26px 14px 28px; } .acc-row { gap: 22px 10px; } .acc-in { inset: 16% 21% 12%; gap: 5px; } .acc-in b { font-size: .8rem; } .acc-in span { font-size: .56rem; letter-spacing: .07em; } .acc p { font-size: .8rem; } }
.acc-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .acc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acc-wreath { width: 100%; max-width: 196px; }
.acc-in b.long { font-size: .8rem; }
@media (max-width: 420px) { .acc-in b.long { font-size: .68rem; } }
@media (max-width: 380px) { .acc-row { grid-template-columns: 1fr; } .acc-wreath { max-width: 180px; } .acc-in { inset: 18% 24% 14%; } .acc-in b { font-size: .9rem; } .acc-in b.long { font-size: .76rem; } .acc-in span { font-size: .6rem; } .acc p { font-size: .88rem; } }
/* v19: five speaker quotes, 3 then 2 with no empty gap */
@media (min-width: 1001px) { .spk-quotes { grid-template-columns: repeat(6, minmax(0,1fr)); } .spk-quotes figure { grid-column: span 2; } .spk-quotes figure:nth-child(n+4) { grid-column: span 3; } }
@media (min-width: 641px) and (max-width: 1000px) { .spk-quotes figure:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* v20: six speaker quotes, two even rows of three (wide cards only when there are exactly five) */
@media (min-width: 1001px) { .spk-quotes figure:nth-child(n+4) { grid-column: span 2; } .spk-quotes figure:nth-child(4):nth-last-child(2), .spk-quotes figure:nth-child(5):nth-last-child(1) { grid-column: span 3; } }
/* v21: FT wordmark sits one word-space after "As featured in the" */
.ft-line, .ft-line { column-gap: 0 !important; }
.ft-line .ft-as { margin-right: .33em; }
/* v22: launch QA fixes */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[data-date][hidden], section[hidden] { display: none !important; }
.ev-none { font-size: 1.1rem; font-weight: 700; }
.foot h2.fh { margin: 0 0 14px; font-size: 1rem; font-weight: 700; line-height: inherit; letter-spacing: normal; color: var(--blue); text-wrap: initial; }
/* text contrast: a deeper purple for small purple text, and a deeper red for the handwritten note on the blue hero */
:root { --purple-text: #8248bb; }
.caption, .pod .show, .ev .when, .ev-card .when, .ev-date span, .speaker .hand, .course .stage, .post .theme-name { color: var(--purple-text); }
.pen.p4 { color: #b3261e; }
.pen.p4 svg path { stroke: currentColor; }
