/* ===========================================================
   Bridgework HR — shared stylesheet
   Plain CSS, no framework, no build step.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root{
  --ink: #16232e;
  --ink-soft: #45535e;
  --paper: #ffffff;
  --line: #dcdfe1;
  --accent: #a9752f;
  --accent-deep: #7c5522;
  --moss: #3f6152;
  --moss-tint: #eaf0ec;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1080px;
  --pad: 24px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: var(--accent-deep); }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

h1, h2, h3{
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1{ font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3{ font-size: 1.2rem; }

p{ margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }

.lede{ font-size: 1.15rem; max-width: 52ch; }

hr.rule{
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- header / nav ---------- */

header.site{
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(6px);
  z-index: 20;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.brand{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .2px;
}

.brand span{ color: var(--accent-deep); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a{
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}

.nav-links a.current{ color: var(--accent-deep); }

.nav-links a:hover{ color: var(--accent-deep); }

.nav-cta{
  border: 1px solid var(--ink);
  padding: 8px 16px;
  border-radius: 3px;
  font-size: .9rem;
}

.nav-cta:hover{ background: var(--ink); color: #fff; }

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 6px 10px;
  font-family: var(--sans);
  font-size: .9rem;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn{
  display: inline-block;
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 500;
  text-decoration: none;
  font-size: .95rem;
  border: 1px solid transparent;
}

.btn-primary{ background: var(--ink); color: #fff; }
.btn-primary:hover{ background: var(--accent-deep); }

.btn-ghost{ border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover{ border-color: var(--accent-deep); color: var(--accent-deep); }

.btn-row{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }

/* ---------- sections ---------- */

section{ padding: 72px 0; }
section.tight{ padding: 48px 0; }
section.on-line{ border-top: 1px solid var(--line); }
section.on-tint{ background: var(--moss-tint); }

.eyebrow{
  color: var(--moss);
  font-weight: 600;
  font-size: .85rem;
  margin: 0 0 .6em;
}

/* ---------- hero ---------- */

.hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 72px;
}

.hero-figure{ padding: 8px 0; }

.route{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.route .node{
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 8px 14px;
}

.route .line{
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
}

.route .line::after{
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 0; height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 6px solid var(--ink);
}

.spec-list{
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}

.spec-list li{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}

.spec-list .k{ color: var(--ink-soft); }
.spec-list .v{ text-align: right; }

/* ---------- grids ---------- */

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cell{
  background: var(--paper);
  padding: 30px;
}

.cell h3{ margin-bottom: .4em; }
.cell p{ margin: 0; }

/* ---------- process ---------- */

.process{
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.step{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.step .num{
  counter-increment: step;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent-deep);
}

.step .num::before{ content: counter(step, decimal-leading-zero); }

/* ---------- CTA banner ---------- */

.cta-band{
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
}

.cta-band h2{ color: #fff; }
.cta-band p{ color: #cfd7dc; }

.cta-band .btn-primary{ background: var(--accent); }
.cta-band .btn-primary:hover{ background: var(--accent-deep); }

.cta-band .btn-ghost{ border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

/* ---------- footer ---------- */

footer.site{
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: .88rem;
  color: var(--ink-soft);
}

.foot-grid{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-grid a{ color: var(--ink-soft); text-decoration: none; }
.foot-grid a:hover{ color: var(--accent-deep); }

/* ---------- forms ---------- */

form.contact{ max-width: 520px; }

.field{ margin-bottom: 18px; }

.field label{
  display: block;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.field input, .field textarea{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 11px 12px;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
}

.field input:focus, .field textarea:focus{
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field textarea{ min-height: 130px; resize: vertical; }

/* ---------- misc pages (about / why-india) ---------- */

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.value-list{ list-style: none; margin: 0; padding: 0; }
.value-list li{
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.value-list li:last-child{ border-bottom: 1px solid var(--line); }

.page-head{ padding: 56px 0 12px; }

/* ---------- responsive ---------- */

@media (max-width: 760px){
  .nav-links{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 18px;
  }
  .nav-links.open{ display: flex; }
  .nav-links li{ width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle{ display: inline-block; }

  .hero{ grid-template-columns: 1fr; padding-top: 36px; }
  .two-col{ grid-template-columns: 1fr; }
  section{ padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
