/* Self-hosted fonts (Inter, Poppins), Latin subset. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/inter-400.woff2) format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/inter-500.woff2) format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/inter-600.woff2) format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../assets/fonts/inter-700.woff2) format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/poppins-600.woff2) format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(../assets/fonts/poppins-700.woff2) format('woff2');}

/* ==========================================================================
   Pheenix Solutions — Design System
   Staffing & Recruiting
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Brand palette — sampled from the Pheenix phoenix logo */
  --navy-950: #0d1216;
  --navy-900: #10161b;
  --navy-850: #131a20;
  --navy-800: #161d23;   /* logo background — header / footer base */
  --navy-700: #1f2a35;
  --navy-600: #2b3a48;
  --slate-500: #566a7d;
  --slate-400: #8298ab;
  --slate-300: #b3c3d1;
  --mist-100: #eef3f8;
  --mist-50:  #f6f9fc;
  --white:    #ffffff;

  /* Ember + gold accent (phoenix fire) */
  --ember-700: #ac3121;  /* deep red */
  --ember-600: #c6421a;
  --ember-500: #e3531e;  /* primary orange */
  --ember-400: #f2711c;
  --gold-500:  #e0a23c;
  --gold-400:  #ecb364;  /* flame gold */
  --gold-300:  #ffdb8c;  /* highlight */
  --ember-glow: rgba(227, 83, 30, 0.30);

  /* Functional */
  --text:        var(--navy-900);
  --text-muted:  var(--slate-500);
  --bg:          var(--white);
  --bg-alt:      var(--mist-50);
  --border:      #e2e8f1;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", var(--font-sans);

  /* Spacing / layout */
  --container: 1140px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, 0.06), 0 2px 8px rgba(11, 26, 46, 0.05);
  --shadow:    0 10px 30px rgba(11, 26, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 26, 46, 0.18);

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

/* Accessibility: clear keyboard-focus ring (mouse clicks stay clean) */
:focus-visible { outline: 2px solid var(--ember-500); outline-offset: 2px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ember-600);
  margin-bottom: 0.9rem;
}
.lead { font-size: 1.2rem; color: var(--text-muted); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--ember-500), var(--ember-600));
  color: var(--white);
  box-shadow: 0 8px 20px var(--ember-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--ember-glow); }
.btn--secondary {
  background: var(--navy-800);
  color: var(--white);
}
.btn--secondary:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--navy-600); background: var(--mist-50); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.08rem; }

/* ---- Skip link (a11y) ---- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-800); color: var(--white);
  padding: 0.7rem 1.1rem; border-radius: var(--radius-sm);
  transition: top var(--transition); font-weight: 600;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--ember-500); outline-offset: 2px; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 29, 35, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); color: var(--white); }
.nav .brand { margin-right: clamp(1.25rem, 2.5vw, 2.5rem); flex: none; }
.brand__mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.brand__text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.brand__name { font-weight: 700; font-size: 1.16rem; letter-spacing: 0.05em; color: var(--white); white-space: nowrap; }
.brand__sub { font-family: var(--font-sans); font-weight: 600; font-size: 0.575rem; letter-spacing: 0.35em; color: var(--gold-400); white-space: nowrap; margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 500; color: var(--slate-300); transition: color var(--transition); position: relative; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 3px;
  background: var(--ember-500); border-radius: 3px 3px 0 0;
}
.nav__caret { width: 14px; height: 14px; transition: transform var(--transition); opacity: 0.75; }

/* Dropdown (desktop) */
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.6rem; z-index: 120;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--transition), transform var(--transition);
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .nav__dropdown,
.has-dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .nav__caret, .has-dropdown:focus-within .nav__caret { transform: rotate(180deg); }
.nav__dropdown ul { display: grid; gap: 0.1rem; }
.nav__dropdown a {
  display: block; padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--slate-300); font-size: 0.95rem; font-weight: 500; transition: var(--transition);
}
.nav__dropdown a:hover { background: rgba(242,113,28,0.14); color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__toggle { display: none; background: none; border: none; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav__toggle span + span { margin-top: 5px; }
.nav__cta-mobile { display: none; margin-top: 0.5rem; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(242,113,28,0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--ember-400); }
.hero__lead { font-size: 1.25rem; color: var(--slate-300); margin-top: 1.4rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--white); }
.hero__stat span { font-size: 0.9rem; color: var(--slate-400); }

.hero__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: var(--white); margin-bottom: 0.4rem; }
.hero__card p { color: var(--slate-300); font-size: 0.98rem; margin-bottom: 1.4rem; }
.path-links { display: grid; gap: 0.8rem; }
.path-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}
.path-link:hover { background: rgba(242,113,28,0.16); border-color: var(--ember-400); transform: translateX(4px); }
.path-link strong { display: block; color: var(--white); }
.path-link span { font-size: 0.88rem; color: var(--slate-300); }
.path-link .arrow { color: var(--ember-400); font-size: 1.3rem; }

/* ---- Trust bar ---- */
.trustbar { padding-block: 2rem; border-bottom: 1px solid var(--border); }
.trustbar p { text-align: center; color: var(--slate-400); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.2rem; font-weight: 600; }
.trustbar__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.9rem 1.9rem; opacity: 0.75; }
.trustbar__logos span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--slate-500); white-space: nowrap; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(242,113,28,0.14), rgba(242,113,28,0.06));
  color: var(--ember-600);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 1rem; }

/* ---- Split feature ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  color: var(--slate-300);
}
.check-list li { position: relative; padding-left: 2.25rem; margin-bottom: 0.9rem; color: var(--text-muted); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05em; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(242,113,28,0.14); color: var(--ember-600);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}
.check-list li strong { color: var(--navy-800); }

/* ---- Steps ---- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4.5rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--ember-500);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  border: 2px solid var(--border); display: grid; place-items: center; background: var(--white);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 1rem; }

/* ---- Stat band ---- */
.statband { background: var(--navy-900); color: var(--white); }
.statband .stat strong { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--ember-400); display: block; }
.statband .stat span { color: var(--slate-300); }
/* Text/feature props (phrases instead of big numbers) */
.statband .stat-props { gap: 32px; }
.statband .stat-props .stat strong { font-size: clamp(1.3rem, 2.2vw, 1.65rem); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; }
.statband .stat-props .stat span { display: block; margin-top: 0.7rem; font-size: 0.95rem; }

/* ---- Testimonial ---- */
.quote {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.08rem; color: var(--navy-800); font-style: italic; margin-bottom: 1.4rem; }
.quote__by { display: flex; align-items: center; gap: 0.9rem; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--ember-400), var(--ember-600)); display: grid; place-items: center; color: var(--white); font-weight: 700; font-family: var(--font-display); }
.quote__by strong { display: block; font-size: 0.95rem; }
.quote__by span { font-size: 0.85rem; color: var(--text-muted); }

/* ---- CTA band ---- */
.cta {
  background:
    radial-gradient(800px 400px at 20% 120%, rgba(242,113,28,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white); border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta h2 { color: var(--white); }
.cta p { color: var(--slate-300); max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.15rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Forms ---- */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--navy-800); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ember-500); box-shadow: 0 0 0 3px var(--ember-glow);
}
.field textarea { resize: vertical; min-height: 130px; }

/* Optional consent checkbox (SMS). Starts unchecked; never required to submit. */
.field--check { display: flex; align-items: flex-start; gap: 0.7rem; }
.field--check input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 0.15rem; flex: none;
  accent-color: var(--ember-500); cursor: pointer;
}
.field--check label {
  font-weight: 400; font-size: 0.88rem; line-height: 1.5;
  color: var(--text-muted); cursor: pointer;
}
.field--check label strong { color: var(--navy-800); font-weight: 600; }

.form__note { font-size: 0.85rem; color: var(--text-muted); }
.form-status { padding: 1rem; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status.is-success { display: block; background: rgba(34,160,90,0.1); color: #1a7a45; border: 1px solid rgba(34,160,90,0.25); }
.form-status.is-error { display: block; background: rgba(200,50,40,0.08); color: #b02a1f; border: 1px solid rgba(200,50,40,0.25); }
/* Honeypot spam trap — hidden from users, visible to bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* File input */
.field input[type="file"] { padding: 0.6rem; background: var(--mist-50); cursor: pointer; }
.field input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; margin-right: 0.8rem; padding: 0.45rem 0.9rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); color: var(--navy-800); cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { border-color: var(--ember-400); }

/* ---- Contact list ---- */
.contact-list { display: grid; gap: 1.4rem; margin-bottom: 2.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list__icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(242,113,28,0.14), rgba(242,113,28,0.06));
  color: var(--ember-600);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list li strong { display: block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.15rem; }
.contact-list li a { color: var(--ember-600); font-weight: 500; }
.contact-list li a:hover { text-decoration: underline; }
.contact-list__text { color: var(--text-muted); }

.contact-split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-card {
  display: block; padding: 1.1rem 1.3rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--white); transition: var(--transition);
}
.mini-card:hover { border-color: var(--ember-400); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.mini-card strong { display: block; font-family: var(--font-display); color: var(--navy-900); margin-bottom: 0.2rem; }
.mini-card span { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 460px) { .contact-split-cta { grid-template-columns: 1fr; } }

/* ---- Page header (interior pages) ---- */
.page-hero {
  background:
    radial-gradient(1000px 500px at 90% -20%, rgba(242,113,28,0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem);
}
.page-hero .eyebrow { color: var(--ember-400); }
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--slate-300); max-width: 60ch; margin-top: 1rem; font-size: 1.2rem; }

/* Photographic hero backdrop. Add the modifier and set the image per page:
   <section class="page-hero page-hero--image" style="--hero-img:url(../assets/industries/technology.jpg)">
   The left-to-right scrim keeps headline and body text legible over the photo. */
.page-hero--image {
  background:
    linear-gradient(90deg, rgba(13,18,22,0.92) 0%, rgba(13,18,22,0.62) 45%, rgba(13,18,22,0.12) 100%),
    var(--hero-img) center / cover no-repeat,
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  min-height: clamp(340px, 34vw, 460px);
  display: flex;
  align-items: center;
}
.page-hero--image > .container { width: 100%; }
/* A soft shadow keeps text readable now that the scrim lets more of the photo through. */
.page-hero--image h1, .page-hero--image p, .page-hero--image .breadcrumb { text-shadow: 0 1px 12px rgba(13,18,22,0.65); }
@media (max-width: 720px) {
  /* Narrow screens put text across the whole photo, so use an even top-to-bottom scrim,
     and crop toward the right, where the people in the hero photos stand. */
  .page-hero--image {
    background:
      linear-gradient(180deg, rgba(13,18,22,0.58), rgba(13,18,22,0.78)),
      var(--hero-img) 72% center / cover no-repeat,
      linear-gradient(160deg, var(--navy-900), var(--navy-700));
  }
}

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); color: var(--slate-300); padding-block: 4rem 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid--wide { grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer__brand p { font-size: 0.95rem; max-width: 32ch; color: var(--slate-400); }
.footer h4 { font-family: var(--font-sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.6rem; }
.footer a { color: var(--slate-300); font-size: 0.95rem; transition: color var(--transition); }
.footer a:hover { color: var(--ember-400); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 1.6rem;
  font-size: 0.88rem; color: var(--slate-400);
}
.footer__legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__legal a { color: var(--slate-400); font-size: 0.88rem; }
.footer__legal a:hover { color: var(--gold-400); }
.social { display: flex; gap: 0.8rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: grid; place-items: center; }
.social a:hover { background: var(--ember-600); }
.social svg { width: 18px; height: 18px; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.badge { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: rgba(242,113,28,0.12); color: var(--ember-600); }

/* ---- Legal / long-form content ---- */
.legal { max-width: 780px; margin-inline: auto; }
.legal__updated { color: var(--slate-400); font-size: 0.9rem; margin-bottom: 1.8rem; }
.legal h2 { margin-top: 2.4rem; font-size: 1.4rem; }
.legal h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal p + p { margin-top: 1rem; }
.legal ul, .legal ol { list-style: revert; padding-left: 1.4rem; margin: 1rem 0; display: grid; gap: 0.5rem; }
.legal a { color: var(--ember-600); text-decoration: underline; }
.legal strong { color: var(--navy-800); }
.legal__note { background: var(--mist-50); border: 1px solid var(--border); border-left: 3px solid var(--ember-500); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.6rem 0; font-size: 0.95rem; }

/* ---- Article (blog post) ---- */
.article { max-width: 720px; margin-inline: auto; font-size: 1.13rem; line-height: 1.8; }
.article .lead { font-size: 1.33rem; line-height: 1.6; color: var(--navy-800); font-weight: 500; margin-bottom: 1.7rem; }
.article > p, .article li { color: #3c4653; }
.article p + p { margin-top: 1.15rem; }
.article h2 { margin-top: 2.8rem; margin-bottom: 0.4rem; font-size: 1.62rem; letter-spacing: -0.01em; }
.article h3 { margin-top: 2rem; margin-bottom: 0.3rem; font-size: 1.24rem; }
.article strong { color: var(--navy-900); font-weight: 600; }
.article a { color: var(--ember-600); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.article a:hover { color: var(--ember-700); }
.article ul, .article ol { margin: 1.35rem 0; padding-left: 0; display: grid; gap: 0.7rem; list-style: none; }
.article ul li { position: relative; padding-left: 1.7rem; }
.article ul li::before { content: ""; position: absolute; left: 0.15rem; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ember-500); }
.article ol { counter-reset: art; }
.article ol li { position: relative; padding-left: 2.3rem; counter-increment: art; }
.article ol li::before { content: counter(art); position: absolute; left: 0; top: 0.05em; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: rgba(242,113,28,0.12); color: var(--ember-600); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; }
.article blockquote {
  position: relative; margin: 2.1rem 0; padding: 0.4rem 0 0.4rem 2.6rem;
  font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; font-style: italic; color: var(--navy-900);
}
.article blockquote::before { content: "\201C"; position: absolute; left: 0; top: 0.34em; font-family: Georgia, 'Times New Roman', serif; font-size: 3.4rem; line-height: 0; color: var(--ember-400); }
.article hr { border: 0; border-top: 1px solid var(--border); margin: 2.8rem 0; }
.article__back { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--border); font-weight: 600; color: var(--ember-600); transition: gap var(--transition); }
.article__back:hover { gap: 0.75rem; }

/* Article hero: category pill + author byline with avatar */
article .page-hero .eyebrow {
  display: inline-block; margin-bottom: 1.1rem; padding: 0.4rem 0.95rem;
  background: rgba(242,113,28,0.16); color: var(--gold-300);
  border: 1px solid rgba(242,113,28,0.32); border-radius: 999px; letter-spacing: 0.09em;
}
.page-hero .article-meta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.95rem; color: var(--slate-300); margin-top: 1.4rem;
}
.page-hero .article-meta::before {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.06) url("../assets/phoenix-mark.png") center / 62% no-repeat;
  border: 1px solid rgba(255,255,255,0.14);
}

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 0.85rem; color: var(--slate-400); margin-bottom: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate-300); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { opacity: 0.5; }

/* ---- Overview tiles (services / industries index) ---- */
.tile {
  display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.tile__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 0.4rem;
  background: linear-gradient(135deg, rgba(242,113,28,0.14), rgba(242,113,28,0.06)); color: var(--ember-600);
}
.tile__icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.2rem; }
.tile p { color: var(--text-muted); font-size: 0.97rem; flex: 1; }
.tile__more { color: var(--ember-600); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.tile:hover .tile__more { gap: 0.55rem; }

/* ---- Detail page (service / industry) ---- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.detail__aside { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { display: grid; gap: 0.8rem; margin-top: 1rem; }
.prose ul li { position: relative; padding-left: 2.2rem; }
.prose ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05em;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(242,113,28,0.14); color: var(--ember-600); display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
}
.prose strong { color: var(--navy-800); }

/* Pills (e.g., healthcare modalities, role tags) */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.pill { display: inline-block; padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
  background: rgba(242,113,28,0.1); color: var(--ember-600); border: 1px solid rgba(242,113,28,0.2); }

/* Interactive model tabs (e.g. healthcare PRN/Travel/Permanent/International) */
.model-tabs { margin-top: 1.2rem; }
.model-tabs__pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.1rem; }
.model-tabs .pill { font-family: inherit; cursor: pointer; transition: var(--transition); }
.model-tabs .pill:hover { background: rgba(242,113,28,0.2); }
.model-tabs .pill:focus-visible { outline: 2px solid var(--ember-500); outline-offset: 2px; }
.model-tabs .pill[aria-selected="true"] {
  background: linear-gradient(135deg, var(--ember-500), var(--ember-600));
  color: var(--white); border-color: transparent; box-shadow: 0 6px 16px var(--ember-glow);
}
.model-panel {
  color: var(--text-muted); background: var(--mist-50);
  border: 1px solid var(--border); border-left: 3px solid var(--ember-500);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem;
}
.model-panel + .model-panel { margin-top: 0.7rem; }
.model-panel strong { color: var(--navy-800); }
/* With JS active, show only the selected panel; without JS all panels remain visible */
.model-tabs.js-ready .model-panel { display: none; }
.model-tabs.js-ready .model-panel.is-active { display: block; animation: fadeUp 0.25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .model-tabs.js-ready .model-panel.is-active { animation: none; } }

/* Sidebar cards */
.aside-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.9rem; }
.aside-card--cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--white); border: 0; }
.aside-card--cta h4 { color: var(--white); }
.aside-card--cta p { color: var(--slate-300); font-size: 0.95rem; margin-bottom: 1.1rem; }
.aside-links { display: grid; gap: 0.2rem; }
.aside-links a { display: block; padding: 0.5rem 0; color: var(--text-muted); font-size: 0.95rem; border-bottom: 1px solid var(--border); transition: var(--transition); }
.aside-links a:last-child { border-bottom: 0; }
.aside-links a:hover { color: var(--ember-600); padding-left: 0.3rem; }
.aside-links a[aria-current="page"] { color: var(--ember-600); font-weight: 600; }

/* Two-column feature list inside prose */
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin-top: 1.4rem; }

/* Compact engagement-model links (industry pages) */
.model-links { gap: 1rem; margin-top: 1rem; }

/* ---- FAQ accordion ---- */
.faq { display: grid; gap: 0.9rem; max-width: 820px; margin-inline: auto; }
.faq__item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__item[open] { border-color: var(--slate-300); box-shadow: var(--shadow-sm); }
.faq__q { cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-weight: 600; font-family: var(--font-display); color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--ember-500); font-weight: 400; transition: transform var(--transition); flex: none; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.4rem 1.3rem; color: var(--text-muted); }
.faq__a p + p { margin-top: 0.8rem; }

/* ---- Blog / resources cards ---- */
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__thumb { aspect-ratio: 16 / 9; background: var(--navy-800); overflow: hidden; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--transition, ease); }
.post:hover .post__thumb img { transform: scale(1.04); }

/* Article featured cover image (blog post header) */
.article-cover { max-width: 900px; margin: -2.6rem auto 0; padding-inline: 24px; position: relative; z-index: 3; }
.article-cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
@media (max-width: 680px) { .article-cover { margin-top: -1.4rem; } }
.post__body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post__tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--ember-600); }
.post__body h3 { font-size: 1.2rem; }
.post__body p { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.post__meta { font-size: 0.85rem; color: var(--slate-500); }

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .detail__aside { position: static; }
  .feature-cols { grid-template-columns: 1fr; }
}

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.team-card__avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.2rem;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem;
  color: var(--white); background: linear-gradient(135deg, var(--ember-400), var(--ember-600));
  box-shadow: 0 8px 20px var(--ember-glow);
}
.team-card h3 { margin-bottom: 0.15rem; }
.team-card .role { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ember-600); margin-bottom: 0.9rem; }
.team-card p { color: var(--text-muted); font-size: 0.95rem; }
.team-card__social { display: inline-flex; gap: 0.6rem; margin-top: 1rem; }
.team-card__social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist-50); border: 1px solid var(--border); color: var(--slate-500); transition: var(--transition); }
.team-card__social a:hover { background: var(--ember-600); color: var(--white); border-color: transparent; }
.team-card__social svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Nav collapses to a menu when the 8-item bar runs out of room */
@media (max-width: 1024px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem;
    position: absolute; top: 74px; left: 0; right: 0; max-height: calc(100vh - 74px); overflow-y: auto;
    background: var(--navy-800); padding: 1.2rem 24px 1.8rem; border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open .nav__item { flex-direction: column; align-items: stretch; }
  .nav.is-open .nav__link { color: var(--slate-300); font-size: 1.05rem; padding: 0.5rem 0; }
  .nav.is-open .nav__link[aria-current="page"] { color: var(--gold-400); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav.is-open .nav__cta-mobile { display: inline-flex; justify-content: center; margin-top: 0.8rem; color: var(--white); }
  /* Mobile dropdown = inline accordion */
  .nav.is-open .nav__dropdown {
    position: static; transform: none; opacity: 1; visibility: hidden; pointer-events: none;
    min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height var(--transition);
  }
  .nav.is-open .has-dropdown.is-expanded .nav__dropdown { visibility: visible; pointer-events: auto; max-height: 640px; padding: 0.2rem 0 0.4rem; }
  .nav.is-open .has-dropdown.is-expanded .nav__caret { transform: rotate(180deg); }
  .nav.is-open .nav__dropdown a { padding-left: 0.9rem; color: var(--slate-400); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid, .footer__grid--wide { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.5rem; }
  .step { padding-left: 3.8rem; }
}
@media (max-width: 460px) {
  .footer__grid, .footer__grid--wide { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
