/* 
   HireEdge Recruiting  style.css
   Dark olive palette  Copper accents  2-layer mountains
 */

:root {
  --bg: #161a0c;
  --cream: #f2e8d4;
  --cream-lt: #f9f4e8;
  --sage: #aabb88;
  --copper: #a06828;
  --cu-lt: #c4883c;
  --olive-mid: #2a3018;
  --olive-card: rgba(42, 48, 24, 0.72);
  --olive-border: rgba(160, 104, 40, 0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--cream); overflow-x: hidden; }

/*  MOUNTAIN SCENE 
   Fixed to viewport. 2 layers  back (90s) + front (60s).
   Each layer is 200% wide with 2 SVG copies side-by-side,
   so seamless drift in opposite directions.
 */
.mtn {
  position: fixed; bottom: 0; left: 0;
  width: 100%; height: 68vh;
  z-index: 0; pointer-events: none; overflow: hidden;
}

/* Atmospheric fade  smooth, zero hard line */
.mtn::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 65%;
  background: linear-gradient(180deg,
    #161a0c 0%,
    rgba(22, 26, 12, 0.88) 22%,
    rgba(22, 26, 12, 0.55) 50%,
    rgba(22, 26, 12, 0.15) 78%,
    transparent 100%);
  z-index: 20; pointer-events: none;
}

/* Shared layer: 200% wide, flex row of 2 SVG copies */
.ml {
  position: absolute; left: 0;
  width: 200%;
  display: flex; align-items: flex-end;
  will-change: transform;
}
.ml svg { width: 50%; flex-shrink: 0; display: block; height: 100%; }

/* BACK  full height, slow drift right (90s) */
.mb {
  bottom: 0; height: 100%;
  animation: drift-right 90s ease-in-out infinite alternate;
}
.mb svg { opacity: 0.38; }
.mb svg path { fill: #2e4418; }

/* FRONT  85% height, drift left (60s) */
.mf {
  bottom: 0; height: 85%;
  animation: drift-left 60s ease-in-out infinite alternate;
}
.mf svg { opacity: 0.92; }
.mf svg path { fill: #192810; }

/* Drift keyframes  very subtle 5% travel */
@keyframes drift-right { from { transform: translateX(-5%); } to { transform: translateX(0%); } }
@keyframes drift-left  { from { transform: translateX(0%); }  to { transform: translateX(-5%); } }

@media (prefers-reduced-motion: reduce) { .mb, .mf { animation: none; } }

/*  PAGE WRAPPER  */
.page { position: relative; z-index: 10; min-height: 100vh; display: flex; flex-direction: column; }

/* Copper left-edge thread */
.et {
  position: fixed; left: 0; top: 8%; bottom: 15%; width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(160, 104, 40, .22) 20%, rgba(196, 136, 60, .32) 50%, rgba(160, 104, 40, .22) 80%, transparent 100%);
  z-index: 5; pointer-events: none;
}

/*  NAV  */
nav {
  padding: 1.9rem 5.5% 0;
  display: flex; align-items: center; justify-content: space-between;
  animation: fadeDown .9s ease .1s both;
}
.logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; color: var(--cream); text-decoration: none; line-height: 1; }
.logo-wrap { display: flex; flex-direction: column; gap: .15rem; }
.logo .e { color: var(--sage); }
.logo-sub { font-size: .58rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: rgba(242, 232, 212, .32); padding-left: .08rem; }
.nav-tag { font-size: .64rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 232, 212, .38); }
.nav-cta {
  display: inline-block; padding: .55rem 1.1rem;
  background: transparent; border: 1px solid rgba(160, 104, 40, .4);
  border-radius: 4px; color: rgba(242, 232, 212, .7);
  font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 500;
  text-decoration: none; letter-spacing: .04em;
  transition: border-color .2s, color .2s, background .2s;
}
.nav-cta:hover { border-color: rgba(160, 104, 40, .75); color: var(--cream); background: rgba(160, 104, 40, .08); }

/*  HERO  */
.hero { min-height: 92vh; display: flex; align-items: center; padding: 4rem 5.5% 52vh; }
.hero-content { max-width: 620px; }

.badge { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.7rem; animation: fadeUp .9s ease .22s both; }
.bdot { width: 7px; height: 7px; border-radius: 50%; background: var(--cu-lt); flex-shrink: 0; animation: cpulse 2.5s ease-in-out infinite; box-shadow: 0 0 7px rgba(196, 136, 60, .45); }
@keyframes cpulse { 0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 7px rgba(196, 136, 60, .45); } 50% { opacity: .3; transform: scale(1.6); box-shadow: 0 0 18px rgba(196, 136, 60, .1); } }
@media (prefers-reduced-motion: reduce) { .bdot { animation: none; } }
.btxt { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 232, 212, .65); }
.bsep { width: 1px; height: 11px; background: var(--copper); opacity: .4; flex-shrink: 0; }
.bsub { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 232, 212, .32); }

h1 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.06; letter-spacing: -.025em; color: var(--cream);
  margin-bottom: 1.15rem; animation: fadeUp .9s ease .34s both;
}
h1 em { font-style: italic; font-weight: 700; color: var(--sage); }

.hero-sub {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1rem, 1.7vw, 1.22rem); line-height: 1.65;
  max-width: 490px; color: rgba(242, 232, 212, .6);
  margin-bottom: 2.5rem; animation: fadeUp .9s ease .46s both;
}

.props { display: flex; flex-wrap: wrap; margin-bottom: 2.7rem; animation: fadeUp .9s ease .56s both; }
.prop { display: flex; align-items: flex-start; gap: .6rem; flex: 1; min-width: 155px; padding-right: 1.6rem; }
.prop:not(:last-child) { border-right: 1px solid rgba(160, 104, 40, .2); margin-right: 1.6rem; }
.pico { width: 16px; height: 16px; flex-shrink: 0; margin-top: .15rem; stroke: var(--cu-lt); }
.ptit { font-size: .8rem; font-weight: 600; color: var(--cream); margin-bottom: .12rem; }
.pdesc { font-size: .7rem; color: rgba(242, 232, 212, .45); line-height: 1.45; }

.ctas { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; animation: fadeUp .9s ease .66s both; }
.btn-p {
  display: inline-block; padding: .88rem 1.8rem;
  background: var(--cream); color: #161a0c; border-radius: 5px;
  font-family: 'DM Sans', sans-serif; font-size: .83rem; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.btn-p:hover { transform: translateY(-2px); background: var(--cream-lt); }
.lnk {
  font-size: .78rem; font-weight: 500; color: rgba(242, 232, 212, .5);
  text-decoration: none; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: color .2s ease;
}
.lnk:hover { color: rgba(242, 232, 212, .85); }

/*  SECTION SHARED  */
section { position: relative; z-index: 10; padding: 6rem 5.5%; background: var(--bg); }
section.hero { background: transparent; }
section + section { border-top: 1px solid rgba(160, 104, 40, .12); }

.sec-eyebrow {
  font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cu-lt); margin-bottom: .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.sec-eyebrow::after { content: ''; flex: 1; height: 1px; background: rgba(160, 104, 40, .22); max-width: 48px; }
.sec-h2 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15; letter-spacing: -.02em; color: var(--cream);
  margin-bottom: 1.1rem;
}
.sec-h2 em { font-style: italic; color: var(--sage); }
.sec-lead {
  font-size: clamp(.95rem, 1.3vw, 1.05rem); line-height: 1.72;
  color: rgba(242, 232, 212, .6); max-width: 600px; margin-bottom: 3rem;
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--olive-card); border: 1px solid var(--olive-border);
  border-radius: 10px; padding: 1.6rem 1.5rem;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(160, 104, 40, .4); transform: translateY(-3px); }
.card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(160, 104, 40, .12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.card-icon svg { width: 18px; height: 18px; stroke: var(--cu-lt); }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--cream); margin-bottom: .45rem; }
.card p { font-size: .78rem; color: rgba(242, 232, 212, .5); line-height: 1.55; }

/* Two-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* Stat strip */
.stat-strip { display: flex; flex-wrap: wrap; gap: 0; }
.stat { flex: 1; min-width: 140px; padding: 1.8rem 2rem; border-right: 1px solid rgba(160, 104, 40, .14); }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--sage); line-height: 1; margin-bottom: .35rem; }
.stat-label { font-size: .72rem; color: rgba(242, 232, 212, .45); letter-spacing: .06em; line-height: 1.4; }

/* Pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.pill {
  padding: .5rem 1.1rem;
  border: 1px solid rgba(160, 104, 40, .25); border-radius: 100px;
  font-size: .74rem; font-weight: 500; color: rgba(242, 232, 212, .65);
  transition: border-color .2s, color .2s, background .2s; cursor: default;
}
.pill:hover { border-color: rgba(160, 104, 40, .6); color: var(--cream); background: rgba(160, 104, 40, .08); }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 1.4rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(160, 104, 40, .1); }
.step:last-child { border-bottom: none; }
.step-num { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: rgba(160, 104, 40, .35); flex-shrink: 0; width: 2rem; line-height: 1; padding-top: .1rem; }
.step h4 { font-size: .88rem; font-weight: 600; color: var(--cream); margin-bottom: .25rem; }
.step p { font-size: .76rem; color: rgba(242, 232, 212, .48); line-height: 1.55; }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.compare th { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 232, 212, .35); padding: .7rem 1.2rem; text-align: left; border-bottom: 1px solid rgba(160, 104, 40, .15); }
.compare th:not(:first-child) { text-align: center; }
.compare td { padding: .85rem 1.2rem; font-size: .82rem; border-bottom: 1px solid rgba(160, 104, 40, .08); color: rgba(242, 232, 212, .65); vertical-align: middle; }
.compare td:not(:first-child) { text-align: center; }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--sage); font-weight: 600; }
.compare .no { color: rgba(242, 232, 212, .25); }
.compare .col-us { background: rgba(160, 104, 40, .06); }
.compare thead .col-us { background: rgba(160, 104, 40, .1); color: var(--cu-lt); }

/* About */
.about-text p { font-size: clamp(.92rem, 1.2vw, 1rem); line-height: 1.78; color: rgba(242, 232, 212, .62); margin-bottom: 1.2rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--cream); font-weight: 600; }
.cred-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: .7rem; }
.cred-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .8rem; color: rgba(242, 232, 212, .55); line-height: 1.5; }
.cred-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--cu-lt); flex-shrink: 0; margin-top: .45rem; }

/* Contact */
.contact-box {
  background: var(--olive-card); border: 1px solid var(--olive-border);
  border-radius: 12px; padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.contact-item { display: flex; flex-direction: column; gap: .35rem; }
.contact-label { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(242, 232, 212, .3); }
.contact-val { font-size: .95rem; color: var(--cream); }
.contact-val a { color: var(--cream); text-decoration: none; transition: color .2s; }
.contact-val a:hover { color: var(--sage); }
.contact-divider { height: 1px; background: rgba(160, 104, 40, .15); grid-column: 1 / -1; }

/* Footer */
footer {
  position: relative; z-index: 10;
  padding: 1.3rem 5.5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem;
  border-top: 1px solid rgba(160, 104, 40, .1);
  padding-bottom: 3rem;
}
.fnote { font-size: .62rem; color: rgba(242, 232, 212, .22); letter-spacing: .04em; }
.slink {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(160, 104, 40, .28); border-radius: 8px;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.slink:hover { border-color: rgba(160, 104, 40, .6); background: rgba(160, 104, 40, .08); }
.slink svg { width: 17px; height: 17px; fill: rgba(242, 232, 212, .5); transition: fill .2s; }
.slink:hover svg { fill: rgba(242, 232, 212, .8); }

/*  ANIMATIONS  */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(20px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/*  RESPONSIVE  */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col.flip { direction: ltr; }
  .contact-box { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media (max-width: 640px) {
  nav { padding: 1.5rem 6% 0; }
  .nav-tag, .nav-cta { display: none; }
  section { padding: 4.5rem 6%; }
  .hero { padding: 3.5rem 6% 50vh; }
  .props { gap: 1rem; }
  .prop { min-width: 100%; border-right: none !important; padding-right: 0; margin-right: 0 !important; }
  .stat-strip { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(160, 104, 40, .14); padding: 1.2rem 0; }
  .stat:last-child { border-bottom: none; }
  .mtn { height: 55vh; }
  footer { padding: 1.2rem 6% 2rem; }
}
