/* BJRE HR Consultancy LLC — site styles */

:root {
  --navy: #0c2340;
  --navy-deep: #08172b;
  --navy-mid: #16345c;
  --navy-soft: #1e3f68;
  --gold: #c4a35a;
  --gold-deep: #a4843d;
  --cream: #f6f3ec;
  --cream-dark: #ece6d8;
  --white: #ffffff;
  --ink: #1b2430;
  --muted: #5a6472;
  --line: #e3ddd2;
  --error: #8b2e2e;
  --ok: #1f5a3d;
  --header-h: 4.5rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 40px rgba(12, 35, 64, 0.08);
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.55rem;
  margin: 0 0 0.6rem;
}

h4 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-deep);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36rem;
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
}

.brand:hover {
  color: var(--navy);
}

.brand-mark {
  color: var(--navy);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  margin: 0;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--gold-deep);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin: 5px auto;
  background: var(--navy);
}

/* Hero */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.hero-panel {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(8, 23, 43, 0.15) 0%, rgba(8, 23, 43, 0.35) 50%, rgba(8, 23, 43, 0.55) 100%),
    radial-gradient(circle at 82% 18%, rgba(196, 163, 90, 0.22), transparent 34%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 48%, var(--navy-mid) 100%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 46%;
  height: 140%;
  border: 1px solid rgba(196, 163, 90, 0.22);
  transform: rotate(18deg);
  pointer-events: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  right: 6%;
  top: 10%;
  width: 28%;
  height: 80%;
  border: 1px solid rgba(246, 243, 236, 0.08);
  transform: rotate(18deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 5.75rem;
  max-width: 42rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
  margin-right: auto;
}

.hero h1,
.hero .eyebrow {
  color: var(--cream);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(246, 243, 236, 0.82);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #d4b56e;
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 243, 236, 0.4);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.about {
  background: var(--white);
}

.services {
  background: var(--cream);
}

.contact {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: start;
}

.section-intro.centred {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-copy p {
  color: var(--ink);
  font-size: 1.08rem;
}

.facts {
  display: grid;
  gap: 1.15rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  gap: 0.2rem;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.facts dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

/* Services — fuller sections */

.service-stack {
  display: grid;
  gap: 1.25rem;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.25rem;
  align-items: start;
  background: var(--white);
  padding: 2rem 2rem 1.85rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.service-icon {
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-copy p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-includes li {
  position: relative;
  margin: 0;
  padding: 0.55rem 0 0.55rem 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 500;
}

.service-includes li:first-child {
  border-top: 1px solid var(--line);
}

.service-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--gold);
}

/* How we work */

.how-we-work {
  margin-top: 4rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--cream-dark);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.steps li {
  background: var(--white);
  padding: 1.6rem 1.45rem 1.4rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.step-num {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold-deep);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.steps h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

.contact-details {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-details li {
  display: grid;
  gap: 0.2rem;
}

.contact-details span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.contact-details strong {
  font-weight: 600;
  color: var(--navy);
}

.enquiry-form {
  background: var(--cream);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

.form-note {
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 0.7rem 0.9rem;
  margin-bottom: 1.25rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d4cfc4;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.7rem;
  border-radius: var(--radius);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.12);
}

.form-status {
  margin: 1rem 0 0;
  font-weight: 600;
}

.form-status.is-ok {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--error);
}

/* Legal pages */

.legal {
  background: var(--white);
  padding: 4.25rem 0 5rem;
}

.legal-wrap {
  max-width: 44rem;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
  margin-right: auto;
  width: min(44rem, calc(100% - 2.5rem));
}

.legal h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.legal .updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-weight: 600;
}

.legal h2 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 2.1rem 0 0.7rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 243, 236, 0.82);
  padding: 3rem 0 1.4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.footer-brand .brand-name {
  color: var(--cream);
  font-size: 1.8rem;
  letter-spacing: 0.16em;
  margin: 0 0 0.15rem;
}

.footer-brand p {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.footer-nav a,
.footer-legal a,
.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-legal a:hover,
.site-footer a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.company-details {
  background: rgba(246, 243, 236, 0.05);
  border: 1px solid rgba(196, 163, 90, 0.35);
  padding: 1.6rem 1.75rem 1.35rem;
}

.company-details h2 {
  font-family: var(--font-sans);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.company-details dl {
  margin: 0;
}

.company-details dl > div {
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  gap: 0.75rem 1.5rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(246, 243, 236, 0.12);
}

.company-details dt {
  margin: 0;
  color: rgba(246, 243, 236, 0.62);
  font-size: 0.92rem;
  font-weight: 600;
}

.company-details dd {
  margin: 0;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding-top: 1.2rem;
  font-size: 0.88rem;
  color: rgba(246, 243, 236, 0.55);
}

.footer-base p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* Responsive */

@media (max-width: 900px) {
  .split,
  .service-block,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 4.25rem 0 4.5rem;
    max-width: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .company-details dl > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .enquiry-form,
  .service-block,
  .company-details {
    padding: 1.2rem;
  }

  .hero {
    min-height: 0;
  }

  .how-we-work {
    margin-top: 3rem;
    padding-top: 2.5rem;
  }

  .legal {
    padding: 3rem 0 3.5rem;
  }
}

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