/* ==========================================================================
   WorkZy — site styles
   Tokens → base → layout → components → pages → utilities
   ========================================================================== */

:root {
  /* Colour */
  --c-primary: #0e6b66;
  --c-primary-700: #0a514d;
  --c-primary-800: #083f3c;
  --c-primary-100: #d5ebe8;
  --c-primary-50: #edf6f4;
  --c-accent: #f2b45a;
  --c-accent-ink: #8a5a12;
  --c-accent-50: #fdf4e6;
  --c-ink: #13233f;
  --c-ink-2: #34425c;
  --c-muted: #5b6779;
  --c-line: #e2e6eb;
  --c-line-strong: #cdd4dc;
  --c-bg: #ffffff;
  --c-soft: #f5f6f3;
  --c-dark: #0f1f38;
  --c-dark-2: #172b4a;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem);
  --fs-h1: clamp(2.1rem, 1.45rem + 2.8vw, 3.65rem);
  --lh-tight: 1.15;
  --lh: 1.65;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --section-y: clamp(4rem, 2.8rem + 5vw, 7rem);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 76px;

  /* Shape */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(19 35 63 / 0.06);
  --shadow: 0 4px 14px -4px rgb(19 35 63 / 0.1), 0 2px 4px rgb(19 35 63 / 0.04);
  --shadow-lg: 0 24px 48px -20px rgb(19 35 63 / 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--c-ink-2);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--c-ink); line-height: var(--lh-tight); margin: 0 0 var(--sp-4); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-700); }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--c-ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-primary-100); color: var(--c-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.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;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--c-ink); color: #fff; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--c-soft); }
.section--tint { background: var(--c-primary-50); }
.section--tight { padding-block: calc(var(--section-y) * 0.65); }
.section + .section:not(.section--soft):not(.section--tint) { padding-top: 0; }
.section--soft + .section--soft { padding-top: 0; }

.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lead { font-size: var(--fs-lg); color: var(--c-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--c-accent); border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--c-accent); border-radius: 2px; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1000px) {
  .grid--3-fixed { grid-template-columns: repeat(3, 1fr); }
  .grid--5 { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 640px) and (max-width: 999px) { .grid--5 { grid-template-columns: repeat(2, 1fr); } }
.grid--5 { display: grid; gap: var(--sp-4); }

.split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split--5-7 { grid-template-columns: 5fr 7fr; }
  .split--7-5 { grid-template-columns: 7fr 5fr; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: var(--sp-4); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-primary); --btn-fg: #fff; --btn-bd: var(--c-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0.7rem 1.4rem;
  font: 600 var(--fs-sm)/1.2 var(--font); text-decoration: none; letter-spacing: 0.005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--r-sm);
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary:hover { --btn-bg: var(--c-primary-700); --btn-bd: var(--c-primary-700); color: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-line-strong); }
.btn--outline:hover { --btn-bd: var(--c-primary); --btn-fg: var(--c-primary); color: var(--c-primary); background: var(--c-primary-50); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--c-accent-50); color: var(--c-ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.4); }
.btn--ghost-light:hover { --btn-bd: #fff; color: #fff; background: rgb(255 255 255 / 0.08); }
.btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 650; font-size: var(--fs-sm);
  color: var(--c-primary); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--c-primary-700); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgb(255 255 255 / 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: var(--shadow-sm); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--c-primary); flex: none; }
.logo__img { display: block; height: 46px; width: auto; }

.site-nav__list { list-style: none; display: flex; align-items: center; gap: var(--sp-1); }
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); text-decoration: none; border-radius: var(--r-sm);
  position: relative;
}
.site-nav__link:hover { color: var(--c-primary); }
.site-nav__link[aria-current="page"], .has-sub.is-active > .site-nav__parent > .site-nav__link { color: var(--c-primary); }
.site-nav__link[aria-current="page"]::after, .has-sub.is-active > .site-nav__parent > .site-nav__link::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 6px; height: 2px; background: var(--c-accent); border-radius: 2px;
}
.site-nav__parent { display: flex; align-items: center; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -0.6rem;
  background: none; border: 0; color: var(--c-ink); cursor: pointer; border-radius: var(--r-sm);
}
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub-menu { list-style: none; }
.sub-menu a {
  display: flex; align-items: center; gap: var(--sp-3); padding: 0.6rem 0.75rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); text-decoration: none; line-height: 1.3;
}
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--c-primary-50); color: var(--c-primary-700); }
.site-nav__cta { margin-left: var(--sp-4); }

.nav-toggle {
  display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: #fff; color: var(--c-ink); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (min-width: 1081px) {
  .site-nav { display: flex; align-items: center; }
  .sub-menu {
    position: absolute; top: calc(100% + 6px); left: -0.5rem; width: 340px; padding: var(--sp-2);
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
  }
  .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; padding: var(--sp-4) var(--gutter) var(--sp-7);
    display: none; flex-direction: column;
  }
  .site-nav.is-open { display: flex; animation: navIn .22s var(--ease); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--c-line); }
  .site-nav__link { min-height: 56px; font-size: var(--fs-lg); padding: 0 var(--sp-1); flex: 1; }
  .site-nav__link[aria-current="page"]::after, .has-sub.is-active > .site-nav__parent > .site-nav__link::after { display: none; }
  .sub-toggle { width: 52px; height: 56px; margin: 0; }
  .sub-toggle .icon { width: 20px; height: 20px; }
  .sub-menu { display: none; padding: 0 0 var(--sp-3); }
  .has-sub.is-open .sub-menu { display: block; }
  .site-nav__cta { margin: var(--sp-5) 0 0; }
  .site-nav__cta .btn { width: 100%; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Icon badge ---------- */
.icon-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: var(--r); background: var(--c-primary-50); color: var(--c-primary);
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--sm { width: 34px; height: 34px; border-radius: var(--r-sm); }
.icon-badge--sm .icon { width: 18px; height: 18px; }
.icon-badge--lg { width: 68px; height: 68px; border-radius: var(--r-lg); }
.icon-badge--lg .icon { width: 32px; height: 32px; }
.icon-badge--accent { background: var(--c-accent-50); color: var(--c-accent-ink); }

/* ---------- Lists ---------- */
.check-list { list-style: none; display: grid; gap: 0.55rem; }
.check-list li { position: relative; padding-left: 1.75rem; line-height: 1.45; font-size: var(--fs-sm); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.12em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--c-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e6b66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}
.check-list--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); column-gap: var(--sp-5); }
.dot-list { list-style: none; display: grid; gap: var(--sp-2); }
.dot-list li { position: relative; padding-left: 1.1rem; font-size: var(--fs-sm); line-height: 1.45; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--c-line-strong); }
.card__title { margin: var(--sp-2) 0 0; }
.card p { font-size: var(--fs-sm); color: var(--c-muted); }
.card .check-list, .card .dot-list { margin-top: var(--sp-2); }
.card__foot { margin-top: auto; padding-top: var(--sp-3); }
.card--soft { background: var(--c-soft); border-color: transparent; }
.section--soft .card--soft { background: #fff; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(4rem, 3rem + 4vw, 7rem); }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 55%; height: 100%;
  background: linear-gradient(180deg, var(--c-primary-50), rgb(237 246 244 / 0)); border-bottom-left-radius: 120px; z-index: -1;
}
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--sp-8); } }
.hero__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); margin-bottom: var(--sp-5); }
.hero__title span { display: block; }
.hero__title span:nth-child(2) { color: var(--c-primary); }
.hero__lead { font-size: var(--fs-lg); max-width: 34rem; margin-bottom: var(--sp-6); }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero__chip {
  position: absolute; left: clamp(-1rem, -2vw, 0rem); bottom: 1.5rem; display: flex; align-items: center; gap: var(--sp-3);
  padding: 0.85rem 1.1rem; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); max-width: 270px;
}
.hero__chip strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.hero__chip small { color: var(--c-muted); font-size: var(--fs-xs); }
.hero__note { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-muted); }
.hero__note span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__note .icon { color: var(--c-primary); width: 18px; height: 18px; }
@media (max-width: 599px) { .hero__chip { position: static; margin-top: var(--sp-4); max-width: none; box-shadow: var(--shadow); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(3rem, 2rem + 4vw, 5.5rem); background: var(--c-soft); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px dashed var(--c-line-strong); opacity: 0.7; pointer-events: none;
}
.page-hero__grid { position: relative; z-index: 1; display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 960px) { .page-hero__grid--media { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-8); } }
.page-hero__lead { font-size: var(--fs-lg); max-width: 40rem; }
.page-hero h1 { margin-bottom: var(--sp-5); max-width: 18ch; }
.page-hero--wide h1 { max-width: 22ch; }
.page-hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.page-hero .btn-row { margin-top: var(--sp-6); }

.breadcrumb { margin-bottom: var(--sp-6); position: relative; z-index: 1; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: 500; }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--c-muted); }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-ink); }

/* ---------- Intro (two-column statement) ---------- */
.intro__title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.intro__body p { font-size: var(--fs-lg); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-top: var(--sp-6); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: var(--sp-4); border-radius: var(--r); background: var(--c-soft); border-left: 3px solid var(--c-accent); }
.pillar strong { display: block; font-size: var(--fs-sm); }
.pillar span { font-size: var(--fs-xs); color: var(--c-muted); }

/* ---------- Journeys ---------- */
.journeys { display: grid; gap: var(--sp-5); position: relative; }
@media (min-width: 980px) {
  .journeys { grid-template-columns: 1fr 1fr; }
  .journeys::before {
    content: ""; position: absolute; left: 50%; top: 64px; width: 72px; height: 72px; transform: translateX(-50%); z-index: 2;
    border-radius: 50%; background: #fff url("../img/favicon-192.png") center / 40px no-repeat; box-shadow: var(--shadow-lg); border: 6px solid var(--c-soft);
  }
}
.journey {
  display: flex; flex-direction: column; gap: var(--sp-4); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); border-top: 4px solid var(--c-primary);
  scroll-margin-top: calc(var(--header-h) + 24px); transition: box-shadow .3s var(--ease);
}
.journey:target { box-shadow: 0 0 0 4px var(--c-primary-100), var(--shadow-lg); }
.journey--people { border-top-color: var(--c-accent); }
.journey__head { display: flex; align-items: center; gap: var(--sp-4); }
.journey__head h3 { margin: 0; font-size: var(--fs-xl); }
.journey__head .eyebrow { margin-bottom: 2px; }
.journey__intro { font-size: var(--fs-base); }
.journey__subhead { font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink); text-transform: uppercase; letter-spacing: 0.08em; margin: var(--sp-3) 0 0; }
.stage-list { list-style: none; display: grid; gap: var(--sp-3); }
.stage-list li { padding: var(--sp-3) var(--sp-4); background: var(--c-soft); border-radius: var(--r); font-size: var(--fs-sm); line-height: 1.5; }
.stage-list strong { display: block; margin-bottom: 2px; }
.journey .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Pathway ---------- */
.path { list-style: none; counter-reset: none; }
.path--chips { display: flex; flex-wrap: wrap; gap: var(--sp-2) 0; align-items: center; }
.path--chips .path__step { display: inline-flex; align-items: center; }
.path--chips .path__num { display: none; }
.path--chips .path__label {
  display: inline-block; padding: 0.35rem 0.75rem; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 650;
  background: var(--c-primary-50); color: var(--c-primary-700); border: 1px solid var(--c-primary-100);
}
.path--chips .path__step + .path__step::before { content: ""; width: 16px; height: 1.5px; background: var(--c-line-strong); margin: 0 2px; }
.journey--people .path--chips .path__label { background: var(--c-accent-50); color: var(--c-accent-ink); border-color: #f6dfb7; }

.path--timeline { display: grid; gap: 0; position: relative; }
.path--timeline .path__step { position: relative; display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) 0; }
.path--timeline .path__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-primary); color: var(--c-primary); font-size: var(--fs-xs); font-weight: 800;
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.path--timeline .path__label { font-weight: 650; color: var(--c-ink); }
.path--timeline .path__step:hover .path__num { background: var(--c-primary); color: #fff; transform: scale(1.06); }
.path--timeline .path__step::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; background: var(--c-primary-100); }
.path--timeline .path__step:first-child::before { top: 50%; }
.path--timeline .path__step:last-child::before { bottom: 50%; }
.path--timeline .path__step:last-child .path__num { background: var(--c-primary); color: #fff; }
@media (min-width: 760px) {
  .path--timeline { grid-auto-flow: column; grid-auto-columns: 1fr; }
  .path--timeline .path__step { flex-direction: column; text-align: center; gap: var(--sp-3); padding: 0 var(--sp-1); }
  .path--timeline .path__step::before { left: 0; right: 0; top: 22px; bottom: auto; width: auto; height: 2px; }
  .path--timeline .path__step:first-child::before { left: 50%; top: 22px; }
  .path--timeline .path__step:last-child::before { right: 50%; bottom: auto; }
  .path--timeline .path__label { font-size: var(--fs-sm); }
}
.path-panel { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.path-panel__caption { text-align: center; margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--c-muted); }

/* ---------- Solution cards (home / overview) ---------- */
.solution {
  display: grid; overflow: hidden; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.solution:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.solution__media { position: relative; overflow: hidden; }
.solution__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.solution:hover .solution__media img { transform: scale(1.03); }
.solution__num {
  position: absolute; left: var(--sp-4); top: var(--sp-4); padding: 0.3rem 0.65rem; border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.94); color: var(--c-primary); font-weight: 800; font-size: var(--fs-xs); letter-spacing: 0.06em;
}
.solution__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); }
.solution__body h3 { margin: 0; font-size: var(--fs-xl); }
.solution__body h3 a { color: inherit; text-decoration: none; }
.solution__body h3 a:hover { color: var(--c-primary); }
.solution__body > p { color: var(--c-muted); font-size: var(--fs-sm); }
.solution__body .link-arrow { margin-top: auto; padding-top: var(--sp-2); }
@media (min-width: 720px) {
  .solution--wide { grid-template-columns: 0.9fr 1.1fr; }
  .solution--wide .solution__media img { aspect-ratio: auto; min-height: 100%; }
}
.solutions-note { margin-top: var(--sp-6); text-align: center; color: var(--c-muted); }

/* ---------- Benefits (Why WorkZy) ---------- */
.benefit { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); height: 100%; }
.benefit h3 { font-size: 1.05rem; margin: var(--sp-2) 0 0; }
.benefit p { font-size: var(--fs-sm); color: var(--c-muted); }
.statement {
  margin-top: var(--sp-7); padding: var(--sp-6); border-radius: var(--r-lg); background: var(--c-primary-50);
  display: flex; gap: var(--sp-4); align-items: center; font-size: var(--fs-lg); color: var(--c-ink); font-weight: 500;
}
.statement .icon-badge { background: #fff; }

/* ---------- About ---------- */
.story-pair { display: grid; gap: var(--sp-4); }
.story-card { padding: var(--sp-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); display: flex; gap: var(--sp-4); }
.story-card h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.story-card p { font-size: var(--fs-sm); color: var(--c-muted); }
.story-link { text-align: center; padding: var(--sp-4); font-weight: 700; color: var(--c-primary-700); background: var(--c-primary-50); border-radius: var(--r); }
.people-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.person {
  position: relative; display: flex; flex-direction: column; text-align: center; overflow: hidden;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.person__top {
  position: relative; height: 112px;
  background: radial-gradient(circle at 85% 0%, rgb(242 180 90 / 0.45), transparent 55%), linear-gradient(135deg, var(--c-primary-800), var(--c-primary));
}
.person__top::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgb(255 255 255 / 0.12) 1px, transparent 1.5px) 0 0 / 14px 14px; }
.person__avatar {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); z-index: 1;
  width: 128px; height: 128px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; border: 5px solid #fff; box-shadow: 0 10px 28px rgb(8 63 60 / 0.25);
  background: linear-gradient(135deg, var(--c-primary-50), var(--c-primary-100));
  transition: transform .3s var(--ease);
}
.person:hover .person__avatar { transform: translate(-50%, 50%) scale(1.04); }
.person__avatar span { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--c-primary-700); }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person__body { display: flex; flex-direction: column; align-items: center; flex: 1; padding: calc(64px + var(--sp-5)) clamp(1.4rem, 1rem + 1.2vw, 2rem) clamp(1.6rem, 1rem + 1.5vw, 2.2rem); }
.person__name { font-size: 1.35rem; margin: 0 0 var(--sp-3); }
.person__role {
  display: inline-block; padding: 0.45rem 1.1rem; border-radius: 999px;
  background: var(--c-accent); color: var(--c-ink); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgb(242 180 90 / 0.35);
}
.person__rule { display: block; width: 44px; height: 3px; margin: var(--sp-5) auto; border-radius: 3px; background: var(--c-primary-100); }
.person__body p:not(.person__role) { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.7; }
.person__body p:not(.person__role) + p { margin-top: var(--sp-3); }
.connected { margin-top: var(--sp-7); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-primary); display: flex; gap: var(--sp-5); align-items: flex-start; }
.connected .icon-badge { flex: none; }
.connected h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.connected p { color: var(--c-ink-2); max-width: 75ch; }
.connected p + p { margin-top: var(--sp-3); }
.pull-quote { margin: var(--sp-6) 0 0; padding-left: var(--sp-5); border-left: 3px solid var(--c-accent); font-size: var(--fs-xl); font-weight: 600; color: var(--c-ink); line-height: 1.4; }

.vm { display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .vm { grid-template-columns: 1fr 1fr; } }
.vm__card { padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); }
.vm__card--dark { background: var(--c-dark); border-color: var(--c-dark); }
.vm__card--dark h3, .vm__card--dark p { color: #fff; }
.vm__card--dark .eyebrow { color: var(--c-accent); }
.vm__card p { font-size: var(--fs-lg); margin: 0; }
.vm__card h3 { font-size: var(--fs-xl); }

.steps { list-style: none; display: grid; gap: var(--sp-4); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(var(--steps, 5), 1fr); gap: var(--sp-3); } }
.step { position: relative; padding: var(--sp-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: var(--sp-4);
  border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 800; font-size: var(--fs-xs);
}
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: calc(var(--sp-5) + 20px); left: calc(var(--sp-5) + 50px); right: calc(-1 * var(--sp-3) - 1px);
    height: 2px; background: repeating-linear-gradient(90deg, var(--c-primary-100) 0 6px, transparent 6px 11px);
  }
}
.step h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--c-muted); }

.promise { text-align: center; max-width: 780px; margin-inline: auto; }
.promise__lines { list-style: none; display: grid; gap: var(--sp-2); margin: var(--sp-6) 0; font-size: var(--fs-xl); font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.promise__lines li:last-child { color: var(--c-primary); }
.promise__close { margin-top: var(--sp-6); font-size: var(--fs-xl); color: var(--c-ink); font-weight: 600; line-height: 1.4; }
.promise__close span { display: block; color: var(--c-primary); }

.commit-list { list-style: none; display: grid; gap: var(--sp-3); }
.commit-list li { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); background: #fff; border-radius: var(--r); border: 1px solid var(--c-line); font-size: var(--fs-sm); }
.commit-list .icon { color: var(--c-primary); margin-top: 2px; }

/* ---------- Service cards / accordion ---------- */
.service-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.service-card__head { display: flex; align-items: flex-start; gap: var(--sp-4); }
.service-card__head h3 { margin: 0 0 var(--sp-2); }
.service-card__head p { margin: 0; }

.accordion { display: grid; gap: var(--sp-3); }
.acc { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s; scroll-margin-top: calc(var(--header-h) + 24px); }
.acc[open] { border-color: var(--c-primary-100); box-shadow: var(--shadow); }
.acc summary {
  display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-5); cursor: pointer; list-style: none; border-radius: var(--r-lg);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover .acc__title { color: var(--c-primary); }
.acc__title { flex: 1; margin: 0; font-size: 1.1rem; transition: color .2s; }
.acc__chev { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-soft); color: var(--c-ink); flex: none; transition: transform .25s var(--ease), background-color .2s; }
.acc__chev .icon { width: 18px; height: 18px; }
.acc[open] .acc__chev { transform: rotate(180deg); background: var(--c-primary); color: #fff; }
.acc__body { padding: 0 var(--sp-5) var(--sp-5) calc(var(--sp-5) + 52px + var(--sp-4)); }
@media (max-width: 599px) { .acc__body { padding-left: var(--sp-5); } .acc summary .icon-badge { display: none; } }
.faq .acc__body { padding-left: var(--sp-5); padding-right: calc(var(--sp-5) + 36px); }
.faq .acc__body p { color: var(--c-ink-2); }
.faq .acc__body a { font-weight: 600; }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 1; object-fit: cover; margin-top: var(--sp-5); }

/* Stage cards */
.stage-card { padding: clamp(1.5rem, 1rem + 1.2vw, 2rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.stage-card__step { font-size: var(--fs-xs); font-weight: 800; color: var(--c-accent-ink); letter-spacing: 0.1em; text-transform: uppercase; }
.stage-card h3 { margin: 0; }
.stage-card p { font-size: var(--fs-sm); color: var(--c-muted); }

/* Org-size approach blocks */
.approach-types { display: grid; gap: var(--sp-3); }
.approach-type { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-4) var(--sp-5); background: #fff; border-radius: var(--r); border: 1px solid var(--c-line); }
.approach-type strong { display: block; margin-bottom: 2px; }
.approach-type p { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }
.mini-steps { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: var(--sp-5) 0; }
.mini-steps li { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 700; color: var(--c-ink); font-size: var(--fs-sm); }
.mini-steps li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 0.75rem; }
.mini-steps li + li::before { content: ""; width: 20px; height: 2px; background: var(--c-line-strong); margin-right: var(--sp-1); }

/* Notice / disclaimer */
.notice { display: flex; gap: var(--sp-4); padding: var(--sp-5); border-radius: var(--r-lg); background: var(--c-accent-50); border: 1px solid #f3dcb3; }
.notice .icon { color: var(--c-accent-ink); width: 24px; height: 24px; margin-top: 2px; }
.notice p { font-size: var(--fs-sm); color: var(--c-ink-2); }
.notice strong { display: block; margin-bottom: var(--sp-1); }

/* Tagline banner */
.tagline-banner { text-align: center; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); font-weight: 750; color: var(--c-ink); letter-spacing: -0.02em; line-height: 1.3; }
.tagline-banner span { color: var(--c-primary); }

/* Feature (large service areas, IT) */
.feature { display: flex; gap: var(--sp-5); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); height: 100%; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.feature p { color: var(--c-muted); margin: 0; }
@media (max-width: 499px) { .feature { flex-direction: column; } }

/* Flow (Manual work → Efficiency) */
.flow { list-style: none; display: grid; gap: var(--sp-3); }
@media (min-width: 800px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.flow__item { position: relative; padding: var(--sp-5); text-align: center; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--r-lg); color: #fff; }
.flow__item .icon-badge { background: rgb(255 255 255 / 0.1); color: var(--c-accent); margin: 0 auto var(--sp-3); }
.flow__item strong { color: #fff; display: block; }
.flow__item small { color: rgb(255 255 255 / 0.72); font-size: var(--fs-xs); }
@media (min-width: 800px) {
  .flow__item { margin-right: 28px; }
  .flow__item:last-child { margin-right: 0; background: var(--c-primary); border-color: var(--c-primary); }
  .flow__item:not(:last-child)::after {
    content: ""; position: absolute; right: -24px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b45a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
.section--dark { background: var(--c-dark); color: rgb(255 255 255 / 0.82); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--c-accent); }
.section--dark .section-head__lead { color: rgb(255 255 255 / 0.75); }

.quote-block { position: relative; padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-radius: var(--r-lg); background: var(--c-primary); color: #fff; }
.quote-block p { color: rgb(255 255 255 / 0.9); }
.quote-block .eyebrow { color: #fff; }
.quote-block__title { margin: 0 0 var(--sp-5); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; line-height: 1.25; color: #fff; letter-spacing: -0.02em; }
.quote-block__title::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; color: var(--c-accent); margin-bottom: var(--sp-3); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-y); }
.cta-band__inner {
  position: relative; overflow: hidden; display: grid; gap: var(--sp-5); align-items: center;
  padding: clamp(2rem, 1.2rem + 3vw, 3.75rem); border-radius: var(--r-lg); background: var(--c-dark); color: rgb(255 255 255 / 0.8);
}
.cta-band__inner::before {
  content: ""; position: absolute; right: -80px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%;
  border: 2px dashed rgb(242 180 90 / 0.35); pointer-events: none;
}
.cta-band__inner::after {
  content: ""; position: absolute; right: 60px; top: -60px; width: 160px; height: 160px; border-radius: 50%;
  background: rgb(14 107 102 / 0.45); filter: blur(30px); pointer-events: none;
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.6fr auto; gap: var(--sp-7); } }
.cta-band__title { color: #fff; margin-bottom: var(--sp-3); }
.cta-band__text { font-size: var(--fs-lg); max-width: 40rem; }
.cta-band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- Careers ---------- */
.vacancy { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.vacancy__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.vacancy__title { margin: 0; font-size: var(--fs-xl); }
.vacancy .btn { align-self: flex-start; }
.vacancy__details summary { display: inline-flex; align-items: center; gap: var(--sp-2); cursor: pointer; font-weight: 650; color: var(--c-primary); font-size: var(--fs-sm); list-style: none; }
.vacancy__details summary::-webkit-details-marker { display: none; }
.vacancy__details[open] summary .icon { transform: rotate(180deg); }
.vacancy__body { padding-top: var(--sp-3); font-size: var(--fs-sm); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); background: var(--c-soft); font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-2); }
.tag .icon { width: 14px; height: 14px; color: var(--c-primary); }
.empty-state { text-align: center; max-width: 560px; margin-inline: auto; padding: var(--sp-7) var(--sp-5); border: 1.5px dashed var(--c-line-strong); border-radius: var(--r-lg); background: #fff; }
.empty-state .icon-badge { margin: 0 auto var(--sp-4); }
.empty-state p { color: var(--c-muted); margin-bottom: var(--sp-5); }
.note-card { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between; padding: var(--sp-5); border-radius: var(--r-lg); background: var(--c-primary-50); }

/* ---------- Contact ---------- */
.enquiry-cards { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.enquiry-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-5); text-align: left;
  font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--r-lg); cursor: pointer; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.enquiry-card:hover { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.enquiry-card.is-selected { border-color: var(--c-primary); background: var(--c-primary-50); box-shadow: 0 0 0 3px var(--c-primary-100); }
.enquiry-card strong { font-size: 1.05rem; }
.enquiry-card span.link-arrow { margin-top: auto; }
@media (min-width: 900px) { .enquiry-cards { grid-template-columns: 2fr 1fr 1fr; } }
.enquiry-card--group { cursor: default; gap: var(--sp-4); }
.enquiry-card--group:hover { transform: none; box-shadow: none; border-color: var(--c-line); }
.enquiry-card--group.is-selected:hover { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-100); }
.enquiry-card__head { display: flex; align-items: center; gap: var(--sp-4); }
.enquiry-card__head p { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.enquiry-options { width: 100%; display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.enquiry-option {
  display: flex; align-items: center; gap: var(--sp-3); padding: 0.8rem 1rem; border-radius: var(--r);
  background: var(--c-soft); border: 1.5px solid transparent; color: var(--c-ink); font-weight: 650; font-size: var(--fs-sm); text-decoration: none;
  transition: border-color .2s, background-color .2s, color .2s;
}
.enquiry-option .icon { width: 20px; height: 20px; flex: none; color: var(--c-primary); }
.enquiry-option span { flex: 1; }
.enquiry-option .icon:last-child { width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.enquiry-option:hover { background: #fff; border-color: var(--c-primary); color: var(--c-ink); }
.enquiry-option:hover .icon:last-child, .enquiry-option.is-selected .icon:last-child { opacity: 1; transform: none; }
.enquiry-option.is-selected { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.enquiry-option.is-selected .icon { color: #fff; }
.enquiry-card--group.is-selected .icon-badge, .enquiry-card--group.is-selected .enquiry-option:not(.is-selected) { background: #fff; }

.contact-layout { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.6fr 1fr; gap: var(--sp-7); } }
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 24px); }
.form-grid { display: grid; gap: var(--sp-4) var(--sp-5); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 650; color: var(--c-ink); }
.field .req { color: #b42318; }
.field .hint { font-size: var(--fs-xs); color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; font: inherit; font-size: 1rem; color: var(--c-ink);
  background: #fff; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313233f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-100); }
.field input[type="file"] { padding: 0.6rem; min-height: auto; background: var(--c-soft); border-style: dashed; cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; font-size: var(--fs-sm); margin-right: var(--sp-3); padding: 0.5rem 0.9rem; border: 0; border-radius: 6px; background: var(--c-primary); color: #fff; cursor: pointer; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field__error { font-size: var(--fs-xs); color: #b42318; font-weight: 600; min-height: 0; }
.field[hidden] { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-top: var(--sp-5); }
.form-foot p { font-size: var(--fs-xs); color: var(--c-muted); margin: 0; }
.form-status { margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--r); font-size: var(--fs-sm); }
.form-status:empty { display: none; }
.form-status--ok { background: var(--c-primary-50); color: var(--c-primary-800); }
.form-status--error { background: #fef3f2; color: #912018; }
.form-status--pending { background: var(--c-soft); color: var(--c-ink); }
.btn[aria-busy="true"] { opacity: .65; cursor: progress; }

.contact-aside { display: grid; gap: var(--sp-4); }
.contact-item { display: flex; gap: var(--sp-4); align-items: center; padding: var(--sp-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
a.contact-item:hover { border-color: var(--c-primary); box-shadow: var(--shadow); color: inherit; }
.contact-item small { display: block; font-size: var(--fs-xs); color: var(--c-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item strong { font-size: 1.05rem; word-break: break-word; }
.contact-aside .socials { padding: var(--sp-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.contact-aside .social { background: var(--c-soft); color: var(--c-ink); }
.contact-aside .social:hover { background: var(--c-primary); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: rgb(255 255 255 / 0.72); padding-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); font-size: var(--fs-sm); }
.site-footer a { color: rgb(255 255 255 / 0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--sp-7) var(--sp-6); padding-bottom: var(--sp-7); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__grid { grid-template-columns: 1.5fr 0.8fr 1.3fr 1.1fr; } }
.site-footer__brand .logo { margin-bottom: var(--sp-4); color: var(--c-primary); }
.site-footer__brand p { max-width: 34ch; }
.site-footer__tagline { color: var(--c-accent); font-weight: 600; }
.site-footer__heading { font-size: var(--fs-xs); color: #fff; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; display: grid; gap: var(--sp-3); }
.site-footer__contact a { display: inline-flex; align-items: center; gap: var(--sp-3); }
.site-footer__contact .icon { color: var(--c-accent); width: 18px; height: 18px; }
.socials { display: flex !important; gap: var(--sp-2) !important; margin-top: var(--sp-5); list-style: none; }
.contact-aside .socials { margin-top: 0; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / 0.08); transition: background-color .2s; }
.social .icon { width: 18px; height: 18px; }
.site-footer .social:hover { background: var(--c-primary); text-decoration: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-5); border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--fs-xs); }
.site-footer__bottom ul { display: flex; gap: var(--sp-5); }
.site-footer__credit a { color: #fff; font-weight: 600; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-6); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.text-center { text-align: center; }
.h3-size { font-size: var(--fs-xl); margin-bottom: var(--sp-5); }
.lead { font-size: var(--fs-lg); }
.muted { color: var(--c-muted); }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- CV registration ---------- */
.form-group { border: 0; padding: 0; margin: 0 0 var(--sp-6); min-width: 0; }
.form-group legend { display: flex; align-items: center; gap: var(--sp-3); width: 100%; padding: 0; margin-bottom: var(--sp-4); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-primary); }
.form-group legend::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.form-group > .field + .field { margin-top: var(--sp-4); }
.filedrop {
  display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-5); cursor: pointer;
  background: var(--c-primary-50); border: 2px dashed var(--c-primary-100); border-radius: var(--r-lg);
  transition: border-color .2s, background-color .2s;
}
.field .filedrop { font-weight: 400; }
.filedrop:hover, .filedrop.is-dragover { border-color: var(--c-primary); background: #fff; }
.filedrop.has-file { border-style: solid; border-color: var(--c-primary); background: #fff; }
.filedrop .icon-badge { background: #fff; flex: none; }
.filedrop__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.filedrop__text strong { color: var(--c-ink); word-break: break-word; }
.filedrop__text small { font-size: var(--fs-xs); color: var(--c-muted); }
.field input.filedrop__input[type="file"] { position: absolute; width: 1px; height: 1px; min-width: 0; padding: 0; border: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; }
.field:has(.filedrop__input) { position: relative; }
.field:has(.filedrop__input:focus-visible) .filedrop { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.field.has-error .filedrop { border-color: #b42318; }
.field--check { margin-top: var(--sp-2); }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; padding: 0; flex: none; accent-color: var(--c-primary); }
.next-card { padding: var(--sp-6); background: var(--c-dark); color: rgb(255 255 255 / 0.78); border-radius: var(--r-lg); }
.next-card h2 { color: #fff; }
.next-steps { list-style: none; display: grid; gap: var(--sp-5); counter-reset: next; }
.next-steps li { position: relative; padding-left: 52px; counter-increment: next; font-size: var(--fs-sm); }
.next-steps li::before { content: counter(next); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-ink); font-weight: 800; }
.next-steps strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }

/* ---------- Legal pages ---------- */
.legal-updated { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-muted); font-weight: 600; }
.legal { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 960px) { .legal { grid-template-columns: 260px minmax(0, 1fr); gap: var(--sp-8, 4rem); } }
.legal__toc { padding: var(--sp-5); background: var(--c-soft); border-radius: var(--r-lg); }
@media (min-width: 960px) { .legal__toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; } }
.legal__toc-title { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: var(--sp-3); }
.legal__toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: var(--sp-2); padding: 0.35rem 0.5rem; border-radius: 6px; font-size: var(--fs-sm); color: var(--c-ink-2); text-decoration: none; }
.legal__toc a::before { content: counter(toc) "."; min-width: 1.4em; color: var(--c-muted); }
.legal__toc a:hover { background: #fff; color: var(--c-primary); }
.legal__body { max-width: 75ch; }
.legal__body h2 { scroll-margin-top: calc(var(--header-h) + 24px); padding-top: var(--sp-5); margin-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.legal__body h3 { font-size: 1.1rem; margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.legal__body p, .legal__body ul { margin-top: var(--sp-3); color: var(--c-ink-2); }
.legal__body ul { padding-left: 1.25rem; display: grid; gap: var(--sp-2); }
.legal__body li::marker { color: var(--c-primary); }
.legal__body .lead { margin-top: 0; }
.legal__body .notice { margin-top: var(--sp-4); }
.legal__body .notice p { margin-top: 0; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-primary); color: #fff; box-shadow: 0 10px 24px rgb(8 63 60 / 0.3);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top .icon { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-primary-700); color: #fff; }
.to-top:hover .icon { transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
html:not(.js) .to-top { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top .icon { transition: none; } }
