/* =========================================================
   Jobseeker Circle: shared stylesheet
   Mobile-first. Palette follows the product app (app.jobseekercircle.com).
   Swap the palette in :root only.
   ========================================================= */

:root {
  --sky-500: #51ADE5;   /* app primary: fills, accents, never as text on white */
  --sky-100: #DCEEFA;
  --sky-50:  #EEF6FC;
  --blue-700: #1A6FA8;  /* buttons and links: 5.4:1 on white */
  --blue-800: #135986;
  --navy-900: #0E2A3F;  /* headings, footer */
  --ink: #0E2A3F;
  --muted: #4A6072;
  --border: #D5E5F1;
  --white: #FFFFFF;
  --focus: #F2A900;
  --error: #B42318;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
  --fs-3xl: clamp(2rem, 1.4rem + 3vw, 3.2rem);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14, 42, 63, .06), 0 6px 20px rgba(14, 42, 63, .08);
  --max: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3rem, 6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.6;
  color: var(--ink); background: var(--white);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-3xl); font-weight: 800; }
h2 { font-size: var(--fs-2xl); font-weight: 750; }
h3 { font-size: var(--fs-xl); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: var(--radius-sm); border: 2px solid var(--blue-700);
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; line-height: 1.2;
  background: var(--blue-700); color: #fff; transition: background .15s, color .15s, transform .1s;
}
.btn:hover { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-light { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-light:hover { background: var(--sky-100); border-color: var(--sky-100); color: var(--navy-900); }
.btn-sm { padding: .55rem 1.05rem; font-size: var(--fs-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy-900); font-weight: 800; font-size: 1.1rem; }
.brand img { width: 40px; height: 40px; }
.nav-toggle { display: inline-flex; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .5rem; cursor: pointer; color: var(--navy-900); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); padding: .5rem var(--gutter) 1.25rem; box-shadow: var(--shadow); }
.site-nav.open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-list a:not(.btn) { display: block; padding: .8rem 0; color: var(--navy-900); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-list a[aria-current="page"] { color: var(--blue-700); }
.nav-list .btn { margin-top: 1rem; width: 100%; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav-list { flex-direction: row; align-items: center; gap: 1.6rem; }
  .nav-list a:not(.btn) { padding: .4rem 0; border: 0; font-size: .95rem; border-bottom: 2px solid transparent; }
  .nav-list a:not(.btn):hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--sky-500); color: var(--navy-900); }
  .nav-list .btn { margin: 0; width: auto; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--sky-100) 0%, var(--sky-50) 55%, #fff 100%); overflow: hidden; }
.hero-inner { display: grid; gap: 2rem; align-items: end; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero-copy { padding-bottom: clamp(2rem, 5vw, 4rem); }
.eyebrow { display: inline-block; font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-700); margin-bottom: .8rem; }
.hero .lead { font-size: var(--fs-lg); color: var(--muted); max-width: 40ch; margin-bottom: 1.6rem; }
.hero-figure { position: relative; justify-self: center; width: min(78%, 380px); }
.hero-figure::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 120%; aspect-ratio: 1; transform: translate(-50%, 38%); border-radius: 50%; background: var(--sky-500); }
.hero-figure img { position: relative; width: 100%; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: 0; margin: 1.8rem 0 0; font-size: var(--fs-sm); color: var(--muted); }
.hero-stats strong { color: var(--navy-900); font-size: 1.35rem; display: block; line-height: 1.1; }
@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .hero-figure { width: min(100%, 420px); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--sky-50); }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); }

.logos { padding-block: 1.8rem; border-bottom: 1px solid var(--border); }
.logos-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.4rem; }
.logos p { margin: 0; font-size: var(--fs-sm); color: var(--muted); text-align: center; flex-basis: 100%; }
.logos img { height: 48px; width: auto; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.step-num { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sky-500); color: var(--navy-900); font-weight: 800; margin-bottom: 1rem; }
.card .icon { width: 44px; height: 44px; color: var(--blue-700); margin-bottom: 1rem; }
.card .icon svg { width: 100%; height: 100%; }

.quote { display: flex; flex-direction: column; gap: 1rem; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { margin: 0; }
.quote-tag { display: inline-block; align-self: flex-start; font-size: var(--fs-sm); font-weight: 700; color: var(--blue-700); background: var(--sky-100); padding: .2rem .7rem; border-radius: 99px; }
.quote footer { display: flex; align-items: center; gap: .7rem; font-weight: 650; }
.avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 700; font-size: .95rem; flex: none; }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .split.reverse > :first-child { order: 2; } }

.split > *, .grid > *, .program > *, .founder > * { min-width: 0; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: none; }
.photo-grid img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.badge-row { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: 1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.badge-row img { width: 84px; height: 84px; box-shadow: none; border-radius: 50%; flex: none; }
.badge-row p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.badge-row strong { color: var(--navy-900); }

.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .4em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--sky-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230E2A3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

.cta-band { background: var(--navy-900); color: #fff; text-align: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C7DCEC; max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.6rem; }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer { background: #0A2032; color: #B9CFE0; padding-block: 3rem 2rem; font-size: var(--fs-sm); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; margin-bottom: .8rem; }
.footer-brand img { width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 2px; }
.legal { border-top: 1px solid #1d3b52; margin-top: 2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Inner pages ---------- */
.mt { margin-top: 1.5rem; }
.quote { margin: 0; }
.narrow { max-width: 760px; }
.narrow-img { max-width: min(360px, 100%); margin-inline: auto; }
.page-hero { background: linear-gradient(135deg, var(--sky-100) 0%, var(--sky-50) 60%, #fff 100%); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; margin-bottom: 0; }
.page-hero h1 { font-size: var(--fs-2xl); font-weight: 800; max-width: 26ch; }
.page-hero .container.narrow { margin-inline: auto; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.jump a { padding: .45rem .95rem; border-radius: 99px; background: #fff; border: 1px solid var(--border); color: var(--navy-900); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.jump a:hover { border-color: var(--sky-500); background: var(--sky-50); }
.signoff { font-weight: 700; margin-top: 1.5rem; }
.signoff span { font-weight: 400; color: var(--muted); }

.program { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .program { grid-template-columns: 5fr 7fr; gap: 3.5rem; } .program-head { position: sticky; top: 92px; align-self: start; } }
.program h2 { font-size: var(--fs-2xl); }
.program h3 { font-size: var(--fs-lg); margin-top: 1.4rem; }
.program h3:first-child { margin-top: 0; }
.program h4 { font-size: 1rem; margin-bottom: .4rem; }
.price { display: inline-block; background: var(--sky-100); color: var(--navy-900); border-radius: var(--radius-sm); padding: .35rem .8rem; font-size: var(--fs-sm); }
.sessions { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
@media (min-width: 640px) { .sessions { grid-template-columns: 1fr 1fr; } }
.sessions > div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.sessions ul { margin: 0; font-size: .95rem; }
.pull { font-size: var(--fs-lg); font-weight: 600; color: var(--navy-900); border-left: 4px solid var(--sky-500); padding-left: 1rem; }

.founder { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 760px) { .founder { grid-template-columns: 260px 1fr; gap: 3rem; } }
.founder img { width: min(70%, 260px); margin-inline: auto; background: var(--sky-100); border-radius: var(--radius); padding: 1rem 1rem 0; }
.role { color: var(--muted); font-weight: 600; margin-top: -.3rem; }

.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-cards { display: grid; gap: 1rem; align-content: start; }
.contact-cards h2, .form-card h2 { font-size: var(--fs-xl); margin-bottom: .4rem; }
.enquiry-form { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 650; margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #76899B; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy-900); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.enquiry-form .btn { justify-self: start; }

.prose .clause { padding-left: 1.6rem; }
.prose .clause-2 { padding-left: 3.2rem; }
.prose .clause, .prose .clause-2 { margin-bottom: .7em; }

/* ---------- Blog ---------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-thumb img { width: 100%; aspect-ratio: 40 / 21; object-fit: cover; }
.post-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.post-card h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.post-card h2 a { color: var(--navy-900); text-decoration: none; }
.post-card h2 a:hover { color: var(--blue-700); text-decoration: underline; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: .5rem; }
.page-hero .post-meta { margin: .8rem 0 0; }
.back-link { display: inline-block; margin-bottom: 1rem; font-weight: 600; font-size: var(--fs-sm); }
.post-cover-wrap { margin-top: -1px; }
.post-cover { width: 100%; border-radius: var(--radius); margin-top: 2rem; box-shadow: var(--shadow); }
.post-body { padding-top: 2rem; }
.prose { font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose h4 { font-size: 1rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5rem auto; }
.prose figure { margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.prose.narrow { margin-inline: auto; }

/* ---------- Mock-up banner (remove when the site goes live) ---------- */
.mockup-note { background: var(--focus); color: #1c1400; text-align: center; font-size: var(--fs-sm); font-weight: 600; padding: .45rem var(--gutter); }
