/* =========================================================
   Ohana Disability Services — Brand Stylesheet
   Version 02 · Aligned to brand kit (Volume 01, MMXXVI)
   "A tree, not a circus."
   ========================================================= */

:root {
  /* ----- Primary: Berry Purple ----- */
  --berry:       #8D2C89;  /* Berry Purple — primary, lead colour */
  --berry-dark:  #5E1D5C;  /* Deep berry for hover/contrast */
  --berry-deeper:#3F1340;  /* Deepest plum, near-black */
  --berry-light: #C57FBF;  /* Light berry for accents on dark */
  --berry-pale:  #F1DDEE;  /* Very pale wash for backgrounds */

  /* ----- Secondary: Leaf Green (now an accent) ----- */
  --leaf:        #69B026;
  --leaf-dark:   #4A7D1B;
  --leaf-light:  #A4D67A;
  --leaf-pale:   #E2F1CC;

  /* ----- Other accents (use sparingly — 10% rule) ----- */
  --sun:         #FE9721;  /* Sun Orange — energy */
  --sky:         #16AFFB;  /* Sky Blue — clarity */

  /* ----- Neutrals (the 30%) ----- */
  --ink:         #1A0C1F;  /* Ink — deep plum-tinted black */
  --bark:        #2A1F14;  /* Bark — secondary dark */
  --soft:        #E8DFCB;  /* Soft cream */
  --paper:       #FBF8F1;  /* Paper — page background */
  --paper-warm:  #F4EEDD;  /* slightly warmer cream variant */
  --line:        #DCD4BF;  /* divider line */
  --muted:       #6B5868;  /* muted body text (slight purple tint) */

  /* ----- Typography ----- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Source Sans Pro', Calibri, 'Segoe UI', Tahoma, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ----- Layout ----- */
  --container:    1240px;
  --container-narrow: 880px;
  --radius-sm:    8px;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-xl:    32px;

  /* ----- Shadows ----- */
  --shadow-sm:    0 1px 2px rgba(26, 12, 31, 0.05);
  --shadow:       0 6px 24px -8px rgba(26, 12, 31, 0.16);
  --shadow-lg:    0 24px 60px -20px rgba(26, 12, 31, 0.26);

  /* ----- Motion ----- */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--berry-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--berry); }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 80;
}
h1 { font-size: clamp(2.6rem, 5vw + 1rem, 4.8rem); font-weight: 400; line-height: 0.98; }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem); font-weight: 500; }
h4 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.005em; }

.display-italic, .h-italic em {
  font-style: italic;
  font-weight: 300;
  color: var(--berry-dark);
}

p { margin: 0 0 1em; }

/* Eyebrow text */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--berry-dark);
  margin: 0 0 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--berry);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.hidden { position: absolute; left: -9999px; visibility: hidden; }

:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Container
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container, .container-narrow { padding: 0 40px; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--berry);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--berry-dark);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--berry);
  color: var(--ink);
}
.btn-arrow::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-words {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.brand-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  color: var(--berry);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}
/* Footer brand variant — colours flip for dark background */
.brand-footer .brand-name { color: var(--paper); }
.brand-footer .brand-tag { color: var(--berry-light); }
.brand-footer .brand-mark { height: 60px; }

.primary-nav { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  background: var(--berry-pale);
  color: var(--berry-deeper);
}
.nav-link[aria-haspopup]::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}
.has-dropdown:hover .nav-link[aria-haspopup]::after,
.has-dropdown:focus-within .nav-link[aria-haspopup]::after {
  transform: rotate(225deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0.5rem 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { position: relative; }
.dropdown a {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  color: var(--ink);
  border-radius: 8px;
}
.dropdown a:hover { background: var(--berry-pale); color: var(--berry-deeper); }

.dropdown .dropdown {
  top: 0;
  left: 100%;
  margin: 0 0 0 0.5rem;
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--berry-dark); }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  gap: 5px;
  padding: 0;
  position: relative;
  z-index: 210;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}
body.menu-open .mobile-drawer {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer > .container > ul > li {
  border-bottom: 1px solid var(--line);
}
.mobile-drawer a, .mobile-drawer .acc-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
  text-align: left;
}
.mobile-drawer .acc-toggle::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--berry-dark);
  transition: transform 0.3s var(--ease);
}
.mobile-drawer .acc-item.open .acc-toggle::after { transform: rotate(45deg); }
.mobile-drawer .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.mobile-drawer .acc-item.open .submenu { max-height: 800px; }
.mobile-drawer .submenu a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--ink);
}
.mobile-drawer-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1140px) {
  .primary-nav { display: block; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-drawer { display: none !important; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 2.5rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 100% 0%, var(--berry-pale) 0%, transparent 60%),
    radial-gradient(50% 60% at -10% 30%, rgba(254, 151, 33, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.5vw + 1rem, 5.4rem);
  font-weight: 400;
  line-height: 0.96;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--berry-dark);
}
.hero-sub {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.22rem);
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper-warm);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(14, 26, 10, 0.08);
  pointer-events: none;
}
/* small hero accent — Leaf brushstroke shape behind the image */
.hero-image::before {
  content: '';
  position: absolute;
  inset: -10% -10% auto auto;
  width: 45%;
  height: 45%;
  background: var(--berry);
  border-radius: 50% 40% 60% 30% / 40% 50% 30% 60%;
  opacity: 0.3;
  z-index: -1;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-meta .ndis-badge { height: 56px; width: auto; }
.hero-meta-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.hero-meta-text strong { color: var(--ink); display: block; font-weight: 600; }

@media (min-width: 1024px) {
  .hero { padding: 4.5rem 0 6rem; }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
  }
}

/* =========================================================
   Section foundation
   ========================================================= */
section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 5.5rem 0; } }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

/* Background variants */
.bg-paper { background: var(--paper); }
.bg-soft { background: var(--soft); }
.bg-warm { background: var(--paper-warm); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--paper); }
.bg-ink .eyebrow { color: var(--berry-light); }
.bg-ink .eyebrow::before { background: var(--berry-light); }

.bg-forest { background: var(--berry-dark); color: var(--paper); }
.bg-forest h2, .bg-forest h3, .bg-forest h4 { color: var(--paper); }
.bg-forest .eyebrow { color: var(--berry-light); }
.bg-forest .eyebrow::before { background: var(--berry-light); }

/* =========================================================
   Three pillars (Rooted / Warm / Honest from brand kit)
   ========================================================= */
.pillars {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.pillar {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  width: 40px;
  height: 4px;
  background: var(--berry);
  border-radius: 0 0 4px 4px;
}
.pillar:nth-child(2)::before { background: var(--sun); }
.pillar:nth-child(3)::before { background: var(--leaf); }
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar-num {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--muted);
  opacity: 0.7;
}
.pillar h3 { margin-bottom: 0.6rem; }
.pillar p { color: var(--muted); margin: 0; line-height: 1.55; }

@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   Mission / about block (split layout)
   ========================================================= */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image.aspect-square { aspect-ratio: 1; }
.split-image.aspect-landscape { aspect-ratio: 4/3; }
.split h2 { margin-bottom: 1.5rem; }
.split p { color: var(--muted); }
.split-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split.split-reverse .split-content { order: 2; }
  .split.split-reverse .split-image-wrap { order: 1; }
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.75rem;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--berry);
  margin-bottom: 0.4rem;
}
.bg-ink .stat-number, .bg-forest .stat-number { color: var(--berry-light); }
.stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.bg-ink .stat-label, .bg-forest .stat-label { color: var(--berry-light); opacity: 0.85; }

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* =========================================================
   Banner CTA (accommodation feature, etc.)
   ========================================================= */
.banner-cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 3rem 1.8rem;
  background: var(--berry-dark);
  color: var(--paper);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.banner-cta::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -40%;
  width: 50%;
  height: 180%;
  background: radial-gradient(circle at center, var(--berry) 0%, transparent 65%);
  opacity: 0.4;
  pointer-events: none;
}
.banner-cta > * { position: relative; }
.banner-cta h3 {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  color: var(--paper);
  margin: 0;
  font-weight: 400;
}
.banner-cta p { color: var(--berry-light); margin: 0.5rem 0 0; }

@media (min-width: 768px) {
  .banner-cta {
    padding: 3.5rem 3rem;
    grid-template-columns: 1fr auto;
  }
}

/* =========================================================
   CTA strip / get in touch
   ========================================================= */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.4rem);
}
.cta-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.3rem;
  opacity: 0.85;
}
.cta-row a:hover { opacity: 1; }
.cta-row a svg { width: 22px; height: 22px; }

/* =========================================================
   Page header
   ========================================================= */
.page-header {
  position: relative;
  padding: 5rem 0 3rem;
  background:
    radial-gradient(70% 80% at 90% 0%, var(--berry-pale) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(254, 151, 33, 0.07) 0%, transparent 60%),
    var(--paper);
}
.crumb {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--berry-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}
.crumb a { color: var(--berry-dark); }
.crumb a:hover { color: var(--berry); }
.crumb span { margin: 0 0.5rem; opacity: 0.4; }
.page-header h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  margin-bottom: 1rem;
  max-width: 16ch;
}
.page-header .lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 1vw + 0.95rem, 1.55rem);
  color: var(--berry-dark);
  max-width: 56ch;
  line-height: 1.4;
}

/* =========================================================
   Prose
   ========================================================= */
.prose {
  max-width: 64ch;
  margin: 0 auto;
}
.prose p {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1.4em;
  color: var(--ink);
}
.prose p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  padding: 0.05em 0.12em 0 0;
  color: var(--berry-dark);
  font-weight: 400;
}
.prose ul, .prose ol {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.4em;
  padding-left: 1.2em;
}
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
  border-left: 3px solid var(--berry);
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.4;
  font-weight: 300;
}

/* =========================================================
   Service cards
   ========================================================= */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.service-card {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.service-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  position: relative;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-content .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--berry-dark);
  margin-bottom: 0.3rem;
}
.service-content h3 {
  font-size: clamp(1.6rem, 1.5vw + 1rem, 2.4rem);
  margin-bottom: 1rem;
}
.service-content p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .service-card { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .service-card:nth-child(even) .service-img { order: 2; }
}

/* =========================================================
   Forms
   ========================================================= */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .form-card { padding: 2.5rem 2.2rem; }
}

.form-grid {
  display: grid;
  gap: 1.2rem;
}
.form-grid.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-grid .span-full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--berry-dark);
}
.field label .req { color: var(--sun); margin-left: 2px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235E1D5C' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 4px rgba(141, 44, 137, 0.18);
}

.radio-group, .check-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.95rem;
}
.radio-group label, .check-group label {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}
.radio-group input, .check-group input {
  margin-top: 0.25rem;
  accent-color: var(--berry);
}

.form-section {
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  margin-top: 1.8rem;
}
.form-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-weight: 500;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* =========================================================
   Contact details list
   ========================================================= */
.contact-card {
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1.2rem;
}
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-list .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-list .ico svg { width: 18px; height: 18px; color: var(--berry-dark); }
.contact-list .label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--berry-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}
.contact-list .value { font-size: 1.05rem; color: var(--ink); }
.contact-list .value a { color: var(--ink); }
.contact-list .value a:hover { color: var(--berry-dark); }

.social {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.social a:hover {
  background: var(--berry);
  color: var(--ink);
  border-color: var(--berry);
  transform: translateY(-2px);
}
.social svg { width: 18px; height: 18px; }

.map-wrap {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* =========================================================
   Vacancy cards
   ========================================================= */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-tab {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-tab:hover { border-color: var(--ink); }
.filter-tab.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.vacancy-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .vacancy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vacancy-grid { grid-template-columns: repeat(3, 1fr); } }

.vacancy-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.vacancy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.vacancy-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-warm);
}
.vacancy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.vacancy-card:hover .vacancy-img img { transform: scale(1.04); }
.vacancy-body { padding: 1.5rem 1.5rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.vacancy-body h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.vacancy-tagline { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.vacancy-specs {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: auto;
}
.vacancy-spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.vacancy-spec strong { color: var(--ink); font-weight: 700; }
.vacancy-card .btn { margin-top: 1rem; align-self: flex-start; }

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.feature-pill {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--berry-pale);
  color: var(--berry-deeper);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* Property detail */
.property-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.property-hero img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
@media (min-width: 1024px) { .property-hero { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.spec {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.spec .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--berry-dark);
  line-height: 1;
}
.spec .lab {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.3rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--ink);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--berry);
  border-radius: 50%;
  margin-top: 0.55rem;
}

.tagline-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.tagline-block::before {
  content: '';
  position: absolute;
  inset: -50% -10% auto auto;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, var(--berry) 0%, transparent 60%);
  opacity: 0.18;
}
.tagline-block > * { position: relative; }
.tagline-block h2 {
  color: var(--paper);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  margin-bottom: 0.5rem;
}
.tagline-block p { color: var(--berry-light); font-size: 1.05rem; margin-bottom: 1.5rem; }

/* =========================================================
   Quote / pull-quote
   ========================================================= */
.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  line-height: 1.3;
  text-align: center;
  max-width: 28ch;
  margin: 0 auto;
  letter-spacing: -0.005em;
}
.pullquote-attr {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  opacity: 0.7;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--berry-light);
  padding: 4.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: -20% auto auto -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(ellipse at center, var(--berry-dark) 0%, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}
.site-footer > * { position: relative; }
.site-footer a { color: rgba(251, 248, 241, 0.78); }
.site-footer a:hover { color: var(--paper); }
.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
}

.footer-brand img { height: 64px; margin-bottom: 1.2rem; width: auto; }
.acknowledgement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(251, 248, 241, 0.82);
  border-left: 2px solid var(--berry);
  padding-left: 1rem;
  margin: 1rem 0 1.5rem;
}
.footer-marks {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-marks .ndis-badge {
  background: var(--paper);
  padding: 6px;
  border-radius: 8px;
  height: 64px;
  width: auto;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.footer-col li { font-size: 0.95rem; }

.footer-bottom {
  border-top: 1px solid rgba(164, 214, 122, 0.18);
  padding-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(164, 214, 122, 0.6);
}
.footer-bottom .designed-with-care {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--paper);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; }
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(164, 214, 122, 0.25);
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
}
.footer-social a:hover {
  background: var(--berry);
  color: var(--ink);
  border-color: var(--berry);
}
.footer-social svg { width: 16px; height: 16px; }

/* =========================================================
   Floating phone (mobile)
   ========================================================= */
.floating-phone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--berry);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(94, 29, 92, 0.5);
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.floating-phone:hover {
  background: var(--berry-dark);
  color: var(--paper);
  transform: scale(1.06);
}
.floating-phone svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .floating-phone { display: none; } }

/* =========================================================
   Decorative leaf shapes (used as section accents)
   ========================================================= */
.leaf-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

/* =========================================================
   Reveal animations
   ========================================================= */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Utility
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.flow > * + * { margin-top: 1rem; }

/* =========================================================
   Acknowledgement: Aboriginal & Torres Strait Islander flags
   ========================================================= */
.flag-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 0.8rem 0 1.2rem;
}
.flag {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 32px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
/* Aboriginal flag: top half black, bottom half red, yellow circle in centre */
.flag-aboriginal .aborig-top {
  position: absolute;
  inset: 0 0 50% 0;
  background: #000000;
}
.flag-aboriginal .aborig-bottom {
  position: absolute;
  inset: 50% 0 0 0;
  background: #C8102E;
}
.flag-aboriginal .aborig-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFD200;
  transform: translate(-50%, -50%);
}
/* Torres Strait Islander flag: green-blue-green stripes, white star with 5 points + crown center */
.flag-torres .torres-top {
  position: absolute;
  inset: 0 0 75% 0;
  background: #008752;
}
.flag-torres .torres-mid {
  position: absolute;
  inset: 25% 0 25% 0;
  background: #00428C;
}
.flag-torres .torres-bottom {
  position: absolute;
  inset: 75% 0 0 0;
  background: #008752;
}
.flag-torres .torres-mid::before, .flag-torres .torres-mid::after {
  content: '';
  position: absolute;
  background: #FFFFFF;
  left: 50%;
  top: 50%;
}
.flag-torres .torres-mid::before {
  /* simple 5-pointed star approximation: a small white square rotated; will be replaced by SVG */
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 8px solid #FFFFFF;
  background: transparent;
  transform: translate(-50%, -65%);
}
.flag-torres .torres-mid::after {
  width: 12px;
  height: 2px;
  background: #FFFFFF;
  transform: translate(-50%, 200%);
}
.flag-torres .torres-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  /* Use a clipped polygon star via clip-path */
  background: #FFFFFF;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* =========================================================
   We ❤ NDIS official logo (NDIA splat artwork)
   ========================================================= */
.we-love-ndis-img {
  height: 64px;
  width: auto;
  display: block;
  transition: transform 0.3s var(--ease);
}
.we-love-ndis-img:hover {
  transform: scale(1.04) rotate(-2deg);
}
@media (prefers-reduced-motion: reduce) {
  .we-love-ndis-img:hover { transform: none; }
}
