/* SOURCE: styles/theme.css */
/*
 * Holedo design tokens
 * --------------------
 * The old Holedo mockup is the visual source of truth for the core colour
 * relationships. Product functions own colours. Pages do not choose them.
 */
:root {
  /* Core Holedo palette */
  --ink: #272e41;
  --ink2: #33405c;
  --paper: #f6f8fa;
  --white: #ffffff;
  --blue: #32a3fd;
  --cyan: #83eeff;
  --navy: #384677;
  --navydeep: #20283d;
  --pink: #e9c8d7;
  --mint: #c6e4d1;
  --aqua: #a0d2cb;
  --green-ink: #3a6351;
  --aubergine: #5f4b8b;
  --sky: #bdd3ec;
  --warm: #ffe0b7;
  --lavender: #d9d2ef;
  --line: rgba(39,46,65,.16);
  --muted: #6f7c88;

  /* Semantic CI surfaces. One function, one treatment, everywhere. */
  --surface-home-hero: var(--navy);
  --surface-professional-hero: var(--aqua);
  --surface-company-hero: var(--pink);
  --surface-spaces: var(--mint);
  --surface-news: var(--paper);
  --surface-jobs: var(--white);
  --surface-membership: var(--paper);
  --surface-tmr: var(--navydeep);

  --ink-home-hero: var(--cyan);
  --ink-professional-hero: var(--ink);
  --ink-company-hero: var(--aubergine);
  --ink-spaces: var(--green-ink);
  --ink-news: var(--ink);
  --ink-jobs: var(--ink);
  --ink-membership: var(--ink);

  /* Typography and section rhythm */
  --type-body: 19px;
  --type-body-mobile: 18px;
  --type-section-copy: 20px;
  --type-section-copy-mobile: 19px;
  --type-section-lead: 22px;
  --type-section-lead-mobile: 20px;
  --section-space-top: 108px;
  --section-space-bottom: 116px;
  --section-space-mobile-top: 76px;
  --section-space-mobile-bottom: 82px;
  --spaces-space-top: 136px;
  --spaces-space-bottom: 142px;
  --spaces-space-mobile-top: 96px;
  --spaces-space-mobile-bottom: 102px;

  --hero-copy-gap-top: 38px;
  --hero-routes-gap-top: 44px;
  --hero-top-space: 230px;
  --hero-mobile-top-space: 220px;
  --hero-min-height: max(820px, 100svh);
  --page-hero-min-height: var(--hero-min-height);
  --page-hero-top-space: 164px;
  --page-hero-bottom-space: 108px;

  /* Hero actions */
  --hero-heading: var(--ink-home-hero);
  --hero-intro: var(--ink-home-hero);
  --hero-professionals-button: var(--white);
  --hero-professionals-text: var(--blue);
  --hero-companies-button: var(--navydeep);
  --hero-companies-text: var(--white);
  --professional-cta-background: var(--ink);
  --professional-cta-text: var(--white);
  --company-cta-background: var(--aubergine);
  --company-cta-text: var(--white);

  /* Product proof objects */
  --jobs-section-background: var(--surface-jobs);
  --jobs-proof-background: var(--paper);
  --jobs-profile-card-background: var(--white);

  /* Layout */
  --max: 1180px;
  --font: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
}

/* SOURCE: styles/site.css */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--type-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(var(--max),calc(100% - 56px));
  margin-inline: auto;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: absolute;
  inset: 20px 0 auto;
  z-index: 100;
  pointer-events: none;
}

.header-grid {
  min-height: 54px;
  padding: 0 14px 0 16px;
  border-radius: 30px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 10px 34px rgba(30,36,55,.12);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 124px;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-navigation a {
  font-size: 15px;
  font-weight: 600;
}

.language-link {
  padding: 6px 9px;
  border: 1px solid rgba(39,46,65,.18);
  border-radius: 15px;
}

.header-language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 6px 9px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.site-navigation .sign-in {
  padding: 8px 15px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}

.menu-button {
  display: none;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 7px 12px;
}

/* ============================================================
   HOME HERO
   ============================================================ */

.home-hero {
  min-height: var(--hero-min-height);
  padding: var(--hero-top-space) 0 110px;
  background: var(--surface-home-hero);
  color: #fff;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr);
  gap: 66px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--hero-heading);
  font-size: clamp(58px,6.3vw,88px);
  font-weight: 800;
  line-height: .91;
  letter-spacing: -.055em;
}

.home-hero-copy p {
  max-width: 760px;
  margin: var(--hero-copy-gap-top) 0 0;
  color: var(--hero-intro);
  font-size: clamp(22px,2vw,28px);
  line-height: 1.28;
  font-weight: 500;
}

.home-routes {
  display: flex;
  gap: 12px;
  margin-top: var(--hero-routes-gap-top);
}

.home-routes a {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 17px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  min-width: 0;
}

.home-routes a:first-child {
  background: var(--hero-professionals-button);
  color: var(--hero-professionals-text);
}

.home-routes a:last-child {
  background: var(--hero-companies-button);
  color: var(--hero-companies-text);
}

.home-routes a span:last-child {
  color: var(--blue);
  font-size: 21px;
}

.home-routes a:last-child span:last-child {
  color: #fff;
}

.hero-live {
  position: relative;
  min-height: 480px;
}

.hero-card {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 26px 60px rgba(16,21,34,.22);
  overflow: hidden;
}

.hero-card-space {
  width: 72%;
  left: 2%;
  top: 44px;
  background: #fff;
  color: var(--ink);
  transform: rotate(-1.2deg);
}

.hero-card-news {
  width: 58%;
  right: 2%;
  top: 12px;
  background: var(--mint);
  color: var(--ink);
  transform: rotate(1.1deg);
}

.hero-card-jobs {
  width: 62%;
  right: 7%;
  bottom: 12px;
  background: var(--warm);
  color: var(--ink);
  transform: rotate(-.45deg);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 800;
}

.hero-card-body {
  padding: 18px;
}

.hero-card-space .hero-card-head {
  background: #40578f;
  color: #fff;
}

.hero-room {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 230px;
  background: #fff;
}

.hero-room-list {
  padding: 15px 12px;
  background: #f5f7fa;
  border-right: 1px solid #dfe4ea;
}

.hero-room-row {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #566174;
}

.hero-room-row.active {
  padding: 0 8px;
  background: #e7eef9;
  color: #27324c;
  font-weight: 700;
}

.hero-room-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a7dcff;
}

.hero-room-chat {
  padding: 18px 16px;
}

.hero-bubble {
  height: 20px;
  border-radius: 6px;
  background: #edf1f5;
  margin: 16px 0;
  width: 52%;
}

.hero-bubble.right {
  margin-left: auto;
  background: #d8ecff;
  width: 64%;
}

.hero-bubble.short {
  width: 38%;
}

.hero-live-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .65;
}

.hero-news-title {
  display: block;
  margin: 8px 0 0;
  font-size: 23px;
  line-height: 1.04;
  font-weight: 800;
}

.hero-card-news .hero-card-body {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-card-jobs .hero-card-body {
  display: grid;
  gap: 10px;
}

.hero-job-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 700;
}

.hero-job-line span:last-child {
  font-size: 12px;
  color: #7b684e;
}

/* ============================================================
   GENERIC SECTION / POSTER LAYOUT
   ============================================================ */

.poster {
  padding: var(--section-space-top) 0 var(--section-space-bottom);
  overflow: hidden;
}

/* Semantic CI surfaces. Product functions own their colour treatment. */
.poster-spaces {
  padding-top: var(--spaces-space-top);
  padding-bottom: var(--spaces-space-bottom);
  background: var(--surface-spaces);
  color: var(--ink-spaces);
}

.poster-news {
  background: var(--surface-news);
  color: var(--ink-news);
}

.poster-jobs {
  background: var(--surface-jobs);
  color: var(--ink-jobs);
}

.poster-membership {
  background: var(--surface-membership);
  color: var(--ink-membership);
}

.poster-lavender {
  background: var(--lavender);
}

.poster-grid {
  display: grid;
  grid-template-columns: minmax(270px,.85fr) minmax(0,1.15fr);
  gap: 74px;
  align-items: center;
}

.poster-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .62;
}

.poster-copy h1,.poster-copy h2,.news-poster-head h2,.jobs-poster-head h2,.membership-head h2 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(50px,5.3vw,72px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
}

.poster-copy p {
  max-width: 560px;
  margin: 0 0 9px;
  font-size: var(--type-section-copy);
}

.poster-copy .copy-break {
  margin-top: 22px;
}

.poster-art {
  min-width: 0;
}

.page-first {
  padding-top: 132px;
}

/* Full opening statements for the two audience pages. */
.page-hero {
  min-height: var(--page-hero-min-height);
  padding: var(--page-hero-top-space) 0 var(--page-hero-bottom-space);
  display: flex;
  align-items: center;
}

.page-hero-professionals {
  background: var(--surface-professional-hero);
}

.page-hero-companies {
  background: var(--surface-company-hero);
}

.page-hero-professionals .poster-copy h1,
.page-hero-professionals .claim-line {
  color: var(--ink-professional-hero);
}

.page-hero-companies .poster-copy h1,
.page-hero-companies .claim-line {
  color: var(--ink-company-hero);
}

.poster-spaces .poster-copy h2 {
  color: var(--ink-spaces);
}

.poster-news .news-poster-head h2 {
  color: var(--ink-news);
}

.poster-jobs .jobs-poster-head h2 {
  color: var(--ink-jobs);
}

/* ============================================================
   SPACES PRODUCT VISUAL
   ============================================================ */

.spaces-object {
  width: min(100%,760px);
  margin-left: auto;
  transform: rotate(.45deg);
  filter: drop-shadow(0 22px 30px rgba(39,46,65,.13));
}

.spaces-ui {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(39,46,65,.20);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
}

.spaces-ui-bar {
  height: 54px;
  background: #3d568c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.spaces-ui-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
}

.spaces-symbol {
  position: relative;
  width: 28px;
  height: 24px;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.94);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.spaces-symbol:after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: skewY(-35deg);
  background: #3d568c;
}

.spaces-symbol i {
  position: relative;
  z-index: 1;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}

.spaces-ui-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spaces-ui-tools span {
  display: inline-block;
  position: relative;
}

.tool-dot {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.tool-square {
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 2px;
}

.tool-lock {
  width: 12px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 2px;
}

.tool-lock:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 6px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
}

.spaces-ui-body {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 360px;
}

.spaces-ui-sidebar {
  padding: 17px 14px;
  background: #f6f8fb;
  border-right: 1px solid #d9dfe6;
}

.space-row {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  margin-bottom: 6px;
  color: #4b5667;
  font-size: 14px;
}

.space-row.active {
  background: #e5edf9;
  color: #27324c;
  font-weight: 700;
  border-radius: 7px;
}

.space-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #b8ddf4;
}

.space-row:nth-child(3) .space-dot {
  background: #c9e999;
}

.space-row:nth-child(4) .space-dot {
  background: #ffd98e;
}

.space-row:nth-child(5) .space-dot {
  background: #f6b3b5;
}

.spaces-ui-room {
  position: relative;
  padding: 18px 20px 62px;
}

.room-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #e1e5e9;
}

.room-title {
  display: grid;
  gap: 2px;
}

.room-title small {
  font-size: 10px;
  font-weight: 600;
  color: #8a959f;
}

.room-heading>span {
  padding: 5px 8px;
  border-radius: 5px;
  background: #eee3f7;
  color: #70518c;
  font-size: 11px;
  font-weight: 700;
}

.room-presence {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 0 7px;
  color: #75818d;
  font-size: 10px;
}

.room-presence b {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 11px;
  background: #e7f5ff;
  color: #3375a7;
  font-size: 9px;
}

.presence-avatars {
  display: flex;
  padding-left: 4px;
}

.presence-avatars i {
  width: 20px;
  height: 20px;
  margin-left: -4px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #b9dff8;
}

.presence-avatars i:nth-child(2) {
  background: #c9e999;
}

.presence-avatars i:nth-child(3) {
  background: #f4c7d9;
}

.presence-avatars i:nth-child(4) {
  background: #ffd98e;
}

.message-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 13px 0;
}

.message-line.right {
  justify-content: flex-end;
}

.message-avatar {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b9dff8;
}

.message-avatar.avatar-green {
  background: #c9e999;
}

.message-bubble {
  max-width: 72%;
  padding: 8px 10px;
  border-radius: 4px 11px 11px 11px;
  background: #f0f3f6;
  display: grid;
  gap: 2px;
  font-size: 10px;
  line-height: 1.25;
}

.message-line.right .message-bubble {
  border-radius: 11px 4px 11px 11px;
  background: #dceeff;
  text-align: right;
}

.message-bubble strong {
  font-size: 9px;
  color: #687482;
}

.message-bubble span {
  color: #344057;
}

.shared-file {
  width: min(88%,270px);
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  margin: 14px 0 4px 34px;
  padding: 8px 9px;
  border: 1px solid #dce2e7;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(39,46,65,.06);
}

.file-type {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #fff1f0;
  color: #fd3732;
  font-size: 9px;
  font-weight: 800;
}

.shared-file>span:last-child {
  display: grid;
  gap: 1px;
}

.shared-file strong {
  font-size: 10px;
}

.shared-file small {
  font-size: 9px;
  color: #87919a;
}

.composer {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  height: 36px;
  border: 1px solid #cbd5de;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #9aa5ae;
  font-size: 11px;
}

.composer strong {
  color: var(--blue);
  font-size: 17px;
}

/* ============================================================
   NEWS + JOBS SHARED SECTION STRUCTURE
   ============================================================ */

.news-poster-head,.jobs-poster-head {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 44px;
}

.news-poster-copy p,.jobs-poster-copy p {
  max-width: 560px;
  margin: 0 0 8px;
  font-size: var(--type-section-copy);
}

.news-five-minute p {
  max-width: 620px;
  margin: 0;
  font-size: var(--type-section-lead);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: 0;
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.feed-status {
  margin: 0;
  color: rgba(39,46,65,.68);
  font-size: 15px;
}

.news-controls {
  display: flex;
  gap: 8px;
}

.news-controls button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.news-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.news-card {
  flex: 0 0 calc((100% - 54px)/4);
  scroll-snap-align: start;
  min-width: 0;
}

.news-card-media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: rgba(255,255,255,.55);
  border-radius: 14px;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 800;
}

.news-card time {
  display: block;
  margin-top: 6px;
  color: rgba(39,46,65,.64);
  font-size: 13px;
}

.news-skeleton {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.skeleton-media {
  aspect-ratio: 16/10;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
}

.skeleton-line {
  height: 16px;
  margin-top: 12px;
  border-radius: 8px;
  background: rgba(39,46,65,.16);
}

.skeleton-line.short {
  width: 66%;
}

/* ============================================================
   PROFILE VISUAL
   ============================================================ */

.profile-intro {
  display: grid;
  grid-template-columns: minmax(260px,.62fr) minmax(420px,1.38fr);
  gap: 72px;
  align-items: center;
  margin: 12px 0 54px;
}

.profile-intro-copy {
  max-width: 430px;
}

.profile-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(32,40,61,.66);
}

.profile-intro-copy p:not(.profile-kicker) {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.profile-object {
  position: relative;
  min-height: 330px;
  border: 8px solid #1d2435;
  border-radius: 18px;
  background: #f5f7f9;
  box-shadow: 0 24px 55px rgba(32,40,61,.18);
  overflow: hidden;
}

.profile-object-top {
  height: 36px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: #42578f;
  color: #fff;
  font-size: 12px;
}

.profile-object-brand {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #20283d;
  font-weight: 800;
}

.profile-object-cover {
  height: 86px;
  background: linear-gradient(115deg,#d5e4f3,#f6dfcc 48%,#b7d3d5);
}

.profile-object-card {
  width: 46%;
  min-width: 220px;
  margin: -35px auto 0;
  padding: 17px 16px 13px;
  display: grid;
  justify-items: center;
  gap: 4px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(32,40,61,.12);
  text-align: center;
}

.profile-object-card strong {
  font-size: 20px;
}

.profile-object-card>span:last-child {
  font-size: 12px;
  color: #7a8690;
}

.profile-object-avatar {
  width: 46px;
  height: 46px;
  margin-top: -38px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg,#32a3fd,#7dc81b);
}

.profile-object-tabs {
  height: 38px;
  display: flex;
  justify-content: center;
  gap: 46px;
  align-items: end;
  padding-bottom: 7px;
  border-bottom: 1px solid #d9dee5;
  font-size: 11px;
  color: #74808b;
}

.profile-object-tabs strong {
  color: #42578f;
  border-bottom: 2px solid #32a3fd;
  padding-bottom: 6px;
}

.profile-object-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  padding: 17px 22px 21px;
}

.profile-object-summary,.profile-object-experience {
  display: grid;
  align-content: start;
  gap: 7px;
}

.profile-object-label {
  font-size: 10px;
  font-weight: 800;
  color: #6f7c88;
}

.profile-object-summary i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #dce2e6;
}

.profile-object-summary i.short {
  width: 68%;
}

.profile-object-experience>div {
  height: 35px;
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 7px;
  align-items: center;
  padding: 5px 7px;
  background: #e7ebee;
}

.profile-object-experience b {
  width: 22px;
  height: 22px;
  background: #32a3fd;
}

.profile-object-experience i {
  height: 6px;
  border-radius: 3px;
  background: #c6ced4;
}

.live-jobs {
  background: transparent;
}

.jobs-window {
  overflow: visible;
}

.row,#hl-container {
  width: 100%;
}

/* ============================================================
   MEMBERSHIP GRADES
   ============================================================ */

.membership-head {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 58px;
}

.membership-head p {
  max-width: 570px;
  margin: 0;
  font-size: 20px;
}

.grade-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.grade-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 18px 45px rgba(39,46,65,.12);
}

.grade-card img {
  position: absolute;
  z-index: 2;
  width: 112px;
  height: 112px;
  object-fit: contain;
  left: 50%;
  top: -46px;
  transform: translateX(-50%);
}

.grade-card-main {
  flex: 1;
  padding: 82px 28px 28px;
  color: #fff;
  text-align: center;
}

.grade-card-main h3 {
  margin: 6px 0 18px;
  font-size: 27px;
  line-height: 1.04;
}

.grade-card-main p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255,255,255,.88);
}

.grade-code {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
}

.grade-card-foot {
  padding: 24px;
  background: #fff;
  text-align: center;
}

.grade-card-foot strong {
  display: block;
  font-size: 31px;
}

.grade-card-foot span {
  font-size: 13px;
  color: #78838d;
}

.grade-ahl .grade-card-main {
  background: #686b6b;
}

.grade-mhl .grade-card-main {
  background: #b57900;
}

.grade-fhl .grade-card-main {
  background: #17191a;
}

/* ============================================================
   TMR
   ============================================================ */

.tmr-poster {
  padding: 108px 0 118px;
  background: var(--surface-tmr);
  color: #fff;
  overflow: hidden;
}

.tmr-poster-grid {
  display: grid;
  grid-template-columns: minmax(320px,.76fr) minmax(0,1.24fr);
  gap: 88px;
  align-items: center;
}

.tmr-name {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tmr-copy h2 {
  max-width: 500px;
  margin: 0 0 28px;
  color: var(--cyan);
  font-size: clamp(54px,5.5vw,78px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
}

.tmr-copy p:not(.tmr-name) {
  max-width: 500px;
  margin: 0 0 9px;
  font-size: 19px;
}

.tmr-stage {
  position: relative;
  min-height: 590px;
}

.tmr-screen {
  position: absolute;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 14px;
  box-shadow: 0 28px 65px rgba(0,0,0,.25);
  overflow: hidden;
}

.tmr-screen img {
  width: 100%;
  height: auto;
}

.tmr-screen-main {
  width: 83%;
  left: 10%;
  top: 28px;
  transform: rotate(.5deg);
}

.tmr-screen-search {
  width: 52%;
  left: -1%;
  bottom: 30px;
  z-index: 3;
  transform: rotate(-3deg);
}

.tmr-screen-applicants {
  width: 48%;
  right: -1%;
  bottom: 10px;
  z-index: 4;
  transform: rotate(2.4deg);
}

.tmr-screen-pipeline {
  width: 43%;
  right: -3%;
  top: 5px;
  z-index: 2;
  transform: rotate(3deg);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #20283d;
  color: #fff;
  padding: 46px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 0;
  padding: 28px 26px;
  border-radius: 14px;
  background: #f3f5f7;
  color: var(--ink);
}

.footer-brand img {
  width: 148px;
}

.footer-brand p {
  max-width: 260px;
  margin: 13px 0 0;
  color: #697484;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-column h2 {
  margin: 0 0 10px;
  color: #7b8794;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-column a {
  font-size: 15px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #aeb8c8;
  font-size: 14px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.social-links a {
  font-size: 13px;
  color: #fff;
  opacity: .92;
}

/* ============================================================
   LEGAL + ABOUT
   ============================================================ */

.legal {
  padding: 140px 0 100px;
}

.legal h1 {
  margin: 0 0 34px;
  font-size: clamp(48px,6vw,74px);
  font-weight: 800;
  line-height: .92;
}

.about-copy {
  max-width: 830px;
}

.about-copy h2 {
  font-size: 48px;
  line-height: 1;
}

.about-copy p {
  font-size: 20px;
  line-height: 1.65;
}

@media (max-width:980px) {
  .shell {
    width: min(var(--max),calc(100% - 36px));
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-grid,.poster-grid,.news-poster-head,.jobs-poster-head,.tmr-poster-grid,.membership-head {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-live {
    max-width: 700px;
  }

  .poster-copy {
    max-width: 720px;
  }

  .news-card {
    flex-basis: calc((100% - 18px)/2);
  }

  .profile-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grade-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tmr-stage {
    min-height: 570px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }
}

@media (max-width:760px) {
  body {
    font-size: var(--type-body-mobile);
  }

  .shell {
    width: calc(100% - 30px);
  }

  .site-header {
    top: 12px;
  }

  .header-grid {
    min-height: 50px;
  }

  .brand img {
    width: 112px;
  }

  .menu-button {
    display: block;
  }

  .site-navigation {
    display: none;
    position: absolute;
    top: 58px;
    left: 15px;
    right: 15px;
    padding: 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(30,36,55,.18);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .site-navigation.is-open {
    display: flex;
  }

  .home-hero {
    padding: var(--hero-mobile-top-space) 0 72px;
  }

  .home-hero-copy h1 {
    font-size: clamp(48px,14vw,66px);
  }

  .home-hero-copy p {
    font-size: 22px;
  }

  .home-hero-grid {
    row-gap: 56px;
  }

  .home-routes {
    margin-top: var(--hero-routes-gap-top);
    gap: 10px;
  }

  .home-routes a {
    padding: 11px 13px;
    font-size: 16px;
  }

  .hero-live {
    min-height: 410px;
    margin-top: 6px;
  }

  .hero-card-space {
    width: 74%;
    left: 0;
    top: 68px;
    transform: rotate(-.55deg);
  }

  .hero-card-news {
    width: 60%;
    right: 0;
    top: 10px;
    transform: rotate(.55deg);
  }

  .hero-card-jobs {
    width: 64%;
    right: 3%;
    bottom: 10px;
    transform: rotate(-.18deg);
  }

  .hero-room-list {
    display: none;
  }

  .hero-room {
    grid-template-columns: 1fr;
    min-height: 190px;
  }

  .poster {
    padding: var(--section-space-mobile-top) 0 var(--section-space-mobile-bottom);
  }

  .poster-spaces {
    padding-top: var(--spaces-space-mobile-top);
    padding-bottom: var(--spaces-space-mobile-bottom);
  }

  .page-hero {
    min-height: var(--page-hero-min-height);
    padding: 128px 0 92px;
    align-items: flex-start;
  }

  .page-first {
    padding-top: 108px;
  }

  .poster-copy h1,.poster-copy h2,.news-poster-head h2,.jobs-poster-head h2,.membership-head h2 {
    font-size: clamp(44px,12vw,60px);
  }

  .poster-copy p,.news-poster-copy p,.jobs-poster-copy p,.membership-head p {
    font-size: var(--type-section-copy-mobile);
  }

  .spaces-object {
    margin: 0;
  }

  .spaces-ui-body {
    grid-template-columns: 31% 69%;
    min-height: 330px;
  }

  .spaces-ui-sidebar {
    padding: 12px 8px;
  }

  .space-row {
    padding: 0 6px;
    font-size: 12px;
  }

  .spaces-ui-room {
    padding: 14px 14px 58px;
  }

  .composer {
    left: 12px;
    right: 12px;
  }

  .news-five-minute p {
    font-size: var(--type-section-lead-mobile);
    line-height: 1.32;
  }

  .news-card {
    flex-basis: min(82vw,340px);
  }

  .news-skeleton {
    grid-template-columns: repeat(4,minmax(250px,1fr));
    overflow: hidden;
  }

  .profile-intro {
    margin-bottom: 44px;
  }

  .profile-object {
    max-width: 720px;
  }

  .grade-grid {
    grid-template-columns: 1fr;
    gap: 64px;
    padding-top: 30px;
  }

  .grade-card {
    min-height: 390px;
  }

  .tmr-poster {
    padding: 64px 0 72px;
  }

  .tmr-copy h2 {
    font-size: clamp(48px,13vw,66px);
  }

  .tmr-stage {
    min-height: 540px;
  }

  .tmr-screen-main {
    width: 90%;
    left: 5%;
    top: 70px;
    z-index: 1;
  }

  .tmr-screen-pipeline {
    width: 52%;
    right: -1%;
    top: 8px;
    z-index: 4;
    transform: rotate(3.2deg);
  }

  .tmr-screen-search {
    width: 58%;
    left: -1%;
    bottom: 34px;
    z-index: 3;
  }

  .tmr-screen-applicants {
    width: 56%;
    right: -1%;
    bottom: -8px;
    z-index: 5;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    margin-left: 58px;
  }
}

@media (max-width:480px) {
  .home-routes a {
    font-size: 15px;
  }

  .hero-live {
    min-height: 390px;
  }

  .hero-card-space {
    width: 75%;
    left: -1%;
    top: 72px;
  }

  .hero-card-news {
    width: 61%;
    right: -1%;
    top: 10px;
  }

  .hero-card-jobs {
    width: 66%;
    right: 2%;
    bottom: 10px;
  }

  .spaces-ui-sidebar {
    display: none;
  }

  .spaces-ui-body {
    grid-template-columns: 1fr;
  }

  .profile-object {
    min-height: 285px;
    border-width: 6px;
  }

  .profile-object-cover {
    height: 72px;
  }

  .profile-object-card {
    width: 70%;
    min-width: 0;
  }

  .profile-object-body {
    grid-template-columns: 1fr;
  }

  .profile-object-summary {
    display: none;
  }

  .tmr-stage {
    min-height: 510px;
  }

  .social-links {
    margin-left: 58px;
  }
}

/* Profile and company home page visuals */

.claim-line {
  margin-top: 24px !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.claim-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.claim-actions .claim-line {
  margin: 0 !important;
}

.page-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 25px;
  font-weight: 800;
  line-height: 1;
}

.page-hero-professionals .page-hero-cta {
  background: var(--professional-cta-background);
  color: var(--professional-cta-text);
}

.page-hero-companies .page-hero-cta {
  background: var(--company-cta-background);
  color: var(--company-cta-text);
}

.profile-home-object,.company-home-object {
  width: min(100%,760px);
  margin-left: auto;
  border-radius: 18px;
  background: #f6f8fa;
  box-shadow: 0 24px 55px rgba(39,46,65,.15);
  overflow: hidden;
  border: 1px solid rgba(39,46,65,.12);
}

.profile-home-cover,.company-home-cover {
  height: 150px;
  background: linear-gradient(120deg,#4e668f 0%,#99c3ca 42%,#f0c8d8 72%,#f2d6ad 100%);
}

.profile-home-main {
  position: relative;
  margin: -62px 26px 0;
  padding: 76px 28px 24px;
  background: #fff;
  display: grid;
  justify-items: center;
  text-align: center;
  box-shadow: 0 10px 28px rgba(39,46,65,.09);
}

.profile-home-avatar {
  position: absolute;
  top: -54px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 7px solid #fff;
  background: linear-gradient(145deg,#32a3fd,#7dc81b);
}

.profile-home-main>strong {
  font-size: 34px;
  line-height: 1.05;
}

.profile-home-role {
  margin-top: 7px;
  color: #6e7984;
  font-size: 16px;
}

.profile-home-location {
  margin-top: 7px;
  color: #88939d;
  font-size: 13px;
}

.profile-home-contact {
  margin-top: 18px;
  padding: 9px 18px;
  border: 1px solid #cfd7de;
  border-radius: 7px;
  background: #fff;
  color: #596672;
  font-weight: 700;
}

.profile-home-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.profile-home-links span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f3fb;
  color: #3479ae;
  font-size: 13px;
  font-weight: 800;
}

.profile-home-details {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  padding: 22px 28px 28px;
}

.profile-home-details>div {
  display: grid;
  gap: 8px;
}

.profile-home-label {
  font-size: 11px;
  font-weight: 800;
  color: #6f7c88;
}

.profile-home-details i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #dce2e6;
}

.profile-home-details i.short {
  width: 65%;
}

.profile-home-details b {
  display: block;
  height: 34px;
  border-radius: 6px;
  background: #e6ebee;
}

.company-home-object {
  background: #fff;
}

.company-home-cover {
  height: 190px;
  background: linear-gradient(115deg,#324967 0%,#87b3a8 46%,#d8b5a3 100%);
}

.company-home-card {
  position: relative;
  margin: -62px 28px 0;
  padding: 74px 34px 28px;
  display: grid;
  justify-items: center;
  text-align: center;
  background: #fff;
  box-shadow: 0 10px 28px rgba(39,46,65,.10);
}

.company-home-logo {
  position: absolute;
  top: -54px;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 7px solid #fff;
  border-radius: 16px;
  background: #20283d;
  color: #fff;
  font-size: 44px;
  font-weight: 800;
}

.company-home-card>strong {
  font-size: 34px;
  line-height: 1.05;
}

.company-home-location {
  margin-top: 7px;
  color: #7a8690;
  font-size: 14px;
}

.company-home-card p {
  max-width: 520px;
  margin: 16px 0 0;
  color: #5c6874;
  font-size: 16px;
  line-height: 1.4;
}

.company-home-card button {
  margin-top: 20px;
  padding: 12px 22px;
  border: 0;
  border-radius: 7px;
  background: #32a3fd;
  color: #fff;
  font-weight: 800;
}

.company-home-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px 24px;
  color: #697581;
  font-size: 13px;
}

.company-home-nav strong {
  margin-right: auto;
  color: #20283d;
  font-size: 15px;
}

@media (max-width:760px) {
  .profile-home-object,.company-home-object {
    margin: 0;
  }

  .profile-home-cover {
    height: 118px;
  }

  .company-home-cover {
    height: 145px;
  }

  .profile-home-main {
    margin: -48px 18px 0;
    padding: 64px 18px 20px;
  }

  .company-home-card {
    margin: -48px 18px 0;
    padding: 64px 20px 24px;
  }

  .profile-home-avatar,.company-home-logo {
    top: -46px;
    width: 92px;
    height: 92px;
  }

  .profile-home-main>strong,.company-home-card>strong {
    font-size: 29px;
  }

  .profile-home-details {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .company-home-nav {
    gap: 13px;
    padding: 16px 18px 20px;
    overflow: hidden;
  }

  .company-home-nav span {
    white-space: nowrap;
  }

  .claim-line {
    font-size: 20px !important;
  }
}

@media (max-width:480px) {
  .profile-home-location {
    max-width: 270px;
  }

  .company-home-card p {
    font-size: 15px;
  }

  .company-home-nav span:nth-last-child(-n+2) {
    display: none;
  }
}

/* Compact header account actions */

.header-grid {
  gap: 14px;
}

.brand-icon {
  display: none;
}

.site-navigation {
  margin-left: auto;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-auth a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-login {
  background: #f0f1ed;
  color: var(--ink);
}

.header-signup {
  background: var(--ink);
  color: #fff;
}

.signup-short {
  display: none;
}

.menu-button {
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-button span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

@media (max-width:760px) {
  .site-header {
    top: 12px;
  }

  .site-header .shell {
    width: calc(100% - 24px);
  }

  .header-grid {
    min-height: 58px;
    padding: 6px 8px 6px 12px;
    border-radius: 31px;
    gap: 7px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-wordmark {
    display: none !important;
  }

  .brand-icon {
    display: block;
    width: 34px;
    height: 34px;
  }

  .site-navigation {
    margin-left: 0;
    top: 66px;
    left: 6px;
    right: 6px;
    padding: 18px;
    border-radius: 20px;
  }

  .header-auth {
    margin-left: auto;
    gap: 6px;
  }

  .header-auth a {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 21px;
  }

  .header-signup {
    padding-inline: 14px;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    flex: 0 0 40px;
  }

  .signup-long {
    display: none;
  }

  .signup-short {
    display: inline;
  }
}

@media (max-width:390px) {
  .site-header .shell {
    width: calc(100% - 16px);
  }

  .header-grid {
    padding-left: 9px;
    gap: 4px;
  }

  .brand-icon {
    width: 31px;
    height: 31px;
  }

  .header-auth {
    gap: 4px;
  }

  .header-auth a {
    padding-inline: 10px;
    font-size: 13px;
  }

  .header-signup {
    padding-inline: 11px;
  }

  .menu-button {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }

  .menu-button span {
    width: 19px;
  }
}

/* Jobs proof block, plain page background, membership colours and recognition */

.poster-paper {
  background: var(--surface-membership);
}

.footer-grid {
  background: var(--paper);
}

/* Make the homepage jobs story read as two distinct objects. */

.apply-proof {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(300px,1.1fr);
  gap: 34px;
  align-items: center;
  margin: 8px 0 28px;
  padding: 30px 32px;
  border-radius: 18px;
  background: var(--jobs-proof-background);
  box-shadow: 0 16px 34px rgba(39,46,65,.08);
}

.apply-proof>div:first-child>strong {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(34px,4vw,48px);
  line-height: .96;
  letter-spacing: -.035em;
}

.apply-proof>div:first-child>p:last-child {
  margin: 0;
  font-size: 18px;
  color: #596574;
}

.mini-profile {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border-radius: 14px;
  background: var(--jobs-profile-card-background);
  border: 1px solid rgba(39,46,65,.12);
  box-shadow: 0 10px 26px rgba(39,46,65,.08);
}

.mini-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(145deg,#32a3fd,#7dc81b);
  box-shadow: inset 0 0 0 4px #fff;
}

.mini-profile>span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.mini-profile b {
  font-size: 17px;
}

.mini-profile small {
  color: #75818d;
  font-size: 13px;
}

.mini-profile i {
  font-style: normal;
  padding: 8px 13px;
  border-radius: 17px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

/* The grades provide their own colour, so the surrounding field stays quiet. */

.membership-section {
  color: var(--ink);
}

.grade-ahl .grade-card-main {
  background: #3949a3;
}

.grade-mhl .grade-card-main {
  background: #8d949b;
}

.grade-fhl .grade-card-main {
  background: #bd8d24;
}

.grade-card {
  box-shadow: 0 18px 42px rgba(39,46,65,.10);
}

.grade-card-foot {
  background: #fff;
}

/* Recognition belongs near the footer rather than competing with the product story. */

.footer-hhl {
  margin-top: 4px;
  color: #5e6975 !important;
  font-size: 13px !important;
}

.footer-recognition {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-top: 24px;
  padding: 20px 0 2px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.recognition-item {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  color: #c5cedb;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
}

.recognition-item strong {
  color: #fff;
  font-size: 13px;
}

.recognition-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
}

.seven-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #e8c968;
  font-size: 22px;
  font-weight: 800;
}

/* Honorary grade lives behind one quiet footer link. */

.hhl-body {
  background: #050505;
  color: #fff;
}

.hhl-main {
  min-height: 100vh;
  background: #050505;
}

.hhl-hero {
  min-height: 100vh;
  padding: 142px 0 80px;
  display: grid;
  place-items: center;
  background: #050505;
}

.hhl-inner {
  max-width: 740px;
  text-align: center;
}

.hhl-inner img {
  width: min(240px,58vw);
  margin: 0 auto 28px;
}

.hhl-inner .poster-kicker {
  color: #939393;
}

.hhl-inner h1 {
  margin: 0 0 24px;
  font-size: clamp(50px,7vw,82px);
  line-height: .92;
  letter-spacing: -.045em;
}

.hhl-inner p {
  max-width: 650px;
  margin: 0 auto 12px;
  color: #c5c5c5;
  font-size: 20px;
}

.hhl-inner a {
  display: inline-flex;
  margin-top: 26px;
  padding: 10px 16px;
  border: 1px solid #535353;
  border-radius: 22px;
  color: #fff;
  font-weight: 700;
}

@media (max-width:760px) {
  .home-hero-grid {
    row-gap: 86px;
  }

  .hero-live {
    min-height: 474px;
    margin-top: 18px;
  }

  .hero-card-news {
    width: 58%;
    right: 0;
    top: 24px;
    transform: rotate(.9deg);
  }

  .hero-card-space {
    width: 72%;
    left: 0;
    top: 96px;
    transform: rotate(-1.05deg);
  }

  .hero-card-jobs {
    width: 62%;
    right: 3%;
    bottom: -30px;
    transform: rotate(-.75deg);
  }

  .spaces-object {
    transform: rotate(-1.55deg);
    transform-origin: center center;
  }

  .apply-proof {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px;
    margin-top: 4px;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    align-items: start;
  }

  .social-links {
    width: 100%;
    margin-left: 0 !important;
    justify-content: flex-end;
    text-align: right;
  }

  .footer-recognition {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: end;
    gap: 16px;
  }

  .recognition-item {
    width: min(100%,330px);
    justify-content: flex-start;
  }

  .hhl-hero {
    padding-top: 116px;
  }

  .hhl-inner p {
    font-size: 18px;
  }
}

@media (max-width:480px) {
  .home-hero-grid {
    row-gap: 92px;
  }

  .hero-live {
    min-height: 462px;
    margin-top: 20px;
  }

  .hero-card-news {
    width: 59%;
    right: -1%;
    top: 25px;
  }

  .hero-card-space {
    width: 73%;
    left: -1%;
    top: 102px;
    transform: rotate(-1.2deg);
  }

  .hero-card-jobs {
    width: 63%;
    right: 2%;
    bottom: -30px;
    transform: rotate(-.9deg);
  }

  .mini-profile {
    grid-template-columns: 46px 1fr auto;
  }

  .mini-avatar {
    width: 46px;
    height: 46px;
  }

  .mini-profile i {
    padding: 7px 10px;
  }

  .grade-card-main {
    padding-inline: 24px;
  }

  .footer-recognition {
    justify-items: stretch;
  }

  .recognition-item {
    width: 100%;
    max-width: none;
  }
}

/* News credibility, dedicated membership page and rebuilt footer */

.brand .brand-icon {
  width: 38px;
  height: 38px;
  max-width: 38px;
  aspect-ratio: 1/1;
  object-fit: contain;
  flex: 0 0 38px;
}

.news-five-minute {
  min-width: 0;
}

.news-five-minute p {
  max-width: 680px;
  overflow-wrap: normal;
}

.news-publication-link {
  white-space: normal;
  text-decoration: underline;
  text-decoration-thickness: .07em;
  text-underline-offset: .1em;
}

.news-credibility {
  display: block;
  margin-top: 14px;
  color: rgba(39,46,65,.62);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.membership-teaser {
  padding-block: 72px;
}

.membership-teaser-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(360px,1.08fr);
  gap: 46px;
  align-items: center;
}

.membership-teaser-copy {
  max-width: 650px;
}

.membership-teaser h2,.membership-page-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(46px,5.2vw,70px);
  line-height: .93;
  letter-spacing: -.045em;
}

.membership-teaser p:not(.poster-kicker) {
  max-width: 650px;
  margin: 0;
  font-size: var(--type-section-copy);
}

.membership-teaser .text-cta {
  margin-top: 24px;
}

.membership-badge-panel {
  min-height: 240px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border: 1px solid rgba(39,46,65,.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(39,46,65,.08);
}

.membership-mini-grade {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 18px 8px 14px;
  border-radius: 14px;
}

.membership-mini-grade img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.membership-mini-grade strong {
  font-size: 14px;
  letter-spacing: .12em;
}

.membership-mini-ahl { background: rgba(57,73,163,.08); }
.membership-mini-mhl { background: rgba(141,148,155,.12); }
.membership-mini-fhl { background: rgba(189,141,36,.09); }

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}

.text-cta span {
  color: var(--blue);
  font-size: 22px;
}

.membership-page-hero {
  padding-bottom: 50px;
}

.membership-page-intro {
  max-width: 850px;
}

.membership-page-intro p:last-child {
  max-width: 760px;
  margin: 0;
  font-size: 22px;
  line-height: 1.42;
}

.membership-how {
  padding-top: 32px;
  padding-bottom: 54px;
}

.membership-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 22px;
}

.membership-steps article {
  padding: 24px;
  border: 1px solid rgba(39,46,65,.12);
  border-radius: 16px;
  background: #fff;
}

.membership-steps article>strong {
  display: block;
  margin-bottom: 36px;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: .1em;
}

.membership-steps h2 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.05;
}

.membership-steps p {
  margin: 0;
  color: #677382;
  font-size: 16px;
}

.membership-hhl-note {
  padding-top: 0;
  padding-bottom: 76px;
}

.membership-hhl-note .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(39,46,65,.14);
}

.membership-hhl-note p {
  margin: 0;
  color: #677382;
}


.legal-copy {
  max-width: 760px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
}

.legal-kicker {
  margin-bottom: 10px;
  color: #697484;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.imprint-copy p {
  margin: 0 0 18px;
}

/* Footer: brand + awards, navigation, explore/news, follow us, then quiet legal row. */

.footer-grid {
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 30px 28px;
}

.footer-brand p {
  margin-top: 12px;
}

.footer-awards {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.footer-award {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.62);
}

.footer-award img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
}

.footer-award .sevenstars-badge {
  padding: 3px;
}

.footer-subheading {
  margin-top: 18px !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
  text-align: right;
}

.footer-legal a {
  font-size: 13px;
  color: #fff;
  opacity: .92;
}

.footer-recognition,.social-links {
  display: none !important;
}

@media (max-width:980px) {
  .membership-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 34px;
  }
}

@media (max-width:760px) {
  .brand .brand-icon {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    flex-basis: 34px !important;
    object-fit: contain !important;
  }

  .news-poster-head {
    gap: 24px;
    margin-bottom: 34px;
  }

  .jobs-poster-head {
    gap: 18px;
    margin-bottom: 30px;
  }

  .news-five-minute p {
    font-size: var(--type-section-lead-mobile);
    line-height: 1.32;
  }

  .news-credibility {
    font-size: 14px;
    margin-top: 12px;
  }

  .membership-teaser-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .membership-badge-panel {
    min-height: 0;
    padding: 20px 14px;
    gap: 8px;
  }

  .membership-mini-grade {
    padding: 14px 4px 10px;
  }

  .membership-mini-grade img {
    width: 76px;
    height: 76px;
  }

  .membership-page-intro p:last-child {
    font-size: 19px;
  }

  .membership-hhl-note .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 26px 24px;
  }

  .footer-brand {
    padding-bottom: 4px;
  }

  .footer-awards {
    margin-top: 20px;
  }

  .footer-award {
    width: 68px;
    height: 68px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom > span {
    align-self: flex-start;
  }

  .footer-legal {
    align-self: flex-end;
    justify-content: flex-end;
    gap: 11px 16px;
    max-width: 100%;
  }
}

@media (max-width:390px) {
  .brand .brand-icon {
    width: 31px !important;
    height: 31px !important;
    max-width: 31px !important;
    flex-basis: 31px !important;
  }

  .header-language {
    min-width: 34px;
    min-height: 34px;
    padding-inline: 7px;
    font-size: 12px;
  }
}
