/* =========================================================
   HireUup — main stylesheet (v2.0.0)
   Design system: tokens → base → type → layout → buttons →
   header → home → listings → forms → content → footer.
   Section-specific styles live in assets/css/*.css and are
   printed with their sections (see tps_theme_inline_css()).
   ========================================================= */
:root {
  /* Brand */
  --hu-primary: #4B1FA6;
  --hu-violet: #7C3AED;
  --hu-deep: #29115C;
  --hu-deeper: #1A0B3D;
  --hu-lilac: #F1EBFF;
  --hu-lilac-2: #E4D9FF;
  --hu-lilac-ink: #C4B5FD;
  /* Neutrals */
  --hu-ink: #171717;
  --hu-text: #3F3F46;
  --hu-muted: #6B7280;
  --hu-line: #E5E7EB;
  --hu-line-soft: #EEF0F4;
  --hu-bg: #FFFFFF;
  --hu-bg-alt: #F8F9FC;
  /* State */
  --hu-success: #16A34A;
  --hu-error: #DC2626;
  /* Gradients */
  --hu-grad: linear-gradient(120deg, var(--hu-deep) 0%, var(--hu-primary) 52%, var(--hu-violet) 100%);
  --hu-grad-text: linear-gradient(100deg, var(--hu-primary) 0%, var(--hu-violet) 100%);
  /* Elevation */
  --hu-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --hu-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(41, 17, 92, .14);
  --hu-shadow-md: 0 2px 4px rgba(16, 24, 40, .04), 0 22px 44px -18px rgba(41, 17, 92, .28);
  --hu-shadow-lg: 0 40px 80px -32px rgba(41, 17, 92, .45);
  /* Radii — hierarchy, not one radius everywhere */
  --hu-r-panel: 28px;
  --hu-r-card: 18px;
  --hu-r-field: 12px;
  --hu-r-pill: 999px;
  /* Type */
  --hu-font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hu-font-display: 'Plus Jakarta Sans', 'Jakarta Fallback', 'Inter', system-ui, sans-serif;
  /* Layout */
  --nav-h: 76px;
  --hu-gutter: 24px;
  --hu-ease: cubic-bezier(.2, .8, .2, 1);

  /* Legacy aliases (section CSS written before v2 reads these) */
  --primary: var(--hu-primary);
  --cta: var(--hu-violet);
  --navy: var(--hu-ink);
  --body: var(--hu-muted);
  --light: var(--hu-bg-alt);
  --border: var(--hu-line);
  --green: var(--hu-violet);
  --green-dark: var(--hu-primary);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--hu-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--hu-text);
  background: var(--hu-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--hu-font-display); color: var(--hu-ink); margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--hu-lilac-2); color: var(--hu-deep); }
:focus-visible { outline: 3px solid var(--hu-violet); outline-offset: 3px; border-radius: 6px; }
.icon { flex-shrink: 0; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 300; background: var(--hu-deep); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 12px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: min(1200px, 100% - 2 * var(--hu-gutter)); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2 * var(--hu-gutter)); margin-inline: auto; }
.narrow--wide { width: min(1000px, 100% - 2 * var(--hu-gutter)); }
.section { padding: 104px 0; }
.section--light { background: var(--hu-bg-alt); }
.section--tight { padding: 64px 0; }

/* ---------- Type system ---------- */
.hu-label, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--hu-font); font-size: 13px; font-weight: 600; letter-spacing: .01em; line-height: 1;
  color: var(--hu-primary); background: rgba(255, 255, 255, .7);
  border: 1.5px solid rgba(75, 31, 166, .35); border-radius: var(--hu-r-pill);
  padding: 7px 13px 7px 11px; margin-bottom: 18px;
}
.hu-label::before, .eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hu-violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, .16); }
.hu-label--light { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.hu-label--light::before { background: var(--hu-lilac-ink); box-shadow: none; }

.hu-h2, .section-head h2 { font-size: clamp(1.85rem, 1.2rem + 2.3vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.hl { background: var(--hu-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hu-lead { font-size: 1.125rem; line-height: 1.65; color: var(--hu-text); }
.hu-dashes { display: inline-flex; gap: 6px; margin-top: 20px; }
.hu-dashes i { display: block; height: 4px; width: 14px; border-radius: 4px; background: var(--hu-violet); opacity: .5; }
.hu-dashes i:first-child { width: 30px; opacity: 1; background: var(--hu-primary); }

.hu-head, .section-head { margin-bottom: 48px; max-width: 720px; }
.hu-head p, .section-head p { margin-top: 14px; font-size: 1.0625rem; color: var(--hu-muted); }
.hu-head--center, .section-head { margin-inline: auto; text-align: center; }
.hu-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; }
.hu-head--split p { margin: 0 0 6px; }
.hu-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.text-link { color: var(--hu-primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(75, 31, 166, .3); text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: color .2s, text-decoration-color .2s; }
.text-link:hover { color: var(--hu-violet); text-decoration-color: currentColor; }
.text-link--light { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.text-link--light:hover { color: var(--hu-lilac-ink); }
.lead { font-size: 1.125rem; color: var(--hu-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: -.005em;
  min-height: 48px; padding: 12px 24px; border-radius: var(--hu-r-pill);
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: transform .2s var(--hu-ease), box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--hu-primary); color: #fff; box-shadow: 0 10px 22px -10px rgba(75, 31, 166, .7); }
.btn--primary:hover { background: var(--hu-deep); box-shadow: 0 16px 30px -12px rgba(41, 17, 92, .8); }
.btn--outline { background: #fff; color: var(--hu-deep); border-color: rgba(41, 17, 92, .22); }
.btn--outline:hover { border-color: var(--hu-primary); color: var(--hu-primary); box-shadow: var(--hu-shadow-sm); }
.btn--white { background: #fff; color: var(--hu-deep); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
.btn--white:hover { background: var(--hu-lilac); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn__arrow { display: inline-grid; place-items: center; width: 30px; height: 30px; margin: -6px -14px -6px 2px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: transform .25s var(--hu-ease); }
.btn--white .btn__arrow { background: var(--hu-lilac); color: var(--hu-primary); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s;
}
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }
.nav.is-stuck { background: rgba(255, 255, 255, .94); border-color: var(--hu-line-soft); box-shadow: 0 8px 28px -18px rgba(41, 17, 92, .35); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; border-radius: 12px; }
.logo__mark { display: block; flex-shrink: 0; border-radius: 12px; }
.logo__text { font-family: var(--hu-font-display); font-weight: 800; font-size: 23px; letter-spacing: -.035em; line-height: 1; color: var(--hu-ink); }
.logo__text span { color: var(--hu-violet); }
.logo__custom { display: block; max-height: 44px; width: auto; }

.nav__panel { display: flex; align-items: center; flex: 1; justify-content: center; min-width: 0; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__links > li { position: relative; }
.nav__links a { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 14.5px; color: var(--hu-ink); padding: 9px 11px; border-radius: 10px; white-space: nowrap; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--hu-primary); background: var(--hu-lilac); }
.nav__links .current-menu-item > a,
.nav__links .current-menu-ancestor > a,
.nav__links .current_page_parent > a { color: var(--hu-primary); font-weight: 600; }
.nav__links > .current-menu-item > a::after,
.nav__links > .current-menu-ancestor > a::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 16px; height: 3px; margin-left: -8px; border-radius: 3px; background: var(--hu-violet); }
.nav__links > li.menu-item-has-children { display: flex; align-items: center; }
.sub-toggle { display: inline-grid; place-items: center; width: 22px; height: 30px; margin-left: -8px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--hu-muted); cursor: pointer; }
.sub-toggle:hover, .sub-toggle[aria-expanded="true"] { color: var(--hu-primary); }
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__links > li:hover > .sub-toggle svg, .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Dropdowns (desktop: hover / keyboard focus; mobile: toggle button) */
.nav__links .sub-menu {
  list-style: none; position: absolute; top: calc(100% + 8px); left: 50%; min-width: 248px; padding: 8px;
  background: #fff; border: 1px solid var(--hu-line-soft); border-radius: 16px; box-shadow: var(--hu-shadow-md);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 10;
}
.nav__links .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__links .sub-menu a { padding: 10px 12px; font-size: 14.5px; white-space: normal; }
@media (min-width: 1181px) {
  .nav__links > li:hover > .sub-menu,
  .nav__links > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
}

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__mobile-actions { display: none; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--hu-line); background: #fff; border-radius: 14px; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 19px; height: 2px; background: var(--hu-ink); border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* "Call us" dropdown */
.hdr-enquire { position: relative; }
.hdr-enquire > summary { list-style: none; }
.hdr-enquire > summary::-webkit-details-marker { display: none; }
.hdr-enquire__toggle { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: var(--hu-r-pill); border: 1.5px solid var(--hu-line); background: #fff; color: var(--hu-deep); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: border-color .2s, color .2s; }
.hdr-enquire__toggle:hover, .hdr-enquire[open] .hdr-enquire__toggle { border-color: var(--hu-primary); color: var(--hu-primary); }
.hdr-enquire__panel { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--hu-line-soft); border-radius: 16px; box-shadow: var(--hu-shadow-md); z-index: 20; }
.hdr-enquire__title { font-family: var(--hu-font-display); font-weight: 700; color: var(--hu-ink); }
.hdr-enquire__sub { font-size: 13.5px; color: var(--hu-muted); margin-bottom: 4px; }
.hdr-enquire__num { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--hu-bg-alt); font-weight: 600; color: var(--hu-deep); transition: background-color .2s; }
.hdr-enquire__num:hover { background: var(--hu-lilac); }
.hdr-enquire__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--hu-primary); color: #fff; }

@media (max-width: 1280px) {
  .nav__links a { padding: 9px 8px; font-size: 14px; }
  .hdr-enquire__label { display: none; }
  .hdr-enquire__toggle { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 1180px) {
  :root { --nav-h: 68px; }
  /* backdrop-filter would make the header the containing block of the fixed drawer below */
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .burger { display: inline-flex; }
  .nav__panel {
    position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: 99;
    display: block; padding: 16px var(--hu-gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--hu-line-soft);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .admin-bar .nav__panel { top: calc(var(--nav-h) + 46px); }
  .nav.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links > li { border-bottom: 1px solid var(--hu-line-soft); display: flex; flex-wrap: wrap; align-items: center; }
  .nav__links > li > a { flex: 1; padding: 15px 4px; font-size: 16.5px; font-weight: 600; border-radius: 0; }
  .nav__links > li > a:hover { background: transparent; }
  .nav__links > .current-menu-item > a::after, .nav__links > .current-menu-ancestor > a::after { display: none; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; border-radius: 12px; background: var(--hu-bg-alt); color: var(--hu-deep); }
  .sub-toggle svg { width: 16px; height: 16px; }
  .nav__links > li:hover > .sub-toggle svg { transform: none; }
  .nav__links > li > .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__links .sub-menu { position: static; flex-basis: 100%; min-width: 0; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 12px; background: var(--hu-bg-alt); padding: 6px; margin: 0 0 12px; display: none; }
  .nav__links .sub-menu::before { display: none; }
  .nav__links li.is-open > .sub-menu { display: block; }
  .nav__mobile-actions { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
  .nav__mobile-call { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: var(--hu-lilac); }
  .nav__mobile-call-title { font-weight: 600; color: var(--hu-deep); font-size: 14px; }
  .nav__mobile-call a { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--hu-primary); padding: 6px 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
}
@media (max-width: 480px) {
  .hdr-enquire { display: none; }
  .logo__text { font-size: 21px; }
}

/* ---------- Job search bar ---------- */
.job-search {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr auto; align-items: stretch;
  background: #fff; border: 1px solid var(--hu-line); border-radius: 22px; padding: 8px; gap: 0;
  box-shadow: var(--hu-shadow-md);
}
.job-search .field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8px 16px 8px 44px; border-radius: 14px; min-width: 0; transition: background-color .2s; }
.job-search .field + .field::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--hu-line); }
.job-search .field:focus-within { background: var(--hu-bg-alt); }
.job-search .field > .icon { position: absolute; left: 16px; top: 50%; margin-top: -9px; color: var(--hu-primary); }
.job-search .field__label { font-size: 12px; font-weight: 600; color: var(--hu-muted); line-height: 1.2; }
.job-search input, .job-search select { width: 100%; border: 0; background: transparent; padding: 2px 0 0; font-size: 15px; font-weight: 500; color: var(--hu-ink); outline: none; min-height: 26px; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; }
.job-search select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 18px; }
.job-search input::placeholder { color: #9CA3AF; font-weight: 400; }
.job-search .btn { border-radius: 16px; padding-inline: 24px; min-height: 56px; }
@media (max-width: 920px) {
  .job-search { grid-template-columns: 1fr 1fr; gap: 4px; }
  .job-search .field--kw { grid-column: 1 / -1; }
  .job-search .field + .field::before { display: none; }
  .job-search .field { background: var(--hu-bg-alt); }
  .job-search .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .job-search { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
}

/* ---------- Home: hero ---------- */
.hu-hero { position: relative; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hu-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(124, 58, 237, .16), transparent 70%),
    radial-gradient(520px 380px at 4% 92%, rgba(75, 31, 166, .08), transparent 70%),
    linear-gradient(180deg, #FBFAFF 0%, #fff 70%);
}
.hu-hero__bg::after { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(75, 31, 166, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 31, 166, .06) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
}
.hu-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "copy visual" "search search"; gap: 48px 56px; align-items: center; }
.hu-hero__copy { grid-area: copy; }
.hu-hero__title { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 3.9rem); font-weight: 800; line-height: 1.03; letter-spacing: -.04em; margin-bottom: 22px; }
.hu-hero__title .hl { display: block; padding-bottom: .06em; }
.hu-hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--hu-text); max-width: 560px; }
.hu-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 32px; }
.hu-hero__textlink { font-weight: 600; color: var(--hu-primary); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(75, 31, 166, .3); }
.hu-hero__textlink:hover { text-decoration-color: currentColor; }
.hu-hero__search { grid-area: search; margin-top: -8px; }
.hu-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--hu-muted); }
.hu-hero__popular span { margin-right: 2px; }
.hu-hero__popular a { padding: 5px 12px; border-radius: var(--hu-r-pill); background: #fff; border: 1px solid var(--hu-line); color: var(--hu-deep); font-weight: 500; transition: border-color .2s, color .2s; }
.hu-hero__popular a:hover { border-color: var(--hu-primary); color: var(--hu-primary); }
.hu-hero__visual { grid-area: visual; position: relative; }
@media (max-width: 1080px) {
  .hu-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "search" "visual"; gap: 40px; }
  .hu-hero__visual { max-width: 620px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .hu-hero { padding: 40px 0 64px; }
  .hu-hero__actions .btn { flex: 1 1 auto; }
  .hu-hero__search { margin-top: 0; }
}

/* ---------- Home: stats ---------- */
.hu-stats { padding: 0 0 24px; }
.hu-stats__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); border: 1px solid var(--hu-line-soft); border-radius: var(--hu-r-panel); background: #fff; box-shadow: var(--hu-shadow-sm); overflow: hidden; }
.hu-stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 28px 28px; }
.hu-stat + .hu-stat { border-left: 1px solid var(--hu-line-soft); }
.hu-stat__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--hu-lilac); color: var(--hu-primary); }
.hu-stat__num { font-family: var(--hu-font-display); font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--hu-ink); }
.hu-stat__label { font-size: 14px; color: var(--hu-muted); line-height: 1.4; }
.hu-stat--link { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; background: var(--hu-bg-alt); }
.hu-stat--link .hu-stat__label { color: var(--hu-text); font-weight: 500; }
@media (max-width: 1000px) {
  .hu-stats__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hu-stat--link { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--hu-line-soft); flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (max-width: 640px) {
  .hu-stats__list { grid-template-columns: minmax(0, 1fr); }
  .hu-stat { padding: 20px 22px; }
  .hu-stat + .hu-stat { border-left: 0; border-top: 1px solid var(--hu-line-soft); }
}

/* ---------- Home: how it works ---------- */
.hu-how__tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: -16px auto 40px; padding: 5px; border-radius: var(--hu-r-pill); background: #fff; border: 1px solid var(--hu-line); box-shadow: var(--hu-shadow-xs); }
.hu-how__tabs[hidden] { display: none; }
.hu-how__tab { border: 0; background: transparent; padding: 10px 20px; border-radius: var(--hu-r-pill); font-weight: 600; font-size: 14.5px; color: var(--hu-muted); cursor: pointer; transition: background-color .2s, color .2s; }
.hu-how__tab[aria-selected="true"] { background: var(--hu-deep); color: #fff; }
.hu-how__tab:not([aria-selected="true"]):hover { color: var(--hu-primary); }
.hu-how__track { font-size: 1.1rem; margin: 0 0 18px; text-align: center; color: var(--hu-muted); font-weight: 600; }
.hu-how__panel + .hu-how__panel { margin-top: 48px; }
.hu-how.is-tabbed .hu-how__track { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hu-how.is-tabbed .hu-how__panel + .hu-how__panel { margin-top: 0; }
.hu-how__panel:focus-visible { outline-offset: 8px; border-radius: 20px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--hu-line-soft); border-radius: 22px; padding: 30px 28px 32px; box-shadow: var(--hu-shadow-sm); transition: transform .25s var(--hu-ease), box-shadow .25s ease, border-color .25s; }
.step::after { content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--hu-grad-text); transform: scaleX(.35); transform-origin: left; transition: transform .35s var(--hu-ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--hu-shadow-md); border-color: rgba(124, 58, 237, .25); }
.step:hover::after { transform: scaleX(1); }
.step + .step::before { content: ''; position: absolute; top: 52px; left: -28px; width: 28px; height: 0; border-top: 1.5px dashed rgba(75, 31, 166, .35); }
.step__num::before { content: attr(data-num); }
.step__num { position: absolute; top: 18px; right: 22px; font-family: var(--hu-font-display); font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--hu-lilac); user-select: none; }
.step__icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--hu-primary); color: #fff; box-shadow: 0 10px 20px -10px rgba(75, 31, 166, .8); margin-bottom: 22px; }
.step h4 { position: relative; font-size: 1.2rem; margin-bottom: 10px; }
.step p { position: relative; color: var(--hu-muted); font-size: 15px; }
.step__link { position: relative; display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--hu-primary); }
.step__link:hover { color: var(--hu-violet); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; gap: 20px; }
  .step + .step::before { left: 52px; top: -20px; width: 0; height: 20px; border-top: 0; border-left: 1.5px dashed rgba(75, 31, 166, .35); }
}

/* ---------- Home: audiences ---------- */
.hu-audience { padding: 104px 0; }
.hu-audience__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hu-aud { position: relative; overflow: hidden; border-radius: var(--hu-r-panel); padding: 44px 44px 40px; display: flex; flex-direction: column; }
.hu-aud--seeker { background: var(--hu-lilac); }
.hu-aud--employer { background: var(--hu-deep); color: #E9E3FF; }
.hu-aud--employer::before { content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 70%); pointer-events: none; }
.hu-aud__icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: #fff; color: var(--hu-primary); margin-bottom: 26px; box-shadow: var(--hu-shadow-sm); }
.hu-aud--employer .hu-aud__icon { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .18); }
.hu-aud h3 { position: relative; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.hu-aud--employer h3 { color: #fff; }
.hu-aud > p { position: relative; max-width: 480px; }
.hu-aud__list { position: relative; list-style: none; display: grid; gap: 10px; margin: 26px 0 32px; }
.hu-aud__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--hu-ink); }
.hu-aud--employer .hu-aud__list li { color: #fff; }
.hu-aud__list .icon { margin-top: 4px; color: var(--hu-primary); }
.hu-aud--employer .hu-aud__list .icon { color: var(--hu-lilac-ink); }
.hu-aud__actions { position: relative; margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
@media (max-width: 900px) {
  .hu-audience { padding: 80px 0; }
  .hu-audience__grid { grid-template-columns: minmax(0, 1fr); }
  .hu-aud { padding: 32px 26px; }
}

/* ---------- Final CTA ---------- */
.hu-cta { padding: 24px 0 104px; }
/* v2.5.0: with the Home blog section removed, the CTA follows the grey employer section directly. */
.tps-hire + .hu-cta { padding-top: 104px; }
.hu-cta__panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 72px 64px; text-align: center; color: #E9E3FF; background: var(--hu-grad); box-shadow: var(--hu-shadow-lg); }
.hu-cta__panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 80% 0%, rgba(196, 181, 253, .35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(26, 11, 61, .6), transparent 70%); }
.hu-cta__ring { position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .12); pointer-events: none; }
.hu-cta__ring--a { width: 420px; height: 420px; right: -140px; bottom: -220px; }
.hu-cta__ring--b { width: 260px; height: 260px; left: -90px; top: -120px; }
.hu-cta h2 { color: #fff; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.85rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; max-width: 820px; margin: 0 auto 16px; }
.hu-cta p { max-width: 600px; margin: 0 auto; font-size: 1.0625rem; }
.hu-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hu-cta__call { margin-top: 22px !important; font-size: 15px; }
.hu-cta__call a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
@media (max-width: 640px) {
  .hu-cta { padding-bottom: 72px; }
  .tps-hire + .hu-cta { padding-top: 72px; }
  .hu-cta__panel { padding: 48px 22px; border-radius: 24px; }
}

/* Shared CTA band (job pages, company pages, single posts) */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 56px 48px; text-align: center; color: #E9E3FF; background: var(--hu-grad); box-shadow: var(--hu-shadow-lg); }
.cta-band::after { content: ''; position: absolute; z-index: -1; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .14); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.cta-band p { max-width: 600px; margin: 0 auto; }
.cta-band__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-band .btn--primary { background: #fff; color: var(--hu-deep); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--hu-lilac); }
@media (max-width: 640px) { .cta-band { padding: 40px 22px; border-radius: 22px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 64px; text-align: center; border-bottom: 1px solid var(--hu-line-soft); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px 300px at 85% -10%, rgba(124, 58, 237, .14), transparent 70%), radial-gradient(420px 260px at 0% 110%, rgba(75, 31, 166, .07), transparent 70%), #FBFAFF; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(75, 31, 166, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 31, 166, .055) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%); }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; max-width: 900px; margin-inline: auto; }
.page-hero .lead { max-width: 680px; margin: 18px auto 0; color: var(--hu-text); }
.page-hero--left { text-align: left; }
.page-hero--left h1, .page-hero--left .lead { margin-inline: 0; }
.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13.5px; color: var(--hu-muted); margin-bottom: 22px; }
.page-hero--left .breadcrumbs { justify-content: flex-start; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ''; width: 5px; height: 5px; border-right: 1.5px solid #A1A1AA; border-top: 1.5px solid #A1A1AA; transform: rotate(45deg); }
.breadcrumbs a { color: var(--hu-primary); font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--hu-ink); font-weight: 500; }
.entry-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 20px; color: var(--hu-muted); font-size: 14.5px; }
.entry-meta span { display: inline-flex; align-items: center; gap: 7px; }
.entry-meta .icon { color: var(--hu-primary); }
@media (max-width: 640px) { .page-hero { padding: 40px 0 48px; } }

/* ---------- Job listings ---------- */
.job-search--page { margin-top: -100px; position: relative; z-index: 2; }
.post-type-archive-job .page-hero, .tax-job_category .page-hero { padding-bottom: 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 8px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 15px; border-radius: var(--hu-r-pill); border: 1px solid var(--hu-line); background: #fff; font-size: 14px; font-weight: 500; color: var(--hu-text); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--hu-primary); color: var(--hu-primary); }
.chip.is-active { background: var(--hu-deep); border-color: var(--hu-deep); color: #fff; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 24px 0 24px; color: var(--hu-muted); font-size: 15px; }
.results-bar strong { color: var(--hu-ink); }
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.job { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--hu-line-soft); border-radius: var(--hu-r-card); box-shadow: var(--hu-shadow-sm); transition: transform .22s var(--hu-ease), box-shadow .22s ease, border-color .22s; }
.job:hover { transform: translateY(-3px); box-shadow: var(--hu-shadow-md); border-color: rgba(124, 58, 237, .3); }
.job__top { display: flex; gap: 14px; align-items: flex-start; }
.job__logo { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--hu-lilac); color: var(--hu-primary); font-family: var(--hu-font-display); font-weight: 800; font-size: 19px; overflow: hidden; }
.job__logo img { width: 100%; height: 100%; object-fit: cover; }
.job__title { font-size: 1.075rem; line-height: 1.35; letter-spacing: -.015em; }
.job__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.job__title a:focus-visible { outline: none; }
.job:focus-within { outline: 3px solid var(--hu-violet); outline-offset: 3px; }
.job__company { font-size: 14px; color: var(--hu-muted); margin-top: 3px; }
.job__meta { list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--hu-text); }
.job__meta li { display: flex; gap: 8px; align-items: flex-start; }
.job__meta .icon { margin-top: 2px; color: var(--hu-primary); }
.job__meta .salary { color: var(--hu-ink); font-weight: 600; }
.job__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hu-line-soft); }
.pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--hu-r-pill); background: var(--hu-lilac); color: var(--hu-primary); font-size: 13px; font-weight: 600; }
.job__link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; color: var(--hu-primary); }
.job:hover .job__link .icon { transform: translate(2px, -2px); }
.job__link .icon { transition: transform .2s; }
.empty-state { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--hu-lilac-2); border-radius: var(--hu-r-panel); background: #FCFBFF; }
.empty-state h3 { font-size: 1.35rem; margin-bottom: 8px; }
.empty-state p { color: var(--hu-muted); max-width: 460px; margin: 0 auto 22px; }
.pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--hu-line); background: #fff; font-weight: 600; color: var(--hu-ink); transition: border-color .2s, color .2s; }
a.page-numbers:hover { border-color: var(--hu-primary); color: var(--hu-primary); }
.page-numbers.current { background: var(--hu-deep); border-color: var(--hu-deep); color: #fff; }
.page-numbers.dots { border: 0; background: none; }
@media (max-width: 1024px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .jobs { grid-template-columns: minmax(0, 1fr); } .job-search--page { margin-top: -84px; } }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hu-line-soft); border-radius: 22px; overflow: hidden; box-shadow: var(--hu-shadow-sm); transition: transform .25s var(--hu-ease), box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--hu-shadow-md); }
.post-card:focus-within { outline: 3px solid var(--hu-violet); outline-offset: 3px; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hu-lilac); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--hu-ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--hu-primary); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--hu-muted); margin-bottom: 10px; }
.post-card__meta span:first-child { color: var(--hu-primary); font-weight: 600; }
.post-card__title { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.post-card__title a::after { content: ''; position: absolute; inset: 0; }
.post-card__title a:focus-visible { outline: none; }
.post-card__body > p { color: var(--hu-muted); font-size: 15px; }
.post-card__more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; color: var(--hu-primary); }
@media (max-width: 1024px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Search form (blog / 404) ---------- */
.searchform { display: flex; gap: 8px; max-width: 520px; margin-inline: auto; padding: 6px; background: #fff; border: 1px solid var(--hu-line); border-radius: var(--hu-r-pill); box-shadow: var(--hu-shadow-sm); }
.searchform input { flex: 1; min-width: 0; border: 0; padding: 0 16px; outline: none; background: transparent; color: var(--hu-ink); }
.searchform .btn { min-height: 44px; }

/* ---------- Forms ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--hu-line-soft); border-radius: 24px; padding: 40px; box-shadow: var(--hu-shadow-sm); }
.form-card > h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; margin-bottom: 8px; }
.form-card > p { color: var(--hu-muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--hu-ink); }
.form-field label small { font-weight: 400; color: var(--hu-muted); }
.req-mark { color: var(--hu-error); }
.form-field input, .form-field select, .form-field textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: var(--hu-r-field);
  border: 1.5px solid var(--hu-line); background: #fff; color: var(--hu-ink); font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-field textarea, .comment-form textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.form-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234B1FA6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; cursor: pointer; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #D4D4D8; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--hu-primary); box-shadow: 0 0 0 4px rgba(124, 58, 237, .16); }
.form-field input[type=file] { padding: 10px; min-height: 0; background: var(--hu-bg-alt); border-style: dashed; cursor: pointer; }
.form-field input[type=file]::file-selector-button { margin-right: 12px; border: 0; border-radius: var(--hu-r-pill); padding: 8px 16px; background: var(--hu-primary); color: #fff; font-weight: 600; cursor: pointer; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--hu-error); background: #FEF8F8; }
.field-error { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; font-weight: 500; color: #B91C1C; }
.field-error::before { content: '!'; flex-shrink: 0; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--hu-error); color: #fff; font-size: 11px; font-weight: 800; }
.field-error[hidden] { display: none; }
.form-note { font-size: 13.5px; color: var(--hu-muted); margin-top: 12px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border-radius: 14px; margin-bottom: 22px; font-size: 15px; font-weight: 500; border: 1px solid; }
.notice .icon { margin-top: 1px; }
.notice--success { background: #F0FDF4; border-color: #BBF7D0; color: #14532D; }
.notice--success .icon { color: var(--hu-success); }
.notice--error { background: #FEF2F2; border-color: #FECACA; color: #7F1D1D; }
.notice--error .icon { color: var(--hu-error); }
.notice--info { background: var(--hu-lilac); border-color: var(--hu-lilac-2); color: var(--hu-deep); }
.notice--info .icon { color: var(--hu-primary); }
.notice:focus { outline: 3px solid var(--hu-violet); outline-offset: 2px; }

.side-card { background: var(--hu-bg-alt); border: 1px solid var(--hu-line-soft); border-radius: 24px; padding: 32px; }
.side-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--hu-text); }
.checks .icon { color: var(--hu-primary); margin-top: 3px; }
.icon-chip { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--hu-lilac); color: var(--hu-primary); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 26px; background: #fff; border: 1px solid var(--hu-line-soft); border-radius: var(--hu-r-card); box-shadow: var(--hu-shadow-sm); }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card a { color: var(--hu-primary); font-weight: 600; word-break: break-word; }
.info-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-card p { color: var(--hu-text); font-size: 15px; }
.contact-side { display: grid; gap: 24px; }
.map-card { background: #fff; border: 1px solid var(--hu-line-soft); border-radius: 24px; padding: 26px; box-shadow: var(--hu-shadow-sm); }
.map-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.map-card > p { color: var(--hu-muted); font-size: 15px; margin-bottom: 16px; }
.map-card__frame { overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--hu-bg-alt); }
.map-card__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-card__address { display: flex; gap: 14px; margin-top: 18px; }
.map-card__address address { font-style: normal; line-height: 1.6; color: var(--hu-text); font-size: 15px; }
.map-card__address strong { color: var(--hu-ink); }
.map-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
@media (max-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr); } .info-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .form-card { padding: 26px 20px; border-radius: 20px; } .form-grid { grid-template-columns: minmax(0, 1fr); } .side-card { padding: 24px 20px; } }

/* ---------- Generic features (About: vision & mission) ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding: 32px 28px; background: #fff; border: 1px solid var(--hu-line-soft); border-radius: 22px; box-shadow: var(--hu-shadow-sm); }
.feature .icon-chip { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 20px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--hu-muted); }
@media (max-width: 960px) { .features, .features--3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }

/* ---------- Split layout (About) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split h2 { font-size: clamp(1.85rem, 1.2rem + 2.3vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split .lead { margin-bottom: 14px; color: var(--hu-ink); font-weight: 500; }
.media-frame { position: relative; border-radius: var(--hu-r-panel); overflow: hidden; box-shadow: var(--hu-shadow-lg); }
.media-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); pointer-events: none; }
.media-frame img { width: 100%; height: auto; }
.split__media { position: relative; }
.split__media::before { content: ''; position: absolute; inset: 24px -20px -20px 24px; border-radius: var(--hu-r-panel); background: var(--hu-grad); opacity: .9; z-index: -1; }
@media (max-width: 920px) { .split { grid-template-columns: minmax(0, 1fr); gap: 48px; } .split__media::before { inset: 16px -10px -12px 14px; } }
/* About "Who We Are" (v2.7.0): text-only two-column layout — heading + lead | details + checklist. */
.split--text { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.split--text .split__copy { padding-bottom: 8px; }
.split--text .split__copy .lead { font-size: 1.25rem; line-height: 1.55; margin-bottom: 0; }
.split--text .split__copy::after { content: ''; display: block; width: 72px; height: 4px; margin-top: 28px; border-radius: 4px; background: var(--hu-grad); }
.split--text .split__body { padding: 36px 40px; border-radius: var(--hu-r-panel, 28px); background: var(--hu-bg-alt, #F8F9FC); border: 1px solid var(--hu-line-soft, #EEF0F4); }
.split--text .split__body p + p { margin-top: 14px; }
.split--text .split__body .checks { margin-top: 26px; }
@media (max-width: 920px) {
  .split--text { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 520px) { .split--text .split__body { padding: 26px 20px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--hu-line-soft); border-radius: 18px; padding: 0 24px; box-shadow: var(--hu-shadow-xs); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(124, 58, 237, .28); box-shadow: var(--hu-shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-family: var(--hu-font-display); font-weight: 700; color: var(--hu-ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--hu-lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234B1FA6' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--hu-text); }

/* ---------- Article content ---------- */
.entry-content { font-size: 17px; line-height: 1.75; color: var(--hu-text); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.65rem; font-weight: 800; letter-spacing: -.025em; margin-top: 2em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.7em; }
.entry-content h4 { font-size: 1.1rem; margin-top: 1.5em; }
.entry-content a { color: var(--hu-primary); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(75, 31, 166, .35); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .45em; }
.entry-content li::marker { color: var(--hu-violet); }
.entry-content strong { color: var(--hu-ink); }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--hu-violet); background: var(--hu-lilac); border-radius: 0 16px 16px 0; color: var(--hu-deep); }
.entry-content img { border-radius: 16px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--hu-line); text-align: left; }
.entry-content > :first-child { margin-top: 0; }
.post-thumb { margin-top: 40px; margin-bottom: 48px; }
.post-thumb img { width: 100%; height: auto; border-radius: var(--hu-r-panel); box-shadow: var(--hu-shadow-md); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.post-tags a { padding: 6px 13px; border-radius: var(--hu-r-pill); background: var(--hu-bg-alt); border: 1px solid var(--hu-line); font-size: 13.5px; color: var(--hu-text); }
.post-tags a:hover { border-color: var(--hu-primary); color: var(--hu-primary); }
.post-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 24px; border-radius: 20px; background: var(--hu-lilac); }
.post-author__logo { flex-shrink: 0; }
.post-author__name { font-family: var(--hu-font-display); font-weight: 700; color: var(--hu-ink); margin-bottom: 4px; }
.post-author__text { font-size: 15px; }
.post-nav { margin-top: 40px; }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--hu-line); background: #fff; transition: border-color .2s; height: 100%; }
.post-nav a:hover { border-color: var(--hu-primary); }
.post-nav small { color: var(--hu-muted); font-size: 13px; }
.post-nav b { color: var(--hu-ink); font-weight: 600; line-height: 1.4; }
.post-nav .nav-next { text-align: right; }
@media (max-width: 640px) { .post-nav .nav-links { grid-template-columns: minmax(0, 1fr); } .post-nav .nav-next { text-align: left; } .entry-content { font-size: 16.5px; } }

/* ---------- Comments ---------- */
.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--hu-line); }
.comments-area h2, .comment-reply-title { font-size: 1.4rem; margin-bottom: 20px; }
.comment-list { list-style: none; display: grid; gap: 16px; margin-bottom: 36px; }
.comment-list .children { list-style: none; padding-left: 28px; margin-top: 16px; }
.comment-body { padding: 20px; border-radius: 16px; background: var(--hu-bg-alt); }
.comment-meta { font-size: 14px; color: var(--hu-muted); margin-bottom: 8px; }
.comment-author .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--hu-ink); }
.comment-form .submit { background: var(--hu-primary); color: #fff; border: 0; border-radius: var(--hu-r-pill); padding: 13px 26px; font-weight: 600; cursor: pointer; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; max-width: 640px; }
.error-404__code { font-family: var(--hu-font-display); font-size: clamp(6rem, 4rem + 9vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; background: var(--hu-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin: 12px 0; }
.error-404 > p { color: var(--hu-muted); margin-bottom: 28px; }
.error-404 .hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--hu-deeper); color: #BDB4D9; padding-top: 80px; font-size: 15px; }
.footer::before { content: ''; position: absolute; right: -200px; top: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .28), transparent 65%); pointer-events: none; }
.footer__top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 56px; padding-bottom: 56px; }
.footer .logo__text { color: #fff; }
.footer .logo__text span { color: var(--hu-lilac-ink); }
.footer__about { margin-top: 20px; max-width: 320px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background-color .2s, border-color .2s, transform .2s; }
.footer__social a:hover { background: var(--hu-primary); border-color: var(--hu-primary); transform: translateY(-2px); }
.footer__cols { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 32px; }
.footer__heading { font-family: var(--hu-font-display); font-size: 15px; font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer__col a { color: #BDB4D9; transition: color .2s; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { margin-top: 3px; color: var(--hu-lilac-ink); }
.contact-list a { overflow-wrap: anywhere; }
.contact-list > li > span { min-width: 0; }
.footer__label { color: #fff; font-weight: 600; }
.footer__map-link { display: flex; gap: 10px; align-items: flex-start; }
.footer__map-link:hover span { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bar { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; }
.footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__top-link { display: inline-flex; align-items: center; gap: 6px; color: #BDB4D9; }
.footer__top-link:hover { color: #fff; }
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer { padding-top: 56px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer__policies a { display: inline-block; padding: 4px 0; }
  .footer__bar { padding-bottom: 96px; } /* room for the WhatsApp button */
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .wa-float, .jd-sticky, .hu-cta, .cta-band { display: none !important; }
  body { color: #000; }
}

/* About: the team photo is a transparent cut-out — no card frame around it */
