/* ==========================================================================
   BEYOND SERVICES AUSTRALIA
   Original design: warm sand, centred editorial, white cards, rounded corners
   ========================================================================== */

/* ------------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------------ */
:root {
  /* Brand palette — from original screenshots */
  --sand-bg:     #FAF5EA;   /* main page background */
  --sand-mid:    #F4EBD0;   /* section alternate background */
  --sand-dark:   #EFE0B8;   /* darker sand for cards/CTA */
  --cta-bg:      #F7DEB9;   /* CTA card background */
  --gold:        #B37D3E;   /* buttons, links, eyebrows, numbered circles */
  --gold-dark:   #8f5f28;   /* hover */
  --gold-light:  #C89655;   /* eyebrow text */
  --brown:       #3D1F0E;   /* primary heading colour */
  --brown-mid:   #5C3318;   /* body text */
  --brown-light: #8a6040;   /* muted text */
  --white:       #FFFFFF;   /* card backgrounds */
  --card-border: #E8DCC8;   /* subtle card border */

  --ff-serif: 'Cormorant Garamond', 'Georgia', serif;
  --ff-sans:  'DM Sans', system-ui, sans-serif;

  --max-w:  1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 16px;           /* card border radius */
  --radius-sm: 10px;
  --shadow: 0 2px 16px rgba(61,31,14,.07);
  --shadow-md: 0 4px 28px rgba(61,31,14,.11);
}

/* ------------------------------------------------------------------
   RESET
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--brown-mid);
  background: var(--sand-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
ul   { list-style: none; }
p    { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  color: var(--brown);
  line-height: 1.1;
  font-weight: 600;
}
/* Cormorant Garamond is a tall, refined face — bump sizes up and open tracking */
h1 { font-size: clamp(3rem, 6.5vw, 5.2rem); letter-spacing: 0.01em; font-weight: 600; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: 0.005em; font-weight: 600; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: 0.01em; font-weight: 600; }
h4 { font-size: .78rem; font-family: var(--ff-sans); font-weight: 500;
     text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-light); }

/* Eyebrow label — appears above headings */
.eyebrow {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .75rem;
}

.lede {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--brown-mid);
  line-height: 1.8;
}

/* ------------------------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------------------------ */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.s-xl   { padding-block: clamp(4rem, 8vw, 7rem); }
.s-lg   { padding-block: clamp(3rem, 6vw, 5rem); }
.s-md   { padding-block: clamp(2rem, 4vw, 3.5rem); }
.mt-md  { margin-top: 1.5rem; }
.mt-sm  { margin-top: 1rem; }
.text-center { text-align: center; }

/* Centred section intro — used on most sections */
.section-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-intro p {
  font-size: .95rem;
  font-weight: 300;
  color: var(--brown-mid);
  margin-top: .6rem;
  line-height: 1.8;
  letter-spacing: .01em;
}

/* ------------------------------------------------------------------
   SKIP LINK
   ------------------------------------------------------------------ */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--gold); color: #fff; padding: .5rem 1rem;
  border-radius: 4px; font-size: .875rem; font-weight: 600; z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* ------------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--sand-bg);
  border-bottom: 1px solid var(--card-border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(61,31,14,.08); }

.nav-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: .9rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.nav-logo img { width: 38px; height: 38px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.org-name { font-family: var(--ff-serif); font-size: 1.05rem; font-weight: 600; color: var(--brown); letter-spacing: .02em; }
.org-sub  { font-size: .65rem; font-weight: 400; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }

.nav-links {
  display: flex; align-items: center; gap: .15rem;
  list-style: none; margin: 0; padding: 0; margin-left: auto;
}
.nav-links a {
  display: block; padding: .4rem .7rem;
  font-size: .8rem; font-weight: 400; letter-spacing: .03em; color: var(--brown-mid);
  border-radius: 6px; transition: background .15s, color .15s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brown); background: rgba(179,125,62,.1); }
.nav-links .nav-cta-link a,
a.nav-cta-link {
  background: var(--gold); color: #fff !important;
  padding: .45rem 1.1rem; border-radius: 99px;
  font-weight: 600; font-size: .825rem;
}
.nav-links .nav-cta-link a:hover,
a.nav-cta-link:hover { background: var(--gold-dark); text-decoration: none; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem;
  margin-left: auto;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--brown);
  border-radius: 2px; transition: transform .25s, opacity .25s;
}

/* ------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .75rem 1.75rem; border-radius: 99px;
  font-family: var(--ff-sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; border: none; transition: background .2s, color .2s, box-shadow .2s;
  text-decoration: none; line-height: 1;
}
.btn-solid  { background: var(--gold); color: #fff; }
.btn-solid:hover { background: var(--gold-dark); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: var(--brown); border: 2px solid var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; text-decoration: none; }
.btn-white  { background: #fff; color: var(--gold); }
.btn-white:hover { background: var(--sand-bg); text-decoration: none; }
.btn-ghost  { background: transparent; color: var(--brown); border: 1.5px solid var(--brown); }
.btn-ghost:hover { background: var(--brown); color: #fff; text-decoration: none; }
.btn-line   { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-line:hover { background: var(--gold); color: #fff; text-decoration: none; }

.btn-white-full {
  display: block; text-align: center;
  background: #fff; color: var(--gold); border: 1.5px solid var(--gold);
  padding: .75rem 1.5rem; border-radius: 99px;
  font-weight: 600; font-size: .9rem; transition: background .2s, color .2s;
  text-decoration: none;
}
.btn-white-full:hover { background: var(--gold); color: #fff; text-decoration: none; }

/* ------------------------------------------------------------------
   HERO — centred, warm image background
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,12,4,.72) 0%, rgba(30,12,4,.38) 50%, rgba(30,12,4,.12) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 6rem);
  text-align: center;
  width: 100%;
}
.hero-kicker {
  font-family: var(--ff-sans);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
  letter-spacing: .02em;
}
.hero-content h1 em {
  font-style: italic; color: #e8c48a;
}
.hero-body {
  font-size: clamp(.9rem, 1.4vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  line-height: 1.85;
  letter-spacing: .01em;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ------------------------------------------------------------------
   SERVICES GRID — 3×2 white cards with image, title, body, link
   ------------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.service-card-body {
  padding: 1.5rem 1.5rem 1.25rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.service-card-body h3 { margin-bottom: .5rem; }
.service-card-body p  { font-size: .9rem; color: var(--brown-mid); flex: 1; }
.service-card-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .875rem; font-weight: 600; color: var(--gold);
  margin-top: 1rem; text-decoration: none;
}
.service-card-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------------
   WHY CHOOSE US — 3 columns with image + text
   ------------------------------------------------------------------ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card { display: flex; flex-direction: column; }
.why-card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.1rem;
}
.why-card h3 { margin-bottom: .4rem; color: var(--brown); font-size: 1.1rem; }
.why-card p  { font-size: .9rem; color: var(--brown-mid); line-height: 1.65; }

/* ------------------------------------------------------------------
   STEPS — 3 white cards with image + number circle
   ------------------------------------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.step-card-img-wrap {
  position: relative;
}
.step-card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.step-num {
  position: absolute; bottom: 12px; left: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold);
  color: #fff; font-family: var(--ff-sans);
  font-size: .95rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-card-body { padding: 1.4rem 1.5rem 1.5rem; }
.step-card-body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.step-card-body p  { font-size: .9rem; color: var(--brown-mid); line-height: 1.65; }

/* ------------------------------------------------------------------
   PARTNERS — white card badges on dark background
   ------------------------------------------------------------------ */
.partners-section { text-align: center; background: var(--brown) !important; }
.partners-section .section-intro p { color: rgba(255,255,255,.75); }
.partners-section .section-intro h2 { color: #fff; }
.partners-grid {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}
.partner-badge {
  /* White card — logos render correctly on white regardless of their own bg */
  background: #ffffff;
  border: none;
  border-radius: var(--radius);
  padding: 1.1rem 1.75rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 160px; min-height: 80px;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.partner-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.partner-badge img {
  max-height: 52px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  /* No filter — logos display in their natural colours on the white card */
  opacity: 1;
  transition: opacity .2s;
}
.partner-badge:hover img { opacity: .9; }

/* ------------------------------------------------------------------
   CTA CARD — rounded, sand-gold background, centred
   ------------------------------------------------------------------ */
.cta-card {
  background: var(--cta-bg);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}
.cta-card h2 { margin-bottom: .75rem; }
.cta-card p  { color: var(--brown-mid); margin-bottom: 1.75rem; font-size: .95rem; max-width: 520px; margin-inline: auto; }
.cta-card .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Full-bleed CTA strip — no max-width constraint */
.cta-strip {
  background: var(--cta-bg);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.cta-strip-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  text-align: center;
}
.cta-strip-inner h2 { margin-bottom: .75rem; }
.cta-strip-inner p  { color: var(--brown-mid); margin-bottom: 1.75rem; max-width: 520px; margin-inline: auto; }
.cta-strip-actions  { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------
   TESTIMONIAL CARDS
   ------------------------------------------------------------------ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tcard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .75rem;
}
.tcard-stars { color: var(--gold); font-size: 1rem; letter-spacing: .1em; }
.tcard-quote {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--brown);
  line-height: 1.65;
  font-style: italic;
  font-weight: 400;
  flex: 1;
}
.tcard-author {
  display: flex; align-items: center; gap: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--card-border);
  margin-top: auto;
}
.tcard-author img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.tcard-name   { font-size: .875rem; font-weight: 600; color: var(--brown); }
.tcard-role   { font-size: .78rem; color: var(--brown-light); }

/* ------------------------------------------------------------------
   PAGE HERO (interior pages)
   ------------------------------------------------------------------ */
.page-hero {
  position: relative;
  min-height: 36vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,12,4,.7) 0%, rgba(30,12,4,.3) 70%, transparent 100%);
}
.page-hero-content {
  position: relative; z-index: 1;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  width: 100%;
}
.page-hero-content h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 600; letter-spacing: .015em; margin-bottom: .6rem; }
.hero-intro { color: rgba(255,255,255,.85); font-size: clamp(.875rem, 1.3vw, 1rem); font-weight: 300; letter-spacing: .01em; max-width: 540px; line-height: 1.85; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: .75rem; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; }
.bc-sep { opacity: .5; }
.bc-current { color: rgba(255,255,255,.9); }

/* ------------------------------------------------------------------
   ABOUT PAGE — story split
   ------------------------------------------------------------------ */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.story-split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story-split-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story-split-body { display: flex; flex-direction: column; justify-content: center; }
.story-split-body h2 { margin-bottom: 1rem; }
.story-split-body p  { color: var(--brown-mid); line-height: 1.8; }

/* Visually hidden — for accessibility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Stats band */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
}
.stat-num { font-family: var(--ff-serif); font-size: clamp(2.2rem, 4.5vw, 3.5rem); color: var(--gold); font-weight: 700; line-height: 1; display: block; }
.stat-label { font-size: .875rem; color: var(--brown-mid); margin-top: .4rem; display: block; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.team-card-body { padding: 1.25rem 1.25rem 1.5rem; }
.tc-name { display: block; font-family: var(--ff-serif); font-size: 1.05rem; font-weight: 700; color: var(--brown); margin-bottom: .15rem; }
.tc-role { display: block; font-size: .78rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .65rem; }
.team-card-body p { font-size: .875rem; color: var(--brown-mid); line-height: 1.6; }

/* Commitment grid (replaces team grid on about page) */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.commit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.commit-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cta-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.commit-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--brown);
  margin: 0;
}
.commit-card p {
  font-size: .875rem;
  color: var(--brown-mid);
  line-height: 1.7;
  margin: 0;
}

/* Values list */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.value-card .v-name { font-family: var(--ff-serif); font-size: 1.1rem; font-weight: 700; color: var(--brown); margin-bottom: .4rem; }
.value-card p { font-size: .875rem; color: var(--brown-mid); line-height: 1.65; }

/* ------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------ */
.faq-list { max-width: 720px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--card-border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.1rem 0;
  font-family: var(--ff-sans); font-size: .95rem; font-weight: 600;
  color: var(--brown); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.faq-icon { flex-shrink: 0; font-size: 1.1rem; color: var(--gold); transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding-bottom: 1.1rem; font-size: .9rem; color: var(--brown-mid); line-height: 1.75; }

/* ------------------------------------------------------------------
   SERVICE DETAIL LIST (services page)
   ------------------------------------------------------------------ */
.service-detail-list { display: flex; flex-direction: column; gap: 0; }
.sdl-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--card-border);
}
.sdl-item:first-child { border-top: 1px solid var(--card-border); }
.sdl-num { font-family: var(--ff-serif); font-size: 1.8rem; color: var(--gold); font-weight: 700; opacity: .5; line-height: 1; padding-top: .15rem; }
.sdl-body h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.sdl-body p  { font-size: .9rem; color: var(--brown-mid); line-height: 1.7; }
.sdl-link { font-size: .875rem; font-weight: 600; color: var(--gold); white-space: nowrap; padding-top: .2rem; }
.sdl-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------------
   STORIES — testimonial cards grid
   ------------------------------------------------------------------ */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.scard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .75rem;
}
.scard-stars { color: var(--gold); letter-spacing: .1em; }
.scard-quote {
  font-family: var(--ff-serif); font-style: italic;
  font-size: .98rem; color: var(--brown); line-height: 1.65; flex: 1;
}
.scard-author {
  display: flex; align-items: center; gap: .75rem;
  padding-top: .75rem; border-top: 1px solid var(--card-border);
  margin-top: auto;
}
.scard-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.scard-name   { font-size: .875rem; font-weight: 600; color: var(--brown); }
.scard-detail { font-size: .78rem; color: var(--brown-light); }

/* ------------------------------------------------------------------
   NEWS
   ------------------------------------------------------------------ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.article-list { display: flex; flex-direction: column; gap: 2rem; }
.article-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-item img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.article-body { padding: 1.25rem 1.5rem 1.25rem 0; }
.article-meta { font-size: .78rem; color: var(--brown-light); margin-bottom: .4rem; }
.article-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.article-body p  { font-size: .875rem; color: var(--brown-mid); line-height: 1.65; }
.article-read { font-size: .875rem; font-weight: 600; color: var(--gold); }

/* Sidebar */
.sidebar-box {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.sidebar-box h4 { margin-bottom: .85rem; }
.sidebar-links { display: flex; flex-direction: column; gap: .4rem; }
.sidebar-links a { font-size: .875rem; color: var(--brown-mid); }
.sidebar-links a:hover { color: var(--gold); text-decoration: none; }
.crisis-box {
  background: #fff3f3;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-left: 3px solid #c0392b;
}
.crisis-box h4 { color: #c0392b; margin-bottom: .5rem; }
.crisis-box p, .crisis-box ul { font-size: .875rem; color: var(--brown-mid); }
.crisis-box ul { list-style: none; padding: 0; margin-top: .5rem; display: flex; flex-direction: column; gap: .3rem; }

/* ------------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.form-wrap { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.form-wrap .eyebrow { margin-bottom: .4rem; }
.form-wrap h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.form-sub { font-size: .875rem; color: var(--brown-light); margin-bottom: 1.75rem; }
.form-sub a { color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.fg label { font-size: .825rem; font-weight: 600; color: var(--brown); }
.fg input, .fg select, .fg textarea {
  padding: .65rem .9rem; border: 1.5px solid var(--card-border);
  border-radius: 8px; font-family: var(--ff-sans); font-size: .9rem;
  color: var(--brown); background: var(--sand-bg);
  transition: border-color .15s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none; border-color: var(--gold);
}
.fg textarea { min-height: 130px; resize: vertical; }
.fg-check { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: 1.25rem; font-size: .8rem; color: var(--brown-mid); }
.fg-check input { flex-shrink: 0; margin-top: .2rem; accent-color: var(--gold); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.cd-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--cta-bg); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.cd-label { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--brown-light); margin-bottom: .2rem; }
.cd-value { font-size: .875rem; color: var(--brown); line-height: 1.5; }
.cd-value a { color: var(--gold); }
.emergency-box {
  background: #fff3f3;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-left: 3px solid #c0392b;
}
.em-title { font-weight: 700; color: #c0392b; margin-bottom: .5rem; font-size: .9rem; }
.emergency-box p { font-size: .875rem; color: var(--brown-mid); margin-bottom: .5rem; }
.emergency-box a { color: #c0392b; font-weight: 600; }

/* ------------------------------------------------------------------
   MEDICATION PAGE
   ------------------------------------------------------------------ */
/* Old split hero — kept for reference, replaced by centred hero */
.med-hero {
  background: var(--sand-mid);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.med-hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.med-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.med-hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Centred hero — matches original design */
.med-hero-centred {
  background: var(--sand-bg);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
}
.med-hero-centred-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.med-hero-centred-inner h1 {
  font-family: var(--ff-sans);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--brown);
  margin: .5rem 0 1rem;
  line-height: 1.2;
}
.med-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2rem;
}
.med-photo-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.med-photo-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.med-photo-item:hover img { transform: scale(1.04); }


.med-hero-cta {
  margin-top: .5rem;
  padding: .85rem 2.5rem;
  font-size: 1rem;
}
.med-subtitle {
  font-size: 1.05rem;
  color: var(--brown-mid);
  margin: .75rem auto 0;
  max-width: 600px;
  line-height: 1.65;
}
.med-elig-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.med-form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-md);
}
.med-how {
  background: var(--brown);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.med-how .section-intro { color: rgba(255,255,255,.7); }
.med-how .section-intro h2 { color: #fff; }
.med-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.med-step {
  background: rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.12);
}
.med-step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.med-step h3 { color: #fff; margin-bottom: .5rem; font-size: 1.05rem; }
.med-step p  { color: rgba(255,255,255,.75); font-size: .875rem; line-height: 1.65; }

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,.75);
}
.footer-top {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .fb-logo {
  display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem;
}
.fb-name { font-family: var(--ff-serif); font-size: 1rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: .875rem; line-height: 1.7; margin-bottom: .5rem; }
.fb-abn { font-size: .78rem; opacity: .55; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .85rem;
  transition: background .15s;
}
.footer-social a:hover { background: var(--gold); color: #fff; text-decoration: none; }
.footer-col h5 {
  font-family: var(--ff-sans); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.45); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.65); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.fc-contact { font-size: .875rem; line-height: 1.75; margin-bottom: .75rem; }
.fc-contact a { color: rgba(255,255,255,.8); }
.fc-crisis   { font-size: .8rem; line-height: 1.75; opacity: .65; }
.fc-crisis a { color: rgba(255,255,255,.8); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
  font-size: .78rem; color: rgba(255,255,255,.45);
  max-width: var(--max-w); margin-inline: auto;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; box-shadow: 0 2px 12px rgba(0,0,0,.2);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 50;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--gold-dark); transform: translateY(-2px); text-decoration: none; }

/* ------------------------------------------------------------------
   SCROLL FADE-IN
   ------------------------------------------------------------------ */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out, ease), transform .55s var(--ease-out, ease); }
.fade-in.visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); }
  .testi-grid     { grid-template-columns: repeat(2, 1fr); }
  .story-grid     { grid-template-columns: repeat(2, 1fr); }
  .team-grid      { grid-template-columns: repeat(2, 1fr); }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-top     { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .news-layout    { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .med-hero-inner { grid-template-columns: 1fr; }
  .med-elig-inner { grid-template-columns: 1fr; }
  .story-split    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--sand-bg); border-bottom: 1px solid var(--card-border); padding: 1rem var(--gutter); gap: .25rem; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .65rem .75rem; }
  .nav-burger { display: flex; }
  .site-header { position: relative; }

  .services-grid  { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .testi-grid     { grid-template-columns: 1fr; }
  .story-grid     { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .footer-top     { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions   { flex-direction: column; align-items: center; }
  .cta-strip-actions { flex-direction: column; align-items: center; }
  .form-row       { grid-template-columns: 1fr; }
  .article-item   { grid-template-columns: 1fr; }
  .article-item img { height: 200px; width: 100%; }
  .article-body   { padding: 1rem; }
  .stats-row      { grid-template-columns: 1fr; }
  .sdl-item       { grid-template-columns: 40px 1fr; }
  .sdl-link       { display: none; }
  .med-steps      { grid-template-columns: 1fr; }
  .med-photo-row  { grid-template-columns: 1fr; }
  .med-elig-inner { grid-template-columns: 1fr; }
  .commit-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .med-photo-row  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .team-grid   { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.2rem; }
  .partners-grid { gap: .6rem; }
  .partner-badge { padding: .6rem 1rem; font-size: .8rem; }
}
