/* =============================================================================
   Floreo HR – main stylesheet
   -----------------------------------------------------------------------------
   Every page uses this one file. To change a brand colour everywhere, edit the
   values in :root below. Screen-size breakpoints used throughout:
     - 576px   small phones and up
     - 864px   tablets and up
     - 1152px  laptops and up (desktop menu appears here)
     - 1440px  large screens
   ========================================================================== */

/* ---- Fonts (self-hosted Manrope, no Google tracking) ---------------------- */
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("../fonts/manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700 800; font-display: swap; src: url("../fonts/manrope-800.woff2") format("woff2"); }

/* ---- Brand colours -------------------------------------------------------- */
:root {
  --black: #010101;
  --off-black: #101010;
  --dark-grey: #2e2e2e;
  --mid-grey: #333333;
  --light-grey: #e2e2e2;
  --off-white: #fcfcfc;
  --white: #ffffff;

  --gold: #c8a951;        /* buttons, links, accents */
  --gold-text: #c9b037;   /* gold used for headline text */
  --forest: #2d4739;      /* dark green */
  --moss: #4c5b4e;        /* muted green */
  --clay: #d8d2c2;        /* beige */
  --vanilla: #f5f3ef;     /* cream */

  --radius-sm: 20px;
  --radius-lg: 30px;
  --gutter: 30px;
}

/* ---- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul { margin: 0; padding: 0; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover, a:active { color: var(--forest); }
strong, b { font-weight: 600; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 10px 16px; background: var(--gold); color: #fff; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---- Layout helpers ------------------------------------------------------- */
.container { max-width: 1728px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.section { padding: 60px 0; }
.stack > * + * { margin-top: 20px; }
.stack-sm > * + * { margin-top: 8px; }
.text-center { text-align: center; }
.lh-2 { line-height: 2; }
.lh-175 { line-height: 1.75; }
.spacer { height: 20px; }

/* Section background colours */
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-grey { background: var(--mid-grey); color: #fff; }
.bg-dark { background: var(--dark-grey); color: #fff; }
.bg-black { background: var(--black); color: #fff; }
.bg-gold { background: var(--gold); color: #fff; }
.bg-forest { background: var(--forest); color: #fff; }
.bg-moss { background: var(--moss); color: #fff; }
.bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Coloured tint over a background photo: add class "has-overlay" and set --overlay */
.has-overlay { position: relative; isolation: isolate; }
.has-overlay::before { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--overlay, rgba(0,0,0,0.5)); content: ""; }
.photo-band { min-height: 300px; background-size: cover; background-position: center; }

/* Text sizes (they shrink automatically on smaller screens – see bottom) */
.t-48 { font-size: 48px; line-height: 1.25; }
.t-42 { font-size: 42px; line-height: 1.25; font-weight: 400; }
.t-34 { font-size: 34px; line-height: 1.25; font-weight: 400; }
.t-28 { font-size: 28px; line-height: 1.4; }
.t-26 { font-size: 26px; }
.t-22 { font-size: 22px; }
.t-20 { font-size: 20px; }
.t-14 { font-size: 14px; }

/* Text colours */
.c-gold { color: var(--gold-text); }
.c-forest { color: var(--forest); }
.c-off-black { color: var(--off-black); }
.c-dark { color: var(--dark-grey); }
.c-white { color: #fff; }

/* Divider lines */
.divider { border: 0; border-top: 3px solid var(--clay); margin: 10px 0; }
.divider--forest { border-color: var(--forest); }
.divider--moss { border-color: var(--moss); }
.divider--dark { border-color: var(--mid-grey); }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  margin: 5px 0;
  padding: 0.6em 1.5em;
  border: 2px solid transparent;
  border-radius: 60px;
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.6s, color 0.6s, border-color 0.6s;
}
.btn:hover, .btn:focus-visible { background: var(--gold); color: #fff; }
.btn--white { background: #fff; color: var(--dark-grey); }
.btn--white:hover, .btn--white:focus-visible { background: var(--off-white); color: var(--dark-grey); }
.btn--outline { background: transparent; color: #fff; border-color: var(--gold); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--gold); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; }

/* ---- Header & navigation -------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); color: #fff; }
.header-inner {
  display: grid;
  grid-template-columns: 100px 1fr 50px 32px 32px;
  grid-template-areas: "logo . menu phone email";
  align-items: center;
  gap: 12px;
  padding: 20px 30px;
}
.header-logo { grid-area: logo; }
.header-logo img { width: 100px; }
.header-icon { display: block; width: 30px; }
.header-icon--phone { grid-area: phone; }
.header-icon--email { grid-area: email; }
.main-nav { grid-area: menu; }

/* Burger button (phones/tablets) */
.menu-toggle {
  position: relative;
  display: block;
  width: 50px;
  height: 52px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  position: absolute;
  left: 9px;
  width: 32px;
  height: 3px;
  border-radius: 50px;
  background: #fff;
  content: "";
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle__bars { top: 12px; }
.menu-toggle__bars::before { left: 0; top: 10px; }
.menu-toggle__bars::after { left: 0; top: 20px; }
.menu-toggle__label { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; line-height: 1; text-align: center; }

/* Slide-in menu panel (phones/tablets) */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 420px);
  padding: 80px 0 30px;
  overflow-y: auto;
  background: #fff;
  border-left: 1px solid var(--light-grey);
  list-style: none;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s, visibility 0.3s;
}
.nav-open .nav-menu { transform: none; visibility: visible; }
.nav-menu a { display: block; padding: 10px 30px; color: var(--black); font-size: 20px; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: #e3e3e3; color: var(--black); }
.nav-menu a[aria-current="page"] { background: var(--off-white); color: var(--forest); font-weight: 600; }
.nav-menu .submenu { list-style: none; }
.nav-menu .submenu a { padding-left: 50px; font-size: 18px; }
.nav-open .menu-toggle { position: fixed; top: 26px; right: 20px; z-index: 99; }
.nav-open .menu-toggle__bars, .nav-open .menu-toggle__bars::before, .nav-open .menu-toggle__bars::after { background: var(--black); }
.nav-open .menu-toggle__bars { transform: translateY(10px) rotate(45deg); }
.nav-open .menu-toggle__bars::before { transform: translateY(-10px) rotate(-90deg); }
.nav-open .menu-toggle__bars::after { opacity: 0; }
.nav-open .menu-toggle__label { color: var(--black); }
.nav-backdrop { position: fixed; inset: 0; z-index: 97; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

@media (min-width: 1152px) {
  .header-inner { grid-template-columns: 150px 1fr 32px 32px; grid-template-areas: "logo menu phone email"; }
  .header-logo img { width: 150px; }
  .menu-toggle, .nav-backdrop { display: none; }
  .nav-menu {
    position: static;
    flex-direction: row;
    justify-content: center;
    width: auto;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    transform: none;
    visibility: visible;
  }
  .nav-menu > li { position: relative; }
  .nav-menu > li > a { padding: 0 1em; color: #fff; font-size: 16px; line-height: 40px; transition: color 0.2s; }
  .nav-menu > li > a:hover, .nav-menu > li > a:focus-visible,
  .nav-menu > li:hover > a { background: none; color: var(--gold); }
  .nav-menu > li > a[aria-current="page"], .nav-menu > li > a.is-ancestor { background: none; color: var(--gold); font-weight: 400; }
  .nav-menu > li:last-child > a { border: 2px solid var(--gold); border-radius: 60px; }
  .nav-menu .has-submenu > a::after { content: " ▾"; }
  .nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    margin-top: -1px;
    border: 1px solid var(--light-grey);
    border-bottom: 0;
    background: #fff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }
  .nav-menu .has-submenu:hover .submenu,
  .nav-menu .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; }
  .nav-menu .submenu a {
    padding: 0 2em 0 1em;
    border-bottom: 1px solid var(--light-grey);
    color: var(--black);
    font-size: 16px;
    line-height: 45px;
  }
  .nav-menu .submenu a:hover, .nav-menu .submenu a:focus-visible { background: var(--off-white); color: #192820; }
  .nav-menu .submenu a[aria-current="page"] { background: var(--off-white); color: var(--forest); font-weight: 400; }
}

/* ---- Banners (top of each page) ------------------------------------------ */
.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(2000px, 50vh);
  padding: 60px 0;
  background-color: #777;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.banner::before { position: absolute; inset: 0; background: rgba(0,0,0,0.5); content: ""; }
.banner > .container { position: relative; width: 100%; }
.banner h1 { font-size: clamp(36px, 8.4vw, 115px); line-height: 1; }
.banner .divider { margin-top: 20px; }

/* Home page banner */
.banner--home { justify-content: center; min-height: min(2000px, 70vh); }
.banner--home::before { background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0) 75%); }
.banner--home h1 { font-size: clamp(36px, 8.4vw, 115px); }
.banner--home .indent { display: block; padding-left: 0.6em; }
.banner--home .tagline { margin: 10px 0 30px; font-size: 48px; font-weight: 400; line-height: 1.1; color: var(--gold-text); }
.banner--home .intro { max-width: 100%; }
.banner--home .intro p { font-size: 22px; line-height: 1.75; }
@media (min-width: 1152px) { .banner--home .intro { max-width: 45%; } }

/* ---- Home: "Book your free HR health check" strip ------------------------ */
.cta-strip {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-areas: "icon text" "btn btn";
  gap: 12px;
  align-items: center;
}
.cta-strip img { grid-area: icon; width: 32px; }
.cta-strip p { grid-area: text; font-size: 26px; font-weight: 600; }
.cta-strip .btn { grid-area: btn; justify-self: start; }
@media (min-width: 1152px) {
  .cta-strip { grid-template-columns: 1fr 32px auto auto 1fr; grid-template-areas: ". icon text btn ."; gap: 20px; }
}

/* ---- Home: circle image + intro ------------------------------------------ */
.intro-block { display: grid; gap: 20px; padding: 70px 0 40px; }
.circle-img img { width: 100%; max-width: 420px; border: 10px solid transparent; border-radius: 50%; }
.intro-block__text { padding: 30px 0; }
@media (min-width: 576px) {
  .intro-block { grid-template-columns: 17fr 43fr; align-items: start; }
  .intro-block__text { padding: 30px; }
}
@media (min-width: 1440px) {
  .circle-img img { margin: 0 0 -150px -150px; max-width: none; width: calc(100% + 150px); }
}

/* ---- Text + image split (equal height) ----------------------------------- */
.split { display: grid; gap: 20px; }
.split__text { padding: 20px 0; }
.split__media { min-height: 300px; border-radius: var(--radius-lg); background-size: cover; background-position: center; }
@media (min-width: 1152px) {
  .split { grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
  .split__text { display: flex; align-items: center; padding: 12%; }
  .split__text > div { width: 100%; }
  .split--media-left .split__media { order: -1; }
}

/* White rounded card */
.card { padding: 30px; border-radius: var(--radius-sm); background: #fff; color: #000; }
.card--black { background: var(--off-black); color: #fff; }
.card--dark { background: var(--dark-grey); color: #fff; }
.card--pad0 { padding: 0; }

/* List with arrow icons */
.arrow-list { list-style: none; }
.arrow-list li { display: flex; gap: 12px; align-items: center; padding: 4px 0; font-size: 22px; color: var(--dark-grey); }
.arrow-list li::before { flex: 0 0 32px; height: 32px; background: url("../images/icon-arrow.png") center / 32px no-repeat; content: ""; }

/* ---- Overlapping image with a coloured block behind it ------------------- */
.overlap { position: relative; display: grid; }
.overlap__text { padding: 30px; }
.overlap__media { min-height: 300px; margin: 0 var(--gutter) 30px; border-radius: var(--radius-lg); background-size: cover; background-position: center; }
.overlap__block { display: none; }
@media (min-width: 1152px) {
  .overlap { grid-template-columns: 4fr 4fr 3fr; align-items: stretch; }
  .overlap__text { position: relative; z-index: 2; display: flex; align-items: center; padding: 10% 12%; }
  .overlap__media { position: relative; z-index: 1; grid-column: 2 / 4; margin: 80px 10% 80px 0; min-height: 500px; }
  .overlap__block { position: absolute; top: 0; bottom: 0; right: 0; display: block; width: 27%; border-radius: var(--radius-lg) 0 0 var(--radius-lg); background: var(--clay); }
  /* mirrored version (image on the left) */
  .overlap--left { grid-template-columns: 3fr 4fr 4fr; }
  .overlap--left .overlap__text { grid-column: 3; grid-row: 1; }
  .overlap--left .overlap__media { grid-column: 1 / 3; grid-row: 1; margin: 80px 0 80px 10%; }
  .overlap--left .overlap__block { left: 0; right: auto; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: var(--forest); }
}

/* ---- Service cards (hover to reveal photo + description) ------------------ */
.cards-lift { margin-top: -200px; position: relative; z-index: 5; }
.service-cards { display: grid; gap: 20px; }
@media (min-width: 864px) { .service-cards { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.service-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background-size: cover; background-position: center; color: #fff; }
.service-card:hover, .service-card:focus-visible { color: #fff; }
.service-card__overlay {
  display: grid;
  grid-template: "head head" auto "desc desc" auto ". ." 1fr "div div" auto "cta arrow" auto / 1fr 45px;
  gap: 12px;
  min-height: 394px;
  padding: 30px;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s;
}
.service-card h2 { grid-area: head; font-size: 42px; font-weight: 400; line-height: 1.25; }
.service-card__desc { grid-area: desc; }
.service-card__cta { grid-area: cta; align-self: center; line-height: 2; }
.service-card .divider { grid-area: div; margin: 0; border-color: var(--forest); }
.service-card__arrow { grid-area: arrow; width: 45px; }
.service-card__desc, .service-card__cta { opacity: 0; transition: opacity 0.3s; }
.service-card:hover .service-card__desc, .service-card:hover .service-card__cta,
.service-card:focus-visible .service-card__desc, .service-card:focus-visible .service-card__cta { opacity: 1; }
.service-card--black .service-card__overlay { background: rgb(0,0,0); }
.service-card--black:hover .service-card__overlay { background: rgba(0,0,0,0.6); }
.service-card--grey .service-card__overlay { background: rgb(46,46,46); }
.service-card--grey:hover .service-card__overlay { background: rgba(46,46,46,0.6); }
.service-card--grey .divider { border-color: var(--off-black); }
.service-card--green .service-card__overlay { background: rgb(76,91,78); }
.service-card--green:hover .service-card__overlay { background: rgba(76,91,78,0.6); }
@media (hover: none) { .service-card__desc, .service-card__cta { opacity: 1; } }

/* ---- Green call-to-action box -------------------------------------------- */
.cta-box { padding: 30px; border-radius: var(--radius-lg); background-color: var(--forest); background-size: cover; background-position: center; color: #fff; }
.cta-box__inner { padding: 30px 0; }
@media (min-width: 576px) { .cta-box__inner { padding: 30px; } }
.cta-box .lead { max-width: 820px; }
.cta-box__cols { display: grid; gap: 40px; margin-top: 20px; }
@media (min-width: 864px) { .cta-box__cols { grid-template-columns: 24fr 36fr; gap: 80px; } }

/* Growing-line list (line slides in on hover) */
.grow-lines { list-style: none; }
.grow-lines li { display: grid; grid-template-columns: 45px 1fr; gap: 12px; align-items: center; padding: 6px 0; font-size: 28px; line-height: 1.4; color: var(--gold-text); }
.grow-lines li::before { width: 0; border-top: 2px solid #fff; content: ""; transition: width 0.3s; }
.grow-lines li:hover::before { width: 100%; }
.grow-lines--light li::before { border-color: var(--off-white); }

/* Phone / email rows with gold circle icons */
.contact-row { display: flex; gap: 12px; align-items: center; margin: 10px 0; font-size: 28px; line-height: 1.3; }
.contact-row img { flex: 0 0 32px; width: 32px; }
.contact-row a { color: #fff; font-weight: 600; }
.contact-row a:hover { color: var(--gold); }
.contact-row--dark a { color: var(--off-black); }

/* ---- FAQs ---------------------------------------------------------------- */
.faq-grid { display: grid; gap: 20px; }
@media (min-width: 864px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq { padding: 30px; border-radius: var(--radius-sm); background: var(--dark-grey); color: #fff; }
.faq h2 { font-size: 48px; }
.faq h2 span { display: block; margin-top: 4px; font-size: 34px; font-weight: 400; color: var(--gold-text); }
.faq .divider { margin: 20px 0; border-color: var(--mid-grey); }
.faq-image { grid-column: 1 / -1; }
.faq-image img { width: 100%; border-radius: var(--radius-sm); }
@media (max-width: 1151px) { .faq-image { display: none; } }

/* ---- Contact page -------------------------------------------------------- */
.contact-cards { display: grid; gap: 20px; }
@media (min-width: 864px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-cards .card { padding: 40px; }
.form-box { padding: 60px 30px; border-radius: var(--radius-lg); background-color: var(--forest); background-size: cover; background-position: center; color: #fff; }
@media (min-width: 864px) { .form-box { padding: 60px; } }
.form-box__cols { display: grid; gap: 40px; margin-top: 30px; }
@media (min-width: 1152px) { .form-box__cols { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ---- Forms --------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 576px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form label, .form .label { display: block; padding-bottom: 0.25em; }
.form .required::after { content: " *"; color: var(--gold); font-weight: 700; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select {
  width: 100%;
  padding: 6px 14px;
  border: 1px solid #c9c9c9;
  border-radius: 20px;
  background: #fff;
  color: #000;
  font: inherit;
  transition: border-color 0.2s;
}
.form textarea { min-height: 215px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .choice { display: flex; gap: 8px; align-items: center; padding: 2px 0; }
.form .choice input { accent-color: var(--forest); width: 18px; height: 18px; margin: 0; }
.form .honeypot { display: none !important; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--forest); }
.form-status.is-error { color: #b00020; }
.on-dark .form-status.is-success { color: var(--gold-text); }
.on-dark .form-status.is-error { color: #ffb4b4; }

/* ---- Mailing list band (shown above the footer on every page) ------------ */
.mailing { padding: 100px 0; background-size: cover; background-position: center; }
.mailing__card { max-width: 1200px; margin: 0 auto; padding: 30px; border-radius: var(--radius-lg); background: #fff; }
.mailing__head { display: grid; gap: 20px; }
@media (min-width: 864px) {
  .mailing__card { padding: 60px; }
  .mailing__head { grid-template-columns: 1fr 1fr; }
}
.mailing .form { margin-top: 20px; }
.mailing .btn { justify-self: center; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--black); color: #fff; }
.footer-main { display: grid; gap: 30px; padding: 40px 0; text-align: center; }
.footer-main img.footer-logo { width: 128px; margin: 0 auto 12px; }
.footer-label { margin-top: 12px; font-size: 20px; line-height: 1.25; color: var(--gold-text); }
.footer-main .footer-contact a { color: #fff; font-weight: 600; font-size: 14px; }
.footer-main .footer-contact a:hover { color: var(--gold); }
.socials { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.socials img { width: 35px; }
.footer-links { list-style: none; }
.footer-links a { font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 5px 30px; background: var(--dark-grey); font-size: 14px; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 1151px) { .footer-bottom__inner { justify-content: center; text-align: center; } }
@media (min-width: 1152px) {
  .footer-main { grid-template-columns: 13fr 11fr 36fr; gap: 80px; text-align: left; }
  .footer-main img.footer-logo { margin: 0 0 12px; }
  .socials { justify-content: flex-start; }
}

/* ---- News & guides ------------------------------------------------------- */
.post-grid { display: grid; gap: 20px; }
@media (min-width: 864px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1440px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: 20px; outline: 1px solid rgba(0,0,0,0.2); color: inherit; }
.post-card:hover { color: inherit; outline-color: var(--gold); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card h2 { padding: 0 20px; font-size: 20px; }
.post-card .read-more { margin-top: auto; padding: 0 20px 40px; color: var(--gold); font-weight: 600; }
.post { max-width: 1000px; margin: 0 auto; }
.post__banner { width: 100%; margin-bottom: 20px; border-radius: var(--radius-sm); }
.post__back { float: right; margin: 0 0 20px 20px; }
.post__back::before { content: "◄ "; }
.post h1 { font-size: 24px; color: var(--gold); }
.post__body { margin-top: 20px; line-height: 1.75; }
.post__body h2 { margin: 1.5em 0 0.5em; font-size: 22px; }
.post__share { clear: both; margin-top: 30px; text-align: center; }
.post__share a { margin: 0 8px; font-weight: 600; }

/* ---- Legal pages (privacy, cookies) -------------------------------------- */
.legal { max-width: 900px; line-height: 1.6; }
.legal h1 { font-size: 36px; margin-bottom: 10px; }
.legal h2 { margin: 1.6em 0 0.5em; font-size: 24px; }
.legal h3 { margin: 1.4em 0 0.4em; font-size: 19px; }
.legal p + p { margin-top: 0.8em; }
.legal ul { margin: 0.5em 0 0 1.5em; }
.legal .toc ul { margin-top: 0; }
.legal dl { margin: 0.8em 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0 0 0.6em 0; }

/* ---- Smaller screens: scale big text down -------------------------------- */
@media (max-width: 1151px) {
  .t-48, .t-42, .service-card h2, .faq h2, .banner--home .tagline { font-size: 36px; }
  .t-34, .t-28, .t-26, .faq h2 span, .grow-lines li, .contact-row, .cta-strip p { font-size: 24px; }
  .t-22, .t-20, .arrow-list li, .banner--home .intro p { font-size: 18px; }
}
@media (max-width: 575px) {
  :root { --gutter: 16px; }
  .header-inner { padding: 16px; }
  .contact-row { font-size: 18px; }
  .contact-row a { overflow-wrap: anywhere; }
  .mailing { padding: 60px 0; }
}

/* ---- Client reviews -------------------------------------------------------- */
.reviews__head { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.rating-badge { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 10px 20px; border: 2px solid var(--gold); border-radius: 60px; color: var(--off-black); }
.rating-badge:hover { background: var(--gold); color: #fff; }
.rating-badge:hover .stars { color: #fff; }
.stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; line-height: 1; }
.review-grid { display: grid; gap: 20px; }
@media (min-width: 864px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 30px; border: 1px solid var(--light-grey); border-radius: var(--radius-sm); background: #fff; }
.review blockquote { margin: 0; line-height: 1.75; color: var(--dark-grey); }
.review figcaption { margin-top: auto; padding-top: 16px; border-top: 3px solid var(--clay); }
.review figcaption strong { display: block; color: var(--forest); }
.review figcaption span { font-size: 14px; color: #666; }

/* ---- Free HR Health Check: "How it works" steps ---------------------------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 864px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: #fff; font-size: 26px; font-weight: 700; }
.card--black .step-num { background: var(--gold); }
.card--dark a, .card--black a { color: var(--gold); }
.card--dark a:hover, .card--black a:hover { color: #fff; }

/* ---- Article extras ---------------------------------------------------------- */
.post__body ul { margin: 0.75em 0 1em 1.25em; }
.post__body li { margin-bottom: 0.5em; }
.post__body p + p, .post__body ul + p { margin-top: 1em; }
.post__body .timeline { list-style: none; margin-left: 0; padding-left: 20px; border-left: 3px solid var(--clay); }
.post__body .timeline li { margin-bottom: 1em; }
.post__note { margin-top: 2em; padding: 16px 20px; border-left: 3px solid var(--gold); background: var(--vanilla); font-size: 14px; }
.post-card__excerpt { padding: 0 20px; line-height: 1.6; color: var(--dark-grey); }
/* Article readability: comfortable line length and text size */
.post { max-width: 860px; }
.post h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin-bottom: 8px; }
.post__body { font-size: 18px; }
.post__body h2 { font-size: 26px; color: var(--forest); }
.post__note { font-size: 15px; }
