/* ===========================================================
   Annett's Garden Centre / Annett Landscaping — Careers
   Brand palette: deep nursery greens, warm cream, terracotta
   =========================================================== */

:root {
  --green-900: #1c3a25;
  --green-700: #2f5d3a;
  --green-500: #4a7c52;
  --green-300: #8aab84;
  --cream:     #f7f4ec;
  --cream-2:   #efe9dc;
  --terracotta:#c8743f;
  --gold:      #c9a24b;
  --ink:       #23291f;
  --muted:     #5c6353;
  --white:     #ffffff;
  --radius:    14px;
  --shadow:    0 14px 40px rgba(28, 58, 37, 0.14);
  --shadow-sm: 0 6px 18px rgba(28, 58, 37, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--green-700); }

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-900);
  color: var(--cream);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar .brandmark { font-weight: 700; letter-spacing: 0.02em; }
.footer .logo { height: 56px; width: auto; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--green-700);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Lighter, directional overlay so the photo stays visible */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(20,42,28,0.92) 0%, rgba(20,42,28,0.74) 42%, rgba(20,42,28,0.30) 100%);
}
/* Subtle botanical texture so it never reads as flat colour */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.1' opacity='0.6'%3E%3Cpath d='M20 120 C20 70 50 50 70 20 C70 70 40 100 20 120 Z'/%3E%3Cpath d='M70 20 C70 70 100 90 120 120'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero__inner {
  padding: 96px 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin-bottom: 0.3em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 560px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero .eyebrow { color: var(--gold); }

/* Hiring badge */
.hiring-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(201,162,75,0.18);
  border: 1px solid rgba(201,162,75,0.55);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hiring-badge .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #6fcf7f;
  box-shadow: 0 0 0 0 rgba(111,207,127,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(111,207,127,0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(111,207,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,207,127,0); }
}

/* Roles-at-a-glance glass card in hero */
.hero-roles {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}
.hero-roles h2 {
  color: var(--white);
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s ease, transform 0.15s ease;
}
.hero-role + .hero-role { margin-top: 12px; }
.hero-role:hover { background: rgba(255,255,255,0.18); transform: translateX(3px); }
.hero-role .r-title { font-weight: 700; font-size: 1.05rem; }
.hero-role .r-sub { font-size: 0.82rem; color: rgba(255,255,255,0.78); }
.hero-role .r-pay {
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
}
.hero-role .r-arrow { color: var(--gold); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: #b5642f; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--green { background: var(--green-700); }
.btn--green:hover { background: var(--green-900); }
.btn--light { background: var(--cream); color: var(--green-900); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--cream2 { background: var(--cream-2); }
.section--green {
  background: var(--green-900);
  color: var(--cream);
}
.section--green h2, .section--green h3 { color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat .num {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green-700);
  display: block;
}
.stat .label { font-size: 0.85rem; color: var(--muted); }

/* ---------- The Work gallery ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 230px;
  box-shadow: var(--shadow-sm);
}
.work-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.5s ease;
}
.work-card:hover img { transform: scale(1.07); }
.work-card span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(0deg, rgba(28,58,37,0.85), rgba(28,58,37,0));
  z-index: 1;
}

/* ---------- Roles ---------- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.role-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(28,58,37,0.06);
}
.role-card__media { position: relative; height: 210px; }
.role-card__media img { width: 100%; height: 100%; object-fit: cover; }
.role-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--green-700);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.role-card__body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.role-card h3 { font-size: 1.7rem; margin-bottom: 0.2em; }
.role-meta {
  list-style: none;
  padding: 0; margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.92rem;
}
.role-meta li { color: var(--muted); }
.role-meta strong { color: var(--ink); display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.role-card h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 18px 0 10px;
}
.checklist { list-style: none; padding: 0; margin: 0 0 8px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232f5d3a'%3E%3Cpath d='M6.3 11.3 2.7 7.7l1.4-1.4 2.2 2.2 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") no-repeat center;
}
.role-card__actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.role-card__actions .btn { align-self: flex-start; }
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.download-link svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.download-link:hover { color: var(--terracotta); border-bottom-color: currentColor; }

/* ---------- Application info ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px;
}
.step .n {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-size: 1.2rem; }
.step p { color: rgba(247,244,236,0.82); margin: 0; }
.apply-wrap { max-width: 680px; margin: 0 auto; }
.apply-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 36px;
}
.apply-form h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 18px; text-align: center; }

/* Form fields */
.apply-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(247,244,236,0.9);
  margin: 16px 0 6px;
}
.apply-form label .opt { font-weight: 400; color: rgba(247,244,236,0.55); letter-spacing: 0; }
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 12px 14px;
}
.apply-form textarea { resize: vertical; }
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: 3px solid rgba(201,162,75,0.55);
  outline-offset: 1px;
  border-color: var(--gold);
}
.apply-form input[type="file"] {
  background: rgba(255,255,255,0.10);
  color: var(--cream);
  padding: 10px 12px;
  cursor: pointer;
}
.apply-form input[type="file"]::file-selector-button {
  font-family: inherit;
  font-weight: 600;
  background: var(--gold);
  color: var(--green-900);
  border: none;
  border-radius: 7px;
  padding: 7px 12px;
  margin-right: 12px;
  cursor: pointer;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-form .btn { margin-top: 22px; width: 100%; text-align: center; }
.form-note { font-size: 0.78rem; color: rgba(247,244,236,0.6); margin: 14px 0 0; line-height: 1.5; }

/* Email fallback — slim line under the form */
.apply-alt {
  text-align: center;
  margin: 22px 0 0;
  font-size: 0.95rem;
  color: rgba(247,244,236,0.78);
}
.apply-alt a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.apply-alt a:hover { text-decoration: underline; }

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.location-info { display: flex; flex-direction: column; justify-content: center; }
.location-info dl { margin: 18px 0 0; }
.location-info dt {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 700; margin-top: 16px;
}
.location-info dd { margin: 2px 0 0; font-size: 1.05rem; }
.location-info a:not(.btn) { color: var(--green-700); text-decoration: none; font-weight: 600; }
.location-info .btn { color: var(--white); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 360px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: rgba(247,244,236,0.8);
  padding: 48px 0 36px;
  font-size: 0.9rem;
}
.footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer a { color: var(--gold); text-decoration: none; }
.footer .brandmark { font-family: "Playfair Display", serif; font-size: 1.3rem; color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 80px 0; }
  .hero { min-height: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .role-meta { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__inner { padding: 80px 0; }
}
