/*
Theme Name: YourStaff Recruitment
Theme URI: https://yourstaff.com.au
Author: YourStaff
Description: One-page recruitment site. Edit copy in index.php and colours in style.css.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: yourstaff
*/

/* ============================================
   YourStaff Recruitment — edit colours here
   ============================================ */
:root {
  --navy: #0b2540;
  --navy-deep: #07182b;
  --navy-mid: #12304f;
  --orange: #f15a22;
  --orange-hover: #d94c18;
  --text: #1a2b3c;
  --muted: #5b6b7a;
  --line: #e6eaee;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --white: #ffffff;
  --max: 1180px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn:hover {
  background: var(--orange-hover);
}

.accent-bar {
  width: 48px;
  height: 4px;
  background: var(--orange);
  margin-bottom: 18px;
}

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

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

.logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.nav a:hover,
.nav a.active {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 560px;
  background: var(--bg);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 72px 0;
}

.hero-copy .inner {
  width: min(560px, 100%);
  margin-left: auto;
  padding-right: 40px;
  padding-left: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 16px;
}

.hero-photo {
  position: relative;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 560px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
}

.pillar:last-child {
  border-right: none;
}

.pillar svg {
  width: 36px;
  height: 36px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.8;
  margin-bottom: 18px;
}

.pillar h3 {
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--muted);
  font-size: 15px;
}

/* Split about */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 460px;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  background: var(--bg);
}

.split-copy h2 {
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.split-copy p {
  color: var(--muted);
  margin-bottom: 14px;
}

/* Audience + roles */
.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  color: var(--navy);
  font-size: clamp(28px, 3vw, 38px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
}

.card h3 {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 15px;
}

.card ul {
  margin: 12px 0 20px 18px;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.role {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.role img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.role-body {
  padding: 20px 20px 24px;
}

.role-body h3 {
  color: var(--navy);
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.role-body p {
  color: var(--muted);
  font-size: 14px;
}

/* CTA band */
.cta-band {
  background: var(--navy-deep);
  color: var(--white);
  padding: 48px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  font-size: clamp(24px, 3vw, 32px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cta-inner p {
  color: #c5d0da;
  max-width: 620px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-list p {
  margin-bottom: 8px;
}

.contact-list strong {
  color: var(--navy);
}

.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c5d0da;
  padding: 48px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr auto;
  gap: 32px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid #1c3348;
}

.footer-logo img {
  height: 52px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}

.footer-tag {
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  font-size: 13px;
}

.footer-bottom span.mark {
  color: var(--white);
}

@media (max-width: 960px) {
  .hero,
  .split,
  .pillars,
  .two-col,
  .roles-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-copy .inner {
    margin: 0;
    padding: 48px 0;
    width: 100%;
  }

  .hero-photo img,
  .split img {
    min-height: 280px;
  }

  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner .btn {
    display: none;
  }

  .cta-inner,
  .footer-bottom {
    flex-direction: column;
  }
}

.form-notice { padding: 12px 14px; margin-bottom: 8px; font-size: 15px; }
.form-notice.ok { background: #e8f6ec; color: #14532d; }
.form-notice.err { background: #fde8e8; color: #7f1d1d; }

