/* ============================================================
   Empathy & Ability — shared stylesheet
   Palette: periwinkle blue #566BAE (sampled from logo)
   Fonts: EB Garamond (display, matches logo) + Figtree (body)
   Accessibility: WCAG 2.2 — contrast, focus states, reduced motion
   ============================================================ */

:root {
  /* Brand palette — swap these when the final logo arrives */
  --lav:        #566BAE;   /* primary brand — 5.5:1 on white */
  --lav-deep:   #39497E;   /* headings / strong text */
  --lav-soft:   #ECEFF8;   /* card + section tint */
  --lav-mist:   #C9D0E8;   /* borders, dividers */
  --sky:        #4E63A6;   /* secondary accent — links, icons */
  --cloud:      #FAFAFD;   /* page background */
  --white:      #FFFFFF;
  --ink:        #2B2D42;   /* body text — 12.6:1 on white */
  --ink-soft:   #50526B;   /* secondary text — 7:1 on white */

  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --radius-md: 0.9rem;
  --shadow: 0 16px 40px -14px rgba(57, 73, 126, 0.18);
  --shadow-sm: 0 6px 18px -8px rgba(57, 73, 126, 0.15);
  --trans: 0.25s ease;
  --wrap: 1180px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', system-ui, sans-serif;
  background: var(--cloud);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: 'EB Garamond', 'Figtree', sans-serif;
  color: var(--lav-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--sky); }
a:hover { color: var(--lav); }
img { display: block; max-width: 100%; }
ul { list-style-position: inside; }

/* ---- Accessibility helpers ---- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--lav-deep);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-md);
  z-index: 999;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--trans);
}
.skip-link:focus { top: 1rem; color: var(--white); }

:focus-visible {
  outline: 3px solid var(--lav);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lav-mist);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 12px;
}
/* Placeholder mark shown until the real logo file is added */
.logo-mark {
  height: 48px; width: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lav) 0%, var(--sky) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'EB Garamond', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: 'EB Garamond', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--lav-deep);
}
.logo-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-desktop { display: flex; align-items: center; gap: 1.6rem; }
.nav-desktop a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--trans), border-color var(--trans);
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--lav);
  border-bottom-color: var(--lav);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.7rem;
  border-radius: 99px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-primary {
  background: var(--lav);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--lav-deep);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--lav);
  border-color: var(--lav);
}
.btn-outline:hover {
  background: var(--lav-soft);
  color: var(--lav-deep);
}
.nav-cta { padding: 0.55rem 1.3rem; font-size: 0.92rem; }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--lav-deep);
  border-radius: 99px;
  transition: var(--trans);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 1.2rem 1.2rem;
  background: var(--white);
  border-bottom: 1px solid var(--lav-mist);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-soft);
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-md);
}
.nav-mobile a:hover { background: var(--lav-soft); color: var(--lav-deep); }

/* ============ Sections ============ */
.section { padding: 5rem 1.5rem; }
.section-tint { background: var(--lav-soft); }
.section-inner { max-width: var(--wrap); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  color: var(--lav);
  border-radius: 99px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.section-tint .eyebrow { background: var(--cloud); }

.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.section-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 2.8rem;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.5rem 5rem;
  background:
    radial-gradient(900px 480px at 85% -10%, var(--lav-soft) 0%, transparent 65%),
    radial-gradient(700px 420px at -10% 110%, #E4ECF8 0%, transparent 60%),
    var(--cloud);
}
.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: var(--lav); }
.hero-desc {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 2.2rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ndis-badge-slot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lav-deep);
}
.ndis-badge-slot img { height: 44px; width: auto; }

/* Signature element: the two lead services ARE the hero visual */
.hero-visual { display: grid; gap: 1.3rem; }
.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 50% 50% var(--radius-xl) var(--radius-xl) / 28% 28% var(--radius-xl) var(--radius-xl);
  border: 1.5px solid var(--lav-mist);
  box-shadow: var(--shadow);
}
.ndis-badge-slot img { height: 48px; width: 48px; border-radius: 50%; }
.footer-logo {
  width: 130px;
  height: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
  margin-bottom: 0.9rem;
}
.hero-tiles {
  position: relative;
  display: grid;
  gap: 1.2rem;
}
.hero-tile {
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  text-decoration: none;
  transition: transform var(--trans), border-color var(--trans);
}
.hero-tile:hover { transform: translateY(-4px); border-color: var(--lav); }
.hero-tile:nth-child(2) { margin-left: 2.5rem; }
.hero-tile-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--lav-soft);
  color: var(--lav);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hero-tile h2 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.hero-tile p { font-size: 0.95rem; color: var(--ink-soft); }
.hero-tile .tile-go {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--lav);
  display: inline-block;
  margin-top: 0.5rem;
}

/* ============ Values / trust ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.value-card {
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  transition: transform var(--trans), box-shadow var(--trans);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--lav-soft);
  color: var(--lav);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.93rem; color: var(--ink-soft); }

/* ============ Services ============ */
.services-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card-body { padding: 1.8rem; }
.service-card h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; }
.service-card ul {
  list-style: none;
  margin-top: 1rem;
}
.service-card li {
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.service-card li::before {
  content: '●';
  color: var(--lav);
  font-size: 0.55rem;
  flex-shrink: 0;
}
.lead-flag {
  display: inline-block;
  background: var(--lav);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 0.9rem;
}

.services-more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.services-more .service-card-body { padding: 1.5rem 1.8rem; }
.services-more h3 { font-size: 1.2rem; }

/* Photo placeholder — replace with real <img> later */
.photo-slot {
  height: 200px;
  background: linear-gradient(135deg, var(--lav-soft) 0%, #E2E9F7 55%, var(--lav-mist) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lav);
  font-size: 2.2rem;
}
.photo-slot.tall { height: 100%; min-height: 320px; border-radius: var(--radius-xl); }

/* ============ How it works ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.step-card {
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  position: relative;
  transition: transform var(--trans), box-shadow var(--trans);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lav);
  color: var(--white);
  font-family: 'EB Garamond', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.13rem; margin-bottom: 0.4rem; }
.step-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1.3rem;
}
.about-quote {
  border-left: 4px solid var(--lav);
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.4rem 1.6rem;
  font-family: 'EB Garamond', sans-serif;
  font-size: 1.25rem;
  color: var(--lav-deep);
  margin: 1.6rem 0;
}

/* ============ Careers ============ */
.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}
.role-card {
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.role-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.role-card h3 i { color: var(--lav); }
.role-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.role-tag {
  background: var(--lav-soft);
  color: var(--lav-deep);
  border-radius: 99px;
  padding: 0.28rem 0.85rem;
  font-size: 0.83rem;
  font-weight: 600;
}
.req-card {
  background: var(--lav-deep);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
}
.req-card h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 1.2rem; }
.req-card ul { list-style: none; }
.req-card li {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.97rem;
}
.req-card li:last-child { border-bottom: none; }
.req-card i { color: #B9BCF2; width: 1.3rem; }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.2rem;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--lav-deep);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--lav-mist);
  border-radius: var(--radius-md);
  background: var(--cloud);
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--trans), background var(--trans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lav);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
#form-status { min-height: 1.5rem; font-weight: 600; margin-bottom: 0.6rem; }

.contact-aside { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-block {
  background: var(--white);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.contact-block h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
  word-break: break-word;
}
.contact-line i {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--lav-soft);
  color: var(--lav);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-line a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.contact-line a:hover { color: var(--lav); }
.response-badge {
  background: var(--lav-soft);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--lav-deep);
  font-size: 0.93rem;
}
.response-badge i { color: var(--lav); }

/* ============ Footer ============ */
.footer {
  background: var(--lav-deep);
  color: #C9CBE8;
  padding: 3.5rem 1.5rem 2rem;
}
.footer a { color: #C9CBE8; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer ul { list-style: none; }
.footer li { padding: 0.3rem 0; font-size: 0.93rem; }
.footer-brand p { font-size: 0.93rem; margin-top: 0.8rem; max-width: 280px; }
.footer .logo-name { color: var(--white); }
.footer .logo-tagline { color: #B0B3DB; }
.footer-badge {
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.footer-bottom {
  max-width: var(--wrap);
  margin: 1.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.83rem;
  color: #9FA2CC;
}

/* ============ Sub-pages (privacy / feedback) ============ */
.page-hero {
  background:
    radial-gradient(700px 360px at 80% -20%, var(--lav-soft) 0%, transparent 65%),
    var(--cloud);
  padding: 4rem 1.5rem 3rem;
}
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 0.8rem; }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 640px; }

.doc { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.doc h2 {
  font-size: 1.45rem;
  margin: 2.4rem 0 0.8rem;
}
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-soft); font-size: 1rem; margin-bottom: 0.8rem; }
.doc ul { list-style: none; margin-bottom: 1rem; }
.doc ul li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}
.doc ul li::before {
  content: '●';
  color: var(--lav);
  font-size: 0.5rem;
  flex-shrink: 0;
}
.doc-callout {
  background: var(--lav-soft);
  border: 1.5px solid var(--lav-mist);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  margin: 1.6rem 0;
}
.doc-callout h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.doc-callout p { margin-bottom: 0.4rem; }
.doc-updated { font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-tile:nth-child(2) { margin-left: 0; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 3.5rem 1.2rem; }
  .hero { padding: 3rem 1.2rem 3.5rem; }
  .services-lead, .services-more { grid-template-columns: 1fr; }
  .career-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .logo-tagline { display: none; }
}