/* =========================================================
   Bright Futures Recruitment — site styles
   Palette sampled from the real logo: deep teal wordmark,
   sun yellow, leaf green figure, sky-blue book, cream paper.
   ========================================================= */

:root {
  --cream: #fef8e8;
  --cream-2: #f8efd7;
  --white: #ffffff;
  --ink: #0e2e35;
  --ink-soft: #37565d;
  --muted: #637b81;
  --line: rgba(2, 69, 80, 0.13);
  --line-strong: rgba(2, 69, 80, 0.24);

  --teal: #024550;
  --teal-700: #065866;
  --teal-900: #023139;
  --teal-950: #01252c;

  --sun: #fec82e;
  --sun-deep: #eeae10;
  --sun-soft: #fff0bf;
  --leaf: #8f9d27;
  --leaf-deep: #6b771a;
  --leaf-soft: #eef1d3;
  --sky: #85d4ed;
  --sky-deep: #128fb3;
  --sky-soft: #e3f4fa;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(2, 49, 57, 0.06), 0 4px 12px -6px rgba(2, 49, 57, 0.12);
  --shadow: 0 1px 2px rgba(2, 49, 57, 0.06), 0 18px 40px -18px rgba(2, 49, 57, 0.28);
  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);

  --font-display: "Lexend", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-900);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.35rem, 5vw, 4.1rem); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
strong, b { font-weight: 700; }
::selection { background: var(--sun); color: var(--teal-950); }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-white { background: var(--white); }
.bg-cream2 { background: var(--cream-2); }
.bg-sky { background: var(--sky-soft); }
.bg-teal { background: var(--teal-900); color: #dcebee; }
.bg-teal h2, .bg-teal h3, .bg-teal h4 { color: #fff; }

.ic { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-700); margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 4px rgba(254, 200, 46, 0.28);
}
.bg-teal .eyebrow { color: var(--sun); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; max-width: 40em; }
.bg-teal .lead { color: #c7dde1; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head-row .sec-head { margin-bottom: 0; }
.hl { color: var(--teal-700); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.06em; height: 0.3em;
  background: var(--sun); opacity: 0.55; z-index: -1; border-radius: 4px;
}
.hl { z-index: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; line-height: 1;
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 10px 22px -12px rgba(2, 49, 57, 0.55); }
.btn .ic { transition: transform 0.25s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-sun { --bg: var(--sun); --fg: var(--teal-950); }
.btn-sun:hover { --bg: #ffd24f; }
.btn-teal { --bg: var(--teal); --fg: #fff; }
.btn-teal:hover { --bg: var(--teal-700); }
.btn-ghost { --bg: transparent; --fg: var(--teal); --bd: var(--line-strong); }
.btn-ghost:hover { --bg: var(--white); --bd: var(--teal); }
.btn-light { --bg: #fff; --fg: var(--teal-900); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { --bg: rgba(255, 255, 255, 0.08); --bd: #fff; }
.btn-sm { padding: 11px 18px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.97rem;
  color: var(--teal); text-decoration: none;
}
.link-arrow .ic { transition: transform 0.25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- top bar ---------- */
.topbar { background: var(--teal-950); color: #b9d2d7; font-size: 0.86rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar a { color: #e8f3f5; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-note { white-space: nowrap; }
@media (max-width: 1180px) { .topbar .tb-email { display: none; } }
.topbar a:hover { color: var(--sun); }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar .ic { width: 15px; height: 15px; color: var(--sun); }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(254, 248, 232, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(2, 49, 57, 0.35); }
.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: block; line-height: 0; }
.brand img { height: 92px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .brand img { height: 66px; }

.nav { display: flex; justify-content: center; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav a.nav-link, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  color: var(--teal-900); text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 10px 11px; border-radius: 999px; transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav > ul > li { flex: none; }
@media (max-width: 1240px) { .nav > ul { gap: 0; } .nav a.nav-link, .nav button.nav-link { padding: 10px 9px; font-size: 0.92rem; } }
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav li:focus-within > .nav-link { background: rgba(2, 69, 80, 0.07); }
.nav a.nav-link[aria-current="page"], .nav .is-current > .nav-link { color: var(--teal-700); background: var(--sun-soft); }
.nav .nav-link .ic { width: 15px; height: 15px; transition: transform 0.25s; }
.nav li:hover > .nav-link .ic, .nav li:focus-within > .nav-link .ic { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 6px;
  min-width: 290px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity 0.2s, translate 0.25s var(--ease), visibility 0.2s;
}
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav li:hover > .menu, .nav li:focus-within > .menu { opacity: 1; visibility: visible; translate: -50% 0; }
.menu-wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-size: 0.95rem; line-height: 1.3;
}
.menu a:hover { background: var(--cream); color: var(--teal); }
.menu a .ic { color: var(--sky-deep); width: 18px; height: 18px; }
.menu .menu-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-family: var(--font-display); font-weight: 500; color: var(--teal); }
.menu .count { margin-left: auto; font-size: 0.8rem; color: var(--muted); background: var(--cream); padding: 2px 8px; border-radius: 999px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; color: var(--teal-900); font-size: 0.98rem;
}
.header-phone .ic-wrap {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--sky-deep);
}
.header-phone small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.75rem; color: var(--muted); line-height: 1.1; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: #fff; color: var(--teal-900); cursor: pointer; place-items: center;
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120; background: var(--teal-950); color: #fff;
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); }
.drawer-top img { height: 74px; width: auto; }
.drawer-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer-close .ic { width: 22px; height: 22px; }
.drawer nav { padding: 8px var(--gutter) 24px; }
.drawer nav > a, .drawer summary {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; color: #fff; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; list-style: none;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .ic { width: 22px; height: 22px; color: var(--sun); transition: transform 0.25s; }
.drawer details[open] summary .ic { transform: rotate(180deg); }
.drawer details div { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 12px 0 16px; }
.drawer details div a { color: #cfe3e7; text-decoration: none; font-size: 1rem; padding: 6px 0; }
.drawer-foot { margin-top: auto; padding: 24px var(--gutter) 32px; display: grid; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.drawer-foot a:not(.btn) { color: #e8f3f5; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.drawer-foot .ic { color: var(--sun); }
body.no-scroll { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; z-index: 0;
  background: radial-gradient(circle, rgba(254, 200, 46, 0.42) 0%, rgba(254, 200, 46, 0.12) 38%, transparent 66%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line2 { display: block; color: var(--teal-700); }
.hero .lead { margin-bottom: 30px; }

.job-search {
  background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 8px; max-width: 640px;
}
.job-search label { position: relative; display: block; }
.job-search .ic { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); width: 19px; height: 19px; pointer-events: none; }
.job-search input, .job-search select {
  width: 100%; height: 54px; border: 0; background: var(--cream); border-radius: 14px;
  padding: 0 16px 0 46px; font: inherit; font-size: 1rem; color: var(--ink); appearance: none;
}
.job-search select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23024550' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.job-search input:focus, .job-search select:focus { outline: 2px solid var(--sky-deep); outline-offset: 0; }
.job-search .btn { height: 54px; border-radius: 14px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 0.95rem; color: var(--muted); }
.hero-quick a { color: var(--teal); font-family: var(--font-display); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hero-quick a:hover { text-decoration: underline; }

/* arched photo — echoes the rising sun in the logo */
.hero-visual { position: relative; justify-self: center; width: min(100%, 500px); }
.arch {
  position: relative; overflow: hidden; background: var(--sky-soft);
  border-radius: 50% 50% var(--r-lg) var(--r-lg) / 40% 40% var(--r-lg) var(--r-lg);
  aspect-ratio: 4 / 5;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .arch { box-shadow: 0 40px 80px -40px rgba(2, 49, 57, 0.45); }
.rays { position: absolute; left: 50%; top: -14%; width: 128%; translate: -50% 0; z-index: -1; color: var(--sun); }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 0.92rem; line-height: 1.3;
  border: 1px solid var(--line);
}
.float-card b { font-family: var(--font-display); font-weight: 600; color: var(--teal-900); display: block; font-size: 0.98rem; }
.float-card span { color: var(--muted); }
.float-card .badge-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .badge-ic .ic { width: 22px; height: 22px; }
.float-a { left: -9%; bottom: 16%; }
.float-a .badge-ic { background: var(--leaf-soft); color: var(--leaf-deep); }
.float-b { right: -7%; top: 30%; }
.float-b .badge-ic { background: var(--sun-soft); color: #9a6c00; }

/* ---------- trust strip ---------- */
.trust { background: var(--sky); color: var(--teal-950); position: relative; }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; line-height: 1.3; color: var(--teal-900); }
.trust li b { color: var(--teal-950); font-family: var(--font-display); font-weight: 600; display: block; font-size: 1rem; }
.trust .ic { width: 22px; height: 22px; color: var(--teal); }
.trust li > .ic { box-sizing: content-box; padding: 10px; border-radius: 50%; background: #fff; flex: none; }
.trust li:nth-child(1) > .ic { color: #b07d00; background: var(--sun-soft); }
.trust li:nth-child(3) > .ic { color: var(--leaf-deep); background: var(--leaf-soft); }

/* ---------- two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.path {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
  text-decoration: none;
}
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 37, 44, 0) 8%, rgba(1, 37, 44, 0.6) 42%, rgba(1, 37, 44, 0.94) 78%); }
.path:hover img { transform: scale(1.04); }
.path-body { padding: clamp(24px, 3vw, 40px); }
.path .tag { display: inline-block; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--teal-950); margin-bottom: 16px; }
.path.for-schools .tag { background: var(--sky); }
.path h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.path p { color: #d9e9ec; max-width: 30em; }
.path ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.path li { font-size: 0.86rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2); }
.path .link-arrow { color: #fff; }

/* ---------- job cards ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-card {
  position: relative; background: #fff; border-radius: var(--r); border: 1px solid var(--line);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.job-card h3 { margin: 0; font-size: 1.2rem; }
.job-card h3 a { color: var(--teal-900); text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.55; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cat, .tag-type {
  font-family: var(--font-display); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.02em;
  padding: 5px 11px; border-radius: 999px; line-height: 1.2;
}
.tag-cat { background: var(--sky-soft); color: #0b6b88; }
.tag-cat[data-group="specialist"] { background: var(--leaf-soft); color: var(--leaf-deep); }
.tag-cat[data-group="care"] { background: var(--sun-soft); color: #8a5f00; }
.tag-type { background: var(--cream); color: var(--ink-soft); border: 1px solid var(--line); }
.job-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 0.93rem; color: var(--ink-soft); }
.job-meta li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.job-meta .ic { width: 17px; height: 17px; color: var(--sky-deep); margin-top: 1px; }
.job-card .card-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: flex; align-items: center; justify-content: space-between; }
.job-card .card-foot .link-arrow { font-size: 0.92rem; }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background-color 0.3s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--ink); }
.cat-tile .cat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-deep); }
.cat-tile[data-group="specialist"] .cat-ic { background: var(--leaf-soft); color: var(--leaf-deep); }
.cat-tile[data-group="care"] .cat-ic { background: var(--sun-soft); color: #8a5f00; }
.cat-tile .cat-ic .ic { width: 23px; height: 23px; }
.cat-tile h3 { font-size: 1.04rem; margin: 0; }
.cat-tile p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.45; }
.cat-tile .count { margin-top: auto; font-family: var(--font-display); font-size: 0.84rem; font-weight: 500; color: var(--teal-700); }

/* ---------- safeguarding band ---------- */
.safe { position: relative; overflow: hidden; }
.safe::before {
  content: ""; position: absolute; width: 760px; height: 760px; left: -280px; bottom: -420px;
  background: radial-gradient(circle, rgba(254, 200, 46, 0.18), transparent 62%);
}
.safe .wrap { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-grid li {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #e3eff1; line-height: 1.4; font-size: 0.97rem;
}
.check-grid .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sun); color: var(--teal-950); }
.check-grid .tick .ic { width: 15px; height: 15px; stroke-width: 3; }
.safe-note { display: flex; gap: 14px; align-items: center; margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: rgba(133, 212, 237, 0.12); border: 1px solid rgba(133, 212, 237, 0.3); color: #dff2f8; }
.safe-note .ic { width: 28px; height: 28px; color: var(--sky); }

/* light variant of the checklist (on cream/white) */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.check-list .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--leaf-soft); color: var(--leaf-deep); margin-top: 1px; }
.check-list .tick .ic { width: 14px; height: 14px; stroke-width: 3; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; border-top: 2px dashed var(--line-strong); }
.steps li { position: relative; counter-increment: step; text-align: center; padding: 0 8px; }
.steps .num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--sun); color: var(--teal-950); font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  box-shadow: 0 0 0 8px var(--cream); position: relative;
}
.bg-white .steps .num { box-shadow: 0 0 0 8px #fff; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { font-size: 0.96rem; color: var(--ink-soft); margin: 0; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split-media .arch { aspect-ratio: 4 / 4.6; }
.split-media .stamp {
  position: absolute; right: -14px; bottom: -18px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--sun); color: var(--teal-950); display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); line-height: 1.1; box-shadow: var(--shadow); padding: 14px;
}
.split-media .stamp b { display: block; font-size: 2.3rem; font-weight: 600; letter-spacing: -0.03em; }
.split-media .stamp span { font-size: 0.78rem; font-weight: 500; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.review-score { background: var(--teal-900); color: #fff; border-radius: var(--r-lg); padding: 34px; position: relative; overflow: hidden; }
.review-score::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(254,200,46,.35), transparent 65%); }
.review-score .big { font-family: var(--font-display); font-weight: 600; font-size: 3.6rem; line-height: 1; color: var(--sun); letter-spacing: -0.03em; }
.review-score p { color: #cfe3e7; margin: 10px 0 22px; }
.stars { display: flex; gap: 3px; color: var(--sun); }
.stars .ic { width: 20px; height: 20px; }
.review-list { display: grid; gap: 18px; }
.review {
  background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 28px 28px 24px; margin: 0; position: relative;
}
.review .q { position: absolute; right: 24px; top: 20px; color: var(--sun); opacity: 0.6; }
.review .q .ic { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0 0 16px; font-size: 1.12rem; line-height: 1.55; color: var(--ink); max-width: 36em; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--muted); }
.review figcaption b { color: var(--teal-900); font-family: var(--font-display); font-weight: 500; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-deep); font-family: var(--font-display); font-weight: 600; }

/* ---------- areas ---------- */
.areas { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.area-chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.95rem; display: inline-flex; gap: 8px; align-items: center; }
.area-chips li .ic { width: 15px; height: 15px; color: var(--sky-deep); }
.area-chips li.wide { background: var(--teal-900); color: #fff; border-color: transparent; }
.area-chips li.wide .ic { color: var(--sun); }

/* ---------- resource cards ---------- */
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.res-card {
  background: #fff; border-radius: var(--r); padding: 26px 22px; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--ink); }
.res-card .res-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-soft); color: #8a5f00; }
.res-card .res-ic .ic { width: 22px; height: 22px; }
.res-card h3 { font-size: 1.08rem; margin: 6px 0 0; }
.res-card p { font-size: 0.93rem; color: var(--muted); margin: 0; }
.res-card .link-arrow { margin-top: auto; padding-top: 8px; font-size: 0.9rem; }

/* ---------- blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card time { font-size: 0.85rem; color: var(--muted); }
.post-card h3 { font-size: 1.16rem; margin: 0; }
.post-card h3 a { color: var(--teal-900); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- CTA band (bright sun yellow, like the logo's sun) ---------- */
.cta-band { background: var(--sun); color: var(--teal-950); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -200px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 62%); z-index: -1; }
.cta-band::after { content: ""; position: absolute; left: -80px; bottom: -140px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(133, 212, 237, 0.75), rgba(133, 212, 237, 0) 64%); z-index: -1; }
.cta-band h2 { color: var(--teal-950); margin-bottom: 10px; }
.cta-band p { color: var(--teal-900); margin: 0; max-width: 36em; }
.cta-band p a { color: var(--teal-950) !important; font-weight: 700; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .btn-sun { --bg: var(--teal); --fg: #fff; }
.cta-band .btn-sun:hover { --bg: var(--teal-700); }
.cta-band .btn-outline-light, .btn-ghost-dark { --bg: transparent; --fg: var(--teal-950); --bd: rgba(2, 49, 57, 0.45); }
.cta-band .btn-outline-light:hover, .btn-ghost-dark:hover { --bg: rgba(255, 255, 255, 0.45); --bd: var(--teal-950); }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-950); color: #a9c4ca; font-size: 0.95rem; margin-top: var(--section); }
.site-footer.flush { margin-top: 0; }
.foot-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr; gap: 36px; padding: clamp(56px, 7vw, 88px) 0 48px; }
.foot-brand img { height: 128px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 24em; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #d6e7ea; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { color: var(--sun); width: 17px; height: 17px; margin-top: 4px; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.2); }
.foot-social a:hover { background: var(--sun); color: var(--teal-950); border-color: var(--sun); }
.foot-social .ic { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 22px 0 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; color: #86a5ac; }
.foot-bottom a { color: #b9d2d7; }
.foot-bottom .credit b { color: var(--sun); font-weight: 500; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 84px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -380px;
  background: radial-gradient(circle, rgba(254, 200, 46, 0.36), transparent 64%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero.has-media .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.page-hero .arch { aspect-ratio: 5 / 4.6; border-radius: 50% 50% var(--r-lg) var(--r-lg) / 46% 46% var(--r-lg) var(--r-lg); max-width: 520px; justify-self: end; width: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line-strong); }
.crumbs a { color: var(--teal-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- prose ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul li { margin-bottom: 0.35em; }
.prose ul li::marker { color: var(--sky-deep); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; background: var(--sun-soft); border-radius: 0 14px 14px 0; border-left: 4px solid var(--sun); }
.prose img { border-radius: var(--r); margin: 1.4em 0; }

/* ---------- cards & info blocks ---------- */
.card { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); }
.card h3 { margin-bottom: 10px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: 1fr 1fr; }
.icon-card .card-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-deep); margin-bottom: 18px; }
.icon-card .card-ic .ic { width: 25px; height: 25px; }
.icon-card.sun .card-ic { background: var(--sun-soft); color: #8a5f00; }
.icon-card.leaf .card-ic { background: var(--leaf-soft); color: var(--leaf-deep); }
.icon-card p:last-child { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { border-left: 3px solid var(--sun); padding: 4px 0 4px 18px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--teal-900); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* ---------- jobs board ---------- */
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.board-count { font-family: var(--font-display); font-weight: 500; color: var(--teal-900); }
.filters { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 18px; margin-bottom: 26px; display: grid; gap: 16px; position: sticky; top: 96px; z-index: 5; box-shadow: var(--shadow-sm); }
.filter-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 10px; }
.filters input, .filters select {
  height: 50px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--cream); padding: 0 14px; font: inherit; font-size: 0.98rem; color: var(--ink); width: 100%;
}
.filters select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23024550' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
.filters .search-field { position: relative; }
.filters .search-field input { padding-left: 42px; }
.filters .search-field .ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); width: 18px; height: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-family: var(--font-display); font-weight: 500; font-size: 0.88rem; padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--teal-900); cursor: pointer; transition: all 0.2s;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip .n { opacity: 0.6; margin-left: 4px; font-weight: 400; }
.btn-reset { background: none; border: 0; color: var(--teal-700); font: inherit; font-family: var(--font-display); font-weight: 500; cursor: pointer; padding: 0 8px; white-space: nowrap; }
.btn-reset:hover { text-decoration: underline; }
.no-results { display: none; text-align: center; padding: 56px 20px; background: #fff; border-radius: var(--r); border: 1px dashed var(--line-strong); }
.no-results.show { display: block; }
.job-card[hidden] { display: none; }

/* ---------- job detail ---------- */
.job-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.job-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -360px; background: radial-gradient(circle, rgba(254, 200, 46, 0.34), transparent 64%); }
.job-hero .wrap { position: relative; }
.job-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 18em; }
.job-facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.job-facts li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: 0.93rem; }
.job-facts .ic { width: 16px; height: 16px; color: var(--sky-deep); }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.job-content section { padding-bottom: 8px; }
.job-content h2 { font-size: 1.5rem; margin: 1.4em 0 0.6em; padding-top: 0.2em; }
.job-content section:first-child h2 { margin-top: 0; }
.job-content h3 { font-size: 1.05rem; margin: 1.2em 0 0.5em; color: var(--teal-700); }
.job-content ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.job-content ul li { position: relative; padding-left: 28px; line-height: 1.55; }
.job-content ul li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--sun-soft); }
.job-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.apply-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow-sm); }
.apply-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.apply-card > p { color: var(--muted); font-size: 0.95rem; }
.side-card { background: var(--teal-900); color: #d4e6e9; border-radius: var(--r-lg); padding: 26px; }
.side-card h3 { color: #fff; font-size: 1.1rem; }
.side-card a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.side-card a:hover { color: var(--sun); }
.side-card .ic { color: var(--sun); }
.safeguard-note { margin-top: 28px; padding: 20px 22px; border-radius: var(--r); background: var(--leaf-soft); display: flex; gap: 14px; align-items: flex-start; font-size: 0.95rem; color: #3d4510; }
.safeguard-note .ic { width: 26px; height: 26px; color: var(--leaf-deep); flex: none; }
.related { margin-top: 12px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--teal-900); }
.field label .opt { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); background: var(--cream); border-radius: 12px; padding: 13px 14px;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-deep); background: #fff; box-shadow: 0 0 0 4px rgba(18, 143, 179, 0.14); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23024550' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.file-drop { position: relative; border: 1.5px dashed var(--line-strong); border-radius: 14px; background: var(--cream); padding: 18px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.file-drop:hover, .file-drop.drag { border-color: var(--sky-deep); background: var(--sky-soft); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .ic-wrap { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--sky-deep); flex: none; }
.file-drop b { display: block; font-family: var(--font-display); font-weight: 500; color: var(--teal-900); font-size: 0.95rem; }
.file-drop span { font-size: 0.85rem; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.hidden-field { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.contact-list .c-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sun-soft); color: #8a5f00; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: 0.85rem; }
.contact-list a, .contact-list strong { font-family: var(--font-display); font-weight: 500; color: var(--teal-900); text-decoration: none; font-size: 1.05rem; word-break: break-word; }
.contact-list a:hover { color: var(--teal-700); text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-family: var(--font-display); font-weight: 500; color: var(--teal-900); }
.hours tr.today td { color: var(--teal-700); }

/* ---------- tables (pay scales) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.pay-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.98rem; }
.pay-table th, .pay-table td { padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pay-table th:first-child, .pay-table td:first-child { text-align: left; }
.pay-table thead th { background: var(--teal-900); color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; }
.pay-table tbody tr:nth-child(even) { background: var(--cream); }
.pay-table tbody td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--teal-900); }
.pay-table tr.band td { background: var(--sun-soft); font-family: var(--font-display); font-weight: 500; color: var(--teal-900); text-align: left; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.table-note { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: box-shadow 0.25s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; color: var(--teal-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; border-radius: 50%; background: var(--sun-soft); display: grid; place-items: center; flex: none; transition: transform 0.3s var(--ease), background-color 0.3s; }
.faq summary .plus .ic { width: 16px; height: 16px; color: var(--teal-900); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--sun); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .answer ul { margin-top: 8px; }

/* ---------- anchor nav (resources) ---------- */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.anchor-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; color: var(--teal-900); }
.anchor-nav a:hover { border-color: var(--teal); }
.anchor-nav .ic { width: 16px; height: 16px; color: var(--sky-deep); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.link-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.link-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.link-list b { font-family: var(--font-display); font-weight: 500; color: var(--teal-900); display: flex; align-items: center; gap: 8px; }
.link-list b .ic { width: 15px; height: 15px; color: var(--sky-deep); }
.link-list span { font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); background: var(--sun-soft); border: 1px solid rgba(238, 174, 16, 0.35); }
.callout .ic { width: 26px; height: 26px; color: #9a6c00; flex: none; margin-top: 2px; }
.callout p:last-child { margin: 0; }

/* ---------- post page ---------- */
.post-hero img { border-radius: var(--r-lg); aspect-ratio: 21 / 9; object-fit: cover; width: 100%; margin-top: 32px; }
.post-meta { color: var(--muted); font-size: 0.95rem; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- colour accents (all four logo colours) ---------- */
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -300px; z-index: 0;
  background: radial-gradient(circle, rgba(133, 212, 237, 0.42) 0%, rgba(133, 212, 237, 0.1) 42%, transparent 66%);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -240px; bottom: -330px;
  background: radial-gradient(circle, rgba(133, 212, 237, 0.38), transparent 64%); pointer-events: none;
}
.steps li:nth-child(2) .num { background: var(--sky); }
.steps li:nth-child(3) .num { background: #b9c75a; }
.steps li:nth-child(4) .num { background: var(--teal); color: #fff; }
.cat-tile { border-top: 4px solid transparent; }
.cat-tile:nth-child(4n+1) { border-top-color: var(--sun); }
.cat-tile:nth-child(4n+2) { border-top-color: var(--sky); }
.cat-tile:nth-child(4n+3) { border-top-color: var(--leaf); }
.cat-tile:nth-child(4n+4) { border-top-color: var(--teal); }
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--sun) 0 25%, var(--leaf) 25% 50%, var(--sky) 50% 75%, var(--sky-deep) 75% 100%);
}
.res-card:nth-child(2) .res-ic { background: var(--sky-soft); color: var(--sky-deep); }
.res-card:nth-child(3) .res-ic { background: var(--leaf-soft); color: var(--leaf-deep); }
.res-card:nth-child(4) .res-ic { background: #dbe9ec; color: var(--teal); }

/* ---------- testimonials page ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.testimonial-grid .review { height: 100%; }
.testimonial-cta { background: var(--sky-soft); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.testimonial-cta h3 { margin: 0; }
.testimonial-cta p { margin: 0 0 6px; color: var(--ink-soft); }
.testimonial-cta .t-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1877f2; }
.testimonial-cta .t-ic .ic { width: 22px; height: 22px; }

/* ---------- misc ---------- */
.closed-note { margin-top: 22px; display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #fde8e4; color: #7a2617; border: 1px solid #f4c3b8; max-width: 720px; }
.closed-note[hidden] { display: none; }
.closed-note .ic { width: 22px; height: 22px; flex: none; }
.closed-note a { color: #7a2617; font-weight: 700; }
.job-content > section > h2:first-child { margin-top: 0; }
.job-hero-cta { margin-top: 24px; }
/* sticky "Apply" bar on phones and tablets, where the apply form sits below the description */
.apply-bar { display: none; }
@media (max-width: 1080px) {
  .apply-bar {
    display: flex; gap: 10px; align-items: center; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(2, 49, 57, 0.4); transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .apply-bar.show { transform: none; }
  body:has(.apply-bar) .foot-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .apply-bar .btn { flex: 1; height: 50px; }
  .apply-bar-call { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sky-soft); color: var(--sky-deep); }
  .apply-bar-call .ic { width: 22px; height: 22px; }
}
.menu .menu-all { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.menu .menu-all a { padding: 8px 10px; }
@media (max-width: 1320px) { .header-phone .num { display: none; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; display: flex; gap: 28px; align-items: center; }
  .foot-brand img { margin-bottom: 0; }
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .trust li:nth-child(n+4) { display: none; }
}
@media (max-width: 1080px) {
  .nav, .header-phone small { display: none; }
  .nav-toggle { display: grid; }
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .header-actions { justify-content: flex-end; }
  .brand img { height: 76px; }
  .site-header.scrolled .brand img { height: 60px; }
  .job-grid, .post-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .job-layout { grid-template-columns: 1fr; }
  .job-side { position: static; }
  .filters { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .topbar-note { display: none; }
  .topbar .wrap { justify-content: center; }
  .hero .wrap, .page-hero.has-media .wrap, .safe .wrap, .split, .reviews, .areas, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-visual { width: min(88%, 420px); margin-top: 18px; }
  .page-hero .arch { justify-self: start; max-width: 460px; }
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 400px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .filter-row .search-field { grid-column: 1 / -1; }
  .filter-row .btn-reset { grid-column: 1 / -1; justify-self: start; padding: 2px 0; }
  .link-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 1.02rem; }
  /* phones: 16px+ form text so iOS Safari doesn't zoom in when a field is tapped */
  .filters input, .filters select, .job-search input, .job-search select,
  .field input, .field select, .field textarea { font-size: 16px; }
  /* comfortable tap targets (aim for 44px) */
  .topbar a { padding: 10px 6px; }
  .hero-quick a, .link-arrow, .filter-row .btn-reset { padding-top: 11px; padding-bottom: 11px; }
  .header-phone .ic-wrap, .nav-toggle { width: 44px; height: 44px; }
  .chip { padding: 12px 16px; }
  .site-footer ul { gap: 2px; }
  .site-footer ul a, .foot-legal a { display: inline-block; padding: 9px 0; }
  .side-card a { padding: 11px 0; }
  .contact-list a { display: inline-block; padding: 6px 0; }
  .consent input { width: 22px; height: 22px; margin-top: 0; }
  /* slightly larger small labels on phones */
  .eyebrow { font-size: 0.82rem; letter-spacing: 0.12em; }
  .tag-cat, .tag-type { font-size: 0.82rem; padding: 6px 12px; }
  .post-card time, .table-note { font-size: 0.9rem; }
  .topbar-links .tb-email, .topbar-links .tb-fb { display: none; }
  .header-phone span.num { display: none; }
  .header-actions .btn { display: none; }
  .brand img { height: 66px; }
  .site-header.scrolled .brand img { height: 54px; }
  .job-search { grid-template-columns: 1fr; }
  .job-grid, .post-grid, .res-grid, .card-grid, .card-grid.two, .cat-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-tile { padding: 18px 16px; }
  .cat-tile p { display: none; }
  .check-grid, .check-list.cols-2 { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr; gap: 14px; }
  .trust li:nth-child(n+4) { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-a { left: -4%; bottom: 8%; }
  .float-b { right: -4%; top: 12%; }
  .float-card { padding: 10px 12px; font-size: 0.82rem; }
  .float-card .badge-ic { width: 34px; height: 34px; }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-contact-col { grid-column: 1 / -1; }
  .split-media .stamp { width: 108px; height: 108px; right: 8px; }
  .split-media .stamp b { font-size: 1.9rem; }
  .filter-row { grid-template-columns: 1fr; }
  .drawer details div { grid-template-columns: 1fr; }
  .review { padding: 24px 22px 20px; }
}
