/* =========================================================================
   LOS Recruitment - los.laurusgroup.co.uk/recruitment/
   Product page styles, layered on style.css (same tokens, type, cards,
   chips, header and footer). Only what this page adds lives here.
   ========================================================================= */

/* -------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */
.rec-hero { padding-top: clamp(28px, 4vw, 44px); }
.rec-hero::before {
  background:
    radial-gradient(55% 60% at 85% 10%, rgba(212, 175, 55, 0.16), transparent 62%),
    radial-gradient(45% 45% at 8% 95%, rgba(79, 159, 219, 0.1), transparent 60%);
}
.rec-breadcrumb { margin-bottom: clamp(28px, 4vw, 48px); }
.rec-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-dimmer);
}
.rec-breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--navy-line); }
.rec-breadcrumb a { color: var(--on-dark-dim); text-decoration: none; }
.rec-breadcrumb a:hover { color: var(--gold-bright); }
.rec-breadcrumb [aria-current="page"] { color: var(--gold-bright); }

.rec-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; }
.hero h1.rec-title {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 16px;
}
.rec-title-accent {
  display: block;
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-bright) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rec-strap {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  margin: 0 0 22px;
}
.rec-hero .hero-lede { max-width: 50ch; }
.rec-hero .hero-portal-note { max-width: 56ch; line-height: 1.6; }

/* The connected-system diagram. A square stage; nodes placed in %, lines
   drawn in a 400x400 SVG with the same geometry (core at 200,200). */
.rec-system {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin: 0 auto;
  --node-w: 34%;
}
.rec-system-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(243, 220, 149, 0.22);
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08), transparent 62%);
}
.rec-system-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rec-line { fill: none; stroke: rgba(243, 220, 149, 0.35); stroke-width: 1.4; stroke-dasharray: 4 6; }
.rec-pulse { fill: #cfe6ff; filter: drop-shadow(0 0 6px rgba(160, 205, 255, 0.9)); opacity: 0; }
.rec-system-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 31%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.rec-system-core img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(243, 220, 149, 0.35)) drop-shadow(0 0 3px rgba(150, 200, 255, 0.25));
}
.rec-system-core-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}
.rec-system-nodes { list-style: none; margin: 0; padding: 0; }
.rec-node {
  position: absolute;
  width: var(--node-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 12px 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-line);
  background: rgba(10, 20, 40, 0.92);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}
/* Node centres at (92,96), (308,96), (200,330) of 400 = 23%,24% / 77%,24% / 50%,82.5% */
.rec-node-candidate { left: 23%; top: 24%; transform: translate(-50%, -50%); }
.rec-node-employer  { left: 77%; top: 24%; transform: translate(-50%, -50%); }
.rec-node-staff     { left: 50%; top: 82.5%; transform: translate(-50%, -50%); }
.rec-node-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-bright);
}
.rec-node-icon svg { width: 18px; height: 18px; }
.rec-node-label { font-weight: 600; font-size: 0.82rem; color: var(--on-dark); line-height: 1.25; }
.rec-node-sub { font-size: 0.7rem; color: var(--on-dark-dimmer); line-height: 1.35; }

@media (prefers-reduced-motion: no-preference) {
  .rec-pulse-1 { animation: rec-pulse-1 6s ease-in-out infinite; }
  .rec-pulse-2 { animation: rec-pulse-2 6s ease-in-out infinite 2s; }
  .rec-pulse-3 { animation: rec-pulse-3 6s ease-in-out infinite 4s; }
  .rec-line { animation: rec-dash 14s linear infinite; }
}
@keyframes rec-dash { to { stroke-dashoffset: -100; } }
@keyframes rec-pulse-1 {
  0%   { cx: 200; cy: 200; opacity: 0; }
  5%   { opacity: 1; }
  28%  { cx: 92;  cy: 96;  opacity: 1; }
  32%, 100% { cx: 92; cy: 96; opacity: 0; }
}
@keyframes rec-pulse-2 {
  0%   { cx: 200; cy: 200; opacity: 0; }
  5%   { opacity: 1; }
  28%  { cx: 308; cy: 96;  opacity: 1; }
  32%, 100% { cx: 308; cy: 96; opacity: 0; }
}
@keyframes rec-pulse-3 {
  0%   { cx: 200; cy: 200; opacity: 0; }
  5%   { opacity: 1; }
  28%  { cx: 200; cy: 330; opacity: 1; }
  32%, 100% { cx: 200; cy: 330; opacity: 0; }
}

@media (max-width: 980px) {
  .rec-hero-grid { grid-template-columns: 1fr; }
  .rec-hero-grid > .rec-system { order: -1; width: min(100%, 400px); }
}
@media (max-width: 520px) {
  .rec-system { --node-w: 38%; }
  .rec-node { padding: 10px 6px; gap: 3px; }
  .rec-node-icon { width: 28px; height: 28px; border-radius: 8px; }
  .rec-node-icon svg { width: 15px; height: 15px; }
  .rec-node-label { font-size: 0.72rem; }
  .rec-node-sub { display: none; }
  .rec-system-core-label { font-size: 0.58rem; }
}

/* -------------------------------------------------------------------
   Platform overview: three portals
   ------------------------------------------------------------------- */
.rec-portals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.rec-portal { display: flex; flex-direction: column; }
.rec-portal .icon-badge { margin-bottom: 14px; }
.rec-portal-who {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.rec-portal h3 { font-size: 1.22rem; margin-bottom: 10px; }
.rec-portal > p { font-size: 0.95rem; }
.rec-ticks {
  list-style: none;
  margin: auto 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--navy-line);
  display: grid;
  gap: 8px;
}
.rec-ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--on-dark-dim);
  line-height: 1.45;
}
.rec-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 6px;
  border-left: 1.6px solid var(--gold-bright);
  border-bottom: 1.6px solid var(--gold-bright);
  transform: rotate(-45deg);
}
.rec-portal[data-portal="candidate"] { border-top: 2px solid var(--gold-dim); }
.rec-portal[data-portal="employer"]  { border-top: 2px solid var(--gold-dim); }
.rec-portal[data-portal="staff"]     { border-top: 2px solid var(--gold); }

.rec-foundation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 880px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(243, 220, 149, 0.28);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), var(--navy-800) 60%);
  font-size: 0.92rem;
  color: var(--on-dark-dim);
}
.rec-foundation .status-chip { margin: 2px 0 0; flex-shrink: 0; }

@media (max-width: 980px) {
  .rec-portals { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------
   Features: six capability cards
   ------------------------------------------------------------------- */
.rec-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.rec-feature { display: flex; flex-direction: column; }
.rec-feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.rec-feature-head .icon-badge { margin-bottom: 10px; }
.rec-feature-head .status-chip { margin: 0; }
.rec-feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.rec-feature p { font-size: 0.92rem; }
.rec-feature.is-developing {
  border-style: dashed;
  border-color: rgba(127, 192, 240, 0.4);
  background: linear-gradient(160deg, rgba(79, 159, 219, 0.07), var(--navy-800) 55%);
}
.rec-feature p.rec-feature-note {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--navy-line);
  font-size: 0.84rem;
  color: #7fc0f0;
}

@media (max-width: 980px) { .rec-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rec-features { grid-template-columns: 1fr; gap: 12px; } }

/* -------------------------------------------------------------------
   Journey: reuses .workflow-grid / .workflow-step from style.css
   ------------------------------------------------------------------- */
.rec-journey { margin-top: 0; }

/* -------------------------------------------------------------------
   First implementation
   ------------------------------------------------------------------- */
.rec-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
}
.rec-proof-main {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(243, 220, 149, 0.3);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212, 175, 55, 0.12), transparent 60%),
    var(--navy-800);
  display: flex;
  flex-direction: column;
}
.rec-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.rec-proof-head h3 { margin: 0; font-size: 1.5rem; }
.rec-proof-head .status-chip { margin: 0; }
.rec-proof-main > p { font-size: 1rem; }
.rec-proof-main p.rec-proof-disclaimer {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--navy-line);
  font-size: 0.86rem;
  color: var(--on-dark-dimmer);
}
.rec-proof-main .button-row { margin-top: auto; padding-top: 12px; }
.rec-proof-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.rec-proof-facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-line);
  border-left: 2px solid var(--gold-dim);
  background: rgba(4, 7, 13, 0.45);
}
.rec-proof-facts strong { color: var(--on-dark); font-weight: 600; font-size: 0.98rem; }
.rec-proof-facts span { color: var(--on-dark-dim); font-size: 0.88rem; line-height: 1.5; }
.rec-no-screens {
  margin: 22px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 0.86rem;
  font-style: italic;
  color: var(--on-dark-dimmer);
}
@media (max-width: 900px) {
  .rec-proof { grid-template-columns: 1fr; }
  .rec-proof-main { padding: 24px; border-radius: var(--radius); }
  .rec-proof-head h3 { font-size: 1.3rem; }
}

/* -------------------------------------------------------------------
   For agencies
   ------------------------------------------------------------------- */
.rec-offer { display: grid; gap: 28px; }
.rec-offer-status {
  margin: 0 auto;
  padding: 22px 24px;
  max-width: 920px;
  width: 100%;
  gap: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-line);
  background: var(--navy-800);
}
.rec-offer-status li { font-size: 0.92rem; color: var(--on-dark-dim); align-items: center; }
.rec-offer-status .status-chip { min-width: 8.6rem; justify-content: center; }
.rec-steps { margin: 0; }

@media (max-width: 720px) {
  .rec-offer-status { padding: 16px; gap: 12px; }
  .rec-offer-status li { align-items: flex-start; flex-direction: column; gap: 8px; }
  .rec-offer-status .status-chip { min-width: 0; }
}

/* -------------------------------------------------------------------
   Register interest
   ------------------------------------------------------------------- */
.rec-cta-email { margin: 22px 0 0; font-size: 0.9rem; color: var(--on-dark-dimmer); }
.rec-cta-email a { color: var(--on-dark-dim); }

/* Phones: tighter hero */
@media (max-width: 720px) {
  .hero h1.rec-title { font-size: 2.2rem; }
  .rec-strap { font-size: 0.74rem; margin-bottom: 16px; }
  .rec-hero .hero-status { gap: 6px 16px; }
}
