/* Marie Richter HR Consulting — site stylesheet (rebuilt 2026-07-03) */
@font-face { font-family: "League Spartan"; src: url("../fonts/LeagueSpartan-Medium.ttf") format("truetype"); font-weight: 500; }
@font-face { font-family: "League Spartan"; src: url("../fonts/LeagueSpartan-SemiBold.ttf") format("truetype"); font-weight: 600; }
@font-face { font-family: "League Spartan"; src: url("../fonts/LeagueSpartan-Bold.ttf") format("truetype"); font-weight: 700; }

:root {
  --ink: #1400C8;
  --sky: #99DFFF;
  --coral: #FFBB98;
  --text: #1c1c28;
  --muted: #55556a;
  --bg: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "League Spartan", Verdana, Geneva, sans-serif;
  font-weight: 500; font-size: 17px; line-height: 1.6;
}

/* header */
.site-header {
  max-width: 1080px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.15rem; }
.brand span { font-weight: 500; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 4px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--sky); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

/* layout */
main { max-width: 820px; margin: 0 auto; padding: 8px 24px 64px; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin: 0.4em 0; }
h2 { font-size: 1.45rem; margin: 2em 0 0.5em; }
h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--sky); border-radius: 2px; margin-top: 8px; }
h3 { font-size: 1.1rem; margin: 1.6em 0 0.4em; }
p { margin: 0.7em 0; }
a { color: var(--ink); }

/* hero */
.hero { display: flex; gap: 40px; align-items: center; padding: 32px 0 8px; }
.hero-text { flex: 1 1 auto; }
.hero-photo { width: 300px; max-width: 38%; height: auto; flex: 0 0 auto; }

/* elements */
ul.checks { list-style: none; padding: 0; margin: 1em 0; }
ul.checks li { padding: 7px 0 7px 34px; position: relative; }
ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--ink); font-weight: 700; background: var(--sky);
  border-radius: 7px; width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
a.button {
  display: inline-block; background: var(--ink); color: #fff !important;
  padding: 14px 30px; border-radius: 999px; font-weight: 700;
  text-decoration: none; margin: 14px 0; font-size: 1rem;
}
a.button:hover { background: #0f0096; }
.urgency { background: var(--coral); border-radius: 12px; padding: 8px 16px; display: inline-block; font-weight: 600; }
.step { padding-left: 8px; }

/* cards (learning centre) */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 28px; }
.card { border: 2px solid var(--sky); border-radius: 16px; padding: 20px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; display: block; }
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* posts + legal */
.page.post h1 { font-size: 1.7rem; }

/* footer */
.site-footer { text-align: center; padding: 32px 24px 40px; border-top: 3px solid var(--sky); margin-top: 56px; color: var(--muted); font-size: 0.9rem; }
.site-footer a { color: var(--muted); }

/* mobile */
@media (max-width: 720px) {
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 10px; padding-top: 10px; }
  body.nav-open .site-nav { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .hero { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
  .hero-photo { max-width: 55%; }
}

/* defensive: prevent any horizontal overflow */
img { max-width: 100%; height: auto; }
.hero-text { min-width: 0; width: 100%; }
p, h1, h2, h3, li, a { overflow-wrap: break-word; }

/* revamp additions */
.callout { border: 3px solid var(--sky); border-radius: 20px; padding: 8px 28px 20px; margin: 32px 0; background: #f4fbff; }
.callout h2 { margin-top: 0.8em; }
.statusbox { background: var(--coral); border-radius: 14px; padding: 16px 20px; margin: 16px 0; font-weight: 600; }
a.textlink { font-weight: 700; }
.case { border-top: 3px solid var(--sky); margin-top: 40px; padding-top: 8px; }
.case h1 { font-size: 1.4rem; }

/* cases accordion */
details.case-acc { border-top: 3px solid var(--sky); margin-top: 26px; }
details.case-acc > summary {
  list-style: none; cursor: pointer;
  padding: 20px 44px 16px 0; position: relative;
}
details.case-acc > summary::-webkit-details-marker { display: none; }
details.case-acc > summary::after {
  content: ""; position: absolute; right: 10px; top: 30px;
  width: 11px; height: 11px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg); transition: transform .18s ease;
}
details.case-acc[open] > summary::after { transform: rotate(-135deg); top: 36px; }
.case-acc-title { display: block; color: var(--ink); font-weight: 700; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.case-acc-teaser { display: block; color: var(--muted); font-size: 0.92rem; font-weight: 500; margin-top: 7px; padding-right: 8px; }
details.case-acc > summary:hover .case-acc-title { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.case-acc-body { padding: 0 0 26px; }
.case-acc-body h2 { font-size: 1.15rem; margin-top: 1.2em; }
.case-acc-body h2:first-child { margin-top: 0.2em; color: var(--muted); font-weight: 600; }
.case-acc-body h2:first-child::after { display: none; }

/* pull quotes + fine print (case studies, posts) */
blockquote.pullquote { border-left: 4px solid var(--coral); margin: 1.4em 0; padding: 4px 20px; }
blockquote.pullquote p { color: var(--muted); font-style: italic; margin: 0.4em 0; }
.fineprint { color: var(--muted); font-size: 0.88rem; }

@media print {
  details.case-acc > summary::after { display: none; }
  details.case-acc { break-inside: avoid-page; }
}

.tally-wrap { border: 3px solid var(--sky); border-radius: 20px; padding: 12px; margin: 16px 0 32px; min-height: 200px; }

/* clients logo grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 24px;
  align-items: center;
  margin: 36px 0 8px;
}
.logo-cell {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}
.logo-cell img {
  max-height: 54px;
  max-width: 138px;
  width: auto;
  height: auto;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter .2s ease, opacity .2s ease;
}
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }
.clients-note { color: var(--muted); font-size: 0.9rem; margin-top: 32px; }
@media (max-width: 720px) {
  .logo-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px 16px; }
  .logo-cell { height: 88px; }
  .logo-cell img { max-height: 46px; max-width: 112px; filter: none; opacity: 1; }
}

.brand-logo { height: 56px; width: auto; display: block; }

.logo-cell { flex-direction: column; }
.logo-name { display: block; margin-top: 10px; font-size: 0.78rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.25; }

/* background strip + header name */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-weight: 500; color: var(--ink); font-size: 1.1rem; }
.brand-name b { font-weight: 700; }
.bgstrip { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; margin: 20px 0 8px; }
.bg-cell { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bg-cell img { height: 54px; width: 54px; object-fit: contain; border-radius: 12px; }
.bg-cell span { font-size: 0.75rem; font-weight: 600; color: var(--muted); }

/* photo treatment: rounded sky tile */
.hero-photo { background: var(--sky); border-radius: 28px; padding: 18px 18px 0 18px; }
