/* =====================================================================
   UNIVERSAL HUNT — STYLES
   Colours are set in assets/js/config.js (theme). The values below are
   fallbacks only. Layout: a calm editorial grid, ivory and white bands,
   navy for authority, gold used sparingly as a rule and accent.
   ===================================================================== */
:root {
  --navy: #16243F; --navy-deep: #0F1A2E; --gold: #A8875A; --gold-light: #D9C6A3;
  --ivory: #FAF7F1; --sand: #F1EBE0; --white: #FFFFFF; --ink: #1D2433;
  --muted: #5E6577; --line: #E4DDD0; --whatsapp: #1F9D55;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(22, 36, 63, .06), 0 2px 8px rgba(22, 36, 63, .05);
  --shadow: 0 2px 6px rgba(22, 36, 63, .06), 0 14px 36px rgba(22, 36, 63, .09);
  --header-h: 76px;
  --section: clamp(64px, 9vw, 112px);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px;
}
h1, h2, h3, h4 { margin: 0; color: var(--navy); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.bg-ivory { background: var(--ivory); }
.bg-navy { background: var(--navy); color: #E7EAF0; }
.muted { color: var(--muted); }

/* ---------- type ---------- */
.display, .h2, .h3, .profile-name, .page-title {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.08;
}
.display { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.bg-navy .eyebrow { color: var(--gold-light); }
.bg-navy .h2 { color: var(--white); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 680px; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }

/* placeholder highlight for unconfirmed business details */
.show-ph .ph { background: rgba(168, 135, 90, .14); border-bottom: 1px dashed var(--gold); padding: 0 3px; font-style: italic; color: #7A5F38; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
  font: 700 .95rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.btn-wa { background: var(--whatsapp); color: var(--white); }
.btn-wa:hover { filter: brightness(.94); box-shadow: var(--shadow-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.text-link .ic { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand-link { text-decoration: none; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px;
  background: var(--navy); color: var(--gold-light);
  font: 600 1.25rem/1 var(--font-display); letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(217,198,163,.35), inset 0 0 0 4px var(--navy), inset 0 0 0 5px rgba(217,198,163,.5);
}
.logo-text { display: grid; line-height: 1.1; }
.logo-name { font: 600 1.42rem/1 var(--font-display); color: var(--navy); letter-spacing: .01em; }
.logo-sub { margin-top: 4px; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.logo.on-dark .logo-name { color: var(--white); }
.logo.on-dark .logo-mark { background: transparent; box-shadow: inset 0 0 0 1px var(--gold-light); }
.logo-img { height: 48px; width: auto; }
.header-brand { display: inline-flex; align-items: center; gap: 16px; }
.header-logo { height: 58px; width: auto; }
.header-cred { display: inline-flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.header-cred-sep { color: var(--line); font-weight: 400; }
@media (max-width: 480px) {
  .header-brand { gap: 12px; }
  .header-logo { height: 48px; }
  .header-cred { padding-left: 12px; gap: 7px; font-size: .62rem; letter-spacing: .12em; }
}
@media (max-width: 360px) {
  .header-inner { gap: 12px; }
  .header-logo { height: 44px; }
  .header-cred { padding-left: 10px; gap: 5px; font-size: .58rem; letter-spacing: .08em; }
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a {
  position: relative; display: block; padding-block: 8px;
  font-size: .93rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: var(--navy); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); cursor: pointer; padding: 0; place-items: center; }
.nav-toggle .ic { width: 24px; height: 24px; }

@media (max-width: 1000px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px 20px calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--white);
    border-top: 1px solid var(--line); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 16px 4px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .main-nav ul a[aria-current="page"] { color: var(--gold); }
  .nav-wa { min-height: 52px; font-size: 1rem; }
}

/* ---------- hero ---------- */
.hero { background: var(--ivory); padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-copy .display em { font-style: italic; color: var(--gold); font-weight: 600; }
.journey { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.journey li { display: inline-flex; align-items: center; }
.journey li + li::before { content: ""; width: 5px; height: 5px; margin-inline: 14px; background: var(--gold); transform: rotate(45deg); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ic { width: 20px; height: 20px; color: var(--gold); }
.hero-badges strong { color: var(--navy); }

.hero-visual { position: relative; min-width: 0; padding: 0 0 0 28px; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 4.6; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(255,255,255,.55) 58% 58.6%, transparent 58.6%),
    linear-gradient(180deg, transparent 0 46%, rgba(255,255,255,.55) 46% 46.5%, transparent 46.5%),
    linear-gradient(160deg, #EFE4D2 0%, #E3D3BA 48%, #CDB998 100%);
  box-shadow: var(--shadow);
}
.hero-frame::before { /* window light */
  content: ""; position: absolute; top: 8%; right: 8%; width: 46%; height: 52%;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.25)); border: 6px solid rgba(255,255,255,.7);
}
.hero-frame::after { /* gold inner frame */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(168,135,90,.45); border-radius: 6px; pointer-events: none;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Finished promotional image: shown whole at its own proportions, nothing drawn over it. */
/* Width is capped so the whole portrait poster (1122 x 1402) fits on short laptop screens. */
.hero-frame.has-image { aspect-ratio: auto; background: none; margin-inline: auto; width: min(100%, max(300px, calc((100vh - var(--header-h) - 48px) * 1122 / 1402))); }
.hero-frame.has-image::before, .hero-frame.has-image::after { display: none; }
.hero-frame.has-image img { height: auto; object-fit: initial; }
.hero-promo { display: block; }
.hero-promo:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.hero-frame-label {
  position: absolute; left: 50%; top: 61%; transform: translateX(-50%); width: max-content; max-width: 80%;
  padding: 8px 14px; border-radius: 4px; background: rgba(255,255,255,.85); color: var(--muted);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-align: center;
}
.hero-cards { position: absolute; inset: 0; pointer-events: none; }
.float-card {
  position: absolute; display: flex; gap: 14px; align-items: flex-start; width: min(270px, 70%);
  padding: 16px 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); pointer-events: auto;
  border-top: 2px solid var(--gold);
}
.fc-1 { top: 9%; left: 0; }
.fc-2 { top: 44%; right: -18px; }
.fc-3 { bottom: 7%; left: 4%; }
.fc-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ivory); color: var(--gold); }
.fc-icon .ic { width: 22px; height: 22px; }
.fc-title { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); line-height: 1.3; }
.fc-text { margin-top: 3px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.hero-footnote { margin-top: 18px; font-size: .78rem; color: var(--muted); text-align: right; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 0; }
  .hero-frame { aspect-ratio: 4 / 3; }
  .hero-cards { position: static; display: grid; gap: 12px; margin-top: -40px; padding-inline: 14px; position: relative; }
  .float-card { position: static; width: auto; }
  .hero-footnote { text-align: left; }
}

/* ---------- intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.intro-grid > * { min-width: 0; }
.intro-copy { display: grid; gap: 20px; }
.intro-copy p { color: var(--muted); max-width: 60ch; }
.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 12px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.credential { background: var(--white); padding: 22px 22px 20px; }
.credential-k { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.credential-v { margin-top: 6px; font: 600 clamp(1.45rem, 4.6vw, 1.9rem)/1.1 var(--font-display); white-space: nowrap; color: var(--navy); font-variant-numeric: lining-nums; }
.focus-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }
.focus-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.focus-list .ic { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.focus-list h3 { font-size: 1.05rem; font-weight: 700; font-family: var(--font-body); }
.focus-list p { margin-top: 4px; color: var(--muted); font-size: .95rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line)); }
.step { position: relative; display: grid; gap: 10px; justify-items: start; min-width: 0; }
.step-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--gold); color: var(--navy);
  font: 600 1.6rem/1 var(--font-display);
}
.bg-ivory .step-num { background: var(--ivory); }
.step-title { margin-top: 8px; font-size: 1.05rem; font-weight: 700; line-height: 1.35; font-family: var(--font-body); }
.step-text { font-size: .93rem; color: var(--muted); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--line)); }
  .step { grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 4px; padding-bottom: 28px; }
  .step-num { grid-row: span 2; }
  .step-title { margin-top: 14px; }
}
/* Homepage placement timeline: centred steps so the line runs circle to circle, titles share a two-line slot so descriptions align. */
@media (min-width: 1001px) {
  .steps-home::before { left: calc((100% - 112px) / 10); right: calc((100% - 112px) / 10); }
  .steps-home .step { justify-items: center; align-content: start; text-align: center; gap: 12px; }
  .steps-home .step-title { min-height: calc(2 * 1.35em); display: flex; align-items: flex-end; justify-content: center; }
  .steps-home .step-text { max-width: 22ch; }
}

/* ---------- household needs (icon cards) ---------- */
/* 3 cards, then 2 centred below; 2 per row on small tablets; 1 column on phones */
.needs { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.needs li { flex: 0 0 calc((100% - 48px) / 3); }
.need {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 30px 26px 26px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.need:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.need:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.need-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%;
  background: var(--ivory); color: var(--navy); box-shadow: 0 0 0 1px var(--gold-light); }
.need-icon .ic { width: 32px; height: 32px; }
.need-title { font: 600 1.45rem/1.15 var(--font-display); color: var(--navy); }
.need-text { font-size: .92rem; color: var(--muted); }
.need-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--gold); }
.need-link .ic { width: 16px; height: 16px; transition: transform .2s; }
.need:hover .need-link .ic { transform: translateX(3px); }
@media (max-width: 900px) { .needs { gap: 20px; } .needs li { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .needs li { flex-basis: 100%; } .need { padding: 24px 22px 22px; } }

/* ---------- candidate cards ---------- */
.cand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cand-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.cand-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
/* Candidate card photo (homepage Available Helpers and Browse Helpers share this card).
   A fixed 1:1 square frame. overflow: hidden makes every browser keep the frame square: without it
   Chrome let tall photos stretch the frame while Safari kept the frame and cropped the MIDDLE of tall
   photos (mouth and body, no eyes or forehead). The photo is pinned to the frame and cropped from the
   top edge, where biodata photos have the face, so the forehead is never the part that is cut.
   Wider-than-tall and very tall photos are shown whole on the neutral background instead
   (.is-wide / .is-very-tall, set in components.js). Never stretched. */
.cand-photo-wrap { position: relative; display: block; text-decoration: none; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.cand-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.cand-photo.is-wide, .cand-photo.is-very-tall { object-fit: contain; object-position: 50% 50%; }
.cand-photo-wrap .photo-ph { position: absolute; inset: 0; }
.photo-ph { display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); font-size: .78rem; font-weight: 600; background: linear-gradient(170deg, var(--sand), #E6DCCB); }
.photo-ph svg { width: 34%; max-width: 110px; fill: rgba(22,36,63,.14); }
.tag-status { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 3px; background: var(--white); color: var(--navy); border: 1px solid var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tag-sample { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 3px; background: var(--navy); color: var(--gold-light); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cand-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 22px 22px 22px; }
.cand-id { font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); font-variant-numeric: tabular-nums; }
.cand-name { margin-top: -10px; font: 600 1.75rem/1.1 var(--font-display); }
.cand-name a { color: var(--navy); text-decoration: none; }
.cand-name a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.cand-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 22px; margin: 0; padding: 12px 0; border-block: 1px solid var(--line); }
.cand-meta div { min-width: 0; }
.cand-meta dt { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cand-meta dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 3px; background: var(--ivory); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--navy); }
.chip-more { color: var(--muted); }
/* Availability pill (Browse Helpers listing). */
.cand-id { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.avail { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.avail::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.avail-available { color: var(--navy); border: 1px solid var(--line); background: var(--white); }
.avail-reserved { color: #7A5A2E; background: #F3E6CF; border: 1px solid #E2CDA6; }
.avail-placed { color: var(--muted); background: var(--sand); border: 1px solid var(--line); }
.cand-card.is-reserved, .cand-card.is-placed { background: #FCFAF6; }
.cand-card.is-reserved .cand-photo-wrap > :first-child, .cand-card.is-placed .cand-photo-wrap > :first-child { opacity: .62; filter: grayscale(.35); }
.cand-card.is-reserved .tag-status { background: #F3E6CF; color: #7A5A2E; border-color: #E2CDA6; }
.cand-summary { font-size: .92rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cand-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 4px; }
.cand-actions .btn { padding-inline: 10px; }
@media (max-width: 1000px) { .cand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cand-grid { grid-template-columns: 1fr; } }
.empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; background: var(--ivory); border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty h3 { font: 600 1.6rem/1.2 var(--font-display); margin-bottom: 8px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* ---------- trust ---------- */
/* Flex-wrap so an incomplete last row (e.g. 3 + 2) is centred; overlapping 1px borders draw the thin dividers. */
.trust-grid { display: flex; flex-wrap: wrap; justify-content: center; padding: 1px 0 0 1px; }
.trust-item { flex: 0 0 calc(100% / 3); margin: -1px 0 0 -1px; border: 1px solid rgba(217,198,163,.22); display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 32px 28px; background: var(--navy); }
.trust-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(217,198,163,.5); border-radius: 50%; color: var(--gold-light); }
.trust-icon .ic { width: 24px; height: 24px; }
.trust-title { font: 600 1.45rem/1.2 var(--font-display); color: var(--white); }
.trust-text { margin-top: 6px; font-size: .93rem; color: #B9C1D0; }
@media (max-width: 900px) { .trust-item { flex-basis: 50%; } }
@media (max-width: 600px) { .trust-item { flex-basis: 100%; padding: 24px 20px; } }

/* ---------- FAQ ---------- */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-split > * { min-width: 0; }
.faq-intro { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.05rem; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, border-color .2s; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .25s; }
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-sign { background: var(--navy); border-color: var(--navy); }
.faq-item[open] .faq-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover span:first-child { color: var(--gold); }
.faq-a { padding: 0 48px 24px 0; color: var(--muted); max-width: 68ch; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-cat { margin-bottom: 8px; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } .faq-intro { position: static; } .faq-a { padding-right: 0; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: #DCE1EA; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(217,198,163,.28); pointer-events: none; }
.cta-inner { position: relative; display: grid; gap: 22px; justify-items: center; text-align: center; padding-block: clamp(64px, 9vw, 104px); max-width: 760px; margin-inline: auto; }
.cta-inner .h2 { color: var(--white); }
.cta-inner p { max-width: 58ch; color: #C3CAD7; font-size: 1.05rem; }
.cta-inner .btn-row { justify-content: center; margin-top: 8px; }
.cta-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 6px; font-size: .9rem; color: #AEB7C7; }
.cta-contact a { color: var(--gold-light); text-decoration: none; font-weight: 700; }

/* ---------- partners ---------- */
.partners-section { padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.partners-title { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner { display: grid; place-items: center; height: 84px; padding: 12px; }
.partner img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partner img:hover { filter: none; opacity: 1; }
.partner-empty { border: 1px dashed var(--line); border-radius: var(--radius); color: #A3A9B5; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--ivory); }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* ---------- page header (inner pages) ---------- */
.page-hero { background: var(--ivory); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .container { display: grid; gap: 18px; }
.page-title { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.breadcrumb { font-size: .82rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* ---------- browse helpers ---------- */
.directory { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.directory > * { min-width: 0; }
.filter-panel { position: sticky; top: calc(var(--header-h) + 24px); }
.filter-form { display: grid; gap: 22px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.filter-form-head { display: flex; justify-content: space-between; align-items: center; }
.filter-form-head h2 { font: 600 1.5rem/1 var(--font-display); }
.link-btn { background: none; border: 0; padding: 4px 0; font: 700 .85rem var(--font-body); color: var(--gold); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.field { display: grid; gap: 7px; }
.field > label, .field-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font: 500 .95rem/1.4 var(--font-body);
}
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); }
.search-wrap { position: relative; }
.search-wrap .ic { position: absolute; left: 13px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-wrap .input { padding-left: 40px; }
.checks { display: grid; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .95rem; }
.check input { width: 19px; height: 19px; accent-color: var(--navy); margin: 0; }
.filter-apply { display: none; }
/* V2 filters: Experience groups and Skills, with a count next to each option */
.filter-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.filter-group > legend { margin-bottom: 7px; padding: 0; }
.filter-group .check span:first-of-type { flex: 1; }
.opt-count { margin-left: auto; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.check.is-zero { color: #9AA0AC; }
.check.is-zero .opt-count { color: #9AA0AC; }
.filter-hint { margin: 4px 0 0; font-size: .8rem; color: var(--muted); }
.check-solo { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); font-weight: 600; }
.dir-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
.result-count { font-weight: 700; color: var(--navy); }
.dir-bar .field { grid-auto-flow: column; align-items: center; gap: 10px; }
.dir-bar .select { min-width: 190px; }
.filter-toggle { display: none; }
.dir-results .cand-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1180px) { .dir-results .cand-grid { grid-template-columns: repeat(3, 1fr); } .directory { grid-template-columns: 260px 1fr; } }
@media (max-width: 900px) {
  .directory { grid-template-columns: 1fr; gap: 0; }
  .filter-toggle { display: inline-flex; }
  .filter-panel { position: static; display: none; margin-bottom: 24px; }
  .filter-panel.open { display: block; }
  .filter-apply { display: inline-flex; }
}
@media (max-width: 620px) { .dir-results .cand-grid { grid-template-columns: 1fr; } .dir-bar .select { min-width: 0; } }

/* ---------- profile ---------- */
.profile-wrap { padding-block: 32px var(--section); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--muted); }
.back-link .ic { width: 18px; height: 18px; }
.back-link:hover { color: var(--navy); }
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.profile-grid > * { min-width: 0; }
.profile-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.profile-photo-wrap { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.profile-photo { width: 100%; height: 100%; object-fit: cover; }
.profile-cta { display: grid; gap: 10px; }
.profile-cta-note { font-size: .85rem; color: var(--muted); text-align: center; }
.profile-main { display: grid; gap: 20px; }
.profile-name { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.profile-summary { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 8px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--white); padding: 16px 18px; min-width: 0; }
.facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
/* The last fact fills the rest of its row, so an odd number of facts never leaves an empty cell. */
.facts div:last-child:nth-child(3n+2) { grid-column: span 2; }
.facts div:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.profile-sec { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 8px; }
.profile-sec > p { color: var(--muted); max-width: 66ch; }
.skill-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.skill-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.skill-list .ic { width: 20px; height: 20px; flex: none; }
.skill-list .has { color: var(--navy); background: var(--ivory); }
.skill-list .has .ic { color: var(--gold); }
.skill-list .no { color: #9AA0AC; }
.other-skills { font-size: .95rem; color: var(--muted); }
.empty-more { margin-top: 14px; font-size: .92rem; }
.empty-more a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.other-skills span { font-weight: 700; color: var(--navy); }
.history { display: grid; gap: 0; border-left: 1px solid var(--gold); margin-left: 6px; }
.history li { position: relative; padding: 0 0 18px 24px; color: var(--navy); font-weight: 600; }
.history li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.history-when { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); font-variant-numeric: tabular-nums; }
.history-where { font-weight: 700; color: var(--navy); }
.history-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.history-note { margin: 0; font-size: .85rem; color: var(--muted); }
.history-duties { color: var(--muted); font-size: .95rem; }
.profile-bottom-cta { display: grid; gap: 12px; justify-items: start; margin-top: 12px; padding: 28px; background: var(--ivory); border-radius: var(--radius-lg); border-top: 2px solid var(--gold); }
.profile-cta-title { font: 600 1.7rem/1.2 var(--font-display); color: var(--navy); }
.profile-bottom-cta p { color: var(--muted); max-width: 52ch; }
.profile-bottom-cta .btn { margin-top: 6px; }
@media (max-width: 560px) { .profile-bottom-cta { padding: 22px 18px; } .profile-bottom-cta .btn { width: 100%; justify-content: center; } }
.sample-note { margin-bottom: 20px; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--ivory); border-radius: 0 var(--radius) var(--radius) 0; font-size: .9rem; color: var(--ink); }
.profile-main .sample-note { background: var(--sand); }
.profile-missing { display: grid; gap: 18px; padding-block: 64px; }
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; max-width: 300px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:last-child:nth-child(3n+2), .facts div:last-child:nth-child(3n+1) { grid-column: auto; }
  .facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- about ---------- */
.statement { padding-block: var(--section); text-align: center; }
.statement blockquote { margin: 0 auto; max-width: 900px; font: 600 clamp(2rem, 4.4vw, 3.4rem)/1.12 var(--font-display); color: var(--navy); text-wrap: balance; }
.statement blockquote::before, .statement blockquote::after { content: ""; display: block; width: 48px; height: 1px; margin: 0 auto 28px; background: var(--gold); }
.statement blockquote::after { margin: 28px auto 0; }
.statement cite { display: block; margin-top: 18px; font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
/* About page: tighter vertical rhythm between its sections. */
body[data-page="about"] { --section: clamp(52px, 7vw, 84px); }
body[data-page="about"] .section-head { margin-bottom: clamp(28px, 4vw, 40px); }
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.about-intro > * { min-width: 0; }
.about-intro .lead { color: var(--ink); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; max-width: 62ch; }
.approach { display: grid; gap: 0; border-top: 1px solid var(--line); }
.approach li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.approach h3 { font: 600 1.4rem/1.2 var(--font-display); }
.approach p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); border-top: 2px solid var(--gold); }
.value-title { font: 600 1.55rem/1.15 var(--font-display); margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .94rem; }
.support-box { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.support-box .ic { width: 56px; height: 56px; color: var(--gold); }
.support-box p { color: var(--muted); margin-top: 8px; max-width: 64ch; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .about-intro { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .support-box { grid-template-columns: 1fr; } }

/* About page: Regulatory & Industry Bodies logos. Logos keep their own colours and
   proportions (scaled down only, never cropped or stretched); each has its own height (--h)
   so different shapes look similar in size. */
.bodies .container { border-top: 1px solid var(--line); padding-top: var(--section); }
.bodies { padding-top: 0; }
.bodies-title { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.bodies-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); align-items: center; justify-items: center; max-width: 920px; margin-inline: auto; }
.bodies-logos li { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 140px; }
.bodies-logos img { width: auto; height: auto; max-height: var(--h); max-width: 100%; }
.bodies-note { margin: clamp(28px, 4vw, 40px) auto 0; max-width: 60ch; text-align: center; font-size: .78rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 700px) {
  .bodies-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; max-width: 420px; }
  .bodies-logos li { min-height: 118px; }
  .bodies-logos img { max-height: calc(var(--h) * .82); }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
.form-card { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-card h2 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.enquiry-form { display: grid; gap: 20px; }
.textarea { min-height: 150px; resize: vertical; }
.field-err { min-height: 0; font-size: .85rem; font-weight: 600; color: #B42318; }
.field-err:empty { display: none; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-note { font-size: .85rem; color: var(--muted); }
.enquiry-done { display: grid; gap: 16px; justify-items: start; }
.enquiry-done:focus { outline: none; }
.enquiry-done .ic-ok { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); color: var(--gold); }
.enquiry-done .ic-ok .ic { width: 28px; height: 28px; }
.contact-side { display: grid; gap: 16px; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px; background: var(--ivory); border-radius: var(--radius); }
.contact-item > .ic { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.contact-item h3 { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-item p, .contact-item address { color: var(--navy); font-weight: 600; }
.contact-item a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold-light); }
.contact-item .phone-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.contact-item .phone-row small { color: var(--muted); font-weight: 500; }
.wa-card { display: grid; gap: 12px; padding: 24px; border: 1px solid var(--whatsapp); border-radius: var(--radius); }
.wa-card p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #AEB6C5; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 72px 56px; }
.footer-col { min-width: 0; }
/* Official logo is black, so it sits on a light panel; inside it, the same treatment as the header. */
.footer-logo-panel { display: inline-flex; max-width: 100%; padding: 12px 20px; background: var(--white); border-radius: var(--radius); }
.footer-logo-panel .header-logo { height: 52px; }
.footer-tag { margin-top: 22px; font: italic 600 1.25rem/1.35 var(--font-display); color: var(--gold-light); max-width: 24ch; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(217,198,163,.35); border-radius: 50%; color: var(--gold-light); }
.social .ic { width: 19px; height: 19px; }
a.social { transition: background-color .2s, color .2s, border-color .2s; }
a.social:hover, a.social:focus-visible { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }
.social.is-empty { opacity: .45; }
.footer-h { margin-bottom: 18px; font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.footer-list { display: grid; gap: 10px; }
.footer-list a, .footer-map { color: #C9D0DC; text-decoration: none; }
.footer-list a:hover, .footer-map:hover { color: var(--gold-light); }
.footer-hours { margin-top: 6px; }
.footer-hours > span:first-child { display: block; font-size: .78rem; color: #8892A5; }
.footer-weekend { display: inline; font-size: .86rem; color: #8892A5; }
.footer-address { line-height: 1.7; }
.footer-map { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--gold-light); }
.footer-map .ic { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); font-size: .82rem; color: #8892A5; }
.footer-bottom a { color: var(--gold-light); }
.legal h2 { margin-top: 36px; }
.legal p, .legal li { color: var(--ink); line-height: 1.7; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal .confirm { background: #FFF1B8; color: #5A4500; padding: 0 4px; border-radius: 3px; }
@media (max-width: 1360px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 40px; } .footer-bottom { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border-radius: 29px;
  background: var(--whatsapp); color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem;
  box-shadow: 0 6px 20px rgba(31,157,85,.35), 0 2px 6px rgba(0,0,0,.12); transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .ic { width: 26px; height: 26px; }
@media (max-width: 640px) { .wa-float { width: 58px; padding: 0; justify-content: center; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
body.nav-open .wa-float { display: none; }
.wa-float.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, visibility 0s .15s; }
.wa-float { transition: transform .2s, box-shadow .2s, opacity .15s; }

/* ---------- About: Our Process & Gallery ----------
   Tile sizes are set by UH.renderGallery (justified rows, components.js).
   --gold-deep keeps white text readable on gold (WCAG AA contrast). */
.gallery { --gold-deep: #86683F; scroll-margin-top: calc(var(--header-h) + 8px); }
.gallery .section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 40px); }
.gallery .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.gal-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: clamp(28px, 4vw, 40px); }
.gal-filter {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 24px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy); font: 600 .92rem/1.2 var(--font-body);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.gal-filter .ic { width: 20px; height: 20px; flex: none; }
.gal-filter:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.gal-filter[aria-pressed="true"] { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); min-width: 120px; justify-content: center; }
.gal-grid { min-height: 160px; }
.gal-row { display: flex; gap: 14px; margin-bottom: 14px; }
.gal-row.is-short { justify-content: center; }
.gal-tile {
  position: relative; flex: none; display: block; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--sand); box-shadow: var(--shadow-sm); transition: box-shadow .25s;
}
.gal-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gal-tile:hover { box-shadow: var(--shadow); }
.gal-tile:hover img { transform: scale(1.03); }
.gal-tile.is-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,26,46,0) 55%, rgba(15,26,46,.35)); pointer-events: none; }
.gal-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%;
  display: grid; place-items: center; border: 2.5px solid var(--white); background: rgba(15,26,46,.35); color: var(--white);
  transition: transform .2s, background .2s;
}
.gal-play svg { width: 28px; height: 28px; margin-left: 3px; fill: currentColor; }
.gal-tile:hover .gal-play { transform: scale(1.06); background: rgba(15,26,46,.5); }
.gal-dur {
  position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 3px 9px; border-radius: 6px;
  background: rgba(15,26,46,.72); color: var(--white); font-size: .8rem; font-weight: 600; letter-spacing: .02em;
}
.gal-more-row { display: flex; justify-content: center; margin-top: clamp(22px, 3vw, 34px); }
.btn-gold { background: var(--gold-deep, #86683F); color: var(--white); min-height: 54px; padding: 14px 32px; }
.btn-gold:hover { background: var(--navy); box-shadow: var(--shadow-sm); }
@media (max-width: 699px) {
  .gal-row { gap: 8px; margin-bottom: 8px; }
  .gal-filters { gap: 8px; }
  .gal-filter { min-height: 42px; padding: 8px 15px; font-size: .84rem; gap: 7px; }
  .gal-filter[aria-pressed="true"] { min-width: 0; }
  .gal-filter .ic { width: 18px; height: 18px; }
  .gal-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-width: 2px; }
  .gal-play svg { width: 20px; height: 20px; margin-left: 2px; }
  .gal-dur { right: 6px; bottom: 6px; padding: 2px 6px; font-size: .72rem; }
  .btn-gold { width: 100%; padding-inline: 18px; }
}

/* viewer (native <dialog>: shows above everything, Esc closes it) */
html.gal-locked { overflow: hidden; }
.gal-lb {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(15,26,46,.95); color: var(--white); overflow: hidden;
}
.gal-lb::backdrop { background: transparent; }
.gal-lb-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px 84px; }
.gal-lb-stage img, .gal-lb-stage video {
  width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px);
  object-fit: contain; border-radius: 6px; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.gal-lb-count { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: .85rem; letter-spacing: .08em; color: rgba(255,255,255,.75); pointer-events: none; }
.gal-lb-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(15,26,46,.55); color: var(--white); cursor: pointer;
}
.gal-lb-btn .ic { width: 24px; height: 24px; }
.gal-lb-btn:hover { background: var(--gold-deep, #86683F); border-color: transparent; }
.gal-lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.gal-lb-prev, .gal-lb-next { top: 50%; margin-top: -24px; }
.gal-lb-prev { left: 18px; }
.gal-lb-next { right: 18px; }
.gal-lb.is-single .gal-lb-prev, .gal-lb.is-single .gal-lb-next, .gal-lb.is-single .gal-lb-count { display: none; }
@media (max-width: 699px) {
  .gal-lb-stage { padding: 64px 10px 84px; }
  .gal-lb-stage img, .gal-lb-stage video { max-height: calc(100vh - 148px); max-height: calc(100dvh - 148px); }
  .gal-lb-prev, .gal-lb-next { top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
  .gal-lb-prev { left: 16px; }
  .gal-lb-next { right: 16px; }
  .gal-lb-count { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* Home "Photo Highlights" (reuses the About gallery styles) */
.home-gallery { padding-bottom: 0; }

/* Keyword landing pages (maid-agency-malaysia, pembantu-rumah-indonesia, yinni-nvyong, elderly-care-maid) */
.kw-lead { margin-top: 16px; color: var(--ink); }
.kw-hero-btns { margin-top: 24px; }
.kw-langs { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.kw-langs a { color: var(--navy); font-weight: 700; }
.kw-steps { counter-reset: kw; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.kw-steps li { counter-increment: kw; position: relative; padding: 26px 22px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.kw-steps li::before { content: counter(kw); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; }
.kw-steps h3 { font: 600 1.3rem/1.2 var(--font-display); }
.kw-steps p { margin-top: 6px; color: var(--muted); font-size: .95rem; }

/* =====================================================================
   2026-11 DESIGN REFRESH
   One type scale (serif for page and section titles only, sans for
   everything else), 4px corners, fewer boxes: needs and trust points are
   open columns divided by hairlines, not cards. Navy for authority, gold
   only as a thin accent, WhatsApp green only on WhatsApp buttons.
   ===================================================================== */
:root { --radius: 4px; --radius-lg: 6px; --header-h: 72px; --section: clamp(72px, 9vw, 120px); }

/* type scale (lining figures: Cormorant's old-style 0 reads as a letter o) */
.display, .h2, .h3, .page-title, .profile-name, .hero-facts dd { font-variant-numeric: lining-nums; }
.display { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.015em; }
.h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.125rem); line-height: 1.7; }
.eyebrow { font-size: .72rem; letter-spacing: .16em; gap: 0; }
.eyebrow::before, .eyebrow::after { display: none; }
.section-head { gap: 14px; }

/* buttons: one height, one radius, quiet hover */
.btn { min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font-weight: 700; font-size: .92rem; }
.btn:hover { transform: none; }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .86rem; }
.btn-gold { background: transparent; color: var(--navy); border-color: var(--navy); min-height: 48px; padding: 12px 22px; }
.btn-gold:hover { background: var(--navy); color: var(--white); box-shadow: none; }
.btn-wa:hover { filter: none; background: #198A4A; box-shadow: none; }
.btn-primary:hover { box-shadow: none; }

/* header */
.header-logo { height: 50px; }
.main-nav ul a { font-size: .9rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: var(--navy); }

/* hero: real photo, one clear promise, the facts that build trust */
.hero { background: var(--ivory); padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero-grid { grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 96px); }
.hero-copy { gap: 24px; }
.hero-copy .lead { max-width: 46ch; }
.hero-copy .btn-row { margin-top: 4px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 18px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { padding-inline: 0 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-facts dd { margin: 4px 0 0; font: 600 1.6rem/1.1 var(--font-display); font-variant-numeric: lining-nums; color: var(--navy); white-space: nowrap; }
.hero-photo { margin: 0; min-width: 0; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg); }
.hero-photo figcaption { margin-top: 12px; font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3.4; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .hero-facts div:nth-child(2n) { border-right: 0; margin-right: 0; padding-right: 0; }
}
@media (max-width: 480px) { .hero-copy .btn-row .btn { flex: 1 1 100%; } }

/* candidate cards: photo first, one main action */
.cand-grid { gap: 28px; }
.cand-card { border-radius: var(--radius-lg); border-color: var(--line); }
.cand-card:hover { transform: none; box-shadow: 0 10px 30px rgba(22, 36, 63, .08); }
.cand-photo-wrap { aspect-ratio: 4 / 4.4; }
.cand-photo { transition: transform .5s ease; }
.cand-card:hover .cand-photo { transform: scale(1.025); }
.cand-body { gap: 12px; padding: 20px; }
.cand-id { font-size: .7rem; }
.cand-name { margin-top: -6px; font: 700 1.12rem/1.25 var(--font-body); letter-spacing: .04em; }
.cand-meta { padding: 12px 0; }
.cand-meta dd { font-size: .92rem; }
.cand-actions { grid-template-columns: 1fr; gap: 6px; }
.cand-view { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 0 0; font-size: .86rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.cand-view .ic { width: 16px; height: 16px; transition: transform .2s; }
.cand-view:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.cand-view:hover .ic { transform: translateX(3px); }

/* phones: side-by-side card (photo left) so six helpers do not take six screens */
@media (max-width: 560px) {
  .cand-grid { gap: 14px; }
  .cand-card { flex-direction: row; }
  .cand-photo-wrap { flex: 0 0 38%; aspect-ratio: auto; min-height: 196px; }
  .cand-body { gap: 8px; padding: 14px 14px 12px; }
  .cand-name { margin-top: -4px; font-size: 1rem; }
  .cand-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 0; }
  .cand-meta dt { font-size: .6rem; }
  .cand-meta dd { font-size: .84rem; }
  .cand-actions .btn { min-height: 40px; }
  .cand-view { padding-top: 4px; }
}

/* household needs: open columns, no boxes */
.needs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; justify-content: stretch; }
.needs li { flex: none; min-width: 0; }
.needs li + li .need { border-left: 1px solid var(--line); }
.need { height: 100%; gap: 10px; padding: 28px 24px 8px; background: transparent; border: 0; border-top: 2px solid var(--line); border-radius: 0; transition: border-color .25s; }
.need:hover { border-color: var(--gold); box-shadow: none; transform: none; }
.needs li + li .need:hover { border-left-color: var(--line); }
.need-icon { width: auto; height: auto; margin: 0 0 6px; border: 0; border-radius: 0; background: none; place-items: start; box-shadow: none; color: var(--gold); }
.need-icon .ic { width: 28px; height: 28px; }
.need-title { font: 700 1.02rem/1.3 var(--font-body); color: var(--navy); }
.need-text { font-size: .9rem; line-height: 1.6; }
.need-link { color: var(--navy); font-size: .84rem; padding-top: 10px; }
@media (max-width: 1000px) {
  .needs { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
  .needs li + li .need { border-left: 0; }
  .need { padding: 24px 20px 16px 0; }
}
@media (max-width: 560px) { .needs { grid-template-columns: 1fr; } .need { padding-right: 0; } }

/* trust points on navy: hairline columns, no boxes */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; border-top: 1px solid rgba(217,198,163,.28); }
.trust-item { flex: none; margin: 0; border: 0; display: block; padding: 32px 24px 8px 0; background: none; }
.trust-item + .trust-item { padding-left: 24px; border-left: 1px solid rgba(217,198,163,.18); }
.trust-icon { width: auto; height: auto; margin-bottom: 16px; border: 0; border-radius: 0; place-items: start; }
.trust-icon .ic { width: 26px; height: 26px; }
.trust-title { font: 700 1.02rem/1.35 var(--font-body); }
.trust-text { font-size: .9rem; line-height: 1.6; }
@media (max-width: 1000px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 28px 20px 8px 0; border-left: 0; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; border-top: 0; }
  .trust-item, .trust-item + .trust-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid rgba(217,198,163,.2); }
  .trust-icon { margin: 0; }
}

/* steps and service list: sans titles at one size */
.step-title, .focus-list h3 { font-size: 1.02rem; }

/* promotion: the poster beside plain text, not as the first thing on the page */
.offer-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.offer-grid > * { min-width: 0; }
.offer-copy { display: grid; gap: 18px; max-width: 520px; }
.offer .hero-frame.has-image { width: min(100%, 400px); margin-inline: 0; box-shadow: 0 18px 44px rgba(22, 36, 63, .12); border-radius: var(--radius-lg); }
.offer .hero-footnote { margin-top: 0; text-align: left; }
@media (max-width: 800px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-visual { order: 2; }
  .offer .hero-frame.has-image { margin-inline: auto; }
}

/* closing call to action: plain navy band */
.cta-band::before { display: none; }

/* footer: logo panel without the credentials line (it is in the bottom bar) */
.footer-logo-panel .header-cred { display: none; }
.footer-logo-panel { padding: 10px 16px; }

/* gentle reveal on scroll (components.js UH.reveal) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* refresh, inner pages: same open-column treatment and one title style */
.approach h3, .kw-steps h3, .values h3 { font: 700 1.02rem/1.35 var(--font-body); color: var(--navy); }
h3, .h3 { font-variant-numeric: lining-nums; }
.kw-steps { gap: 0; }
.kw-steps li { padding: 24px 22px 8px 0; background: none; border: 0; border-top: 2px solid var(--line); border-radius: 0; }
.kw-steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.kw-steps li::before { width: auto; height: auto; margin-bottom: 10px; border-radius: 0; background: none; color: var(--gold); place-items: start; font-size: .8rem; letter-spacing: .1em; }
@media (max-width: 1000px) {
  .kw-steps { grid-template-columns: 1fr; }
  .kw-steps li, .kw-steps li + li { padding: 20px 0 16px; border-left: 0; border-top-width: 1px; }
}
.values { gap: 0; }
.values > li, .values > div { background: none; border: 0; border-top: 2px solid var(--line); border-radius: 0; box-shadow: none; padding: 24px 22px 8px 0; }
.values > li + li, .values > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
@media (max-width: 900px) { .values > li, .values > div, .values > li + li, .values > div + div { padding: 20px 0 12px; border-left: 0; border-top-width: 1px; } }
.support-box { background: none; border: 0; border-block: 1px solid var(--line); border-radius: 0; padding-inline: 0; }
.support-box .ic { width: 40px; height: 40px; }
.gal-filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.gal-filter:hover { box-shadow: none; border-color: var(--navy); }
.value-title { font: 700 1.02rem/1.35 var(--font-body); color: var(--navy); }

/* hero slideshow (components.js UH.heroSlides) */
.hero-slides { position: relative; aspect-ratio: 4 / 4.6; max-width: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 30%; border-radius: 0; opacity: 0; transition: opacity .8s ease; }
.hero-slides img.is-on { opacity: 1; }
.hero-dots { display: flex; gap: 8px; margin-top: 14px; }
.hero-dots button { width: 22px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: var(--line); cursor: pointer; transition: background .3s; }
.hero-dots button[aria-current="true"] { background: var(--navy); }
.hero-dots button::after { content: ""; display: block; height: 24px; margin-top: -11px; }
.hero-photo figcaption { margin-top: 10px; }
@media (max-width: 900px) { .hero-slides { aspect-ratio: 4 / 3.4; } }
@media (prefers-reduced-motion: reduce) { .hero-slides img { transition: opacity .6s ease !important; } }
