/* Evolua HR Hub — site styles.
   Brand teal is #005F6B; it is defined once below as --brand. */

:root {
  --brand: #005F6B;
  --brand-dark: #004A54;
  --brand-tint: #eef5f6;
  --grey-band: #f3f6f6;
  --ink: #1b2426;
  --muted: #5a6b6e;
  --line: #d9e2e4;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 22px; }

/* ---------- header ---------- */

.site-header { background: var(--brand); }

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  padding-block: 14px;
}

.brand { margin-right: auto; display: block; line-height: 0; }

.brand img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  padding: 7px;
}

.site-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { border-bottom-color: rgba(255,255,255,.6); }
.site-nav a[aria-current="page"] { border-bottom-color: #fff; }

/* ---------- Free Tools dropdown ---------- */

.has-menu { position: relative; display: flex; }

.menu-trigger {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  padding: 0 0 4px;
  padding-top: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.menu-trigger:hover,
.has-menu:hover .menu-trigger { border-bottom-color: rgba(255,255,255,.6); }
.menu-trigger[aria-current="true"] { border-bottom-color: #fff; }

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .15s ease;
}

.has-menu:hover .caret,
.has-menu:focus-within .caret { transform: rotate(180deg); }

.menu {
  position: absolute;
  top: 100%;
  left: -14px;
  margin-top: 10px;
  min-width: 232px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  padding: 7px 0;
  display: none;
  z-index: 40;
}

/* the gap between the button and the panel would otherwise drop the hover */
.menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.has-menu:hover .menu,
.has-menu:focus-within .menu { display: block; }

.menu a {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.35;
  padding: 10px 18px;
  border-bottom: 0;
  white-space: nowrap;
}

.menu a:hover,
.menu a:focus { background: var(--brand-tint); color: var(--brand-dark); border-bottom: 0; }
.menu a[aria-current="page"] { color: var(--brand-dark); font-weight: 600; border-bottom: 0; }

/* ---------- hero ---------- */

.hero { background: #fff; padding-block: 86px 72px; }

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 17ch;
}

.hero p {
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  max-width: 54ch;
  color: var(--muted);
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 3px;
}

.btn:hover { background: var(--brand-dark); }

/* ---------- bands ---------- */

.band { padding-block: 66px; }
.band-teal { background: var(--brand); color: #fff; }
.band-grey { background: var(--grey-band); }
.band-white { background: #fff; }

.band h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.band-teal h2 { color: #fff; }
.band-grey h2, .band-white h2 { color: var(--ink); }

.band-rule { border: 0; border-top: 1px solid currentColor; opacity: .25; margin: 0 0 40px; }

.band p { margin: 0 0 18px; max-width: 70ch; }
.band-teal p { color: #e4eff0; }

/* ---------- services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 46px 56px;
}

.service { text-align: center; }

.service h3 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

.service img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 20px;
}

.service p { margin: 0; font-size: 16.5px; color: #e4eff0; max-width: none; }

/* ---------- results ---------- */

.results { list-style: none; padding: 0; margin: 0; }

.results li {
  border-left: 3px solid var(--brand);
  background: #fff;
  padding: 17px 22px;
  margin-bottom: 13px;
  max-width: 78ch;
  font-size: 16.5px;
}

/* ---------- bio / photo row ---------- */

.photo-row { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.photo-row .photo { flex: 0 0 300px; max-width: 100%; }
.photo-row .photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.10);
}

/* About page: a larger editorial portrait rather than an avatar circle */
.photo-row.portrait { gap: 46px; align-items: center; }
.photo-row.portrait .photo { flex: 0 0 330px; }

.photo-row.portrait .photo img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  border: 0;
  box-shadow: 0 6px 28px rgba(0,0,0,.22);
}
.photo-row .body { flex: 1 1 380px; }
.photo-row .body p:last-child { margin-bottom: 0; }

/* ---------- two-column lists ---------- */

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 30px 56px; }

h3.sub { font-size: 20px; font-weight: 500; margin: 0 0 14px; }
.band-teal h3.sub { color: #fff; }

ul.plain { padding-left: 22px; margin: 0; max-width: 62ch; }
ul.plain li { margin-bottom: 11px; }
.band-teal ul.plain li { color: #e4eff0; }

/* ---------- proof point cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 26px; }

.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 3px;
  padding: 26px 24px;
}

.card h3 { margin: 0 0 14px; font-size: 19px; font-weight: 600; color: #fff; line-height: 1.3; }
.card ul { padding-left: 20px; margin: 0; }
.card li { margin-bottom: 10px; color: #e4eff0; font-size: 16px; }

/* ---------- page head ---------- */

.page-head { background: var(--brand-tint); border-bottom: 1px solid var(--line); padding-block: 54px; }

.page-head h1 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-weight: 600;
  max-width: 24ch;
}

.page-head .lede { margin: 16px 0 0; font-size: 18.5px; color: var(--muted); max-width: 64ch; }

/* ---------- article index ---------- */

.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li { border-bottom: 1px solid var(--line); }

.article-list a {
  display: block; padding: 22px 0; text-decoration: none;
  color: var(--ink); font-size: 19.5px; font-weight: 600;
}

.article-list a:hover { color: var(--brand); }
.article-list .arrow { color: var(--brand); font-weight: 400; }

/* ---------- article body ---------- */

.article { max-width: 68ch; }
.article p { font-size: 17.5px; margin: 0 0 20px; }
.article h2 { font-size: 23px; margin: 36px 0 12px; color: var(--ink); font-weight: 600; }
.article ul { font-size: 17.5px; margin: 0 0 20px; padding-left: 22px; }
.article li { margin-bottom: 10px; line-height: 1.6; }
.article .effective { font-size: 15.5px; color: var(--muted); margin-bottom: 30px; }
.article .lead-note { background: var(--brand-tint); border-left: 4px solid var(--brand);
  padding: 18px 22px; border-radius: 0 3px 3px 0; margin-bottom: 30px; }
.article .lead-note p { margin-bottom: 0; font-size: 16.5px; }

.placeholder {
  border: 2px dashed #c9a227; background: #fffbeb;
  padding: 20px 22px; border-radius: 3px; max-width: 68ch;
}
.placeholder p:last-child { margin-bottom: 0; }

/* ---------- callout ---------- */

.callout {
  background: var(--brand-tint); border-left: 4px solid var(--brand);
  padding: 22px 26px; border-radius: 0 3px 3px 0; max-width: 76ch;
}
.callout p:last-child { margin-bottom: 0; }
.band-teal .callout { background: rgba(255,255,255,.1); border-left-color: #fff; }

.contact-email { font-size: clamp(21px, 3vw, 27px); font-weight: 600; color: var(--brand); text-decoration: none; word-break: break-word; }

/* ---------- figure ---------- */

figure { margin: 0 0 26px; max-width: 760px; }
figure img { border-radius: 2px; }

/* ---------- footer ---------- */

.site-footer { background: var(--brand-dark); color: #cfe2e4; padding-block: 34px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; }
.site-footer a { color: #cfe2e4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.disclaimer { margin-top: 18px; font-size: 14px; color: #a9c6c9; max-width: 84ch; }

@media (max-width: 680px) {
  .hero { padding-block: 52px 46px; }
  .band { padding-block: 46px; }
  .brand img { width: 68px; height: 68px; }
  .site-nav { gap: 6px 18px; }
  .site-nav a { font-size: 15px; }
  .menu-trigger { font-size: 15px; }
  .menu { left: auto; right: 0; min-width: 210px; }
}
