/* ==========================================================================
   Stratton Migration Australia — Custom Home Page (Premium Editorial)
   Palette from strattonmigration.com.au:
     orange #f76a0c · light blue #1890d7 · faded pink #ffd5d6 · cream canvas
   Type: Fraunces (display) + Figtree (body)
   ========================================================================== */

:root {
  /* Brand palette — navy + gold on cream, drawn from the SMA logo */
  --cream: #fdfbf6;
  --cream-deep: #f4eddf;
  --pink: #f6eeda;        /* soft gold wash (name kept so existing sections recolour) */
  --pink-deep: #e7d6ab;
  --blue-wash: #eef1f7;   /* navy wash */
  --blue: #2f4a7a;        /* navy — secondary accent */
  --blue-deep: #1b2c4c;   /* deep navy — links */
  --orange: #bd9130;      /* gold — primary accent */
  --orange-deep: #997219; /* deep gold */
  --orange-wash: #f6edd6; /* gold wash */
  --navy: #1f3358;        /* primary action navy */
  --navy-deep: #14243f;
  --ink: #1b2740;         /* navy ink for display headings */
  --text: #414b59;
  --text-soft: #6c7684;
  --white: #ffffff;
  --line: rgba(27, 39, 64, 0.13);
  --line-soft: rgba(27, 39, 64, 0.08);
  --shadow-soft: 0 1px 2px rgba(27, 39, 64, 0.04), 0 14px 38px -18px rgba(27, 39, 64, 0.18);
  --shadow-lift: 0 2px 6px rgba(27, 39, 64, 0.06), 0 26px 54px -22px rgba(27, 39, 64, 0.26);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* the hidden attribute must always win — author display rules (e.g. .btn's
   inline-flex) would otherwise override the UA's [hidden] { display: none } */
[hidden] { display: none !important; }

html {
  /* NOTE: no global `scroll-behavior: smooth` — it animates hash-URL page
     loads and back/forward scroll restoration, which reads as lag/flicker.
     Smooth scrolling for in-page anchor clicks is handled in /js/script.js,
     where it can respect prefers-reduced-motion and only run on real clicks. */
  /* offset so anchor targets aren't hidden behind the sticky header
     (applies to both anchor navigation and scrollIntoView) */
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-deep); text-decoration: none; }

.container {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.25s, color 0.25s, border-color 0.25s;
}

/* Primary CTA: simple and calm — darkens a step and lifts slightly. */
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 18px -12px rgba(189, 145, 48, 0.5);
  transition: background 0.3s ease, transform 0.3s var(--ease-out),
              box-shadow 0.3s ease;
}

.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -12px rgba(189, 145, 48, 0.55);
}

/* Outline CTA: border and text quietly turn orange. */
.btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
  transition: border-color 0.3s ease, color 0.3s ease,
              transform 0.3s var(--ease-out);
}

.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
  transform: translateY(-1px);
}

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

/* ---------- Top bar ---------- */

.topbar {
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.85rem;
  position: relative;
  z-index: 60;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 1rem;
}

.topbar__phones { display: flex; align-items: center; gap: 0.9rem; }

.topbar__phone {
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  transition: color 0.2s;
}

.topbar__phone:hover { color: var(--orange); }

.topbar__phone svg { width: 13px; height: 13px; fill: var(--orange); }

.topbar__divider { width: 1px; height: 14px; background: var(--line); }

.topbar__social { display: flex; gap: 0.3rem; }

.topbar__social a,
.footer__social a {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.topbar__social svg {
  width: 14px; height: 14px;
  fill: var(--text-soft);
  transition: fill 0.2s;
}

.topbar__social a:hover { background: var(--orange); transform: translateY(-2px); }
.topbar__social a:hover svg { fill: var(--white); }

/* Instagram glyph is stroke-based, unlike the other filled social icons */
.topbar__social a[aria-label="Instagram"] svg,
.footer__social a[aria-label="Instagram"] svg {
  fill: none;
  stroke: var(--text-soft);
}

.footer__social a[aria-label="Instagram"] svg { stroke: rgba(255, 255, 255, 0.72); }

.topbar__social a[aria-label="Instagram"]:hover svg,
.footer__social a[aria-label="Instagram"]:hover svg {
  fill: none;
  stroke: var(--white);
}

.ig-dot { fill: currentColor; stroke: none; }

.topbar__social a[aria-label="Instagram"] { color: var(--text-soft); }
.footer__social a[aria-label="Instagram"] { color: rgba(255, 255, 255, 0.72); }
.topbar__social a[aria-label="Instagram"]:hover,
.footer__social a[aria-label="Instagram"]:hover { color: var(--white); }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid, opaque background — no backdrop-filter. A blurred backdrop-filter on
     a sticky element repaints every frame as content scrolls under it, which
     flickers in Chrome; the background was already 97% opaque so nothing is lost. */
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s;
}

.header.is-scrolled { box-shadow: 0 10px 30px -16px rgba(35, 40, 47, 0.18); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.7rem;
}

.header__logo picture { display: block; }

.header__logo img {
  /* Height is CONSTANT on scroll — a shrink-on-scroll here changes header
     height and reads as flicker. Which lockup is served is decided by the
     <picture> in SiteHeader.astro; these rules only set its height.
       >1250px  full lockup    (aspect ~3.6:1)
       601-1250 compact lockup (aspect ~3.9:1)
       <=600px  monogram       (aspect ~1.07:1) */
  height: 54px;
  width: auto;
  display: block;
}

@media (max-width: 1250px) { .header__logo img { height: 44px; } }
@media (max-width: 960px)  { .header__logo img { height: 46px; } }
/* monogram territory — square, so it can be taller without crowding the nav */
@media (max-width: 600px)  { .header__logo img { height: 44px; } }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.nav__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav__list a:hover { color: var(--orange); background: var(--orange-wash); }

.nav__list a.nav__highlight {
  background: var(--orange);
  color: var(--white);
  padding-inline: 1.25rem;
  margin-left: 0.4rem;
  box-shadow: 0 8px 18px -12px rgba(189, 145, 48, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav__list a.nav__highlight:hover {
  background: var(--orange-deep);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 92% 0%, var(--pink) 0%, transparent 62%),
    radial-gradient(560px 420px at 0% 100%, var(--blue-wash) 0%, transparent 58%),
    var(--cream);
}

.hero__deco-arcs {
  position: absolute;
  top: -8px;
  right: 6%;
  width: 170px;
  color: var(--pink-deep);
  opacity: 0.9;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 10fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  /* compact enough that the heading and primary CTA sit above the fold
     on common laptop viewports */
  padding-block: clamp(2rem, 3.8vw, 3.25rem);
  position: relative;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.hero__eyebrow svg { width: 16px; height: 16px; color: var(--orange); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.3vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 1.1rem;
  max-width: 12em;
}

/* Emphasised phrase in gold with a playful hand-drawn underline */
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em;
  bottom: -0.16em;
  height: 0.28em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 C 45 3, 90 3, 130 7 S 185 12, 198 5' stroke='%23bd9130' stroke-width='3.4' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
  pointer-events: none;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.55vw, 1.18rem);
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 1.6rem;
  max-width: 27em;
}

/* Social-proof row under the hero actions */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.hero__stars { display: inline-flex; gap: 2px; color: var(--orange); }
.hero__stars svg { width: 18px; height: 18px; fill: currentColor; }

.hero__trust p { font-size: 0.9rem; color: var(--text-soft); }
.hero__trust strong { color: var(--ink); font-weight: 700; }

.hero__sub {
  color: var(--text-soft);
  max-width: 34em;
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

/* The two principal options ("Book a Consultation or Assessment" /
   "Submit a Free Preliminary Enquiry") are long enough to wrap onto separate
   lines in the hero column. Growing each to a shared cap keeps their edges
   aligned instead of ragged. */
.hero__actions .btn {
  flex: 1 1 16rem;
  max-width: 24rem;
  justify-content: center;
}

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
}

.hero__note svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* Hero media: arched crossfading image with floating chips */

.hero__media { position: relative; }

.hero__flightpath {
  position: absolute;
  top: -3.4rem;
  left: -14%;
  width: 118%;
  color: var(--blue);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

/* The slider lives inside the Australia silhouette — the brand mark itself.
   Clip goes on the slides, the map-shaped drop shadow on the frame (filter
   before clip would otherwise erase the shadow), and a stroked coastline
   sits on top. */
.hero__frame {
  position: relative;
  aspect-ratio: 492 / 460;
  max-height: 470px;
  width: 100%;
  filter: drop-shadow(0 24px 36px rgba(27, 39, 64, 0.3));
}

.hero__slides {
  position: absolute;
  inset: 0;
  -webkit-clip-path: url(#clip-aus);
  clip-path: url(#clip-aus);
}

.hero__frame-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero__frame-outline use {
  fill: none;
  stroke: var(--white);
  /* the outline svg uses a 0..1 viewBox, so stroke-width is in those units
     (≈3px at typical hero sizes); vector-effect can't inherit through <use> */
  stroke-width: 0.0065;
  stroke-linejoin: round;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.3s ease, transform 6.5s linear;
}

.hero__slide.is-active { opacity: 1; transform: scale(1); }

.hero__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-soft);
  box-shadow: var(--shadow-lift);
  max-width: 220px;
  animation: float 5.5s ease-in-out infinite;
}

.hero__chip strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}

.hero__chip svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--orange);
}

.hero__chip--consult { left: -2.4rem; bottom: 4.2rem; }

.hero__chip--path {
  right: -1.6rem;
  top: 34%;
  animation-delay: -2.7s;
}

.hero__chip--path svg { color: var(--blue); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero__dot-grid,
.why__media-dots {
  position: absolute;
  width: 130px;
  height: 100px;
  background-image: radial-gradient(var(--pink-deep) 2.2px, transparent 2.2px);
  background-size: 18px 18px;
  z-index: 0;
}

.hero__dot-grid { bottom: -1.6rem; right: -2rem; }

/* On narrow screens the decorative dot grid's -2rem offset pushed the page
   8px wider than the viewport, giving the whole site a horizontal scroll on
   mobile. It is purely ornamental, so tuck it back inside the frame. */
@media (max-width: 620px) {
  .hero__dot-grid { right: 0; }
}

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.hero__dots button {
  width: 26px; height: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--pink-deep);
  cursor: pointer;
  transition: background 0.3s, width 0.3s var(--ease-out);
}

.hero__dots button.is-active { background: var(--orange); width: 44px; }

/* ---------- Credential band ---------- */

.cred {
  border-block: 1px solid var(--line-soft);
  background: var(--white);
}

.cred__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem 3rem;
  padding-block: 1.8rem;
}

.cred__label,
.cred__note {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.cred__note {
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
}

.cred__badges {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.cred__badges img {
  height: 56px;
  width: auto;
  filter: grayscale(0.35);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}

.cred__badges img:hover { filter: none; opacity: 1; }

/* Page-load + scroll reveals */

.reveal-load {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}

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

/* Scroll reveals are hidden ONLY when JS is available (html.js is set by an
   inline snippet in <head>), and even then a CSS animation force-reveals any
   element the script never reaches — content can never be lost to a JS
   failure or a stale cached script. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
  animation: rise 0.8s var(--ease-out) 2.4s forwards; /* failsafe auto-reveal */
}

.js .reveal.is-visible { opacity: 1; transform: none; animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal, .reveal-load { opacity: 1; transform: none; animation: none; transition: none; }
  .hero__slide { transition: opacity 0.5s; transform: none; }
  .hero__chip { animation: none; }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(2.9rem, 5.5vw, 4.25rem);
  position: relative;
}

.section--pink {
  background:
    radial-gradient(800px 480px at 100% 0%, rgba(255, 213, 214, 0.5) 0%, transparent 55%),
    var(--pink);
}

.section--blue {
  background:
    radial-gradient(800px 480px at 0% 100%, rgba(47, 74, 122, 0.1) 0%, transparent 55%),
    var(--blue-wash);
}

.section__head {
  text-align: center;
  max-width: 46em;
  margin-inline: auto;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.section__kicker::before,
.section__kicker::after {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--orange);
  border-radius: 2px;
  opacity: 0.6;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.9vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.section__lede {
  color: var(--text-soft);
  max-width: 44em;
  margin-inline: auto;
  font-size: 0.97rem;
}

/* Dashed flight-path connector between sections */

.section__path {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 70%);
  color: var(--pink-deep);
  pointer-events: none;
}

.section__path--flip { transform: translateX(-50%) scaleY(-1); }

/* ---------- Expect (accordion) ---------- */

.expect__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.expect__media { position: relative; }

.expect__media img {
  width: 100%;
  aspect-ratio: 4 / 3.9;
  object-fit: cover;
  border-radius: var(--radius-lg) 140px var(--radius-lg) var(--radius-lg);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lift);
}

.expect__media-ring {
  position: absolute;
  top: -1.6rem;
  left: -1.6rem;
  width: 110px;
  height: 110px;
  border: 1.5px dashed var(--blue);
  border-radius: 50%;
  opacity: 0.5;
  z-index: -1;
}

.expect__badge {
  position: absolute;
  left: -1.4rem;
  bottom: 2.2rem;
  display: grid;
  gap: 0.1rem;
  background: var(--white);
  color: var(--text-soft);
  padding: 1.1rem 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 190px;
  box-shadow: var(--shadow-lift);
}

.expect__badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.1;
}

/* Accordion: hairline editorial list */

.accordion { border-top: 1px solid var(--line); }

.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 0.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  user-select: none;
  transition: color 0.2s;
}

.accordion__item summary:hover { color: var(--orange-deep); }

.accordion__item summary::-webkit-details-marker { display: none; }

.accordion__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--orange-deep);
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}

.accordion__icon svg { width: 19px; height: 19px; }

.accordion__item[open] .accordion__icon {
  background: var(--orange);
  color: var(--white);
}

.accordion__label { flex: 1; line-height: 1.35; }

.accordion__chev {
  width: 18px; height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--text-soft);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-out);
}

.accordion__item[open] .accordion__chev { transform: rotate(180deg); stroke: var(--orange); }

.accordion__panel {
  padding: 0 0.25rem 1.3rem 3.4rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  display: grid;
  gap: 0.65rem;
}

/* ---------- Services ---------- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              border-color 0.35s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(189, 145, 48, 0.35);
  box-shadow: var(--shadow-lift);
}

/* Medallion header: the source artwork is a 207px circle, so we present
   it whole — centred on a soft wash with a dashed orbit ring — instead of
   cropping it into a rectangle. */
.card__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2rem 0 1.6rem;
  background:
    radial-gradient(420px 190px at 50% -40%, rgba(255, 213, 214, 0.55), transparent 70%),
    var(--cream-deep);
}

.card__media img {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lift);
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease-out);
}

.card:hover .card__media img { transform: scale(1.06) rotate(2deg); }

.card__ring {
  position: absolute;
  width: 186px;
  height: 186px;
  border: 1.5px dashed rgba(47, 74, 122, 0.5);
  border-radius: 50%;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card__ring { transform: rotate(40deg); }

.card__icon {
  position: absolute;
  z-index: 2;
  bottom: 1.1rem;
  left: calc(50% + 42px);
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-soft);
  color: var(--orange);
  box-shadow: var(--shadow-soft);
}

.card__icon svg { width: 22px; height: 22px; }

.card__body {
  padding: 1.2rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  text-align: center;
}

.card__body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1.25;
  color: var(--ink);
}

.card__body p {
  font-size: 0.88rem;
  color: var(--text-soft);
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange-deep);
}

.card__link svg {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.card:hover .card__link svg { transform: translateX(5px); }

.services__outro {
  text-align: center;
  max-width: 50em;
  margin: 2.2rem auto 0;
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ---------- Why (tabs) ---------- */

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

.why__media { position: relative; }

.why__media img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  border-radius: 160px var(--radius-lg) var(--radius-lg) var(--radius-lg);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lift);
}

.why__media-dots {
  bottom: -1.5rem;
  right: -1.8rem;
  background-image: radial-gradient(rgba(47, 74, 122, 0.4) 2.2px, transparent 2.2px);
}

/* Same ornament, same problem as .hero__dot-grid — its negative offset pushed
   the page past the viewport on mobile. */
@media (max-width: 620px) {
  .why__media-dots { right: 0; }
}

.why__features {
  display: grid;
  gap: 1rem;
}

.why__feature {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              border-color 0.3s;
}

.why__feature:hover {
  transform: translateX(6px);
  border-color: rgba(189, 145, 48, 0.35);
  box-shadow: var(--shadow-lift);
}

.why__feature-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange-wash);
  color: var(--orange-deep);
  flex-shrink: 0;
}

.why__feature-icon svg { width: 21px; height: 21px; }

.why__feature h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.why__feature p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ---------- Reviews: featured quote + supporting cards ---------- */

.tgrid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: minmax(0, auto);
  gap: 1.4rem;
  align-items: stretch;
}

/* featured card anchors the left column across both rows */
.tcard--featured { grid-row: span 2; }

.tcard {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.7rem 1.8rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.tcard:hover {
  transform: translateY(-4px);
  border-color: rgba(189, 145, 48, 0.35);
  box-shadow: var(--shadow-lift);
}

/* oversized serif quote mark, clipped to the card */
.tcard::after {
  content: "\201D";
  position: absolute;
  top: -0.12em;
  right: 0.18em;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.14;
  pointer-events: none;
}

.tcard__stars {
  display: inline-flex;
  gap: 3px;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.tcard__stars svg { width: 15px; height: 15px; fill: currentColor; }

.tcard blockquote { margin: 0; flex: 1; }

.tcard blockquote p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
}

.tcard figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}

.tcard figcaption strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.tcard figcaption span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* featured: navy, echoing the employer pathway card */
.tcard--featured {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
}

.tcard--featured:hover { border-color: rgba(189, 145, 48, 0.45); }

.tcard--featured::after { color: var(--pink-deep); opacity: 0.22; }

.tcard--featured blockquote p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}

.tcard--featured figcaption { border-top-color: rgba(255, 255, 255, 0.16); }
.tcard--featured figcaption strong { color: var(--pink-deep); }
.tcard--featured figcaption span { color: rgba(255, 255, 255, 0.6); }

@media (max-width: 960px) {
  .tgrid { grid-template-columns: 1fr 1fr; }
  .tcard--featured { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .tgrid { grid-template-columns: 1fr; }
  .tcard--featured { grid-column: auto; }
}

/* ---------- Specialise + steps ---------- */

.specialise__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.specialise__list-wrap {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-soft);
}

.specialise__list-wrap h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.specialise__list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--text-soft);
  font-size: 0.89rem;
  line-height: 1.55;
}

.specialise__list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.specialise__list svg {
  width: 19px; height: 19px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.22em;
}

.specialise__list strong { color: var(--ink); }

.specialise__intro { color: var(--text-soft); margin-bottom: 1.7rem; font-size: 0.95rem; }

.specialise__steps-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 1.3rem;
}

/* Steps: vertical dashed connector line links each stage */

.steps {
  list-style: none;
  display: grid;
  gap: 1.3rem;
  margin-bottom: 2rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 14px;
  bottom: 14px;
  border-left: 1.5px dashed rgba(47, 74, 122, 0.45);
}

.steps__item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  position: relative;
}

.steps__item p {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-top: 0.5rem;
}

.steps__marker {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(47, 74, 122, 0.45);
  color: var(--blue-deep);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.steps__marker svg { width: 21px; height: 21px; }

.steps__item:hover .steps__marker {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ---------- Assessment form ---------- */

/* `hidden` here would make this section the nearest scroll container, which
   silently kills position:sticky on .assess__body. `clip` does the same visual
   job (containing the deco arcs) WITHOUT establishing a scroll container, so
   the sticky info column works. Older engines keep the hidden fallback and
   simply don't get the sticky effect. */
.assess { overflow: hidden; }
@supports (overflow: clip) {
  .assess { overflow: clip; }
}

.assess__deco-arcs {
  position: absolute;
  bottom: -8px;
  left: 4%;
  width: 170px;
  color: var(--pink-deep);
  transform: scaleY(-1);
}

.assess__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
  position: relative;
}

/* The form is much taller than the information beside it. Pinning the info
   column lets the form scroll past a stationary explanation, so the scope
   limitation and the responsible agent stay in view while the reader works
   down the fields. Two-column widths only — below 960px the grid collapses to
   one column and there is nothing to pin against. */
@media (min-width: 961px) {
  .assess__body {
    position: sticky;
    top: 6.5rem;          /* clears the sticky header plus breathing room */
  }
}

@media (prefers-reduced-motion: reduce) {
  .assess__body { position: static; }
}

.assess .section__kicker { margin-bottom: 0.9rem; }

.assess .section__title { max-width: 15em; }

.assess__lede {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.6rem;
}

.assess__agent {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.93rem;
  box-shadow: var(--shadow-soft);
}

.assess__agent h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.assess__agent strong { color: var(--ink); }

.assess__marn {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-deep);
}

.assess__agent-note { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.4rem; }

.assess__points {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  font-size: 0.96rem;
  color: var(--text);
  font-weight: 500;
}

.assess__points li { display: flex; align-items: center; gap: 0.65rem; }

.assess__points svg { width: 19px; height: 19px; color: var(--blue); flex-shrink: 0; }

.assess__form {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-lift);
  display: grid;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
}


.form__head { text-align: center; margin-bottom: 0.4rem; }

.form__head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form__head p {
  font-size: 0.86rem;
  color: var(--text-soft);
  max-width: 28em;
  margin-inline: auto;
}

.btn__arrow {
  width: 17px; height: 17px;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* icon and text sit as one centred inline unit, aligned on the first line */
.form__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-soft);
  text-align: left;
  max-width: 34em;
  margin-inline: auto;
  margin-inline: auto;
}

.form__note svg {
  width: 15px; height: 15px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.13em;
}

/* ---------- Preliminary-enquiry form additions ---------- */

/* States what the free screening does NOT cover. Sits directly above the submit
   button by design: the free/paid boundary has to be visible at the moment of
   submitting, not buried in a page footer. */
.form__limitation {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1.3rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  background: rgba(20, 36, 63, 0.028);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.form__limitation svg {
  flex-shrink: 0;
  width: 17px; height: 17px;
  margin-top: 0.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  color: var(--orange-deep);
}

.form__consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-soft);
  cursor: pointer;
}

.form__consent input {
  flex-shrink: 0;
  width: 17px; height: 17px;
  margin-top: 0.12rem;
  accent-color: var(--navy);
  cursor: pointer;
}

.form__consent a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 2px; }

.form__choice { border: 0; padding: 0; margin-top: 0.2rem; }
.form__choice legend { padding: 0; margin-bottom: 0.5rem; }

.choicerow { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.choicechip { position: relative; cursor: pointer; }
.choicechip input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.choicechip span {
  display: block;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.choicechip input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.choicechip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.choicechip:hover input:not(:checked) + span { border-color: var(--orange); color: var(--text); }

.choicechip input.is-invalid + span { border-color: #c0392b; }

/* Cross-link between the employer and individual enquiry forms. */
.assess__switch {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
  color: var(--text-soft);
}
.assess__switch a { color: var(--orange-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.assess__form input[type="text"],
.assess__form input[type="email"],
.assess__form input[type="tel"],
.assess__form input[type="date"],
/* number was missing here, so "Number of workers" and "Age" collapsed to the
   browser's intrinsic width instead of filling their column */
.assess__form input[type="number"],
.assess__form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  padding: 0.8rem 1.05rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: var(--cream-deep);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.assess__form ::placeholder { color: var(--text-soft); opacity: 0.8; }

/* Native date input — match the cream pill fields and tidy the picker UI */
.assess__form input[type="date"] {
  min-height: 46px;
  appearance: none;
  -webkit-appearance: none;
}
.assess__form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.assess__form input[type="date"]::-webkit-datetime-edit { color: var(--ink); line-height: 1.4; }
/* the unfilled dd/mm/yyyy fields read as a muted placeholder */
.assess__form input[type="date"]:in-range::-webkit-datetime-edit-year-field,
.assess__form input[type="date"]::-webkit-datetime-edit-text,
.assess__form input[type="date"]::-webkit-datetime-edit-month-field,
.assess__form input[type="date"]::-webkit-datetime-edit-day-field,
.assess__form input[type="date"]::-webkit-datetime-edit-year-field { color: var(--ink); }
.assess__form input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding: 2px;
  border-radius: 6px;
  /* tint the calendar glyph toward the brand gold */
  filter: grayscale(1) brightness(0.5) sepia(1) saturate(3) hue-rotate(3deg);
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
}
.assess__form input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background: rgba(189, 145, 48, 0.14);
}

.assess__form input:hover,
.assess__form textarea:hover { border-color: var(--line); }

.assess__form input:focus,
.assess__form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(189, 145, 48, 0.14);
}

.assess__form input.is-invalid,
.assess__form textarea.is-invalid {
  border-color: #d64545;
  background: #fdf4f4;
}

.assess__form textarea { resize: vertical; min-height: 84px; }

/* Selects styled to match the text inputs, with a custom chevron */
.assess__form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  padding: 0.8rem 2.4rem 0.8rem 1.05rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16"><path d="M6 9l6 6 6-6" fill="none" stroke="%236e747c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    right 0.9rem center / 16px no-repeat,
    var(--cream-deep);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.assess__form select:hover { border-color: var(--line); }

.assess__form select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(189, 145, 48, 0.14);
}

/* placeholder option (empty value) shows muted, like input placeholders */
.assess__form select:invalid { color: var(--text-soft); }

.assess__form select.is-invalid { border-color: #d64545; background-color: #fdf4f4; }

/* "How did you hear about us?" — label and dropdown on one line */
.form__field--inline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.form__field--inline label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.form__field--inline select {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  padding: 0.8rem 2.4rem 0.8rem 1.05rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16"><path d="M6 9l6 6 6-6" fill="none" stroke="%236e747c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    right 0.9rem center / 16px no-repeat,
    var(--cream-deep);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.form__field--inline select:hover { border-color: var(--line); }

.form__field--inline select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(189, 145, 48, 0.14);
}

.form__field--inline select:invalid { color: var(--text-soft); }

.form__field--inline select.is-invalid { border-color: #d64545; }

.form__status {
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.4em;
  text-align: center;
}

.form__status.is-success { color: #1a8754; }
.form__status.is-error { color: #d64545; }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

/* CTA strip bridging the page and the footer */
.footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2rem, 4vw, 2.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.4rem;
  max-width: 22em;
}

.footer__cta p { color: rgba(255, 255, 255, 0.6); }

.footer__cta .btn { flex-shrink: 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* Reversed horizontal SVG lockup (white + gold) sits directly on the dark
   footer — no panel, no box. */
.footer__logo {
  display: block;
  width: 280px;
  height: auto;
  margin-bottom: 1.4rem;
}

.footer__col--brand { position: relative; }

.footer__tagline {
  max-width: 30em;
  margin-bottom: 1.3rem;
  line-height: 1.65;
}

.footer h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer__col ul { list-style: none; display: grid; gap: 0.55rem; }

.footer a:not(.btn) { color: rgba(255, 255, 255, 0.68); transition: color 0.2s; }

.footer a:not(.btn):hover { color: var(--orange); }

.footer__social { display: flex; gap: 0.4rem; margin-bottom: 1.4rem; }

.footer__social a {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer__social svg {
  width: 14px; height: 14px;
  fill: rgba(255, 255, 255, 0.68);
  transition: fill 0.2s;
}

.footer__social a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.footer__social a:hover svg { fill: var(--white); }

.footer__affiliate { font-size: 0.8rem; opacity: 0.75; max-width: 30em; }

.footer__affiliate a { color: var(--orange); font-weight: 600; }

.footer__contact { display: grid; gap: 1rem; }

.footer__contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  line-height: 1.55;
}

.footer__contact svg {
  width: 17px; height: 17px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.15em;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.1rem;
  font-size: 0.8rem;
}

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer__bar p { color: rgba(255, 255, 255, 0.55); }

.footer__legal {
  list-style: none;
  display: flex;
  gap: 1.6rem;
}

.footer__legal a { color: rgba(255, 255, 255, 0.55); }

.footer__legal a:hover { color: var(--orange); }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 40;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(189, 145, 48, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), background 0.2s;
}

.to-top:hover { background: var(--orange-deep); }

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav__list { gap: 0; }
  .nav__list a { font-size: 0.85rem; padding-inline: 0.5rem; }
  .hero__chip--consult { left: -0.8rem; }
  .hero__chip--path { right: -0.6rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  /* backdrop-filter would make the header the containing block
     for the fixed full-screen nav overlay */
  .header {
    backdrop-filter: none;
    background: var(--cream);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(35, 40, 47, 0.97);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }

  .nav.is-open { opacity: 1; pointer-events: auto; }

  .nav__list {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }

  .nav__list a {
    color: var(--white);
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
  }

  .nav__list a:hover { background: rgba(255, 255, 255, 0.08); color: var(--orange); }

  .nav__list a.nav__highlight { margin-left: 0; }

  .hero__grid,
  .expect__grid,
  .why__grid,
  .specialise__grid,
  .assess__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid { padding-block: 2.25rem 3rem; gap: 2.75rem; }

  .hero__media { max-width: 460px; margin-inline: auto; }

  .hero__frame { max-height: 440px; }

  .why__grid .why__media { order: -1; max-width: 420px; }

  .expect__media { max-width: 460px; margin-inline: auto; }

  .expect__badge { left: 0.4rem; bottom: 1.2rem; }

  .services__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }

  .specialise__list-wrap { position: static; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .footer__cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .topbar__inner { justify-content: center; }
  .topbar__social { display: none; }

  .hero__actions .btn { width: 100%; }

  .hero__chip { display: none; }

  .hero__deco-arcs { display: none; }

  .cred__inner { flex-direction: column; gap: 1.2rem; text-align: center; }

  .cred__badges { gap: 1.4rem; }

  .cred__badges img { height: 46px; }

  .accordion__panel { padding-left: 0.25rem; }

  .form__row--split { grid-template-columns: 1fr; }

  .reviews__arrow { display: none; }
  .reviews__carousel { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .footer__bar-inner { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Employer-focused components (added for the employer-first repositioning)
   ========================================================================== */

/* ---------- Value band (trusted adviser) ---------- */

.value__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.value__item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              border-color 0.3s;
}

.value__item:hover {
  transform: translateY(-6px);
  border-color: rgba(189, 145, 48, 0.35);
  box-shadow: var(--shadow-lift);
}

.value__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--orange-wash);
  color: var(--orange-deep);
  margin-bottom: 1rem;
}

.value__icon svg { width: 24px; height: 24px; }

.value__item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.value__item p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.6; }

/* ---------- Employer visa solutions ---------- */

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.solution {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              border-color 0.35s;
}

.solution:hover {
  transform: translateY(-8px);
  border-color: rgba(189, 145, 48, 0.35);
  box-shadow: var(--shadow-lift);
}

.solution__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--orange-deep);
  margin-bottom: 1.1rem;
  transition: background 0.3s, color 0.3s;
}

.solution:hover .solution__icon { background: var(--orange); color: var(--white); }

.solution__icon svg { width: 25px; height: 25px; }

.solution h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.solution > p { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1rem; }

.solution__points {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
}

.solution__points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.45;
}

.solution__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.85;
}

/* CTA tile styled as a solid invitation card */
.solution--cta {
  background: linear-gradient(150deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: rgba(255, 255, 255, 0.92);
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 0.4rem;
}

.solution--cta:hover { border-color: transparent; }

.solution--cta h3 { color: var(--white); }

.solution--cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.2rem; font-size: 0.92rem; }

.solution--cta .btn--primary {
  background: var(--white);
  color: var(--orange-deep);
}

.solution--cta .btn--primary:hover { background: var(--cream); color: var(--orange-deep); }

/* ---------- Industries grid ---------- */

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.industry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              border-color 0.35s;
}

.industry:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 74, 122, 0.4);
  box-shadow: var(--shadow-lift);
}

.industry__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--blue-wash);
  color: var(--blue-deep);
  margin-bottom: 1.1rem;
  transition: background 0.3s, color 0.3s;
}

.industry:hover .industry__icon { background: var(--blue); color: var(--white); }

.industry__icon svg { width: 27px; height: 27px; }

.industry h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.22rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.industry p { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1.1rem; flex: 1; }

.industry__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange-deep);
}

.industry__link svg {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.industry:hover .industry__link svg { transform: translateX(5px); }

/* ---------- Process + challenges ---------- */

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.process__steps { margin-bottom: 0; }

.process__steps .steps__item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  padding-top: 0.35rem;
}

.process__steps .steps__item p { padding-top: 0; }

.challenges {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.2rem);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 110px;
}

.challenges__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 1.3rem;
}

.challenges__list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.challenges__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.challenges__list svg {
  width: 19px; height: 19px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.15em;
}

.challenges__list strong { color: var(--ink); font-weight: 600; }

/* ---------- Industry landing page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 92% 0%, var(--pink) 0%, transparent 62%),
    radial-gradient(560px 420px at 0% 100%, var(--blue-wash) 0%, transparent 58%),
    var(--cream);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.page-hero__crumbs {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.page-hero__crumbs a { color: var(--text-soft); font-weight: 500; }
.page-hero__crumbs a:hover { color: var(--orange); }
.page-hero__crumbs span { color: var(--orange-deep); font-weight: 600; }

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.page-hero__eyebrow svg { width: 17px; height: 17px; color: var(--orange); }

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.page-hero__title em { font-style: italic; color: var(--orange); }

.page-hero__lede {
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.6rem;
  max-width: 34em;
}

.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.page-hero__media { position: relative; }

.page-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 150px 150px var(--radius-lg) var(--radius-lg);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lift);
}

.page-hero__stat {
  position: absolute;
  left: -1.2rem;
  bottom: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-lift);
  max-width: 210px;
}

.page-hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.1;
}

.page-hero__stat span { font-size: 0.8rem; color: var(--text-soft); }

/* ---------- Occupations chips (industry pages) ---------- */

.occupations__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 60em;
  margin-inline: auto;
  justify-content: center;
}

.occupations__list li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}

.occupations__list li:hover { transform: translateY(-3px); border-color: rgba(189, 145, 48, 0.4); }

.occupations__list svg { width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; }

.occupations__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
  max-width: 42em;
  margin: 1.6rem auto 0;
}

/* Regulatory qualification on the industry pages. Deliberately reads as a
   professional footnote, not a warning banner — it qualifies the occupation
   lists above without undercutting them. */
.qualification {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  max-width: 54em;
  margin: 2.2rem auto 0;
  padding: 1.05rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm, 8px);
  background: var(--paper, rgba(20, 36, 63, 0.025));
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.qualification svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 0.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  color: var(--orange-deep);
}

/* ---------- Two-column feature (pathways / challenges on industry pages) ---------- */

.duo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.duo__col h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.duo__list { list-style: none; display: grid; gap: 1rem; }

.duo__list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.duo__list svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 0.1em; }

.duo__list strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; margin-bottom: 0.15rem; }

.duo__list p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.55; }

/* ==========================================================================
   Responsive — employer components
   ========================================================================== */

@media (max-width: 960px) {
  .value__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__grid { grid-template-columns: 1fr; }
  .challenges { position: static; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; max-width: 460px; margin-inline: auto; }
  .duo__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .value__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .solutions__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .industries__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .page-hero__actions .btn { width: 100%; }
  .page-hero__stat { left: 0.4rem; bottom: 0.8rem; }
  .occupations__list { justify-content: flex-start; }
}

/* ==========================================================================
   Mobile header CTAs + beautified hamburger + reliable menu close
   ========================================================================== */

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.85rem; }

/* Right-hand cluster shown only on mobile: call · Book · menu */
.header__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.header__call {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange-wash);
  color: var(--orange-deep);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.header__call svg { width: 19px; height: 19px; fill: currentColor; }
.header__call:hover { background: var(--orange); color: var(--white); transform: translateY(-1px); }

.header__book { flex-shrink: 0; white-space: nowrap; }

/* Beautified hamburger — soft orange pill, animated bars, always tappable */
.nav-toggle {
  display: none;               /* shown inside .header__cta on mobile */
  position: relative;
  z-index: 60;                 /* sits above the fixed nav overlay so close works */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px; height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--orange);
  box-shadow: 0 10px 22px -12px rgba(189, 145, 48, 0.75);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.nav-toggle:hover { transform: translateY(-1px); }
.nav-toggle:active { transform: scale(0.96); }

.nav-toggle span {
  display: block;
  width: 21px; height: 2.5px;
  margin: 0;
  background: var(--white);
  border-radius: 3px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .header__cta { display: flex; }
  .nav-toggle { display: flex; }
  /* solid overlay so page content never bleeds through the open menu */
  .nav { background: var(--ink); }
  .nav__list { gap: 0.4rem; }
}

@media (max-width: 420px) {
  /* keep the header tidy on the smallest screens */
  .header__book { padding: 0.55rem 0.9rem; }
  .header__call { width: 40px; height: 40px; }
}

/* ==========================================================================
   Long-form content pages (sitemap page rebuilds)
   ========================================================================== */

/* Centered text hero for content pages */
.page-hero--text { text-align: center; }

.page-hero--text .container {
  max-width: 52em;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.page-hero--text .page-hero__crumbs { margin-bottom: 1rem; }
.page-hero--text .page-hero__eyebrow { margin-inline: auto; }
.page-hero--text .page-hero__lede { margin-inline: auto; }
.page-hero--text .page-hero__actions { justify-content: center; }

/* Prose typography */
.prose {
  max-width: 46em;
  margin-inline: auto;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

.prose > * + * { margin-top: 1rem; }

.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  color: var(--ink);
  margin-top: 2.4rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--orange);
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  margin-top: 1.8rem;
}

.prose p { color: var(--text-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--orange-deep); }

.prose ul { list-style: none; display: grid; gap: 0.55rem; }

.prose ul li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text-soft);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.85;
}

/* subtle card wrapper for prose on tinted sections */
.prose--card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-soft);
}

/* Simple CTA band for content pages */
.cta-band {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(255, 213, 214, 0.5), transparent 60%),
    var(--pink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  max-width: 52em;
  margin: 2.5rem auto 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.cta-band p { color: var(--text-soft); max-width: 40em; margin: 0 auto 1.5rem; }

.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* Contact details cards */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  max-width: 60em;
  margin-inline: auto;
}

.contact__card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.contact__card-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--orange-wash);
  color: var(--orange-deep);
  margin-bottom: 1rem;
}

.contact__card-icon svg { width: 22px; height: 22px; }

.contact__card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.contact__card p, .contact__card a { font-size: 0.92rem; color: var(--text-soft); line-height: 1.6; }
.contact__card a { display: block; }
.contact__card a:hover { color: var(--orange-deep); }

/* ==========================================================================
   Brand refinement — navy actions, gold accents, editorial signatures
   ========================================================================== */

/* Navy primary actions (gold stays an accent, never a button fill) */
.btn--primary { background: var(--navy); box-shadow: 0 8px 18px -12px rgba(31, 51, 88, 0.55); }
.btn--primary:hover { background: var(--navy-deep); box-shadow: 0 12px 24px -12px rgba(31, 51, 88, 0.6); }
.nav__list a.nav__highlight { background: var(--navy); box-shadow: 0 8px 18px -12px rgba(31, 51, 88, 0.6); }
.nav__list a.nav__highlight:hover { background: var(--navy-deep); color: var(--white); }
.to-top { background: var(--navy); box-shadow: 0 12px 28px -8px rgba(31, 51, 88, 0.6); }
.to-top:hover { background: var(--navy-deep); }
/* Minimal hamburger — clean bars, no box */
.nav-toggle { background: transparent; box-shadow: none; border-radius: 10px; }
.nav-toggle:hover { background: rgba(31, 51, 88, 0.06); transform: none; }
.nav-toggle span { background: var(--navy); width: 24px; height: 2px; }
.nav-toggle[aria-expanded="true"] { background: transparent; }
.nav-toggle[aria-expanded="true"] span { background: var(--white); }
.solution--cta { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%); }
.solution--cta .btn--primary { background: var(--white); color: var(--navy); }
.solution--cta .btn--primary:hover { background: var(--cream); color: var(--navy-deep); }

/* Gold hairline accent under section kickers already inherits --orange (gold) */

/* ---- Hero seal: curved-text signature badge on the hero image ---- */
.hero__seal {
  position: absolute;
  z-index: 3;
  right: -1.6rem;
  bottom: -1.4rem;
  width: 116px; height: 116px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lift);
}

.hero__seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: seal-spin 26s linear infinite; }
.hero__seal-ring text { font-family: var(--font-body); font-size: 8.1px; font-weight: 700; letter-spacing: 0.14em; fill: var(--orange-deep); text-transform: uppercase; }
.hero__seal-mark { width: 34px; height: 34px; color: var(--navy); }

@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__seal-ring { animation: none; } }

/* ---- Stats band (big editorial figures) ---- */
.stats { background: var(--white); border-bottom: 1px solid var(--line-soft); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  padding-block: clamp(2.2rem, 4.5vw, 3.2rem);
}

.stat { text-align: center; padding-inline: 0.5rem; position: relative; }

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--line);
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.stat__num span { color: var(--orange); }

.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--text-soft);
}

/* One stat carries a phrase instead of a figure. A count there ("6") read as
   "we only cover six sectors", when the six shown are a featured selection.
   Set in the display face so it holds its own beside the numerals. */
.stat--text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat--text .stat__label {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.75vw, 1.4rem);
  line-height: 1.25;
  color: var(--navy);
  text-wrap: balance;
}

@media (max-width: 620px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .stat:nth-child(3)::before, .stat:nth-child(2n+1)::before { display: none; }
  .hero__seal { width: 96px; height: 96px; right: 0.4rem; bottom: -1rem; }
}

/* ==========================================================================
   Header dropdown navigation (Solutions / Industries) + refinements
   ========================================================================== */

/* thin gold accent line at the very top of the site */
.header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--pink-deep) 55%, var(--navy));
}

.nav__list { position: relative; }

.nav__item { position: relative; display: flex; align-items: center; }

/* Trigger buttons match the plain nav links */
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--ink);
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.nav__trigger:hover,
.nav__item.is-open .nav__trigger { color: var(--orange); background: var(--orange-wash); }

.nav__caret {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 2;
  transition: transform 0.25s var(--ease-out);
}

.nav__item.is-open .nav__caret { transform: rotate(180deg); }

/* Desktop dropdown panel */
.nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 60;
  width: max-content;
  max-width: min(94vw, 560px);
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0.22s;
}

/* little pointer notch */
.nav__menu::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--white);
  border-left: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
}

.nav__item.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__menu-head { padding: 0.1rem 0.5rem 0.85rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 0.6rem; }
.nav__menu-kicker {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-deep);
}
.nav__menu-title { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); line-height: 1.25; margin-top: 0.15rem; }

.nav__menu-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.nav__menu-grid--tight { gap: 0.15rem; }

.nav__menu-grid a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  color: var(--ink);
  transition: background 0.2s, transform 0.2s;
}

.nav__menu-grid a:hover { background: var(--cream-deep); }

.nav__menu-icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--orange-wash);
  color: var(--orange-deep);
  transition: background 0.2s, color 0.2s;
}
.nav__menu-icon svg { width: 20px; height: 20px; }
.nav__menu-grid a:hover .nav__menu-icon { background: var(--orange); color: var(--white); }

.nav__menu-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.nav__menu-text strong { font-size: 0.9rem; font-weight: 600; }
.nav__menu-text small { font-size: 0.76rem; color: var(--text-soft); }

.nav__menu-all {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: 0.7rem; padding: 0.7rem 0.75rem;
  border-radius: 14px;
  font-size: 0.86rem; font-weight: 600;
  color: var(--navy);
  background: var(--blue-wash);
  transition: background 0.2s, color 0.2s, gap 0.2s;
}
.nav__menu-all svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav__menu-all:hover { background: var(--navy); color: var(--white); gap: 0.7rem; }

@media (max-width: 1100px) {
  .nav__trigger { font-size: 0.85rem; padding-inline: 0.5rem; }
}

/* Mobile: dropdowns become inline accordions inside the full-screen overlay */
@media (max-width: 960px) {
  .nav__item { width: 100%; flex-direction: column; align-items: stretch; }

  .nav__trigger {
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
  }
  .nav__trigger:hover,
  .nav__item.is-open .nav__trigger { background: rgba(255, 255, 255, 0.08); color: var(--orange); }

  .nav__menu {
    position: static;
    width: auto; max-width: none;
    transform: none;
    opacity: 1; visibility: visible;
    display: none;
    padding: 0.3rem 0 0.6rem;
    margin: 0 auto;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .nav__menu::before { display: none; }
  .nav__item.is-open .nav__menu { display: block; transform: none; }
  .nav__menu-head { display: none; }

  .nav__menu-grid { grid-template-columns: 1fr; gap: 0.1rem; max-width: 300px; margin-inline: auto; }
  .nav__menu-grid a { color: rgba(255, 255, 255, 0.9); padding: 0.5rem 0.7rem; }
  .nav__menu-grid a:hover { background: rgba(255, 255, 255, 0.08); }
  .nav__menu-icon { width: 32px; height: 32px; background: rgba(255, 255, 255, 0.1); color: var(--orange); }
  .nav__menu-grid a:hover .nav__menu-icon { background: var(--orange); color: var(--white); }
  .nav__menu-text small { display: none; }
  .nav__menu-all { justify-content: center; background: rgba(255, 255, 255, 0.08); color: var(--white); max-width: 300px; margin-inline: auto; }
  .nav__menu-all:hover { background: var(--orange); color: var(--white); }
}

/* ==========================================================================
   Employer Solutions page — pathway quick-nav + detail blocks + help band
   ========================================================================== */

.pathnav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.pathnav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.pathnav:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--pink-deep); }

.pathnav__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--orange-wash);
  color: var(--orange-deep);
}
.pathnav__icon svg { width: 24px; height: 24px; }

.pathnav__body { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pathnav__body strong { font-size: 0.98rem; color: var(--ink); }
.pathnav__body small { font-size: 0.8rem; color: var(--text-soft); }

.pathnav__arrow { width: 20px; height: 20px; margin-left: auto; fill: none; stroke: var(--orange); stroke-width: 1.8; transition: transform 0.25s var(--ease-out); }
.pathnav:hover .pathnav__arrow { transform: translateX(4px); }

.pathway {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 0;
  scroll-margin-top: 108px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.pathway + .pathway { margin-top: 1.5rem; }

.pathway__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem;
  background: linear-gradient(160deg, var(--pink) 0%, var(--cream-deep) 100%);
  border-right: 1px solid var(--line-soft);
}

.pathway__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--pink-deep);
}

.pathway__mark {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--white);
  color: var(--orange-deep);
  box-shadow: var(--shadow-soft);
}
.pathway__mark svg { width: 28px; height: 28px; }

.pathway__tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line-soft);
}

.pathway__main { padding: 1.9rem 2rem; }
.pathway__code { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-deep); }
.pathway__title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ink); line-height: 1.15; margin-top: 0.3rem; }
.pathway__summary { margin-top: 0.7rem; color: var(--text); }

.pathway__points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.6rem; margin-top: 1.4rem; }
.pathway__points li { display: flex; gap: 0.6rem; }
.pathway__points svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--orange); }
.pathway__points strong { display: block; font-size: 0.92rem; color: var(--ink); }
.pathway__points p { font-size: 0.85rem; color: var(--text-soft); line-height: 1.5; }

.pathway__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* Help / not-sure CTA band */
.helpband {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 2.2rem 2.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lift);
}
.helpband__deco { position: absolute; right: -30px; bottom: -30px; width: 260px; height: 130px; color: rgba(255, 255, 255, 0.12); pointer-events: none; }
.helpband__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.helpband__icon svg { width: 30px; height: 30px; }
.helpband__text { flex: 1 1 auto; position: relative; z-index: 1; }
.helpband__text h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.helpband__text p { margin-top: 0.4rem; color: rgba(255, 255, 255, 0.82); max-width: 46ch; }
.helpband .btn--primary { flex-shrink: 0; position: relative; z-index: 1; }

@media (max-width: 860px) {
  .pathway { grid-template-columns: 1fr; }
  .pathway__aside { flex-direction: row; align-items: center; border-right: none; border-bottom: 1px solid var(--line-soft); padding: 1.3rem 1.8rem; }
  .pathway__num { font-size: 2rem; }
  .pathway__tag { margin: 0 0 0 auto; }
  .pathway__points { grid-template-columns: 1fr; }
  .helpband { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ==========================================================================
   Site-wide visual refinements
   ========================================================================== */

/* Clearer keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Cards and industry tiles lift a touch more crisply */
.industry:hover,
.card:hover,
.solution:hover { border-color: var(--pink-deep); }

/* ==========================================================================
   Photographic media bands + industry photo cards (new pages)
   ========================================================================== */

.mediaband-wrap { padding-block: clamp(2.5rem, 5vw, 4rem); }

.mediaband {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 340px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.mediaband--tall { min-height: 440px; }

.mediaband img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mediaband__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(20, 36, 63, 0.94) 0%,
    rgba(20, 36, 63, 0.74) 44%,
    rgba(20, 36, 63, 0.30) 100%);
}

.mediaband__inner {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.6rem);
  max-width: 620px;
  color: var(--white);
}

.mediaband__kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 0.7rem;
}

.mediaband h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  color: var(--white);
}

.mediaband__lede {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}

.mediaband__inner .btn { margin-top: 1.5rem; }

.mediaband__badges { margin-top: 1.5rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.mediaband__badges img {
  position: static;
  width: auto;
  height: 62px;
  background: var(--white);
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.6);
}

/* Industry photo cards */
.icards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.icard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.icard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(189, 145, 48, 0.35); }

.icard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.icard:hover .icard__media img { transform: scale(1.07); }
.icard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 36, 63, 0) 45%, rgba(20, 36, 63, 0.55) 100%);
}

.icard__badge {
  position: absolute;
  z-index: 1;
  bottom: 0.85rem; left: 0.85rem;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--orange-deep);
  box-shadow: var(--shadow-soft);
}
.icard__badge svg { width: 25px; height: 25px; }

.icard__body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.3rem 1.45rem 1.5rem; }
.icard__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.icard__body p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.55; flex: 1; }
.icard__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.88rem; color: var(--orange-deep);
  transition: gap 0.2s;
}
.icard__link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 0.25s var(--ease-out); }
.icard:hover .icard__link svg { transform: translateX(4px); }

/* "Other Industries" — closes each grid so the six featured sectors don't read
   as the full list. No photograph, so it holds the grid with a navy field and
   a gold hairline instead of a media panel. */
.icard--other {
  background: linear-gradient(160deg, var(--navy) 0%, #16305e 100%);
  border-color: rgba(189, 145, 48, 0.4);
  justify-content: center;
}
.icard--other:hover { border-color: rgba(189, 145, 48, 0.75); }
.icard--other .icard__body { gap: 0.7rem; padding: 1.9rem 1.55rem; }
.icard--other .icard__body h3 { color: var(--white); }
.icard--other .icard__body p { color: rgba(255, 255, 255, 0.76); flex: 0 1 auto; }
.icard--other .icard__link { color: var(--orange); }

.icard__other-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(189, 145, 48, 0.45);
  color: var(--orange);
  flex-shrink: 0;
}
.icard__other-icon svg { width: 25px; height: 25px; }

/* Seventh card in a three-column grid would otherwise sit alone against two
   empty cells. Spanning the full row turns that gap into a deliberate closing
   band. Above 760px only — below that the grid becomes a swipe rail
   ([data-carousel]) where grid-column has no effect anyway. */
@media (min-width: 761px) {
  .icard--other { grid-column: 1 / -1; }

  .icard--other .icard__body {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.4rem 1.5rem;
    padding: 1.7rem 2rem;
  }
  .icard--other .icard__other-icon { grid-row: span 2; }
  .icard--other .icard__body h3 { align-self: end; }
  .icard--other .icard__body p { grid-column: 2; align-self: start; max-width: 62ch; }
  .icard--other .icard__link { grid-column: 3; grid-row: span 2; }
}

@media (max-width: 960px) {
  .icards__grid { grid-template-columns: 1fr 1fr; }
  .mediaband__scrim { background: linear-gradient(90deg, rgba(20,36,63,0.92) 0%, rgba(20,36,63,0.78) 100%); }
}
@media (max-width: 620px) {
  .icards__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .mediaband__inner { padding: 1.8rem 1.5rem; }
}

/* ==========================================================================
   Employer-first with individual pathway (client revision)
   ========================================================================== */

/* "Looking for help with your own visa?" line under the hero CTA */
.hero__alt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.hero__alt a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--blue-deep);
  border-bottom: 1.5px solid var(--pink-deep);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.hero__alt a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; transition: transform 0.25s var(--ease-out); }
.hero__alt a:hover { color: var(--orange-deep); border-color: var(--orange); }
.hero__alt a:hover svg { transform: translateX(3px); }

/* Two-pathway section: For Employers / For Individuals & Families */
.pathsplit__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr; /* employer pathway stays visually primary */
  gap: 1.6rem;
  align-items: stretch;
}

.pathsplit {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.pathsplit:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.pathsplit--employers {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.pathsplit--individuals { background: var(--white); }

.pathsplit__deco {
  position: absolute;
  right: -24px; bottom: -26px;
  width: 210px; height: 105px;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.12);
}
.pathsplit--individuals .pathsplit__deco { color: rgba(189, 145, 48, 0.18); }

.pathsplit__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.pathsplit--individuals .pathsplit__icon { background: var(--orange-wash); color: var(--orange-deep); }
.pathsplit__icon svg { width: 27px; height: 27px; }

.pathsplit__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.pathsplit--individuals .pathsplit__kicker { color: var(--orange-deep); }

.pathsplit h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
}
.pathsplit--employers h3 { color: var(--white); }
.pathsplit--individuals h3 { color: var(--ink); }

.pathsplit p { max-width: 40ch; }
.pathsplit--employers p { color: rgba(255, 255, 255, 0.82); }
.pathsplit--individuals p { color: var(--text-soft); }

.pathsplit .btn { margin-top: auto; position: relative; z-index: 1; }

@media (max-width: 860px) {
  .pathsplit__grid { grid-template-columns: 1fr; }
}

/* the longer nav labels need a slightly earlier squeeze */
@media (max-width: 1250px) {
  .nav__list a, .nav__trigger { font-size: 0.87rem; padding-inline: 0.55rem; }
}

/* ==========================================================================
   Homepage curation: pathway rail CTA pill + mobile carousels with indicators
   ========================================================================== */

/* CTA variant of the pathway pill — navy, closes the rail */
.pathnav--cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
}
.pathnav--cta .pathnav__body strong { color: var(--white); }
.pathnav--cta .pathnav__body small { color: rgba(255, 255, 255, 0.72); }
.pathnav--cta .pathnav__arrow { stroke: var(--pink-deep); }
.pathnav--cta:hover { border-color: rgba(189, 145, 48, 0.5); }

/* ---------- Mobile carousel system ----------
   On small screens, [data-carousel] grids become swipeable snap rails and
   script.js appends gold-dash indicators (same visual language as the hero
   slider dots). Desktop layouts are untouched. */

.cdots {
  display: none;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.cdots button {
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--pink-deep);
  cursor: pointer;
  transition: background 0.3s, width 0.3s var(--ease-out);
}

.cdots button.is-active { background: var(--orange); width: 44px; }

@media (max-width: 760px) {
  [data-carousel] {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 7vw;
    gap: 0.9rem;
    padding-inline: 2px;
    padding-bottom: 6px;                 /* room for card shadows */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }

  [data-carousel] > * {
    flex: 0 0 86%;
    max-width: 86%;
    scroll-snap-align: center;
  }

  /* featured testimonial becomes an equal slide inside the rail */
  [data-carousel] .tcard--featured { grid-row: auto; grid-column: auto; }

  .cdots { display: flex; }
}

/* ==========================================================================
   Consultation intake wizard, form labels, choice cards, decorative art
   ========================================================================== */

/* ---------- visible field labels (all forms) ---------- */

.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form__optional {
  font-weight: 500;
  color: var(--text-soft);
  text-transform: uppercase;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  margin-left: 0.3rem;
}

.form__field { margin-bottom: 0.9rem; }
.form__row--split { margin-bottom: 0; }
.form__row--split .form__field { margin-bottom: 0.9rem; }

/* stamp watermark on the assessment form card */
.assess__form { position: relative; overflow: hidden; }
.assess__form-stamp {
  position: absolute;
  top: -14px; right: -16px;
  width: 110px; height: 110px;
  color: var(--orange);
  opacity: 0.1;
  transform: rotate(12deg);
  pointer-events: none;
}

/* ---------- choice cards (consultation page) ---------- */

.choice__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.6rem;
}

.choice {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: clamp(1.7rem, 3vw, 2.3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.choice:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(189, 145, 48, 0.4); }

.choice__art {
  position: absolute;
  right: -12px; bottom: -14px;
  width: 130px; height: 130px;
  color: var(--orange);
  opacity: 0.1;
  pointer-events: none;
}

.choice--primary {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
}
.choice--primary .choice__art { color: var(--pink-deep); opacity: 0.16; }

.choice__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.choice--primary .choice__kicker { color: var(--pink-deep); }

.choice h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--ink);
  line-height: 1.15;
}
.choice--primary h2 { color: var(--white); }

.choice > p { max-width: 44ch; font-size: 0.93rem; }
.choice--primary > p { color: rgba(255, 255, 255, 0.82); }

.choice__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange-deep);
}
.choice--primary .choice__link { color: var(--pink-deep); }
.choice__link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 0.25s var(--ease-out); }
.choice:hover .choice__link svg { transform: translateX(4px); }

/* ---------- consultation wizard ---------- */

.consult { position: relative; overflow: hidden; }

.consult__stamp {
  position: absolute;
  top: 30px; right: max(2vw, 20px);
  width: clamp(90px, 12vw, 150px);
  height: auto;
  color: var(--orange);
  opacity: 0.12;
  transform: rotate(10deg);
  pointer-events: none;
}

.consult__form {
  max-width: 720px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}

/* progress indicator */
.csteps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  position: relative;
}

.csteps::before {
  content: "";
  position: absolute;
  top: 17px; left: 12%; right: 12%;
  height: 2px;
  background: var(--line-soft);
}

.csteps__item {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.csteps__num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream-deep);
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.csteps__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.csteps__item.is-active .csteps__num { background: var(--orange); border-color: var(--orange); color: var(--white); }
.csteps__item.is-active .csteps__label { color: var(--orange-deep); }

.csteps__item.is-done .csteps__num {
  background: var(--navy);
  border-color: var(--navy);
  color: transparent;
  position: relative;
}
.csteps__item.is-done .csteps__num::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="white" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 16px no-repeat;
}

/* steps show/hide */
.consult__step { border: 0; padding: 0; margin: 0; display: none; }
.consult__step.is-active { display: block; animation: rise 0.45s var(--ease-out); }

/* wizard fields reuse the assessment form styling */
.consult__form input[type="text"],
.consult__form input[type="email"],
.consult__form input[type="tel"],
.consult__form input[type="number"],
.consult__form textarea,
.consult__form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  padding: 0.8rem 1.05rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: var(--cream-deep);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.consult__form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16"><path d="M6 9l6 6 6-6" fill="none" stroke="%236e747c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    right 0.9rem center / 16px no-repeat,
    var(--cream-deep);
  cursor: pointer;
}
.consult__form input:hover, .consult__form textarea:hover, .consult__form select:hover { border-color: var(--line); }
.consult__form input:focus, .consult__form textarea:focus, .consult__form select:focus {
  outline: none;
  border-color: var(--orange);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(189, 145, 48, 0.14);
}
.consult__form .is-invalid { border-color: #d64545; background-color: #fdf4f4; }
.consult__form textarea { resize: vertical; }

.consult__docs-note { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 1rem; }

/* drag & drop zone */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  padding: 2rem 1.4rem;
  border: 2px dashed var(--pink-deep);
  border-radius: var(--radius);
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s var(--ease-out);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--orange); background: var(--orange-wash); }
.dropzone.is-drag { transform: scale(1.01); }
.dropzone.is-full { opacity: 0.55; pointer-events: none; }
.dropzone svg { width: 58px; height: 58px; color: var(--orange-deep); margin-bottom: 0.4rem; }
.dropzone strong { font-size: 0.98rem; color: var(--ink); }
.dropzone span { font-size: 0.83rem; color: var(--text-soft); }
.dropzone u { color: var(--orange-deep); text-underline-offset: 2px; }

.dropzone__list { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.5rem; }
.dropzone__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.8rem;
  background: var(--cream-deep);
  border-radius: 10px;
  font-size: 0.85rem;
}
.dropzone__name { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone__size { color: var(--text-soft); flex-shrink: 0; }
.dropzone__remove {
  margin-left: auto;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dropzone__remove:hover { background: #fdf4f4; color: #d64545; }

.consult__nav {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.consult__nav .consult__next, .consult__nav .consult__submit { margin-left: auto; }

/* ---------- footer + page decorative art ---------- */

.footer { position: relative; overflow: hidden; }

/* the sails rest exactly on the bottom bar's divider line at every width */
.footer__bar { position: relative; }

.footer__deco-sails {
  position: absolute;
  right: clamp(10px, 4vw, 70px);
  bottom: 100%;
  margin-bottom: -5px; /* the drawing's horizon line sits on the border */
  width: clamp(150px, 20vw, 280px);
  height: auto;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.footer__deco-crux {
  position: absolute;
  top: 40px;
  right: clamp(20px, 6vw, 110px);
  width: 34px;
  height: auto;
  color: rgba(189, 145, 48, 0.5);
  pointer-events: none;
}

/* ---------- About Australia: states grid ---------- */

.states__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.state {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.state:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(189, 145, 48, 0.35); }

.state__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--orange-wash);
  color: var(--orange-deep);
}
.state__icon svg { width: 24px; height: 24px; }

.state__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); margin-bottom: 0.35rem; }
.state__body p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.55; }
.state__work { margin-top: 0.45rem; color: var(--text); }

.state__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.state__tags a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--blue-wash);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.state__tags a:hover { background: var(--navy); color: var(--white); }

@media (max-width: 860px) {
  .choice__grid { grid-template-columns: 1fr; }
  .states__grid { grid-template-columns: 1fr; }
  .csteps__label { font-size: 0.62rem; }
  .consult__stamp { display: none; }
}

/* ==========================================================================
   Compact assessment form — fits a laptop viewport with labels visible
   ========================================================================== */

.assess__form { padding: clamp(1.25rem, 2.4vw, 1.7rem) clamp(1.25rem, 2.6vw, 1.9rem); }

.assess__form .form__head { margin-bottom: 0.55rem; }
.assess__form .form__head h3 { font-size: 1.22rem; margin-bottom: 0.2rem; }
.assess__form .form__head p { font-size: 0.82rem; }

.form__label { font-size: 0.75rem; margin-bottom: 0.22rem; }
.form__field { margin-bottom: 0.6rem; }
.form__row--split .form__field { margin-bottom: 0.6rem; }
.form__row--split { gap: 0.8rem; }

.assess__form input[type="text"],
.assess__form input[type="email"],
.assess__form input[type="tel"],
.assess__form input[type="date"],
.assess__form select,
.assess__form textarea {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 10px;
}
.assess__form input[type="date"] { min-height: 40px; }
.assess__form textarea { min-height: 58px; }

.assess__form button[type="submit"] { padding: 0.78rem 1.6rem; margin-top: 0.2rem; }

.assess__form .form__note { font-size: 0.76rem; margin-top: 0.55rem; }
.assess__form .form__status { min-height: 1.1em; font-size: 0.85rem; }

/* ==========================================================================
   Consultation wizard nav polish
   ========================================================================== */

/* divider separates the step content from its actions; note centres below */
.consult__nav {
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.3rem;
  margin-top: 1.9rem;
}

.consult__nav .btn { padding-block: 0.85rem; }
.consult__nav .consult__back { padding-inline: 1.4rem; }

/* mirrored arrow on Back — nudges left on hover */
.btn__arrow--back { transform: scaleX(-1); }
.btn:hover .btn__arrow--back { transform: scaleX(-1) translateX(4px); }

/* inside the wizard card the note sits flush with the field edge above it,
   not floating centred — every element shares one left alignment line */
.consult__form .form__note {
  margin-top: 1.2rem;
  justify-content: flex-start;
  max-width: none;
  margin-inline: 0;
}
.consult__form .form__status { margin-top: 0.4rem; text-align: center; }

/* ==========================================================================
   Field-level validation errors
   ========================================================================== */

.form__error {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
  color: #c0392b;
}

.form__error::before {
  content: "!";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
}

/* invalid fields keep a red ring even while focused, so the state is
   unmistakable mid-correction */
.assess__form .is-invalid:focus,
.consult__form .is-invalid:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.14);
}

/* ==========================================================================
   Animated form success card
   ========================================================================== */

/* the success panel replaces everything else inside the form card */
.assess__form.is-complete > :not(.fsuccess),
.consult__form.is-complete > :not(.fsuccess) { display: none; }

/* keep the stamp watermark for character */
.assess__form.is-complete > .assess__form-stamp { display: block; }

.fsuccess {
  text-align: center;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(0.4rem, 2vw, 1.5rem);
  animation: fsuccess-in 0.5s var(--ease-out);
}

@keyframes fsuccess-in {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: none; }
}

/* gold ring draws itself, then the navy check strokes through */
.fsuccess__mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 1.3rem;
  display: block;
}

.fsuccess__mark circle {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: fsuccess-ring 0.7s var(--ease-out) 0.1s forwards;
}

@keyframes fsuccess-ring { to { stroke-dashoffset: 0; } }

.fsuccess__mark path {
  fill: none;
  stroke: var(--navy);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: fsuccess-check 0.45s var(--ease-out) 0.75s forwards;
}

@keyframes fsuccess-check { to { stroke-dashoffset: 0; } }

.fsuccess h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--ink);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: rise 0.6s var(--ease-out) 0.9s forwards;
}

.fsuccess > p {
  color: var(--text-soft);
  max-width: 40ch;
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: rise 0.6s var(--ease-out) 1.05s forwards;
}

.fsuccess__next {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  animation: rise 0.6s var(--ease-out) 1.2s forwards;
}

.fsuccess__next span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--cream-deep);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.fsuccess__next svg {
  width: 16px;
  height: 16px;
  color: var(--orange-deep);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fsuccess,
  .fsuccess h3,
  .fsuccess > p,
  .fsuccess__next { animation: none; opacity: 1; }
  .fsuccess__mark circle { animation: none; stroke-dashoffset: 0; }
  .fsuccess__mark path { animation: none; stroke-dashoffset: 0; }
}

/* mobile testimonial rail: equal-height cards (the featured excerpt clamp
   keeps the height spread small), quote area flexes so every attribution
   footer sits on the same baseline */
@media (max-width: 760px) {
  .tgrid[data-carousel] .tcard { padding: 1.45rem 1.45rem 1.3rem; }
  .tcard--featured blockquote p { font-size: 0.98rem; line-height: 1.62; }
}

/* assessment-form note: icon flows inline with the sentence and the whole
   note centres as one block under the submit button */
.assess__form .form__note {
  display: block;
  text-align: center;
  max-width: 36em;
}

.assess__form .form__note svg {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 0.35rem;
}

/* wizard note: icon anchors to the first line of wrapped text */
.consult__form .form__note { align-items: flex-start; }
.consult__form .form__note svg { margin-top: 2px; }

/* mobile: featured testimonial shows an excerpt so all rail cards sit in the
   same height range — no stretched voids, no towering slide */
@media (max-width: 760px) {
  .tcard--featured blockquote p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    overflow: hidden;
  }
}

/* ==========================================================================
   FAQ layout
   ========================================================================== */

.faq__wrap { max-width: 820px; }

.faq__group + .faq__group { margin-top: 2.6rem; }

.faq__group-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.faq__group-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--orange-wash);
  color: var(--orange-deep);
  flex-shrink: 0;
}
.faq__group-icon svg { width: 20px; height: 20px; }

/* no leading circle icon in the FAQ accordions — align panel with question */
.faq__wrap .accordion__panel { padding-left: 0.25rem; max-width: 62ch; }

.faq__more { text-align: center; margin-top: 1.8rem; }

/* mobile hero: the map bleeds a little wider than the container, and the
   rotating MARN seal steps down so it doesn't crowd the smaller silhouette */
@media (max-width: 620px) {
  .hero__media {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
  .hero__frame { max-height: none; }
  .hero__seal { width: 68px; height: 68px; right: 0.2rem; bottom: -0.3rem; }
  .hero__seal-mark { width: 22px; height: 22px; }
}

/* ==========================================================================
   Industry cards, editorial treatment: title on the image, gold badge
   ========================================================================== */

.icard__media::after {
  background: linear-gradient(180deg, rgba(13, 36, 80, 0.02) 34%, rgba(13, 36, 80, 0.82) 100%);
}

.icard__media img { filter: saturate(1.06) contrast(1.01); }

.icard__badge {
  top: 0.85rem;
  left: 0.85rem;
  bottom: auto;
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 22px -10px rgba(13, 36, 80, 0.55);
}
.icard__badge svg { width: 22px; height: 22px; }

.icard__title {
  position: absolute;
  z-index: 1;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 0.9rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(13, 36, 80, 0.45);
}

.icard__body { gap: 0.65rem; padding-top: 1.05rem; }

/* ==========================================================================
   Mobile nav overlay: always fits, centres when short, scrolls when tall
   ========================================================================== */

@media (max-width: 960px) {
  .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4.2rem 1rem 1.6rem;
  }

  /* auto margins centre the list when it fits and pin it scrollably when not */
  .nav__list { margin-block: auto; width: 100%; max-width: 340px; }

  /* compact rhythm so an expanded submenu fits small phones */
  .nav__list { gap: 0.15rem; }
  .nav__list a, .nav__trigger { font-size: 1.02rem; padding: 0.45rem 1rem; }
  .nav__menu { padding-block: 0.15rem 0.35rem; }
  .nav__menu-grid { gap: 0.05rem; max-width: 300px; }
  .nav__menu-grid a { padding: 0.32rem 0.6rem; font-size: 0.95rem; }
  .nav__menu-icon { width: 27px; height: 27px; border-radius: 8px; }
  .nav__menu-icon svg { width: 16px; height: 16px; }
  .nav__menu-all { padding: 0.5rem 0.7rem; font-size: 0.82rem; margin-top: 0.3rem; }
  .nav__list a.nav__highlight { margin-top: 0.5rem; }
}

/* taller / high-res phones get a little more air and size back */
@media (max-width: 960px) and (min-height: 780px) {
  .nav__list { gap: 0.4rem; }
  .nav__list a, .nav__trigger { font-size: 1.15rem; padding: 0.55rem 1.2rem; }
  .nav__menu-grid a { padding: 0.45rem 0.7rem; font-size: 1rem; }
  .nav__menu-icon { width: 32px; height: 32px; }
  .nav__menu-icon svg { width: 18px; height: 18px; }
}

/* ==========================================================================
   Reusable Australia-silhouette image frame (matches the homepage hero)
   ========================================================================== */

.aus-frame {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 22px 32px rgba(27, 39, 64, 0.28));
}

/* intrinsic-ratio spacer instead of aspect-ratio — guarantees the frame has
   height on every browser/layout path (a collapsed frame hides the image) */
.aus-frame::before {
  content: "";
  display: block;
  padding-top: 93.46%; /* 460 / 492.2 */
}

/* clip lives on a div, not the img — some browsers cast the parent filter's
   drop-shadow from an <img>'s pre-clip rectangle, ghosting a box over the
   background art */
.aus-frame__clip {
  position: absolute;
  inset: 0;
  -webkit-clip-path: url(#clip-aus);
  clip-path: url(#clip-aus);
}

.aus-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* neutralise the arched-card treatment */
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.aus-frame__outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.aus-frame__outline use {
  fill: none;
  stroke: var(--white);
  stroke-width: 0.0065; /* 0..1 viewBox units */
  stroke-linejoin: round;
}

/* industry hero map on small screens: contained, centred, stat card tucked in */
@media (max-width: 960px) {
  .page-hero__media .aus-frame { max-width: 340px; margin-inline: auto; }
  /* width:100% — auto margins disable grid stretch, and the frame's children
     are all absolutely positioned, so fit-content would collapse to zero */
  .page-hero__media { max-width: none; width: 100%; }
  /* compact stat pill, centred under the map */
  .page-hero__stat {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.4rem;
    width: max-content;
    max-width: 86%;
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    text-align: center;
  }
  .page-hero__stat strong { font-size: 0.95rem; }
  .page-hero__stat span { font-size: 0.7rem; }
}

/* ==========================================================================
   Bento layout for four-card feature grids (featured tile + three stacked)
   ========================================================================== */

.bento4 {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.bento4 .solution--feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
}

.bento4 .solution--feature h3 {
  color: var(--white);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.bento4 .solution--feature p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 34ch;
}

.bento4 .solution--feature .solution__icon {
  background: rgba(255, 255, 255, 0.13);
  color: var(--pink-deep);
}

.bento4 .solution--feature .solution__deco {
  position: absolute;
  right: -26px;
  bottom: -28px;
  width: 220px;
  height: 110px;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

@media (max-width: 700px) {
  .bento4 { grid-template-columns: 1fr; }
}

/* mobile footer bar: copyright stays on one line */
@media (max-width: 620px) {
  .footer__bar { font-size: 0.68rem; }
  .footer__bar-inner p { white-space: nowrap; }
  .footer__legal { font-size: 0.74rem; }
}

@media (max-width: 380px) {
  .footer__bar { font-size: 0.6rem; }
}

/* ==========================================================================
   Paid services (booking page)
   Two tiers shown side by side so the difference between focused advice and a
   full written review is visible before booking, not after invoicing.
   ========================================================================== */

.svc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  /* stretch, not start: the two tiers list a different number of inclusions,
     so starting them left the cards at mismatched heights. Stretching plus the
     margin-top:auto on .svc__fee keeps the fee and button aligned across both. */
  align-items: stretch;
}

.svc {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.9rem 2.1rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}

.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(189, 145, 48, 0.35); }

/* The two tiers were near-identical cream cards, so the difference between
   focused advice and a full written review didn't read at a glance. The
   comprehensive tier now carries the navy field — same palette, clear
   hierarchy, and the fee difference lands as a step up rather than a surprise. */
.svc--feature {
  background: linear-gradient(160deg, var(--navy) 0%, #16305e 100%);
  border-color: rgba(189, 145, 48, 0.5);
}

.svc--feature .svc__name { color: var(--white); }
.svc--feature .svc__text { color: rgba(255, 255, 255, 0.76); }
.svc--feature .svc__list li { color: rgba(255, 255, 255, 0.92); }
.svc--feature .svc__list svg { stroke: var(--orange); }

.svc--feature .svc__icon {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(189, 145, 48, 0.45);
  color: var(--orange);
}

.svc--feature .svc__fee {
  color: var(--white);
  border-top-color: rgba(255, 255, 255, 0.18);
}

/* A navy button on a navy card would vanish — the CTA inverts to gold. */
.svc--feature .btn--primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.5);
}
.svc--feature .btn--primary:hover {
  background: var(--orange-deep);
  color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.55);
}

.svc__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(189, 145, 48, 0.1);
  color: var(--orange-deep);
}
.svc__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.svc__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ink);
}

.svc__text { font-size: 0.93rem; line-height: 1.6; color: var(--text-soft); }

.svc__list { list-style: none; display: grid; gap: 0.5rem; margin-top: 0.2rem; }
.svc__list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.88rem; line-height: 1.5; color: var(--text); }
.svc__list svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 0.15em; fill: none; stroke: var(--orange-deep); stroke-width: 2; }

.svc__fee {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--navy);
}

.svc .btn { margin-top: 0.9rem; }

@media (max-width: 820px) {
  .svc__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
