/* =====================================================================
   Divine Recruitment — Global Recruitment & Workforce Solutions
   Stage 1: Header / Navigation + Homepage Hero
   --------------------------------------------------------------------
   Brand palette — signature edition
   Deep Green  #173E34   (primary)
   Green 2     #2F6955   (hover / secondary)
   Gold        #C49A57   (accent)
   Cream       #F8F6F0   (section backgrounds)
   Ink         #202D28   (typography)
   Muted       #68756E   (secondary text)
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  /* The palette the client approved: deep green, gold, cream. The old
     token names are kept and remapped, so every screen built in stages
     1-15 — portals, dashboards, job pages — picks up the new look
     without its CSS being rewritten. */
  --green: #173E34;
  --green-2: #2F6955;
  /* Aliases: the client's stylesheet names these without the hyphen. */
  --green2: #2F6955;
  --muted: #68756E;
  --green-deep: #142C26;
  --gold: #C49A57;
  --cream: #F8F6F0;
  --ink: #202D28;

  --sage: #173E34;
  --sage-dark: #142C26;
  --sage-deep: #2F6955;
  --sage-tint: #E9F0E8;
  --brown: #C49A57;
  --charcoal: #202D28;
  --greige: #68756E;
  --grey: #DCE3DD;

  --bg: #F8F6F0;
  --white: #FFFFFF;
  --text: #202D28;
  --text-muted: #68756E;
  --line: #E6E8E2;

  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(42, 36, 32, .06);
  --shadow-md: 0 14px 34px -18px rgba(42, 36, 32, .30);
  --shadow-lg: 0 40px 80px -40px rgba(42, 36, 32, .38);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.divine {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, p, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--charcoal);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sage {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--sage:hover { background: var(--sage-dark); border-color: var(--sage-dark); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  border-color: #CFCEC8;
  color: var(--charcoal);
}
.btn--outline:hover { border-color: var(--charcoal); background: rgba(42, 36, 32, .04); }

.btn--sm { padding: 11px 20px; font-size: 14px; }

.btn--block { width: 100%; }

/* ---------- 4. Header ------------------------------------------------ */
.topbar {
  background: var(--charcoal);
  color: rgba(255, 255, 255, .80);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}
.topbar__tag {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--greige);
}
.topbar__tag b { color: #fff; font-weight: 600; }

.topbar__access {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
}
.topbar__access li { position: relative; }
.topbar__access li + li::before {
  content: "";
  position: absolute;
  left: -11px; top: 50%;
  width: 1px; height: 13px;
  margin-top: -6.5px;
  background: rgba(255, 255, 255, .22);
}
.topbar__access a {
  display: inline-block;
  padding: 11px 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .88);
  transition: color .25s var(--ease);
}
.topbar__access a::after {
  content: "";
  display: block;
  height: 1.5px;
  margin-top: 3px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.topbar__access a:hover { color: #fff; }
.topbar__access a:hover::after { transform: scaleX(1); }
.topbar__access a:focus-visible { outline-color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 10px 30px -22px rgba(42, 36, 32, .45);
  border-bottom-color: transparent;
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  padding: 6px 0;
}
.brand__mark {
  width: auto;
  height: 42px;
  transition: transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: translateY(-2px); }

/* Used when a logo is set in Appearance → Customize → Site Identity */
.brand__custom { width: auto; height: 52px; }

.brand__text { display: flex; flex-direction: column; gap: 3px; }

.brand__name {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}
.brand__sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--greige);
  line-height: 1;
  white-space: nowrap;
}

/* Primary navigation */
.primary-nav { margin-left: auto; }

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%;
  height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.primary-nav a:hover,
.primary-nav .is-current > a,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--charcoal); }
.primary-nav a:hover::after,
.primary-nav .is-current > a::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after { transform: scaleX(1); }
.primary-nav .is-current > a,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { font-weight: 600; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 20px; height: 12px; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: var(--charcoal);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 5. Mobile panel ------------------------------------------ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav__scrim {
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 32, .45);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.mobile-nav__panel {
  position: relative;
  width: min(400px, 88vw);
  height: 100%;
  background: var(--white);
  padding: calc(var(--header-h) + 26px) 30px 36px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav.is-open .mobile-nav__scrim { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__list { border-top: 1px solid var(--line); }
.mobile-nav__list a {
  display: block;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.mobile-nav__list a:hover { color: var(--sage); padding-left: 6px; }

.mobile-nav__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.mobile-nav__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 4px;
}

body.nav-open { overflow: hidden; }

/* ---------- 6. Hero -------------------------------------------------- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 86px) clamp(56px, 7vw, 92px);
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 620px; height: 620px;
  border: 1px solid rgba(172, 171, 158, .32);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

/* Copy block */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
}
.hero__eyebrow::before {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--brown);
  flex: 0 0 auto;
}

.hero__title {
  font-size: clamp(2.3rem, 4.4vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--charcoal);
  max-width: 15ch;
}
.hero__title em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--sage);
}

.hero__lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  color: var(--text-muted);
}

/* Search bar */
.job-search {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 620px;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.job-search:focus-within { border-color: var(--sage); box-shadow: var(--shadow-lg); }

.job-search__field {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 16px;
}
.job-search__field + .job-search__field { border-left: 1px solid var(--line); }

.job-search__field label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 3px;
}
.job-search__field input {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--charcoal);
}
.job-search__field input::placeholder { color: #A9A69D; }
.job-search__field input:focus { outline: none; }

.job-search .btn { flex: 0 0 auto; }

/* CTA row */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* Industry strip */
.hero__industries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-muted);
}
.hero__industries dt {
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--charcoal);
}
.hero__industries dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.hero__industries dd span { position: relative; }
.hero__industries dd span + span::before {
  content: "";
  position: absolute;
  left: -9px; top: 50%;
  width: 3px; height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: var(--greige);
}

/* Media composition */
.hero__media { position: relative; }

.hero__frame {
  position: absolute;
  top: -22px; right: -22px;
  width: 58%; height: 58%;
  border: 1px solid var(--greige);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

/* ----------------------------------------------------------------------
   HERO PHOTOGRAPH
   Drop the picture at  assets/img/hero.jpg  and un-comment the rule below.
   The sage brand panel underneath is the fallback until then.
   ----------------------------------------------------------------------
.hero__photo {
  --hero-image: url("../img/hero.jpg");
  --hero-watermark: none;
}
   ------------------------------------------------------------------- */
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 4.35;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--sage);
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
/* Brand watermark + fine texture, shown until a photograph is supplied */
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-watermark, url("../img/divine-mark-light.png"));
  background-repeat: no-repeat;
  background-position: 56% 42%;
  background-size: auto 74%;
  opacity: .17;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .055) 0 1px, rgba(255, 255, 255, 0) 1px 15px),
    linear-gradient(190deg, rgba(42, 36, 32, 0) 40%, rgba(42, 36, 32, .50) 100%);
}
.hero__photo.has-image::before { display: none; }

.hero__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 26px 28px;
  color: #fff;
}
.hero__caption strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
}
.hero__caption span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.hero__badge {
  position: absolute;
  left: -34px; top: 46px;
  z-index: 3;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.hero__badge::before {
  content: "";
  width: 3px;
  align-self: stretch;
  background: var(--brown);
  border-radius: 2px;
}
.hero__badge p { font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.hero__badge b { display: block; color: var(--charcoal); font-size: 14px; }

/* ---------- 7. Motion ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease) forwards; }
.reveal--1 { animation-delay: .05s; }
.reveal--2 { animation-delay: .15s; }
.reveal--3 { animation-delay: .25s; }
.reveal--4 { animation-delay: .35s; }
.reveal--5 { animation-delay: .45s; }
.reveal--6 { animation-delay: .55s; }

@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- 8. Responsive -------------------------------------------- */
@media (max-width: 1420px) {
  .primary-nav > ul { gap: 20px; }
  .primary-nav a { font-size: 14px; }
}

@media (max-width: 1149px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  :root { --header-h: 76px; }
}

@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__title { max-width: 18ch; }
  .hero__media { max-width: 520px; }
  .hero__photo { aspect-ratio: 4 / 3.2; }
  .hero__badge { left: auto; right: 16px; top: -26px; }
  .hero__frame { display: none; }
  .hero::before { width: 340px; height: 340px; top: -150px; right: -170px; }
}

@media (max-width: 719px) {
  .topbar { display: none; }
  .brand__mark { height: 36px; }
  .brand__name { font-size: 17px; letter-spacing: .12em; }
  .brand__sub { font-size: 8.5px; letter-spacing: .16em; }

  .job-search { flex-direction: column; padding: 10px; gap: 2px; }
  .job-search__field { padding: 10px 12px; }
  .job-search__field + .job-search__field {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .job-search .btn { width: 100%; margin-top: 8px; padding-block: 14px; }

  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { position: static; max-width: none; margin-top: 18px; }
  .hero__frame { display: none; }
  .hero__photo { aspect-ratio: 4 / 3.4; }
}

@media (max-width: 400px) {
  .brand__sub { display: none; }
}

/* =====================================================================
   STAGE 2 — Homepage sections below the hero
   Appended as its own block so the approved header/hero rules above
   stay untouched. Same tokens, same button system.
   ===================================================================== */

/* ---------- 9. Section shell ----------------------------------------- */
.section { padding-block: clamp(62px, 7.5vw, 108px); }

.section--tint { background: var(--bg); }
.section--sage { background: var(--sage-tint); }
.section--dark { background: var(--charcoal); }
.section--cta  { background: var(--sage); }

.section__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
.section__eyebrow::before {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--brown);
  flex: 0 0 auto;
}

.section__title {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--charcoal);
  max-width: 20ch;
}

.section__lead {
  margin-top: 18px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: var(--text-muted);
}

.section__head { margin-bottom: clamp(36px, 4.5vw, 58px); }

.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.section__head--split .section__lead { margin-top: 0; }

/* Dark section typography */
.section--dark .section__title { color: #fff; }
.section--dark .section__lead { color: rgba(255, 255, 255, .72); }
.section--dark .section__eyebrow { color: #9CB79A; }

/* ---------- 10. Icons ------------------------------------------------ */
.icon {
  width: 22px; height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 11. Extra button variants -------------------------------- */
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--sage-deep);
}
.btn--light:hover { background: #EFF2EE; border-color: #EFF2EE; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .10); }

.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

/* ---------- 12. Brand introduction ----------------------------------- */
.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.intro__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(1.85rem, 3.3vw, 2.95rem);
  line-height: 1.14;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--charcoal);
}
.intro__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--sage);
}

.intro__aside {
  padding-left: clamp(0px, 2.4vw, 30px);
  border-left: 1px solid var(--line);
}
.intro__lead {
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: var(--text-muted);
}
.intro__note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--brown);
}

/* ---------- 13. Two-column sections ---------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}
.split--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}

.split__intro .btn { margin-top: 30px; }

/* Employers — hairline service list */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 44px);
  border-top: 1px solid var(--line);
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
}
.service-list__mark { color: var(--sage); transition: transform .3s var(--ease); }
.service-list li:hover .service-list__mark { transform: translateX(4px); }

/* Candidates — icon tiles */
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.candidate-grid__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 132px;
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid rgba(86, 114, 87, .16);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--charcoal);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.candidate-grid__item .icon { color: var(--sage); }
.candidate-grid__item:hover {
  border-color: var(--sage);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- 14. Industries ------------------------------------------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 18px;
}
.industry-card {
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.industry-card:hover {
  border-color: rgba(86, 114, 87, .55);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.industry-card__icon {
  width: 26px; height: 26px;
  color: var(--sage);
  margin-bottom: 18px;
}
.industry-card__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.industry-card__text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- 15. Global opportunities --------------------------------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.country-card {
  position: relative;
  display: block;
  padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.country-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--sage);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}
.country-card:hover {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .045);
}
.country-card:hover::before { transform: scaleY(1); }

.country-card__pin {
  position: absolute;
  top: 24px; right: 22px;
  color: rgba(255, 255, 255, .26);
  transition: color .3s var(--ease);
}
.country-card:hover .country-card__pin { color: #9CB79A; }

.country-card__region {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
}
.country-card__name {
  display: block;
  margin-top: 9px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #fff;
}
.country-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #9CB79A;
}
.country-card__cta .icon { transition: transform .3s var(--ease); }
.country-card:hover .country-card__cta .icon { transform: translateX(4px); }

.country-grid__note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--greige);
}

/* ---------- 16. Closing call to action ------------------------------- */
.section--cta { position: relative; overflow: hidden; }
.section--cta::before {
  content: "";
  position: absolute;
  top: 50%; right: -70px;
  width: 360px; height: 360px;
  margin-top: -180px;
  background: url("../img/divine-mark-light.png") no-repeat center / contain;
  opacity: .07;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.cta__title {
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 700;
  color: #fff;
}
.cta__lead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: rgba(255, 255, 255, .86);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- 17. Scroll reveal ---------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ---------- 18. Section responsiveness ------------------------------- */
@media (max-width: 1023px) {
  .intro__inner,
  .split,
  .split--reverse { grid-template-columns: 1fr; }

  .intro__aside { padding-left: 0; border-left: 0; padding-top: 4px; }
  .split--reverse .split__intro { order: -1; }
  .section__head--split { grid-template-columns: 1fr; align-items: start; }
  .section__title { max-width: 24ch; }
  .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
  .service-list { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr; }
  .candidate-grid { gap: 10px; }
  .candidate-grid__item { min-height: 112px; padding: 18px 16px; font-size: 13.5px; }
  .industry-grid { grid-template-columns: 1fr; gap: 12px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .section--cta::before { width: 240px; height: 240px; right: -90px; margin-top: -120px; }
}

/* =====================================================================
   STAGE 3 — Global site footer
   Appended below the stage 1 and stage 2 blocks; nothing above is changed.
   ===================================================================== */

/* ---------- 19. Footer shell ----------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, .66);
  font-size: 14.5px;
  padding-block: clamp(46px, 5vw, 70px) 0;
}

/* ---------- 20. Contact strip ---------------------------------------- */
.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.footer-contact li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 16px;
  padding: 22px 26px;
  background: var(--charcoal);
}
.footer-contact .icon {
  grid-row: span 2;
  color: #9CB79A;
}
.footer-contact__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
}
.footer-contact__value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: color .25s var(--ease);
}
a.footer-contact__value:hover { color: #9CB79A; }

/* ---------- 21. Four columns ----------------------------------------- */
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 60px);
  padding-block: clamp(42px, 5vw, 66px);
}

/* Brand column */
.footer-brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.footer-brand__lockup img { height: 42px; width: auto; }
.footer-brand__lockup > span { display: flex; flex-direction: column; gap: 3px; }

.footer-brand__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.footer-brand__sub {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .15em;
  white-space: nowrap;
  text-transform: uppercase;
  line-height: 1;
  color: var(--greige);
}

.footer-brand__tagline {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: #9CB79A;
}
.footer-brand__text {
  margin-top: 14px;
  max-width: 42ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .80);
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
  transform: translateY(-2px);
}

/* Link columns */
.footer-col__title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a {
  display: inline-block;
  color: rgba(255, 255, 255, .64);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }

/* ---------- 22. Bottom bar ------------------------------------------- */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
  color: var(--greige);
}
.footer-bottom__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.footer-bottom__legal li { position: relative; }
.footer-bottom__legal li + li::before {
  content: "";
  position: absolute;
  left: -12px; top: 50%;
  width: 3px; height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}
.footer-bottom__legal a {
  color: var(--greige);
  transition: color .25s var(--ease);
}
.footer-bottom__legal a:hover { color: #fff; }

.site-footer a:focus-visible { outline-color: #fff; }

/* ---------- 23. Footer responsiveness -------------------------------- */
@media (max-width: 1023px) {
  .footer-contact { grid-template-columns: 1fr; }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px clamp(28px, 4vw, 48px);
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand__text { max-width: 56ch; }
}

@media (max-width: 639px) {
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-contact li { padding: 18px 20px; }
  .footer-bottom { justify-content: flex-start; }
}

/* =====================================================================
   STAGE 4 — For Employers page
   Appended below stages 1–3; nothing above is changed.
   ===================================================================== */

/* ---------- 24. Inner-page hero -------------------------------------- */
.page-hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding-block: clamp(46px, 6vw, 80px) clamp(52px, 6.5vw, 88px);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -160px;
  width: 580px; height: 580px;
  border: 1px solid rgba(172, 171, 158, .32);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}

.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.page-hero__title {
  font-size: clamp(2.1rem, 3.9vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--charcoal);
  max-width: 16ch;
}
.page-hero__title em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--sage);
}

.page-hero__lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  color: var(--text-muted);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-hero__media { position: relative; }
.page-hero__frame {
  position: absolute;
  top: -20px; right: -20px;
  width: 55%; height: 55%;
  border: 1px solid var(--greige);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

/* ----------------------------------------------------------------------
   EMPLOYERS HERO PHOTOGRAPH
   Drop the picture at  assets/img/employers.jpg  and un-comment this:
   ----------------------------------------------------------------------
.page-hero__photo {
  --hero-image: url("../img/employers.jpg");
  --hero-watermark: none;
}
   ------------------------------------------------------------------- */
.page-hero__photo {
  position: relative;
  aspect-ratio: 4 / 3.5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--sage);
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.page-hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-watermark, url("../img/divine-mark-light.png"));
  background-repeat: no-repeat;
  background-position: 56% 42%;
  background-size: auto 72%;
  opacity: .17;
}
.page-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .055) 0 1px, rgba(255, 255, 255, 0) 1px 15px),
    linear-gradient(190deg, rgba(42, 36, 32, 0) 40%, rgba(42, 36, 32, .50) 100%);
}
.page-hero__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px 26px;
  color: #fff;
}
.page-hero__caption strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.32;
}
.page-hero__caption span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

/* ---------- 25. Editorial introduction -------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: start;
}
.editorial__lead {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -.012em;
  color: var(--charcoal);
}
.editorial__text {
  margin-top: 18px;
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: var(--text-muted);
}
.editorial__note {
  margin-top: 24px;
  padding-left: 20px;
  border-left: 2px solid var(--brown);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--brown);
}

/* ---------- 26. Recruitment solutions --------------------------------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px) clamp(26px, 3vw, 48px);
}
.solution { position: relative; padding-top: 24px; }

.solution__rule {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--line);
}
.solution__rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.solution:hover .solution__rule::after { transform: scaleX(1); }

.solution__icon {
  width: 26px; height: 26px;
  color: var(--sage);
  margin-bottom: 16px;
  transition: transform .35s var(--ease);
}
.solution:hover .solution__icon { transform: translateY(-3px); }

.solution__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.solution__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 36ch;
}

/* ---------- 27. Process ------------------------------------------------ */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.5vw, 40px);
  /* <ol> keeps a default indent that the grid would inherit */
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.process::before {
  content: "";
  position: absolute;
  top: 38px; left: 0; right: 0;
  height: 1px;
  background: rgba(255, 255, 255, .16);
}
.process__step { position: relative; padding-top: 74px; }
.process__step::before {
  content: "";
  position: absolute;
  top: 33px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 1.5px solid #9CB79A;
}
.process__num {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--greige);
  letter-spacing: .04em;
}
.process__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: #fff;
  margin-bottom: 10px;
}
.process__text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .64);
  max-width: 34ch;
}

/* ---------- 28. Industry chips ----------------------------------------- */
.industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--charcoal);
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              transform .3s var(--ease);
}
.industry-chip .icon { color: var(--sage); }
.industry-chip:hover {
  border-color: var(--sage);
  background: var(--sage-tint);
  transform: translateY(-2px);
}

/* ---------- 29. Hiring panel ------------------------------------------- */
.hiring-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  padding: clamp(32px, 4vw, 52px);
  background: var(--sage-tint);
  border: 1px solid rgba(86, 114, 87, .20);
  border-radius: var(--radius-lg);
}
.hiring-panel__title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--charcoal);
}
.hiring-panel__text {
  margin-top: 14px;
  max-width: 62ch;
  color: var(--text-muted);
}

/* ---------- 30. Closing band ------------------------------------------- */
.section--closing {
  position: relative;
  background: var(--sage);
  overflow: hidden;
}
.section--closing::before {
  content: "";
  position: absolute;
  top: 50%; right: -70px;
  width: 340px; height: 340px;
  margin-top: -170px;
  background: url("../img/divine-mark-light.png") no-repeat center / contain;
  opacity: .08;
  pointer-events: none;
}
.closing__inner {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.closing__title {
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 700;
  color: #fff;
}
.closing__lead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: rgba(255, 255, 255, .86);
}
.closing__inner .btn { margin-top: 30px; }

/* ---------- 31. Employers page responsiveness -------------------------- */
@media (max-width: 1199px) {
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 42px; }
  .page-hero__title { max-width: 20ch; }
  .page-hero__media { max-width: 560px; }
  .page-hero__frame { display: none; }
  .page-hero::before { width: 340px; height: 340px; top: -150px; right: -170px; }

  .editorial { grid-template-columns: 1fr; gap: 26px; }

  .hiring-panel { grid-template-columns: 1fr; align-items: start; }

  /* Process turns vertical */
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { top: 10px; bottom: 10px; left: 5px; right: auto; width: 1px; height: auto; }
  .process__step { padding: 0 0 30px 34px; }
  .process__step:last-child { padding-bottom: 0; }
  .process__step::before { top: 5px; left: 0; }
  .process__num { position: static; display: block; margin-bottom: 4px; }
  .process__text { max-width: 52ch; }
}

@media (max-width: 719px) {
  .solution-grid { grid-template-columns: 1fr; gap: 22px; }
  .solution__text { max-width: none; }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .industry-chip { font-size: 13.5px; padding: 11px 16px; }
  .hiring-panel .btn { width: 100%; }
  .section--closing::before { width: 230px; height: 230px; right: -80px; margin-top: -115px; }
}

/* =====================================================================
   STAGE 5 — For Candidates page
   Appended below stages 1–4; nothing above is changed.
   ===================================================================== */

/* ---------- 32. Mirrored page hero ------------------------------------ */
.page-hero--mirror .page-hero__inner {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}
.page-hero--mirror .page-hero__frame { left: -20px; right: auto; }
/* keep the decorative ring behind the image, not behind the copy */
.page-hero--mirror::before { left: -170px; right: auto; }

/* ----------------------------------------------------------------------
   CANDIDATES HERO PHOTOGRAPH
   Drop the picture at  assets/img/candidates.jpg  and un-comment this:
   ----------------------------------------------------------------------
.page-hero__photo--candidates {
  --hero-image: url("../img/candidates.jpg");
  --hero-watermark: none;
}
   ------------------------------------------------------------------- */

/* ---------- 33. Centred editorial introduction ------------------------ */
.editorial-centred {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
}
.editorial-centred .section__eyebrow { justify-content: center; }
.editorial-centred__title {
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--charcoal);
}

.editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 60px);
  max-width: 980px;
  margin: clamp(30px, 4vw, 46px) auto 0;
  padding-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: var(--text-muted);
}

.section__head--centred {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.section__head--centred .section__eyebrow { justify-content: center; }
.section__head--centred .section__title { max-width: none; }
.section__head--centred .section__lead { margin-inline: auto; }

/* ---------- 34. Three features ---------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.5vw, 54px);
  text-align: center;
}
.feature__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.feature__badge .icon { width: 26px; height: 26px; }
.feature:hover .feature__badge { background: var(--sage); color: #fff; transform: translateY(-3px); }

.feature__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.feature__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34ch;
  margin-inline: auto;
}
.feature-row__cta { margin-top: clamp(32px, 4vw, 48px); text-align: center; }

/* ---------- 35. CV checklist ------------------------------------------ */
.checklist { display: grid; gap: 0; align-self: center; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(86, 114, 87, .20);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--charcoal);
}
.checklist li:first-child { border-top: 1px solid rgba(86, 114, 87, .20); }
.checklist__mark {
  color: var(--sage);
  stroke-width: 2;
  transition: transform .3s var(--ease);
}
.checklist li:hover .checklist__mark { transform: scale(1.12); }

/* ---------- 36. Industry directory ------------------------------------ */
.directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(26px, 4vw, 60px);
  border-top: 1px solid var(--line);
}
.directory__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.directory__icon { color: var(--sage); }
.directory__name {
  flex: 1 1 auto;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--charcoal);
}
.directory__arrow {
  color: var(--greige);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.directory__row:hover { padding-left: 10px; }
.directory__row:hover .directory__arrow { opacity: 1; transform: none; color: var(--sage); }

/* ---------- 37. Destinations ------------------------------------------ */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.destination {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.destination__region {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
}
.destination__name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--charcoal);
}
.destination__arrow {
  position: absolute;
  top: 24px; right: 22px;
  color: var(--greige);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.destination:hover {
  border-color: var(--sage);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.destination:hover .destination__arrow { color: var(--sage); transform: translateX(4px); }

.destination-grid__note {
  margin-top: 24px;
  max-width: 62ch;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- 38. Candidate journey ------------------------------------- */
.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.journey {
  position: relative;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.journey::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px; left: 5px;
  width: 1px;
  background: var(--line);
}
.journey__step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 20px;
  padding: 0 0 34px 34px;
}
.journey__step:last-child { padding-bottom: 0; }
.journey__step::before {
  content: "";
  position: absolute;
  top: 6px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--sage);
}
.journey__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--brown);
  letter-spacing: .04em;
}
.journey__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin-bottom: 7px;
}
.journey__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 46ch;
}

/* ---------- 39. Career support rows ----------------------------------- */
.support-rows { border-top: 1px solid rgba(255, 255, 255, .14); }
.support-row {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 10px clamp(24px, 4vw, 60px);
  padding: 26px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .3s var(--ease);
}
.support-row:hover { background: rgba(255, 255, 255, .03); }
.support-row dt {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: #fff;
}
.support-row dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .64);
  max-width: 56ch;
}

/* ---------- 40. Closing actions --------------------------------------- */
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- 41. Candidates page responsiveness ------------------------ */
@media (max-width: 1023px) {
  .page-hero--mirror .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero--mirror .page-hero__copy { order: -1; }
  .page-hero--mirror::before { left: -215px; top: -190px; }

  .editorial-columns { grid-template-columns: 1fr; gap: 16px; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature__text { max-width: 46ch; }
  .directory { grid-template-columns: 1fr; }
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-layout { grid-template-columns: 1fr; gap: 34px; }
  .support-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 719px) {
  .destination-grid { grid-template-columns: 1fr; }
  .page-hero--mirror .page-hero__frame { display: none; }
  .journey__step { grid-template-columns: 1fr; gap: 4px; padding-bottom: 28px; }
  .closing__actions .btn { flex: 1 1 100%; }
  .checklist li { font-size: 14.5px; }
}

/* =====================================================================
   STAGE 6 — Industries page
   Appended below stages 1–5; nothing above is changed.
   ===================================================================== */

/* ---------- 42. Editorial hero ---------------------------------------- */
.page-hero--editorial { padding-bottom: clamp(44px, 5vw, 72px); }
.page-hero--editorial::before { display: none; }

.page-hero--editorial__copy {
  position: relative;
  max-width: 760px;
  margin-bottom: clamp(34px, 4vw, 52px);
}
.page-hero--editorial .page-hero__title { max-width: none; }
.page-hero--editorial .page-hero__title em { display: inline; }

/* ----------------------------------------------------------------------
   INDUSTRIES HERO PHOTOGRAPH
   Drop a wide picture at  assets/img/industries.jpg  and un-comment this:
   ----------------------------------------------------------------------
.hero-band {
  --hero-image: url("../img/industries.jpg");
  --hero-watermark: none;
}
   ------------------------------------------------------------------- */
.hero-band {
  position: relative;
  aspect-ratio: 16 / 5.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--sage);
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-watermark, url("../img/divine-mark-light.png"));
  background-repeat: no-repeat;
  background-position: 88% 40%;
  background-size: auto 150%;
  opacity: .14;
}
.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, rgba(255, 255, 255, 0) 1px 15px),
    linear-gradient(100deg, rgba(42, 36, 32, .42) 0%, rgba(42, 36, 32, 0) 62%);
}
.hero-band__caption {
  position: absolute;
  left: clamp(22px, 3vw, 44px);
  bottom: clamp(20px, 2.6vw, 34px);
  z-index: 2;
  max-width: 24ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  line-height: 1.3;
  color: #fff;
}

/* ---------- 43. Sector directory -------------------------------------- */
.sectors { border-top: 1px solid var(--line); }

.sector {
  display: grid;
  grid-template-columns: auto minmax(0, 1.25fr) minmax(0, .95fr);
  gap: clamp(20px, 3vw, 46px);
  align-items: start;
  padding: clamp(24px, 2.6vw, 34px) clamp(14px, 1.6vw, 22px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease);
}
.sector:nth-child(even) { background: var(--bg); }
.sector:hover { background: var(--sage-tint); }

.sector__visual {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sector__index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--greige);
  letter-spacing: .04em;
}
.sector__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--sage);
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.sector__badge .icon { width: 26px; height: 26px; }
.sector:hover .sector__badge {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
  transform: translateY(-2px);
}

.sector__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.sector__intro {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 48ch;
}

.sector__roles-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 10px;
}
.sector__roles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.sector__roles li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.sector:hover .sector__roles li { border-color: rgba(86, 114, 87, .32); color: var(--charcoal); }

/* ---------- 44. Split call to action ---------------------------------- */
.section--flush { padding-bottom: clamp(62px, 7.5vw, 108px); }

.dual-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dual-cta__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 3.6vw, 52px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.dual-cta__panel--sage { background: var(--sage); }
.dual-cta__panel--dark { background: var(--charcoal); }

.dual-cta__panel::before {
  content: "";
  position: absolute;
  right: -56px; bottom: -70px;
  width: 230px; height: 230px;
  background: url("../img/divine-mark-light.png") no-repeat center / contain;
  opacity: .07;
  pointer-events: none;
}

.dual-cta__eyebrow {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 14px;
}
.dual-cta__panel--dark .dual-cta__eyebrow { color: #9CB79A; }

.dual-cta__title {
  position: relative;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  color: #fff;
  max-width: 18ch;
}
.dual-cta__text {
  position: relative;
  margin-top: 14px;
  margin-bottom: 26px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .80);
}
.dual-cta__panel .btn { position: relative; margin-top: auto; }

/* ---------- 45. Industries page responsiveness ------------------------ */
@media (max-width: 1023px) {
  .sector {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px clamp(16px, 2.4vw, 26px);
  }
  .sector__roles { grid-column: 2; }
  .sector__intro { max-width: none; }
  .hero-band { aspect-ratio: 16 / 7; }
  .dual-cta { grid-template-columns: 1fr; }
}

@media (max-width: 719px) {
  .sector { grid-template-columns: 1fr; padding-inline: 2px; }
  .sector__roles { grid-column: 1; }
  .sector__visual { gap: 13px; }
  .sector__badge { width: 48px; height: 48px; }
  .sector__badge .icon { width: 23px; height: 23px; }
  .hero-band { aspect-ratio: 4 / 3.1; }
  .hero-band::before { background-position: 86% 46%; background-size: auto 110%; }
  .page-hero--editorial .page-hero__actions .btn { flex: 1 1 100%; }
  .dual-cta__panel .btn { width: 100%; }
}

/* =====================================================================
   STAGE 7 — Global Opportunities page
   Appended below stages 1–6; nothing above is changed.
   ===================================================================== */

/* ---------- 46. Overlay hero ------------------------------------------ */
.go-hero { padding-block: clamp(26px, 3vw, 44px) clamp(44px, 5vw, 70px); }

/* ----------------------------------------------------------------------
   GLOBAL OPPORTUNITIES HERO PHOTOGRAPH
   Drop a wide picture at  assets/img/global-opportunities.jpg  and
   un-comment this block. Choose a real workplace photograph — not a flag
   collage and nothing that reads as stock or AI imagery.
   ----------------------------------------------------------------------
.go-hero__media {
  --hero-image: url("../img/global-opportunities.jpg");
  --hero-watermark: none;
}
   ------------------------------------------------------------------- */
.go-hero__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 46vw, 540px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--sage);
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.go-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-watermark, url("../img/divine-mark-light.png"));
  background-repeat: no-repeat;
  background-position: 90% 36%;
  background-size: auto 112%;
  opacity: .15;
}
.go-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, rgba(255, 255, 255, 0) 1px 15px),
    linear-gradient(95deg, rgba(42, 36, 32, .66) 0%, rgba(42, 36, 32, .30) 48%, rgba(42, 36, 32, 0) 78%);
}

.go-hero__overlay {
  position: relative;
  z-index: 2;
  max-width: 54ch;
  padding: clamp(28px, 4vw, 56px);
}
.go-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 18px;
}
.go-hero__eyebrow::before {
  content: "";
  width: 34px; height: 1.5px;
  background: rgba(255, 255, 255, .55);
  flex: 0 0 auto;
}
.go-hero__title {
  max-width: 14ch;
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
  color: #fff;
}
.go-hero__title em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: #fff;
}
.go-hero__lead {
  margin-top: 18px;
  max-width: 42ch;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .86);
}
.go-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- 47. Region groups ----------------------------------------- */
.region + .region { margin-top: clamp(34px, 4vw, 54px); }

.region__label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.region__count {
  font-weight: 600;
  letter-spacing: .10em;
  color: var(--greige);
}

.region__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 38px);
}

.destination-entry {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--line);
  transition: border-color .35s var(--ease);
}
.destination-entry:hover { border-left-color: var(--sage); }

.destination-entry__code {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--sage-tint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--sage);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.destination-entry:hover .destination-entry__code { background: var(--sage); color: #fff; }

.destination-entry__name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--charcoal);
  margin-bottom: 9px;
}
.destination-entry__intro {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.destination-entry__sectors {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
.destination-entry__label {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
}

.region__note {
  margin-top: clamp(30px, 3.4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 74ch;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- 48. Approach columns -------------------------------------- */
.approach {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 42px);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.approach__step {
  padding-top: 20px;
  border-top: 2px solid rgba(86, 114, 87, .28);
  transition: border-color .35s var(--ease);
}
.approach__step:hover { border-top-color: var(--sage); }

.approach__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brown);
  letter-spacing: .03em;
}
.approach__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin-bottom: 9px;
}
.approach__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 32ch;
}

/* ---------- 49. Closing pathways -------------------------------------- */
.pathways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 76px);
}
.pathway + .pathway {
  padding-left: clamp(32px, 5vw, 76px);
  border-left: 1px solid var(--line);
}
.pathway__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.pathway__title {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--charcoal);
  max-width: 18ch;
}
.pathway__text {
  margin-top: 14px;
  margin-bottom: 26px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ---------- 50. Global Opportunities responsiveness ------------------- */
@media (max-width: 1023px) {
  .go-hero__media { min-height: 0; aspect-ratio: 4 / 3.4; align-items: flex-end; }
  .go-hero__overlay { max-width: none; }
  .go-hero__media::after {
    background-image:
      repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, rgba(255, 255, 255, 0) 1px 15px),
      linear-gradient(185deg, rgba(42, 36, 32, 0) 18%, rgba(42, 36, 32, .70) 86%);
  }
  .region__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach__text { max-width: none; }
  .pathways { grid-template-columns: 1fr; gap: 34px; }
  .pathway + .pathway {
    padding-left: 0; padding-top: 34px;
    border-left: 0; border-top: 1px solid var(--line);
  }
}

@media (max-width: 719px) {
  .go-hero__media { aspect-ratio: auto; min-height: 460px; }
  .go-hero__media::before { background-position: 86% 28%; background-size: auto 78%; }
  .go-hero__actions .btn { flex: 1 1 100%; }
  .region__grid { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; gap: 26px; }
  .pathway .btn { width: 100%; }
}

/* =====================================================================
   STAGE 8 — About Us page
   Appended below stages 1–7; nothing above is changed.
   ===================================================================== */

/* ---------- 51. About hero -------------------------------------------- */
.about-hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding-block: clamp(46px, 6vw, 84px) clamp(54px, 6.5vw, 94px);
}
.about-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}

.about-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.about-hero__title {
  font-size: clamp(2.05rem, 3.8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--charcoal);
  max-width: 14ch;
}
.about-hero__title em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--sage);
}
.about-hero__lead {
  margin-top: 22px;
  max-width: 50ch;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  color: var(--text-muted);
}

/* Offset media stack */
.about-hero__stack {
  position: relative;
  padding-bottom: 54px;
  padding-left: 40px;
}
.about-hero__tile { border-radius: var(--radius-lg); overflow: hidden; }

/* ----------------------------------------------------------------------
   ABOUT HERO PHOTOGRAPH
   Drop the picture at  assets/img/about-hero.jpg  and un-comment this:
   ----------------------------------------------------------------------
.about-hero__tile--main {
  --hero-image: url("../img/about-hero.jpg");
  --hero-watermark: none;
}
   ------------------------------------------------------------------- */
.about-hero__tile--main {
  position: relative;
  aspect-ratio: 4 / 3.5;
  background-color: var(--sage);
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.about-hero__tile--main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-watermark, url("../img/divine-mark-light.png"));
  background-repeat: no-repeat;
  background-position: 58% 44%;
  background-size: auto 72%;
  opacity: .17;
}
.about-hero__tile--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .055) 0 1px, rgba(255, 255, 255, 0) 1px 15px),
    linear-gradient(190deg, rgba(42, 36, 32, 0) 50%, rgba(42, 36, 32, .34) 100%);
}

.about-hero__tile--mark {
  position: absolute;
  left: 0; bottom: 0;
  width: 58%;
  max-width: 280px;
  padding: 22px 24px;
  background: var(--charcoal);
  box-shadow: var(--shadow-md);
}
.about-hero__tile--mark p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.38;
  color: #fff;
}

/* ---------- 52. Opening statement ------------------------------------- */
.statement { max-width: 820px; }
.statement__title {
  font-size: clamp(1.6rem, 2.3vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--charcoal);
}
.statement__quote {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--sage);
  max-width: 24ch;
}

.statement__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 60px);
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: var(--text-muted);
}

/* ---------- 53. Mission grid ------------------------------------------ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(86, 114, 87, .20);
  border: 1px solid rgba(86, 114, 87, .20);
  border-radius: var(--radius);
  overflow: hidden;
}
.mission-grid li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: var(--sage-tint);
  transition: background-color .35s var(--ease);
}
.mission-grid li:hover { background: var(--white); }
.mission-grid__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown);
  letter-spacing: .04em;
}
.mission-grid p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--charcoal);
}

/* ---------- 54. Values ------------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px) clamp(30px, 4vw, 64px);
}
.value {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.value__ghost {
  position: absolute;
  top: 10px; right: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 1;
  color: var(--grey);
  opacity: .55;
  pointer-events: none;
  transition: color .4s var(--ease), opacity .4s var(--ease);
}
.value:hover .value__ghost { color: var(--sage); opacity: .22; }

.value__title {
  position: relative;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.value__text {
  position: relative;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ---------- 55. Approach principles ------------------------------------ */
.principles { border-top: 1px solid rgba(255, 255, 255, .14); }
.principle {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: 8px clamp(24px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(22px, 2.4vw, 30px) 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .35s var(--ease);
}
.principle:hover { background: rgba(255, 255, 255, .03); }
.principle dt {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.1;
  color: #fff;
}
.principle dd {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .66);
}

/* ---------- 56. Closing duo -------------------------------------------- */
.duo {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 76px);
}
.duo__half { display: flex; flex-direction: column; align-items: flex-start; }
.duo__half + .duo__half {
  padding-left: clamp(32px, 5vw, 76px);
  border-left: 1px solid rgba(255, 255, 255, .26);
}
.duo__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 14px;
}
.duo__title {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 28px;
}
.duo__half .btn { margin-top: auto; }

/* ---------- 57. About page responsiveness ------------------------------ */
@media (max-width: 1023px) {
  .about-hero__inner { grid-template-columns: 1fr; gap: 42px; }
  .about-hero__title { max-width: 18ch; }
  .about-hero__stack { max-width: 560px; padding-left: 30px; padding-bottom: 46px; }

  .statement__body { grid-template-columns: 1fr; gap: 16px; }
  .values { grid-template-columns: 1fr; }
  .value__text { max-width: none; }
  .principle { grid-template-columns: 1fr; gap: 6px; }
  .principle dd { max-width: none; }

  .duo { grid-template-columns: 1fr; gap: 34px; }
  .duo__half + .duo__half {
    padding-left: 0; padding-top: 34px;
    border-left: 0; border-top: 1px solid rgba(255, 255, 255, .26);
  }
}

@media (max-width: 719px) {
  .mission-grid { grid-template-columns: 1fr; }
  .about-hero__stack { padding-left: 0; padding-bottom: 0; }
  .about-hero__tile--main { aspect-ratio: 4 / 3.2; }
  .about-hero__tile--mark {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 12px;
    border-radius: var(--radius);
  }
  .duo__half .btn { width: 100%; }
}

/* =====================================================================
   STAGE 9 — Contact page
   Appended below stages 1–8; nothing above is changed.
   ===================================================================== */

/* ---------- 58. Contact hero ------------------------------------------ */
.contact-hero {
  position: relative;
  background: var(--bg);
  padding-block: clamp(44px, 5.5vw, 76px) clamp(46px, 5.5vw, 78px);
}
.contact-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}

.contact-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}

.contact-hero__title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--charcoal);
  max-width: 12ch;
}
.contact-hero__title em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--sage);
}

.contact-hero__aside { padding-bottom: 6px; }
.contact-hero__lead {
  max-width: 44ch;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  color: var(--text-muted);
}

.contact-hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.contact-hero__jump a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal);
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              transform .3s var(--ease);
}
.contact-hero__jump .icon { color: var(--sage); }
.contact-hero__jump a:hover {
  border-color: var(--sage);
  background: var(--sage-tint);
  transform: translateY(-2px);
}

/* ---------- 59. Enquiry types ----------------------------------------- */
.enquiry-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.enquiry {
  padding: 0 clamp(20px, 2.6vw, 38px);
  border-left: 1px solid var(--line);
}
.enquiry:first-child { padding-left: 0; border-left: 0; }
.enquiry:last-child { padding-right: 0; }

.enquiry__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown);
  letter-spacing: .04em;
}
.enquiry__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin-bottom: 9px;
}
.enquiry__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34ch;
}

/* ---------- 60. Contact details --------------------------------------- */
.detail-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.detail:hover {
  border-color: rgba(86, 114, 87, .45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--sage-tint);
  color: var(--sage);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.detail:hover .detail__icon { background: var(--sage); color: #fff; }

.detail__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 8px;
}
.detail__value {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.4;
  color: var(--charcoal);
}
.detail__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sage);
}
.detail__action .icon { transition: transform .3s var(--ease); }
.detail__action:hover .icon { transform: translateX(4px); }

/* ---------- 61. Contact page responsiveness --------------------------- */
@media (max-width: 1023px) {
  .contact-hero__inner { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .contact-hero__title { max-width: 16ch; }

  .enquiry-row { grid-template-columns: 1fr; gap: 0; }
  .enquiry {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .enquiry:first-child { padding-top: 0; border-top: 0; }
  .enquiry__text { max-width: none; }

  .detail-row { grid-template-columns: 1fr; }
}

@media (max-width: 719px) {
  .contact-hero__jump a { font-size: 13px; padding: 9px 14px; }
}

/* ---------- 62. Enquiry form ------------------------------------------ */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.form-layout__note {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-muted);
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(16px, 2vw, 24px);
}
.field { display: flex; flex-direction: column; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }

.field label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.field label span { color: var(--brown); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--charcoal);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: #A9A69D; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(86, 114, 87, .14);
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.field--consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 4px;
}
.field--consent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--sage);
}
.field--consent label {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  color: var(--text-muted);
}
.field--consent label a { color: var(--sage); text-decoration: underline; text-underline-offset: 2px; }

.field--submit {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 6px;
}
.enquiry-form__required { font-size: 13px; color: var(--greige); }

/* ---------- 63. FAQ ---------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--charcoal);
  transition: color .25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--sage); }
.faq__item summary:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

.faq__marker {
  position: relative;
  flex: 0 0 auto;
  width: 16px; height: 16px;
}
.faq__marker::before,
.faq__marker::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  margin-top: -.75px;
  background: var(--sage);
  transition: transform .3s var(--ease);
}
.faq__marker::after { transform: rotate(90deg); }
.faq__item[open] .faq__marker::after { transform: rotate(0deg); }

.faq__item p {
  padding: 0 2px 22px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- 64. Contact closing --------------------------------------- */
.contact-cta {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}
.contact-cta__title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--charcoal);
}
.contact-cta__text {
  margin-top: 16px;
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: var(--text-muted);
}
.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- 65. Form, FAQ and closing responsiveness ------------------ */
@media (max-width: 1023px) {
  .form-layout,
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 719px) {
  .enquiry-form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .field--submit .btn { width: 100%; }
  .enquiry-form__required { width: 100%; text-align: center; }
  .faq__item summary { font-size: 1rem; }
  .contact-cta__actions .btn { flex: 1 1 100%; }
}

/* =====================================================================
   STAGE 10 — Candidate portal (sign in, register, password reset)
   Appended below stages 1–9; nothing above is changed.
   ===================================================================== */

/* ---------- 66. Split-screen shell ------------------------------------ */
.divine-portal { background: var(--bg); }

.portal {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 100vh;
  min-height: 100svh;
}

/* Brand side */
.portal__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--charcoal);
  overflow: hidden;
}
.portal__brand::before {
  content: "";
  position: absolute;
  right: -90px; bottom: -70px;
  width: 360px; height: 360px;
  background: url("../img/divine-mark-light.png") no-repeat center / contain;
  opacity: .06;
  pointer-events: none;
}

.portal__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.portal__logo img { height: 42px; width: auto; }
.portal__logo > span { display: flex; flex-direction: column; gap: 3px; }

.portal__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.portal__sub {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--greige);
  white-space: nowrap;
}

.portal__pitch { position: relative; max-width: 34ch; }
.portal__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.3;
  color: #fff;
}
.portal__points {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}
.portal__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}
.portal__points .icon { color: #9CB79A; stroke-width: 2; margin-top: 2px; }

.portal__back {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  transition: color .25s var(--ease);
}
.portal__back .icon { transform: rotate(180deg); transition: transform .3s var(--ease); }
.portal__back:hover { color: #fff; }
.portal__back:hover .icon { transform: rotate(180deg) translateX(4px); }
.portal__back:focus-visible { outline-color: #fff; }

/* Form side */
.portal__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 4vw, 64px) clamp(20px, 4vw, 56px);
  background: var(--white);
}
.portal__inner { width: 100%; max-width: 460px; }
.portal-form--split ~ .portal-alt,
.portal__inner:has(.portal-form--split) { max-width: 560px; }

/* ---------- 67. Portal typography and messages ------------------------ */
.portal-head { margin-bottom: 26px; }
.portal-title {
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--charcoal);
}
.portal-sub {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.portal-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.55;
}
.portal-msg p + p { margin-top: 6px; }
.portal-msg .icon { margin-top: 2px; stroke-width: 2; }

.portal-msg--error {
  background: #FBF1EE;
  border: 1px solid rgba(137, 106, 88, .38);
  color: #6B4A3A;
}
.portal-msg--error .icon { color: var(--brown); }

.portal-msg--ok {
  background: var(--sage-tint);
  border: 1px solid rgba(86, 114, 87, .32);
  color: var(--sage-deep);
}
.portal-msg--ok .icon { color: var(--sage); }

/* ---------- 68. Portal forms ------------------------------------------ */
.portal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px clamp(14px, 2vw, 20px);
}
.portal-form .field { grid-column: 1 / -1; }
.portal-form--split .field--half { grid-column: span 1; }

.field__hint {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--greige);
}

.portal-form__row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: -2px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}
.checkbox input {
  width: 17px; height: 17px;
  accent-color: var(--sage);
}

.portal-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .25s var(--ease);
}
.portal-link:hover { color: var(--sage-dark); }

.portal-form .btn { grid-column: 1 / -1; margin-top: 6px; }
.portal-form .field--submit .btn { margin-top: 0; }

.portal-alt {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Password visibility toggle */
.password-field { position: relative; }
.password-field input { padding-right: 48px; }

.password-toggle {
  position: absolute;
  top: 50%; right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  color: var(--greige);
  cursor: pointer;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.password-toggle:hover { color: var(--charcoal); background: rgba(42, 36, 32, .05); }
.password-toggle[aria-pressed="true"] { color: var(--sage); }

/* ---------- 69. Signed-in state --------------------------------------- */
.portal-success__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
}
.portal-success__badge .icon { width: 26px; height: 26px; stroke-width: 2; }

.portal-next {
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--bg);
  border-left: 2px solid var(--brown);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.portal-next__label {
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.portal-account {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.portal-account dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 6px;
}
.portal-account dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--charcoal);
  word-break: break-word;
}

.portal-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- 70. Portal responsiveness --------------------------------- */
@media (max-width: 899px) {
  .portal { grid-template-columns: 1fr; min-height: 0; }

  .portal__brand {
    gap: 26px;
    padding: clamp(26px, 5vw, 40px);
  }
  .portal__brand::before { width: 230px; height: 230px; right: -70px; bottom: -60px; }
  .portal__pitch { max-width: none; }
  .portal__tagline { font-size: 1.25rem; }
  .portal__points { display: none; }

  .portal__panel { padding: clamp(30px, 7vw, 48px) 20px 56px; align-items: flex-start; }
  .portal__inner { max-width: 520px; margin-inline: auto; }
}

@media (max-width: 599px) {
  .portal-form { grid-template-columns: 1fr; }
  .portal-form--split .field--half { grid-column: 1 / -1; }
  .portal-account { grid-template-columns: 1fr; gap: 14px; }
  .portal-success__actions .btn { flex: 1 1 100%; }
  .portal__logo img { height: 36px; }
  .portal__name { font-size: 17px; }
}

/* =====================================================================
   STAGE 11 — Employer portal
   The split-screen shell from stage 10 with a sage brand panel, so the
   two portals read as different places. Nothing above is changed.
   ===================================================================== */

/* ---------- 71. Employer variant -------------------------------------- */
.portal--employer .portal__brand { background: var(--sage); }
.portal--employer .portal__brand::before { opacity: .10; }
.portal--employer .portal__sub { color: rgba(255, 255, 255, .78); letter-spacing: .20em; }
.portal--employer .portal__points li { color: rgba(255, 255, 255, .84); }
.portal--employer .portal__points .icon { color: #fff; }
.portal--employer .portal__back { color: rgba(255, 255, 255, .80); }
.portal--employer .portal__back:hover { color: #fff; }

/* ---------- 72. Grouped form sections --------------------------------- */
.portal-form__legend {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
}
.portal-form__legend:first-of-type { margin-top: 0; }

/* ---------- 73. Portal switch link ------------------------------------ */
.portal-switch {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--greige);
}
.portal-switch a {
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s var(--ease);
}
.portal-switch a:hover { color: var(--sage); }

/* ---------- 74. Employer account summary ------------------------------ */
.portal--employer .portal-account { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 599px) {
  .portal--employer .portal-account { grid-template-columns: 1fr; }
}

/* =====================================================================
   STAGE 12 — Candidate dashboard
   Appended below stages 1–11; nothing above is changed.
   ===================================================================== */

/* ---------- 75. Shell -------------------------------------------------- */
.divine-dash { background: var(--bg); }

.dash-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
}
.dash-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1400px;
  margin-inline: auto;
  padding: 12px clamp(16px, 3vw, 32px);
}
.dash-bar__brand { display: inline-flex; align-items: center; gap: 11px; }
.dash-bar__brand img { height: 34px; width: auto; }
.dash-bar__brand > span { display: flex; flex-direction: column; gap: 3px; }
.dash-bar__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.dash-bar__sub {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--greige);
  white-space: nowrap;
}

.dash-bar__account { display: flex; align-items: center; gap: 16px; }
.dash-bar__who {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .86);
}
.dash-bar__out {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--greige);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.dash-bar__out:hover { color: #fff; }
.dash-bar__out:focus-visible { outline-color: #fff; }

.dash {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  max-width: 1400px;
  margin-inline: auto;
  padding: clamp(24px, 3vw, 40px) clamp(16px, 3vw, 32px) 64px;
  align-items: start;
}

/* ---------- 76. Sidebar ------------------------------------------------ */
.dash-nav {
  position: sticky;
  top: 88px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
}
.dash-nav ul { display: grid; gap: 2px; }
.dash-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.dash-nav__link .icon { color: var(--greige); transition: color .25s var(--ease); }
.dash-nav__link:hover { background: var(--bg); color: var(--charcoal); }
.dash-nav__link:hover .icon { color: var(--sage); }
.dash-nav__link.is-current {
  background: var(--sage-tint);
  color: var(--sage-deep);
}
.dash-nav__link.is-current .icon { color: var(--sage); }

/* ---------- 77. Headings and panels ------------------------------------ */
.dash-main { min-width: 0; }

.dash-head { margin-bottom: clamp(20px, 2.4vw, 30px); }
.dash-title {
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--charcoal);
}
.dash-sub {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.dash-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  margin-top: 18px;
}
.dash-panel__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.dash-panel__text {
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.dash-panel--done { border-color: rgba(86, 114, 87, .35); background: var(--sage-tint); }

/* ---------- 78. Stat tiles --------------------------------------------- */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.dash-stat {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px 20px;
}
.dash-stat__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 12px;
}
.dash-stat__value {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--charcoal);
}
.dash-stat__value span { font-size: 1.1rem; margin-left: 2px; color: var(--greige); }
.dash-stat__value--text { font-size: 1.35rem; letter-spacing: -.02em; }

.dash-meter {
  height: 6px;
  margin-top: 14px;
  border-radius: 100px;
  background: var(--grey);
  overflow: hidden;
}
.dash-meter span {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: var(--sage);
  transition: width .6s var(--ease);
}

.dash-stat__note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  word-break: break-word;
}
.dash-stat__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sage);
}
.dash-stat__link .icon { transition: transform .3s var(--ease); }
.dash-stat__link:hover .icon { transform: translateX(4px); }

/* ---------- 79. To-do list --------------------------------------------- */
.dash-todo {
  display: grid;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.dash-todo a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--charcoal);
  transition: padding-left .25s var(--ease), color .25s var(--ease);
}
.dash-todo .icon { color: var(--greige); transition: transform .3s var(--ease), color .3s var(--ease); }
.dash-todo a:hover { padding-left: 8px; color: var(--sage); }
.dash-todo a:hover .icon { color: var(--sage); transform: translateX(3px); }

/* ---------- 80. Empty states ------------------------------------------- */
.dash-empty {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4vw, 54px) clamp(24px, 3vw, 40px);
  text-align: center;
}
.dash-empty--tight { padding-block: clamp(26px, 3vw, 36px); }
.dash-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--sage);
}
.dash-empty__icon .icon { width: 26px; height: 26px; }
.dash-empty h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.dash-empty p {
  max-width: 56ch;
  margin-inline: auto;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.dash-empty__meanwhile { margin-top: 12px; color: var(--brown); }
.dash-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 81. Applications list -------------------------------------- */
.dash-apps { margin-top: 14px; border-top: 1px solid var(--line); }
.dash-app {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.dash-app__role { font-size: 15px; font-weight: 700; color: var(--charcoal); }
.dash-app__meta { font-size: 13.5px; color: var(--text-muted); }
.dash-app__status {
  margin-left: auto;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--sage-tint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sage-deep);
}

/* ---------- 82. Profile and CV forms ----------------------------------- */
.dash-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 32px);
}
.dash-form .field--submit { margin-top: 4px; }

.cv-card {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 22px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.cv-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--sage-tint);
  color: var(--sage);
}
.cv-card__icon .icon { width: 24px; height: 24px; }
.cv-card__body { flex: 1 1 auto; min-width: 0; }
.cv-card__name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--charcoal);
  word-break: break-word;
}
.cv-card__meta { margin-top: 5px; font-size: 13px; color: var(--text-muted); }
.cv-card__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.cv-card__remove {
  padding: 8px 4px;
  background: none;
  border: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s var(--ease);
}
.cv-card__remove:hover { color: var(--charcoal); }

.cv-upload { display: grid; gap: 16px; justify-items: start; }
.cv-upload .field { width: 100%; max-width: 460px; }
.cv-upload input[type="file"] {
  width: 100%;
  padding: 11px 13px;
  background: var(--white);
  border: 1px dashed var(--greige);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}
.cv-upload input[type="file"]:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(86, 114, 87, .14); }

.dash-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.dash-note .icon { color: var(--sage); flex: 0 0 auto; margin-top: 2px; }
.dash-note a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 83. Account facts ------------------------------------------ */
.dash-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin-top: 4px;
}
.dash-facts dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 6px;
}
.dash-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  word-break: break-word;
}

/* ---------- 84. Dashboard responsiveness ------------------------------- */
@media (max-width: 899px) {
  .dash { grid-template-columns: 1fr; gap: 18px; }

  .dash-nav {
    position: static;
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dash-nav ul { grid-auto-flow: column; grid-auto-columns: max-content; gap: 4px; }
  .dash-nav__link { padding: 10px 14px; white-space: nowrap; font-size: 14px; }

  .dash-stats { grid-template-columns: 1fr; }
  .dash-facts { grid-template-columns: 1fr; }

  .cv-card { flex-wrap: wrap; }
  .cv-card__body { flex: 1 1 100%; order: 2; }
  .cv-card__actions { order: 3; flex: 1 1 100%; }
}

@media (max-width: 599px) {
  .dash-bar__inner { gap: 12px; }
  .dash-bar__sub { display: none; }
  .dash-bar__who { display: none; }
  .dash-title { font-size: 1.35rem; }
  .dash-empty__actions .btn { flex: 1 1 100%; }
  .dash-nav__link span { font-size: 13.5px; }
}

/* =====================================================================
   STAGE 12a — "Already signed in" portal panel
   Appended below stages 1–12; nothing above is changed.
   ===================================================================== */

/* ---------- 85. Wrong-account notice ---------------------------------- */
.portal-success__badge--muted {
  background: var(--grey);
  color: var(--charcoal);
}
.portal-success--notice .portal-sub { max-width: 46ch; }

/* =====================================================================
   STAGE 13 — Employer dashboard and job management
   Appended below stages 1–12; nothing above is changed.
   ===================================================================== */

/* ---------- 86. Employer shell ----------------------------------------- */
.dash-bar--employer { background: var(--sage-deep); }
.dash-bar--employer .dash-bar__sub { color: rgba(255, 255, 255, .72); }
.dash-bar--employer .dash-bar__out:hover { border-color: rgba(255, 255, 255, .5); }

.divine-dash--employer .dash-nav__link.is-current {
  background: var(--sage-tint);
  color: var(--sage-deep);
}

.dash-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.dash-head--row .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.dash-stats--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.dash-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-panel__head .dash-stat__link { margin-top: 0; }
.dash-panel--quiet { background: var(--bg); }

/* ---------- 87. Status pills -------------------------------------------- */
.job-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.job-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.job-status--publish { background: var(--sage-tint); color: var(--sage-deep); }
.job-status--draft   { background: var(--grey); color: var(--charcoal); }
.job-status--closed  { background: #F0E9E4; color: var(--brown); }

/* ---------- 88. Recent job list ---------------------------------------- */
.dash-joblist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--line);
}
.dash-joblist__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, .9fr) auto;
  align-items: center;
  gap: 10px 18px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.dash-joblist__title a {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
}
.dash-joblist__title a:hover { color: var(--sage); text-decoration: underline; }
.dash-joblist__meta,
.dash-joblist__date { font-size: 13.5px; color: var(--text-muted); }

/* ---------- 89. Job table ----------------------------------------------- */
.job-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.job-table__head,
.job-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 2fr);
  align-items: center;
  gap: 10px 18px;
  padding: 14px 22px;
}
.job-table__head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--greige);
}
.job-table__row + .job-table__row { border-top: 1px solid var(--line); }
.job-table__row:hover { background: var(--bg); }

.job-table__title { display: flex; flex-direction: column; gap: 3px; }
.job-table__title a {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
}
.job-table__title a:hover { color: var(--sage); text-decoration: underline; }
.job-table__closing { font-size: 12.5px; color: var(--brown); }
.job-table__cell { font-size: 13.5px; color: var(--text-muted); }

.job-table__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
}
.job-table__actions form { margin: 0; }

.job-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.job-action:hover {
  background: var(--sage-tint);
  border-color: var(--line);
  color: var(--sage-deep);
}
.job-action--danger:hover { background: #F6ECE8; color: #8A3B28; }

/* ---------- 90. Job form ------------------------------------------------ */
.dash-form select,
.dash-form input[type="date"] {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.dash-form select:focus-visible,
.dash-form input[type="date"]:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}
.dash-form input[disabled] {
  background: var(--bg);
  color: var(--text-muted);
  cursor: not-allowed;
}

.job-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.job-actions__cancel { margin-left: 4px; }

/* ---------- 91. Employer responsiveness --------------------------------- */
@media (max-width: 1199px) {
  .dash-stats--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .job-table__head { display: none; }
  .job-table__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 20px;
  }
  .job-table__cell::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--charcoal);
  }
  .job-table__actions { justify-content: flex-start; margin-top: 4px; flex-wrap: wrap; gap: 6px; }
  .job-action { padding: 7px 12px; border-color: var(--line); }

  .dash-joblist__row { grid-template-columns: 1fr auto; }
  .dash-joblist__date { display: none; }
}

@media (max-width: 599px) {
  .dash-stats--four { grid-template-columns: 1fr; }
  .dash-head--row .btn { flex: 1 1 100%; justify-content: center; }
  .job-actions .btn { flex: 1 1 100%; }
}

/* =====================================================================
   STAGE 14 — Admin portal and public job pages
   Appended below stages 1–13; nothing above is changed.
   ===================================================================== */

/* ---------- 92. Admin portal shell -------------------------------------- */
.dash-bar--admin { background: var(--charcoal); }
.dash-bar--admin .dash-bar__account { gap: 14px; }

.divine-dash--admin .dash-nav__link.is-current {
  background: var(--sage-tint);
  color: var(--sage-deep);
}

.dash-stats--four .dash-stat { min-width: 0; }
.divine-dash--admin .dash-stats--four { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.dash-facts--stacked { grid-template-columns: 1fr; }
.dash-facts--stacked dd { line-height: 1.65; }
.dash-muted { color: var(--greige); }

.dash-inline { margin-top: 22px; }

/* ---------- 93. Filter bar ---------------------------------------------- */
.dash-filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) auto;
  align-items: end;
  gap: 14px 16px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.dash-filters .field { margin: 0; grid-column: auto; }
.dash-filters input[type="search"],
.dash-filters select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
}
.dash-filters input[type="search"]:focus-visible,
.dash-filters select:focus-visible { outline: 2px solid var(--sage); outline-offset: 1px; }
.dash-filters__actions { display: flex; align-items: center; gap: 12px; }

.job-table__head--people,
.job-table__row--people {
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .8fr);
}

.dash-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.dash-pager__count { font-size: 13.5px; color: var(--text-muted); }
.dash-pager .job-action { border-color: var(--line); }

/* ---------- 94. Jobs page masthead -------------------------------------- */
.jobs-hero {
  padding: clamp(54px, 7vw, 88px) 0 clamp(26px, 3vw, 36px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.jobs-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 16px;
}
.jobs-hero__title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.jobs-hero__title em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}
.jobs-hero__lead {
  max-width: 56ch;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.jobs-hero__count {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* ---------- 95. Jobs filter bar ----------------------------------------- */
.jobs-filters {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.jobs-filters__form {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px 14px;
}
.jobs-filters .field { margin: 0; grid-column: auto; }
.jobs-filters label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 6px;
}
.jobs-filters input[type="search"],
.jobs-filters select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
}
.jobs-filters input[type="search"]:focus-visible,
.jobs-filters select:focus-visible { outline: 2px solid var(--sage); outline-offset: 1px; }
.jobs-filters__actions { display: flex; align-items: center; gap: 12px; }

/* ---------- 96. Job cards ------------------------------------------------ */
.job-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 26px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .18s ease, transform .18s ease;
}
.job-card:hover { border-color: var(--sage); transform: translateY(-1px); }
.job-card__title { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 6px; }
.job-card__title a { color: var(--charcoal); text-decoration: none; }
.job-card__title a:hover { color: var(--sage); }
.job-card__company {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brown);
  margin-bottom: 14px;
}
.job-card__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.job-card__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text-muted);
}
.job-card__facts .icon { color: var(--greige); }
.job-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.job-card__date { font-size: 12.5px; color: var(--greige); white-space: nowrap; }

.jobs-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}
.jobs-pager__count { font-size: 13.5px; color: var(--text-muted); }

/* ---------- 97. Jobs empty state ---------------------------------------- */
.jobs-empty {
  max-width: 54ch;
  margin-inline: auto;
  padding: clamp(38px, 6vw, 64px) 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.jobs-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
}
.jobs-empty__icon .icon { width: 26px; height: 26px; }
.jobs-empty h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 12px; }
.jobs-empty p { color: var(--text-muted); line-height: 1.7; }
.jobs-empty__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* ---------- 98. Single job ----------------------------------------------- */
.job-single__head {
  padding: clamp(42px, 6vw, 72px) 0 clamp(30px, 4vw, 44px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.job-single__eyebrow { margin-bottom: 18px; font-size: 13.5px; }
.job-single__eyebrow a { color: var(--sage); text-decoration: none; }
.job-single__eyebrow a:hover { text-decoration: underline; }
.job-single__title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 10px;
  max-width: 22ch;
}
.job-single__company {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brown);
  margin-bottom: 20px;
}
.job-single__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.job-single__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.job-single__facts .icon { color: var(--greige); }
.job-single__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.job-single__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 48px;
  padding-block: clamp(40px, 5vw, 64px);
}

.job-section + .job-section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.job-section__title { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 16px; }
.job-section__prose { font-size: 16px; line-height: 1.75; color: var(--text-muted); }
.job-section__prose p + p { margin-top: 14px; }
.job-section__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.job-section__list li { display: flex; gap: 11px; font-size: 15.5px; line-height: 1.6; color: var(--text-muted); }
.job-section__list .icon { flex: 0 0 auto; margin-top: 3px; color: var(--sage); }

/* ---------- 99. Apply panel ---------------------------------------------- */
.job-apply {
  padding: 26px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.job-apply__notice {
  display: flex;
  gap: 11px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--charcoal);
}
.job-apply__notice .icon { flex: 0 0 auto; margin-top: 3px; color: var(--brown); }
.job-apply__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.job-apply__steps li { display: flex; gap: 16px; }
.job-apply__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}
.job-apply__steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.job-apply__steps p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin-bottom: 14px; }

/* ---------- 100. At a glance --------------------------------------------- */
.job-facts {
  position: sticky;
  top: 24px;
  padding: 26px 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.job-facts__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 18px;
}
.job-facts dl { margin: 0 0 22px; display: grid; gap: 14px; }
.job-facts dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 3px;
}
.job-facts dd { margin: 0; font-size: 15px; color: var(--charcoal); }
.job-facts__flag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 100px;
  background: #F0E9E4;
  font-size: 11px;
  font-weight: 700;
  color: var(--brown);
}
.job-facts__note { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--greige); }

/* ---------- 101. Stage 14 responsiveness --------------------------------- */
@media (max-width: 1023px) {
  .divine-dash--admin .dash-stats--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-filters { grid-template-columns: 1fr; }
  .dash-filters__actions { justify-content: flex-start; }

  .job-table__head--people { display: none; }
  .job-table__row--people { grid-template-columns: 1fr; }

  .jobs-filters { position: static; }
  .jobs-filters__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jobs-filters .jobs-filters__search { grid-column: 1 / -1; }
  .jobs-filters__actions { grid-column: 1 / -1; }

  .job-single__body { grid-template-columns: 1fr; gap: 34px; }
  .job-facts { position: static; }
}

@media (max-width: 719px) {
  .job-card { grid-template-columns: 1fr; }
  .job-card__side { align-items: flex-start; flex-direction: row-reverse; justify-content: space-between; width: 100%; }
}

@media (max-width: 599px) {
  .divine-dash--admin .dash-stats--four { grid-template-columns: 1fr; }
  .jobs-filters__form { grid-template-columns: 1fr; }
  .jobs-filters .field { grid-column: 1 / -1; }
  .dash-filters .field { grid-column: 1 / -1; }
  .jobs-empty__actions .btn,
  .job-single__actions .btn { flex: 1 1 100%; }
  .job-apply__steps li { flex-direction: column; gap: 10px; }
}

/* =====================================================================
   STAGE 15 — Job applications
   Appended below stages 1–14; nothing above is changed.
   ===================================================================== */

/* ---------- 102. Application status pills -------------------------------- */
.app-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--grey);
  color: var(--charcoal);
}
.app-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.app-status--submitted   { background: var(--grey); color: var(--charcoal); }
.app-status--reviewing   { background: #EDEAE2; color: var(--brown); }
.app-status--shortlisted { background: var(--sage-tint); color: var(--sage-deep); }
.app-status--interview   { background: #E4EDE4; color: var(--sage-deep); }
.app-status--rejected    { background: #F2ECE9; color: #8A6A5B; }
.app-status--hired       { background: var(--sage); color: var(--white); }

/* ---------- 103. Application tables -------------------------------------- */
.job-table__head--apps,
.job-table__row--apps {
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, .7fr);
}

.dash-filters--three { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; }

/* ---------- 104. Status history ------------------------------------------ */
.app-history {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 20px;
}
.app-history li {
  position: relative;
  display: flex;
  gap: 16px;
  padding-left: 2px;
}
.app-history li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: -20px;
  width: 1px;
  background: var(--line);
}
.app-history li:last-child::before { display: none; }
.app-history__dot {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border-radius: 50%;
  border: 3px solid var(--sage);
  background: var(--white);
  position: relative;
  z-index: 1;
}
.app-history__line { font-size: 15px; font-weight: 700; color: var(--charcoal); }
.app-history__when { font-size: 13px; color: var(--greige); margin-top: 2px; }
.app-history__note {
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border-left: 2px solid var(--brown);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- 105. The apply panel ----------------------------------------- */
.job-apply__intro {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
.job-apply__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.job-apply__form { margin-top: 4px; background: var(--white); }

.job-apply__done { text-align: center; padding: 10px 4px 6px; }
.job-apply__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
}
.job-apply__tick .icon { width: 25px; height: 25px; stroke-width: 2; }
.job-apply__done h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 10px; }
.job-apply__done p {
  max-width: 48ch;
  margin: 0 auto 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.job-apply__form .field input[disabled] {
  background: var(--bg);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ---------- 106. Stage 15 responsiveness --------------------------------- */
@media (max-width: 1023px) {
  .job-table__head--apps { display: none; }
  .job-table__row--apps { grid-template-columns: 1fr; }
  .dash-filters--three { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
  .job-apply__actions .btn { flex: 1 1 100%; }
  .app-history li { gap: 12px; }
}


/* =====================================================================
   STAGE 16 — Signature edition: the public website
   ---------------------------------------------------------------------
   The design the client supplied, scoped to `.divine-v2` so it governs
   the public pages only. Everything above (stages 1-15, including the
   portals and dashboards) keeps its own rules and picks up the new
   palette through the tokens at the top of this file.
   ===================================================================== */

/* ---------- 107. Public site, signature edition ---------------------- */

/* Bridge: the handful of class names that exist in both stylesheets.
   Stages 1-15 keep their rules; inside .divine-v2 the leftovers that
   would otherwise leak onto the new pages are switched off here. */
.divine-v2 .hero::before,
.divine-v2 .hero::after { content: none; }
.divine-v2 .section { padding-block: 0; }
.divine-v2 .pathway + .pathway { padding-left: 0; border-left: 0; }
/* The line above is for Stage 9's divider pathways, which still render on the
   Jobs page. The signature edition's pathways are self-contained cards, so the
   second one keeps the card's own box: 27px all round, like the client file. */
.divine-v2 .card.pathway + .card.pathway { padding: 27px; border: 1px solid #e6e8e2; }
.divine-v2 .formgrid .field { grid-column: auto; }
.divine-v2 .field label { text-transform: none; letter-spacing: 0; }

/* Header: the signature bar, the wordmark and the WordPress menu markup. */
.divine-v2 .bar-inner {
  max-width: 1220px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-inline: 24px;
}
.divine-v2 .bar-tag { margin: 0; }
.divine-v2 .bar-access {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.divine-v2 .bar-access a {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #cfd9cf;
}
.divine-v2 .bar-access a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.divine-v2 .logo { display: inline-flex; align-items: center; gap: 11px; }
.divine-v2 .logo-mark { display: block; flex: 0 0 auto; }
.divine-v2 .logo-custom { display: block; max-height: 46px; width: auto; }
.divine-v2 .logo-type { display: block; }

.divine-v2 .links ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.divine-v2 .links li { margin: 0; }
.divine-v2 .links .is-current > a,
.divine-v2 .links .current-menu-item > a {
  color: var(--green-2);
  text-decoration: underline;
  text-underline-offset: 7px;
}

/* Footer additions: contact details and the legal base line. */
.divine-v2 .footer .logo,
.divine-v2 .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 19px;
}
.divine-v2 .footer-contact {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #c3d0c4;
}
.divine-v2 .footer-contact a { color: #c3d0c4; }
.divine-v2 .footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.divine-v2 .footer b { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .08em; }
.divine-v2 .footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.divine-v2 .footer-legal { max-width: 52ch; }
.divine-v2 .footer-legal-links { display: flex; gap: 18px; }
.divine-v2 .footer-legal-links a { margin: 0; font-size: 13px; }

@media (max-width: 849px) {
  .divine-v2 .bar-inner { flex-direction: column; gap: 6px; text-align: center; }
  .divine-v2 .footer-base { flex-direction: column; align-items: flex-start; }
}
body.divine-v2{margin:0;color:var(--ink);font:16px/1.65 'DM Sans',sans-serif;background:#fff}
.divine-v2 a{color:inherit;text-decoration:none}
.divine-v2 button, .divine-v2 input, .divine-v2 select, .divine-v2 textarea{font:inherit}
.divine-v2 button{cursor:pointer}
.divine-v2 .bar{background:#142c26;color:#e9e9e1;text-align:center;padding:7px;font-size:12px;letter-spacing:.13em}
.divine-v2 .nav{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 2px 15px #173e3410}
.divine-v2 .nav-inner{max-width:1220px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:18px}
.divine-v2 .logo{font-family:'Playfair Display',serif;font-weight:700;letter-spacing:.06em;font-size:21px;color:var(--green);line-height:1.1}
.divine-v2 .logo small{display:block;font:9px 'DM Sans';letter-spacing:.2em;margin-top:6px}
.divine-v2 .links{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.divine-v2 .links a{font-size:13px;font-weight:700}
.divine-v2 .links a:hover, .divine-v2 .links a.active{color:var(--green2);text-decoration:underline;text-underline-offset:7px}
.divine-v2 .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:5px;background:var(--green);color:white;font-weight:700;font-size:14px;border:1px solid var(--green);transition:.2s}
.divine-v2 .btn:hover{background:var(--green2);transform:translateY(-2px)}
.divine-v2 .btn.alt{background:transparent;color:var(--green)}
.divine-v2 .btn.gold{background:var(--gold);color:#182d26;border-color:var(--gold)}
.divine-v2 .hero{background:linear-gradient(110deg,#102d27eb,#245b4bcf),url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1800&q=80') center/cover;color:white;padding:110px 24px 115px}
.divine-v2 .wrap{max-width:1160px;margin:auto}
.divine-v2 .hero h1{font:600 clamp(43px,6vw,80px)/1.1 'Playfair Display',serif;max-width:900px;margin:14px 0 20px}
.divine-v2 .hero p{font-size:18px;max-width:650px;color:#e4eee7}
.divine-v2 .eyebrow{text-transform:uppercase;letter-spacing:.19em;font-size:12px;font-weight:700;color:var(--gold)}
.divine-v2 .hero .eyebrow{color:#e5bd7b}
.divine-v2 .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.divine-v2 .section{padding:82px 24px}
.divine-v2 .section.soft{background:var(--cream)}
.divine-v2 .section.dark{background:#162e27;color:#fff}
.divine-v2 .section h2{font:600 clamp(32px,4vw,51px)/1.15 'Playfair Display',serif;margin:10px 0 20px}
.divine-v2 .lead{color:var(--muted);font-size:17px;max-width:760px}
.divine-v2 .dark .lead{color:#cad9cf}
.divine-v2 .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
.divine-v2 .grid.two{grid-template-columns:repeat(2,1fr)}
/* Four-item rows: a set of four in the three-column grid leaves a gap. */
.divine-v2 .grid.four{grid-template-columns:repeat(4,1fr)}
.divine-v2 .grid.four .card{padding:24px 22px}
.divine-v2 .card{background:#fff;border:1px solid #e6e8e2;border-radius:12px;padding:27px;box-shadow:0 7px 25px #173e3409;transition:.2s}
.divine-v2 .card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #173e3418}
/* Cards are always white, so the heading needs its own colour: inside a dark
   section it would otherwise inherit #fff and disappear. */
.divine-v2 .card h3{font:600 24px 'Playfair Display',serif;margin:10px 0;color:var(--green)}
.divine-v2 .card p{color:#65716a;font-size:14px}
.divine-v2 .card .num{color:var(--green2);font-weight:700;font-size:12px;letter-spacing:.12em}
.divine-v2 .card a.more{color:var(--green2);font-weight:700;font-size:13px}
.divine-v2 .split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}
.divine-v2 .visual{min-height:370px;border-radius:14px;background:linear-gradient(145deg,#173e3470,#132f27aa),url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80') center/cover;position:relative}
.divine-v2 .visual:after{content:'People • Purpose • Possibility';position:absolute;bottom:22px;left:24px;color:#fff;font:24px 'Playfair Display',serif}
.divine-v2 .chip{display:inline-block;background:#e9f0e8;color:#275a49;padding:8px 13px;border-radius:99px;font-size:13px;font-weight:700;margin:5px}
.divine-v2 .banner{padding:65px 24px;background:#35644e;color:white;text-align:center}
.divine-v2 .banner h2{font:600 45px 'Playfair Display',serif;margin:0 0 12px}
.divine-v2 .footer{background:#11271f;color:#e0e8df;padding:50px 24px}
.divine-v2 .footergrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}
.divine-v2 .footer a{display:block;font-size:14px;margin:7px 0}
.divine-v2 .footer small{color:#adbbb0}
.divine-v2 .notice{padding:17px 20px;background:#fff7e7;border-left:4px solid #c49a57;border-radius:5px;color:#554b38;margin:24px 0}
.divine-v2 .tabs{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}
.divine-v2 .tab{background:#edf1ec;color:#2d4c3f;border:0;border-radius:25px;padding:9px 17px}
.divine-v2 .tab.active{background:#214d3d;color:#fff}
.divine-v2 .book{background:#e7dfcc;border-radius:16px;padding:28px;margin-top:28px;box-shadow:0 20px 40px #0001}
.divine-v2 .book-page{background:#fffdf6;min-height:320px;padding:36px;border-left:9px solid #c6ae81;box-shadow:8px 9px 20px #0001}
.divine-v2 .book-page h3{font:600 39px 'Playfair Display',serif;color:var(--green)}
.divine-v2 .book-nav{display:flex;align-items:center;justify-content:space-between;margin-top:20px}
.divine-v2 .book-nav button{border:1px solid #7b806d;background:#fffdf6;padding:9px 15px;border-radius:5px}
.divine-v2 .book-nav button:disabled{opacity:.4}
.divine-v2 .field{display:flex;flex-direction:column;gap:6px;margin:13px 0}
.divine-v2 .field label{font-size:13px;font-weight:700}
.divine-v2 .field input, .divine-v2 .field select, .divine-v2 .field textarea{padding:12px;border:1px solid #cfd7cf;border-radius:6px;width:100%;background:white}
.divine-v2 .formbox{max-width:780px;background:#fff;padding:28px;border-radius:12px;border:1px solid #e3e9e1}
.divine-v2 .formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.divine-v2 .progress{height:7px;background:#dbe6db;border-radius:10px;overflow:hidden}
.divine-v2 .progress>div{height:100%;background:#35644e;transition:.2s}
.divine-v2 .steps{display:flex;gap:8px;margin:14px 0}
.divine-v2 .steps span{font-size:12px;color:#58715f}
.divine-v2 .faq details{border-bottom:1px solid #dce3dd;padding:17px 0}
.divine-v2 .faq summary{cursor:pointer;font-weight:700}
.divine-v2 .countryhero{background:linear-gradient(115deg,#173e34,#416b54);color:white;padding:70px 24px}
.divine-v2 .countryhero h1{font:600 65px 'Playfair Display',serif;margin:10px 0}
.divine-v2 .back{font-size:13px;font-weight:700;color:#b6d4c1}
.divine-v2 .mini{font-size:13px;color:#68756e}
.divine-v2 .tag{display:inline-block;font-size:12px;padding:5px 10px;background:#edf1ec;color:#365846;border-radius:20px;margin:3px}
.divine-v2 .mobile-toggle{display:none}
@media(max-width:1100px){.divine-v2 .grid.four{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:850px){.nav-inner{flex-wrap:wrap}
.divine-v2 .links{width:100%;justify-content:center;gap:12px}
.divine-v2 .links a{font-size:12px}
.divine-v2 .grid, .divine-v2 .grid.two, .divine-v2 .grid.four, .divine-v2 .split, .divine-v2 .footergrid{grid-template-columns:1fr}
.divine-v2 .hero{padding:75px 22px}
.divine-v2 .section{padding:58px 22px}
.divine-v2 .formgrid{grid-template-columns:1fr}
.divine-v2 .countryhero h1{font-size:46px}
}
/* Homepage clarity and audience-led redesign */
.divine-v2 .home-hero{background:linear-gradient(105deg,#102a23f2,#1b4a3cb8),url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1800&q=80') center/cover}
.divine-v2 .home-hero h1{max-width:930px}
.divine-v2 .hero-note{font-size:13px!important;opacity:.8;margin-top:20px}
.divine-v2 .light-outline{background:transparent;border:1px solid #dbe9dd;color:white}
.divine-v2 .light-outline:hover{background:#fff;color:#173e34}
.divine-v2 .section-intro{max-width:760px}
.divine-v2 .audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:35px}
.divine-v2 .audience-card{border-radius:18px;padding:42px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 15px 35px #153f3020}
.divine-v2 .employer-card{background:#173e34;color:white}
.divine-v2 .candidate-card{background:#eaf2e9;color:#173e34}
.divine-v2 .audience-card h3{font:600 clamp(29px,3vw,42px)/1.15 'Playfair Display',serif;margin:14px 0}
.divine-v2 .audience-card p{font-size:16px;max-width:480px}
.divine-v2 .employer-card p{color:#dbe7dd}
.divine-v2 .candidate-card p{color:#4e675b}
.divine-v2 .audience-card ul{padding-left:20px;margin:15px 0 28px;line-height:2}
.divine-v2 .audience-card .btn{margin-top:auto}
.divine-v2 .audience-icon{font:600 34px 'Playfair Display',serif;color:#d5ad68}
.divine-v2 .candidate-card .audience-icon{color:#3e765d}
.divine-v2 .audience-label{font-size:11px;letter-spacing:.13em;font-weight:700;color:#b28a4d}
.divine-v2 .employer-card .audience-label{color:#e5c389}
.divine-v2 .sub-link{font-size:13px;text-decoration:underline;text-underline-offset:4px;margin-top:20px}
.divine-v2 .resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px;margin-top:35px}
.divine-v2 .resource-card{border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 30px #183e3414;display:flex;flex-direction:column}
.divine-v2 .resource-art{height:155px;display:flex;align-items:flex-end;justify-content:space-between;padding:25px;color:white}
.divine-v2 .resource-art span{font:600 55px 'Playfair Display',serif;opacity:.55}
.divine-v2 .resource-art strong{letter-spacing:.17em;font-size:12px}
.divine-v2 .industry-art{background:linear-gradient(120deg,#173e34,#4c806b)}
.divine-v2 .atlas-art{background:linear-gradient(120deg,#375b71,#7a9a9e)}
.divine-v2 .library-art{background:linear-gradient(120deg,#7b5c39,#c49a57)}
.divine-v2 .resource-content{padding:26px;display:flex;flex-direction:column;flex:1}
.divine-v2 .resource-content h3{font:600 26px 'Playfair Display',serif;margin:12px 0}
.divine-v2 .resource-content p{font-size:14px;color:#68756e;flex:1}
.divine-v2 .pathway ol{padding-left:23px}
.divine-v2 .pathway li{margin:12px 0}
.divine-v2 .pathway .btn{margin-top:16px}
/* Equal-height cards leave dead space under the shorter one's button, so the
   button is pushed to the foot of the card instead. */
.divine-v2 .card.pathway{display:flex;flex-direction:column;align-items:flex-start}
.divine-v2 .card.pathway .btn{margin-top:auto}
.divine-v2 .card.pathway ol{margin-bottom:22px}
@media(max-width:850px){.divine-v2 .audience-grid,
.divine-v2 .resource-grid{grid-template-columns:1fr}
.divine-v2 .audience-card{padding:30px}
.divine-v2 .resource-art{height:125px}
.divine-v2 .home-hero{padding-top:65px}
}
/* Signature edition: editorial photography, useful resources, and readable guides */
.divine-v2 .signature-strip{background:#d4ad70;color:#183d31;padding:15px 24px}
.divine-v2 .strip-inner{display:flex;justify-content:space-between;gap:20px;font-size:11px;font-weight:800;letter-spacing:.13em}
.divine-v2 .feature-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}
.divine-v2 .feature-tile{background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 14px 35px #173e3418;display:flex;flex-direction:column;transition:.2s}
.divine-v2 .feature-tile:hover, .divine-v2 .tool-card:hover{transform:translateY(-5px)}
.divine-v2 .feature-cover{height:220px;display:flex;align-items:center;justify-content:center;text-align:center;font:600 32px/1.16 'Playfair Display',serif;letter-spacing:.04em;border-bottom:8px solid #ffffff35}
.divine-v2 .cover-green{background:radial-gradient(circle at 90% 10%,#739b79,#163c30 75%);color:#f5e8cd}
.divine-v2 .cover-gold{background:radial-gradient(circle at 90% 10%,#e3c89d,#a16e3b 75%);color:#fff9ed}
.divine-v2 .cover-blue{background:radial-gradient(circle at 90% 10%,#8daab3,#284c5d 75%);color:#fff}
.divine-v2 .feature-tile>div{padding:25px;flex:1}
.divine-v2 .feature-tile small{font-size:11px;letter-spacing:.13em;color:#60806c;font-weight:800}
.divine-v2 .feature-tile h3, .divine-v2 .tool-card h3{font:600 25px/1.2 'Playfair Display',serif;margin:12px 0}
.divine-v2 .feature-tile p, .divine-v2 .tool-card p{color:#627169;font-size:14px}
.divine-v2 .feature-tile b, .divine-v2 .tool-card b{color:#2c6952;font-size:13px}
.divine-v2 .photo-panel{min-height:420px;border-radius:16px;position:relative;background-size:cover;background-position:center;box-shadow:0 20px 50px #173e3422}
.divine-v2 .photo-employer{background-image:linear-gradient(0deg,#142f26ba,transparent 55%),url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=85')}
.divine-v2 .photo-atlas{background-image:linear-gradient(0deg,#142f26ba,transparent 55%),url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1200&q=85')}
.divine-v2 .photo-caption{position:absolute;bottom:28px;left:28px;right:28px;color:white;font:600 28px 'Playfair Display',serif}
.divine-v2 .tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:35px}
.divine-v2 .tool-card{padding:30px;border:1px solid #e0e7df;border-radius:15px;background:#fff;transition:.2s;box-shadow:0 10px 30px #173e340a}
.divine-v2 .tool-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:#e6eee8;color:#2d6952;font-weight:800}
.divine-v2 .guide-hero{background:linear-gradient(115deg,#102d26,#3b705a);color:white;padding:90px 24px}
.divine-v2 .guide-hero .eyebrow{display:block;margin-top:35px;color:#e9c98d}
.divine-v2 .guide-hero h1{font:600 clamp(40px,5vw,72px)/1.1 'Playfair Display',serif;max-width:850px;margin:18px 0}
.divine-v2 .guide-hero p{font-size:19px;max-width:650px;color:#e5efe8}
.divine-v2 .guide-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:65px;align-items:start}
.divine-v2 .guide-toc{background:white;border-radius:12px;padding:25px;position:sticky;top:105px;box-shadow:0 10px 35px #173e3410}
.divine-v2 .guide-toc>a:not(.btn){display:block;border-bottom:1px solid #e4ebe3;padding:11px 0;font-size:13px;font-weight:700}
.divine-v2 .guide-toc .btn{margin-top:20px}
.divine-v2 .guide-chapter{background:white;padding:35px;margin-bottom:20px;border-radius:12px;border-left:4px solid #c49a57}
.divine-v2 .guide-chapter h2{font-size:32px}
.divine-v2 .guide-chapter p{font-size:17px;color:#4d5f54;line-height:1.85}
.divine-v2 .guide-article .notice{margin-top:25px}
@media(max-width:900px){.divine-v2 .feature-tiles,
.divine-v2 .tool-grid,
.divine-v2 .guide-layout{grid-template-columns:1fr}
.divine-v2 .guide-toc{position:static}
.divine-v2 .strip-inner{flex-direction:column;gap:5px}
.divine-v2 .photo-panel{min-height:320px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.divine-v2 *:before, .divine-v2 *:after{transition:none!important;animation:none!important}
}

/* ---------- 108. Signature edition: template helpers ------------------ */
.divine-v2 .eyebrow--block { display: block; margin-top: 25px; }
.divine-v2 .btn--spaced { margin-top: 30px; }
.divine-v2 .actions--centred { justify-content: center; }
.divine-v2 .entry-copy { margin: 18px 0; }
.divine-v2 .entry-copy p + p { margin-top: 14px; }
.divine-v2 .book-page .eyebrow { display: block; margin-bottom: 10px; }
.divine-v2 #briefResult {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.divine-v2 .guide-chapter p + p { margin-top: 14px; }
