:root{
    --white:#FFFFFF;
    --offwhite:#FAFAF8;
    --cream-50:#FDF7EA;
    --cream-200:#E9CC85;
    --red-500:#EA4630;
    --red-600:#E4372B;
    --red-700:#C22A20;
    --ink-950:#131110;
    --ink-900:#1C1917;
    --orange-glow:#F2661E;
    --text-900:#181614;
    --text-600:#635C52;
    --text-400:#9C927F;
    --line:#EAE5DB;
    --radius-lg:28px;
    --ease:cubic-bezier(.22,.85,.32,1);
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    font-family:'Inter',ui-sans-serif,system-ui,sans-serif;
    color:var(--text-900);background:var(--white);line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{font-family:'Plus Jakarta Sans',ui-sans-serif,sans-serif;letter-spacing:-.02em}
  a{text-decoration:none;color:inherit}
  img,svg{display:block;max-width:100%}
  button{font-family:inherit;cursor:pointer}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
  }

  /* ---------------- Header ---------------- */
  .header{
    position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);
    backdrop-filter:blur(16px) saturate(160%);border-bottom:1px solid var(--line);
  }
  .nav{
    max-width:1240px;margin:auto;height:78px;padding:0 28px;
    display:flex;align-items:center;justify-content:space-between;gap:30px;
  }
  .brand{display:flex;align-items:center;gap:12px}
  .pnx-logo{width:40px;height:40px;object-fit:contain}
  .brand-text span{font-size:18px;font-weight:700;font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.02em}
  .brand-text small{display:block;color:var(--text-400);font-size:10.5px;font-weight:500;letter-spacing:.05em;margin-top:1px}

  .links{display:flex;align-items:center;gap:36px;font-size:14.5px;color:var(--text-600);font-weight:500}
  .links a{position:relative;transition:color .25s}
  .links a:not(.contact)::after{
    content:"";position:absolute;left:0;bottom:-6px;width:0;height:2px;
    background:var(--red-600);transition:width .3s var(--ease);
  }
  .links a:not(.contact):hover{color:var(--text-900)}
  .links a:not(.contact):hover::after{width:100%}
  .contact{
    padding:11px 20px;border-radius:10px;background:var(--ink-950);color:#fff;
    font-weight:600;transition:transform .25s var(--ease), background .25s;
  }
  .contact:hover{transform:translateY(-2px);background:var(--red-600)}

  .menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;padding:6px}
  .menu-toggle span{width:22px;height:2px;background:var(--text-900);border-radius:2px;transition:.25s}
  .mobile-links{display:none}

  /* ---------------- Hero ---------------- */
  .hero{
    position:relative;overflow:hidden;
    min-height:calc(100vh - 78px);display:flex;align-items:center;justify-content:center;
    text-align:center;padding:110px 24px 90px;background:var(--white);
  }
  .hero-blob{position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none;z-index:0}
  .hero-blob.b1{width:520px;height:420px;top:-100px;right:-120px;background:radial-gradient(circle,#FFD9C2 0%,transparent 70%);opacity:.6}
  .hero-blob.b2{width:460px;height:380px;bottom:-140px;left:-140px;background:radial-gradient(circle,#DCEBFF 0%,transparent 70%);opacity:.55}
  .hero-content{position:relative;z-index:2}

  .eyebrow{
    display:inline-flex;align-items:center;gap:8px;
    font-size:13px;color:var(--text-600);font-weight:600;
    margin-bottom:24px;background:var(--white);border:1px solid var(--line);
    padding:8px 16px;border-radius:999px;
  }
  .eyebrow .dot{width:6px;height:6px;background:var(--red-600);border-radius:50%}
  h1{
    font-size:clamp(38px,6vw,72px);line-height:1.06;letter-spacing:-.03em;
    max-width:820px;font-weight:800;margin:auto;color:var(--text-900);
  }
  .hero p.lede{
    max-width:560px;margin:22px auto 0;color:var(--text-600);font-size:16.5px;
  }
  .hero-actions{margin-top:34px;display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
  .btn{
    padding:14px 26px;border-radius:10px;font-size:14.5px;
    font-weight:600;transition:transform .25s var(--ease), box-shadow .25s, background .25s;
    display:inline-flex;align-items:center;gap:8px;border:none;
  }
  .btn.red{background:var(--red-600);color:#fff}
  .btn.red:hover{background:var(--red-700);transform:translateY(-3px);box-shadow:0 14px 28px rgba(228,55,43,.3)}
  .btn.dark{background:var(--ink-950);color:#fff}
  .btn.dark:hover{background:#000;transform:translateY(-3px);box-shadow:0 14px 28px rgba(0,0,0,.22)}

  .hero-tags{margin-top:30px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
  .hero-tags span{
    font-size:12.5px;font-weight:600;color:var(--text-600);background:var(--offwhite);
    border:1px solid var(--line);padding:7px 14px;border-radius:999px;
  }

  /* ---------------- Reveal utility ---------------- */
  [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease), transform .7s var(--ease)}
  [data-reveal].in-view{opacity:1;transform:translateY(0)}
  [data-reveal="stagger"] > *{transition-delay:calc(var(--i,0) * 90ms)}

  /* ---------------- Products ---------------- */
  .products{padding:120px 24px;background:var(--white)}
  .section-head{text-align:center;max-width:640px;margin:0 auto 56px}
  .section-head .label{font-size:12px;letter-spacing:.1em;color:var(--text-400);font-weight:700}
  h2{font-size:clamp(30px,4.4vw,46px);line-height:1.1;font-weight:700}
  .section-head p{color:var(--text-600);margin-top:16px;font-size:16px}

  .grid{max-width:1180px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:24px}
  .product{
    background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);
    padding:38px;display:flex;flex-direction:column;overflow:hidden;position:relative;
    transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  }
  .product:hover{transform:translateY(-8px);box-shadow:0 28px 60px rgba(20,15,10,.08)}
  .product.people:hover{border-color:var(--red-500)}
  .product.recruit:hover{border-color:var(--ink-950)}
  .product .tag{font-size:12px;font-weight:700;letter-spacing:.03em;color:var(--text-400)}
  .product h3{font-size:28px;margin-top:10px;font-weight:700}
  .product p.desc{max-width:420px;color:var(--text-600);margin-top:10px;font-size:15px}

  .illus{
    margin-top:28px;flex:1;min-height:230px;border-radius:18px;
    overflow:hidden;position:relative;background:var(--offwhite);
  }
  .illus img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
  .product:hover .illus img{transform:scale(1.035)}

  .product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:26px}
  .learn{font-weight:600;font-size:14.5px;display:inline-flex;gap:7px;align-items:center;color:var(--text-900)}
  .arrow{transition:transform .25s var(--ease)}
  .product:hover .arrow{transform:translateX(5px)}

  /* ---------------- Journey (dark) ---------------- */
  .journey{
    position:relative;padding:130px 24px;background:var(--ink-950);text-align:center;overflow:hidden;color:#fff;
  }
  .journey::before{
    content:"";position:absolute;inset:0;
    background:
      radial-gradient(circle at 15% 30%, rgba(242,102,30,.20), transparent 45%),
      radial-gradient(circle at 85% 70%, rgba(228,55,43,.16), transparent 40%);
  }
  .journey .section-head .label{color:var(--orange-glow)}
  .journey h2{color:#fff}
  .journey .section-head p{color:#B8AC9C}

  .flow{max-width:920px;margin:0 auto;position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
  .step{
    padding:20px 26px;border:1px solid rgba(255,255,255,.14);border-radius:16px;
    background:rgba(255,255,255,.05);font-weight:600;font-family:'Plus Jakarta Sans',sans-serif;
    min-width:150px;transition:border-color .3s, background .3s, transform .3s var(--ease);
  }
  .step:hover{border-color:var(--orange-glow);background:rgba(242,102,30,.14);transform:translateY(-4px)}
  .step span{display:block;font-size:12px;color:var(--orange-glow);font-weight:700;margin-bottom:6px;font-family:'Inter',sans-serif}
  .connector{color:#4A423A;font-size:20px}

  /* ---------------- CTA ---------------- */
  .cta{
    position:relative;padding:110px 24px;text-align:center;overflow:hidden;background:var(--white);
  }
  .cta .hero-blob.b1{width:360px;height:300px;top:-60px;right:-80px;opacity:.4}
  .cta .hero-blob.b2{width:320px;height:260px;bottom:-100px;left:-100px;opacity:.35}
  .cta h2{max-width:640px;margin:auto;position:relative;z-index:2}
  .cta p{color:var(--text-600);margin:18px auto 8px;max-width:520px;position:relative;z-index:2}
  .cta .hero-actions{position:relative;z-index:2}
  .cta .talk{display:inline-block;margin-top:22px;font-size:13.5px;color:var(--text-600);border-bottom:1px solid var(--line);position:relative;z-index:2}
  .cta .talk:hover{color:var(--red-600);border-color:var(--red-600)}

  /* ---------------- Footer ---------------- */
  footer{background:var(--ink-950);color:#fff;padding:60px 28px 26px}
  .footer-inner{max-width:1180px;margin:auto}
  .footer-top{display:flex;justify-content:space-between;gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.08);flex-wrap:wrap}
  .footer-brand img{height:30px;width:auto}
  .footer-blurb{font-size:13px;color:#B8AC9C;max-width:300px;font-weight:400;margin-top:14px}
  .footer-links{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:36px;flex:1;max-width:820px}
  .footer-col h4{font-size:13px;color:#fff;margin-bottom:16px;font-weight:700}
  .footer-col a{display:block;font-size:13.5px;color:#D9CFBF;margin:9px 0;transition:color .2s}
  .footer-col a:hover{color:#fff}
  .footer-col p{font-size:13.5px;color:#D9CFBF;margin:9px 0;line-height:1.55}
  .footer-col p b{color:#fff;font-weight:600}
  .contact-line{display:flex;align-items:center;gap:9px;font-size:13.5px;color:#D9CFBF;margin:10px 0}
  .contact-line .ic{color:var(--orange-glow);font-size:15px;flex-shrink:0}
  .contact-line a{color:#D9CFBF}
  .contact-line a:hover{color:#fff}
  .follow-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
  .social-icon{
    width:34px;height:34px;border-radius:999px;display:flex;align-items:center;justify-content:center;
    color:#fff;background:#26221D;
    transition:background .2s, transform .2s var(--ease);
  }
  .social-icon svg{width:16px;height:16px}
  .social-icon:hover{background:var(--red-600);transform:translateY(-2px)}
  .footer-bottom{padding-top:22px;color:#847A6D;font-size:12.5px}

  @media(max-width:900px){
    .grid{grid-template-columns:1fr}
    .footer-links{grid-template-columns:repeat(2,1fr)}
  }
  @media(max-width:760px){
    .links{display:none}
    .menu-toggle{display:flex}
    .nav{height:70px;padding:0 18px}
    .mobile-links{
      display:none;position:absolute;top:70px;left:0;right:0;background:#fff;
      border-bottom:1px solid var(--line);flex-direction:column;padding:10px 22px 22px;gap:4px;
    }
    .mobile-links.open{display:flex}
    .mobile-links a{padding:12px 4px;font-size:15px;font-weight:500;color:var(--text-600);border-bottom:1px solid var(--line)}
    .mobile-links a.contact{border:none;background:var(--ink-950);color:#fff;border-radius:10px;text-align:center;margin-top:8px}
    .hero{min-height:auto;padding:80px 20px 70px}
    .hero p.lede{font-size:15px}
    .product{padding:28px}
    .journey{padding:90px 20px}
    .connector{transform:rotate(90deg)}
    .step{min-width:auto;width:100%}
    .flow{flex-direction:column}
    .footer-top{flex-direction:column;gap:30px}
    .footer-links{grid-template-columns:1fr 1fr}
  }

/* =========================================
   HRMS Footer — Recruit layout, black theme
   ========================================= */
.hrms-recruit-footer {
  background: #111010 !important;
  color: #f5f5f5 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  box-sizing: border-box;
  width: 100%;
  scroll-margin-top: 90px;
}

.hrms-recruit-footer > div:first-child {
  width: 90% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 64px 0 !important;
  box-sizing: border-box;
}

.hrms-recruit-footer > div:first-child > div:first-child {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(170px, 1fr) minmax(190px, 1fr) !important;
  gap: 48px !important;
  align-items: start !important;
}

.hrms-recruit-footer > div:first-child > div:first-child > div:first-child {
  grid-column: 1 / 2 !important;
}

.hrms-recruit-footer img {
  display: block !important;
  width: auto !important;
  height: 58px !important;
  max-width: 100% !important;
  margin: 0 0 18px !important;
}

.hrms-recruit-footer p {
  margin: 0;
}

.hrms-recruit-footer > div:first-child > div:first-child > div:first-child > p {
  color: #d8d8d8 !important;
  font-size: 15px !important;
  line-height: 24px !important;
  max-width: 700px !important;
  font-weight: 400 !important;
}

.hrms-recruit-footer > div:first-child > div:first-child > div:first-child > div {
  margin-top: 20px !important;
  color: #bdbdbd !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

.hrms-recruit-footer > div:first-child > div:first-child > div:first-child > div p {
  margin: 0 0 8px !important;
}

.hrms-recruit-footer h3 {
  color: #fff !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
}

.hrms-recruit-footer ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hrms-recruit-footer li {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.hrms-recruit-footer a {
  color: #d5d5d5 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  text-decoration: none !important;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.hrms-recruit-footer a:hover {
  color: #ff4b4b !important;
}

.hrms-recruit-footer > div:first-child > div:first-child > div:last-child h3:nth-of-type(2) {
  margin-top: 24px !important;
}

.hrms-recruit-footer > div:first-child > div:first-child > div:last-child > div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.hrms-recruit-footer > div:first-child > div:first-child > div:last-child > div a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #2a2929 !important;
  color: #fff !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.hrms-recruit-footer > div:first-child > div:first-child > div:last-child > div a:hover {
  background: #e53935 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.hrms-recruit-footer svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
}

.hrms-recruit-footer > div:last-child {
  border-top: 1px solid rgba(255,255,255,.10) !important;
  padding: 20px 28px !important;
  box-sizing: border-box;
  text-align: center !important;
}

.hrms-recruit-footer > div:last-child p {
  color: #999 !important;
  font-size: 13px !important;
  line-height: 20px !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  .hrms-recruit-footer > div:first-child {
    width: 90% !important;
    padding: 50px 0 !important;
  }
  .hrms-recruit-footer > div:first-child > div:first-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 38px 30px !important;
  }
  .hrms-recruit-footer > div:first-child > div:first-child > div:first-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 600px) {
  .hrms-recruit-footer > div:first-child {
    width: calc(100% - 40px) !important;
    padding: 42px 0 !important;
  }
  .hrms-recruit-footer > div:first-child > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hrms-recruit-footer > div:first-child > div:first-child > div:first-child {
    grid-column: auto !important;
  }
  .hrms-recruit-footer img {
    height: 52px !important;
  }
  .hrms-recruit-footer > div:last-child {
    padding: 18px 20px !important;
  }
}
