/* ============================================================
   Deli Winthrope Occupational Therapy — component & layout styles
   Requires tokens.css to be loaded first.
   ============================================================ */

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--action-bg);
  color: var(--action-text);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: var(--text-body-s);
  font-weight: 500;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

/* ============================================================
   Scroll anchor offset — keeps sticky header from covering
   jump targets. Adjust if header height changes.
   ============================================================ */
:root {
  --scroll-offset: 100px;
}

/* ============================================================
   Layout containers
   ============================================================ */
.container {
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--page-padding-desktop);
}
.container-wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--page-padding-desktop);
}
.container-reading {
  max-width: var(--container-reading);
  margin-inline: auto;
  padding-inline: var(--page-padding-desktop);
}
@media (max-width: 1024px) {
  .container, .container-wide, .container-reading {
    padding-inline: var(--page-padding-tablet);
  }
}
@media (max-width: 767px) {
  .container, .container-wide, .container-reading {
    padding-inline: var(--page-padding-mobile);
  }
}

/* ============================================================
   Site header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 50;
}
.site-header-inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--page-padding-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
@media (max-width: 1024px) {
  .site-header-inner { padding-inline: var(--page-padding-tablet); }
}
@media (max-width: 767px) {
  .site-header-inner {
    padding-inline: var(--page-padding-mobile);
    padding-block: var(--space-4);
  }
}
/* ── Composed logo (mark + wordmark img + live credential text) ── */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark {
  flex: none;
  display: block;
}
.logo__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo__wordmark {
  display: block;
  width: auto;
}
.logo__credential {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1;
}

/* Header — explicit sizes (no CSS var inheritance needed) */
.site-header .logo { gap: 14px; }
.site-header .logo .logo__mark  { width: 72px;  height: 72px;  }
.site-header .logo .logo__wordmark { height: 42px; }
.site-header .logo .logo__credential { font-size: 13px; }

/* Footer — larger */
.site-footer .logo { gap: 14px; }
.site-footer .logo .logo__mark  { width: 56px;  height: 56px;  }
.site-footer .logo .logo__wordmark { height: 32px; }
.site-footer .logo .logo__credential { font-size: 12px; color: var(--lilac-soft); }

@media (max-width: 767px) {
  .site-header .logo { gap: 10px; }
  .site-header .logo .logo__mark  { width: 44px; height: 44px; }
  .site-header .logo .logo__wordmark { height: 26px; }
  .site-header .logo .logo__credential { font-size: 11px; }
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-4);
}
.site-nav a {
  font-size: var(--text-body-s);
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--duration-micro) var(--ease),
              border-color var(--duration-micro) var(--ease);
}
.site-nav a:hover { color: var(--text-link); }
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--periwinkle-deep);
  color: var(--text-primary);
}
.site-nav .nav-cta {
  margin-left: var(--space-2);
  border-bottom: none;
  padding: 10px 20px;
  color: var(--action-text);
}
.site-nav .nav-cta:hover {
  color: var(--action-text);
}
.site-nav .nav-cta[aria-current="page"] {
  color: var(--action-text);
  border-bottom: none;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}
@media (max-width: 767px) {
  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-page);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    z-index: 49;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    font-size: var(--text-h3);
    border-bottom: none;
  }
  .site-nav .nav-cta {
    font-size: var(--text-button);
    padding: 14px 28px;
  }
  .hamburger { display: block; position: relative; z-index: 51; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--duration-micro) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--action-bg);
  color: var(--action-text);
}
.btn-primary:hover {
  background: var(--action-bg-hover);
  color: var(--action-text);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.btn-ghost {
  background: transparent;
  color: var(--text-link);
  padding: 8px 0;
  min-height: auto;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: var(--text-body-s);
}
.btn-ghost:hover { color: var(--text-link-hover); }
@media (max-width: 767px) {
  .btn { padding: 14px 22px; }
}

/* ============================================================
   Eyebrow
   ============================================================ */
.eyebrow {
  display: block;
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--periwinkle-deep);
  margin-bottom: var(--space-3);
}

/* ============================================================
   Pill / tag
   ============================================================ */
.pill {
  display: inline-block;
  background: var(--pill-bg);
  color: var(--pill-text);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill-lilac  { background: var(--lilac-soft); }
.pill-rose   { background: var(--rose); }
.pill-cream  { background: var(--cream); border: 1px solid var(--border-subtle); }
.pill-periwinkle { background: var(--periwinkle); color: var(--cream); }

/* ============================================================
   Card
   ============================================================ */
.card {
  background: var(--bg-subtle);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  transition: transform var(--duration-micro) var(--ease);
}
.card-clickable { cursor: pointer; }
.card-clickable:hover { transform: translateY(-4px); }
.card h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-3);
  margin-top: 0;
}
.card p {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.card .pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
@media (max-width: 767px) {
  .card { padding: var(--space-6); }
}

/* Service card */
.card-service {
  position: relative;
  padding-top: var(--space-12);
}
.card-service .stripe {
  position: absolute;
  top: 0;
  left: var(--space-8);
  width: 56px;
  height: 6px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: linear-gradient(135deg, var(--rose), var(--lilac), var(--periwinkle));
}

/* Resource card */
.card-resource {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-resource .resource-stripe {
  height: 6px;
  margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-8)) var(--space-6);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-resource .resource-stripe-rose     { background: var(--rose); }
.card-resource .resource-stripe-lilac    { background: var(--lilac); }
.card-resource .resource-stripe-peri     { background: var(--periwinkle); }
.card-resource .resource-meta {
  margin-top: auto;
  font-size: var(--text-caption);
  color: var(--text-muted);
  padding-top: var(--space-4);
}

/* ============================================================
   Decorative blobs
   ============================================================ */
.blob {
  position: absolute;
  pointer-events: none;
  border-radius: 62% 38% 70% 30% / 48% 62% 38% 52%;
  /* Two independent animations: shape morph + slow drift */
  animation-name: blobMorph, blobDrift;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
  /* normal (not alternate) so shapes don't reverse — each cycle is fresh */
  animation-direction: normal, alternate;
  will-change: border-radius, transform;
}
.blob-rose  {
  background: var(--rose);
  opacity: 0.18;
  animation-duration: 18s, 80s;
  animation-delay: 0s, 0s;
}
.blob-peri  {
  background: var(--periwinkle);
  opacity: 0.12;
  animation-duration: 14s, 100s;
  animation-delay: -5s, -35s;
}
.blob-lilac {
  background: var(--lilac);
  opacity: 0.15;
  animation-duration: 22s, 900s;
  animation-delay: -11s, -200s;
}
.blob-coral {
  background: var(--coral);
  opacity: 0.14;
  animation-duration: 16s, 1020s;
  animation-delay: -8s, -500s;
}

/* Each keyframe step is a clearly distinct organic shape.
   The 8-value border-radius (h-radii / v-radii per corner) creates
   asymmetric blobs that read as different objects at each step. */
@keyframes blobMorph {
  0%   { border-radius: 62% 38% 70% 30% / 48% 62% 38% 52%; }
  14%  { border-radius: 30% 70% 55% 45% / 68% 32% 58% 42%; }
  28%  { border-radius: 78% 22% 40% 60% / 35% 72% 28% 65%; }
  42%  { border-radius: 44% 56% 28% 72% / 60% 40% 70% 30%; }
  57%  { border-radius: 25% 75% 65% 35% / 45% 55% 38% 62%; }
  71%  { border-radius: 68% 32% 48% 52% / 28% 65% 42% 58%; }
  85%  { border-radius: 50% 50% 75% 25% / 55% 38% 62% 45%; }
  100% { border-radius: 62% 38% 70% 30% / 48% 62% 38% 52%; }
}

@keyframes blobDrift {
  0%   { transform: translate(  0px,   0px); }
  20%  { transform: translate(-22px,  18px); }
  40%  { transform: translate( 16px, -20px); }
  60%  { transform: translate(-28px, -14px); }
  80%  { transform: translate( 24px,  26px); }
  100% { transform: translate(-12px,  22px); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* ============================================================
   Form fields
   ============================================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.field label {
  font-size: var(--text-body-s);
  font-weight: 500;
  color: var(--text-primary);
}
.field label .req {
  color: var(--periwinkle-deep);
  margin-left: 2px;
}
.field input,
.field textarea,
.field select {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  transition: border var(--duration-micro) var(--ease);
  width: 100%;
  box-sizing: border-box;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--border-focus);
  border-width: 2px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-help {
  font-size: var(--text-caption);
  color: var(--text-muted);
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: var(--text-body-s);
  cursor: pointer;
  transition: all var(--duration-micro) var(--ease);
}
.radio-option:has(input:checked) {
  background: var(--bg-subtle);
  border-color: var(--text-primary);
}
.radio-option input { accent-color: var(--periwinkle-deep); }

/* ============================================================
   Pull quote
   ============================================================ */
.pull-quote {
  background: var(--lilac-soft);
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  max-width: 880px;
  margin-inline: auto;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-variation-settings: var(--fraunces-italic);
  font-style: italic;
  font-size: var(--text-display-l);
  line-height: var(--leading-heading);
  color: var(--text-primary);
  margin: 0 0 var(--space-6);
  quotes: none;
}
@media (max-width: 767px) {
  .pull-quote blockquote { font-size: var(--text-h2); }
  .pull-quote { padding: var(--space-8); }
}
.pull-quote .attribution {
  font-size: var(--text-body-s);
  font-weight: 500;
  color: var(--text-muted);
}
.pull-quote-rose {
  background: color-mix(in srgb, var(--rose) 18%, transparent);
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { border-top: 1px solid var(--border-subtle); }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-variation-settings: var(--fraunces-heading);
  font-size: var(--text-h3);
  font-weight: 500;
  color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration-micro) var(--ease);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer {
  padding: 0 0 var(--space-5);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-muted);
  max-width: 680px;
}

/* ============================================================
   Detail row (reusable key/value pair)
   ============================================================ */
.detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.detail-label {
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.detail-value {
  font-size: var(--text-body);
  color: var(--text-primary);
}
.detail-value a {
  color: var(--text-link);
  text-decoration: none;
}
.detail-value a:hover { text-decoration: underline; }

/* ============================================================
   NDIS info banner
   ============================================================ */
.ndis-banner {
  background: var(--lilac-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.ndis-banner .label {
  font-family: var(--font-display);
  font-variation-settings: var(--fraunces-heading);
  font-weight: 500;
  color: var(--text-primary);
  font-size: var(--text-h3);
  margin-right: var(--space-3);
  white-space: nowrap;
}

/* ============================================================
   Booking CTA strip
   ============================================================ */
.cta-strip {
  background: var(--periwinkle);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  color: var(--text-inverse);
  font-size: var(--text-display-l);
  margin-bottom: var(--space-3);
  margin-top: 0;
}
.cta-strip p {
  color: var(--lilac-soft);
  font-size: var(--text-lead);
  margin-bottom: var(--space-6);
}
.cta-strip .btn {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.cta-strip .btn:hover {
  background: var(--ink);
  color: var(--cream);
}
@media (max-width: 767px) {
  .cta-strip { padding: var(--space-12) var(--space-6); }
  .cta-strip h2 { font-size: var(--text-h2); }
}

/* ============================================================
   Hero section
   ============================================================ */
.hero {
  background: var(--bg-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "top photo" "bottom photo";
  column-gap: var(--space-12);
  row-gap: 0;
  align-items: start;
}
.hero > * { position: relative; z-index: 1; }
.hero .blob { position: absolute; z-index: 0; }
.hero-text-top { grid-area: top; }
.hero-text-bottom { grid-area: bottom; }
.hero .mark-wrap {
  grid-area: photo;
  align-self: stretch;
  display: block;
  min-height: 340px;
}
.hero h1 {
  font-size: var(--text-display-l);
  line-height: var(--leading-display);
  font-variation-settings: var(--fraunces-display);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
  margin-top: 0;
}
.hero .lead {
  font-size: var(--text-lead);
  line-height: var(--leading-body);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 520px;
}
.hero .ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.hero-photo {
  height: 100%;
  min-height: 340px;
}
@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "top" "photo" "bottom";
    padding: var(--space-8) var(--space-6);
    gap: var(--space-6);
  }
  .hero .mark-wrap { display: block; min-height: unset; }
  .hero-photo { height: 260px; min-height: unset; }
}

/* ============================================================
   About preview grid (homepage)
   ============================================================ */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-preview-photo .photo-wrap { height: 400px; }
@media (max-width: 767px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-preview-photo { order: -1; }
  .about-preview-photo .photo-wrap { height: 300px; }
}

/* ============================================================
   About bio grid (about page)
   ============================================================ */
.about-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}
.about-bio-photo {
  position: sticky;
  top: calc(var(--space-16) + var(--space-8));
  padding-top: var(--space-10);
}
.about-bio-photo .photo-wrap { height: 440px; }
@media (max-width: 767px) {
  .about-bio-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .about-bio-photo { position: static; padding-top: 0; }
  .about-bio-photo .photo-wrap { height: 320px; }
}

/* ============================================================
   Collaboration grid (services page)
   ============================================================ */
.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "photo top" "photo bottom";
  column-gap: var(--space-16);
  row-gap: 0;
  align-items: start;
}
.collab-text-top { grid-area: top; }
.collab-text-bottom { grid-area: bottom; }
.collab-photo { grid-area: photo; align-self: stretch; }
.collab-photo .photo-wrap { height: 100%; min-height: 340px; }
@media (max-width: 767px) {
  .collab-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "photo" "bottom";
    gap: var(--space-6);
  }
  .collab-photo .photo-wrap { height: 280px; min-height: unset; }
}

/* ============================================================
   Photo carousel
   ============================================================ */
.carousel { position: relative; }
.carousel-track {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide .photo-wrap {
  height: 100%;
  border-radius: 0;
}
.carousel-dots { display: none; }

/* Carousel sitting inside a grid cell — fills the full cell height */
.carousel--in-grid {
  height: 100%;
  min-height: 300px;
  padding-bottom: var(--space-8);
}
.carousel--in-grid .carousel-track {
  height: 100%;
}
@media (max-width: 767px) {
  .carousel--in-grid {
    min-height: 240px;
    padding-bottom: 0;
  }
}

/* ============================================================
   Section defaults
   ============================================================ */
.section {
  padding-block: var(--space-24);
}
.section-sm {
  padding-block: var(--space-12);
}
@media (max-width: 767px) {
  .section { padding-block: var(--space-16); }
  .section-sm { padding-block: var(--space-8); }
}
.section-subtle { background: var(--bg-subtle); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-periwinkle { background: var(--periwinkle); }

.section-header {
  margin-bottom: var(--space-12);
}
.section-header h2 {
  font-size: var(--text-h2);
  margin-top: 0;
  margin-bottom: var(--space-3);
}
.section-header p {
  font-size: var(--text-lead);
  color: var(--text-muted);
  max-width: 600px;
}

/* ============================================================
   Grids
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  #community { margin-top: var(--space-10); }
}

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-header {
  padding-block: var(--space-16) var(--space-12);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-16);
}
.page-header h1 {
  font-size: var(--text-h1);
  font-variation-settings: var(--fraunces-display);
  margin-bottom: var(--space-4);
  margin-top: 0;
}
.page-header .subtitle {
  font-size: var(--text-lead);
  color: var(--text-muted);
  max-width: 600px;
}
@media (max-width: 767px) {
  .page-header { padding-block: var(--space-12) var(--space-8); margin-bottom: var(--space-10); }
}

/* ============================================================
   Three-step process
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
@media (max-width: 767px) {
  .process-steps { grid-template-columns: 1fr; gap: var(--space-6); }
}
.process-step {
  position: relative;
}
.process-step .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lilac-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-variation-settings: var(--fraunces-heading);
  font-size: var(--text-h3);
  font-weight: 500;
  color: var(--periwinkle-deep);
}
.process-step h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-3);
  margin-top: 0;
}
.process-step p {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   Credentials block
   ============================================================ */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}
@media (max-width: 767px) {
  .credentials-grid { grid-template-columns: 1fr; }
}
.credentials-grid h3 {
  font-size: var(--text-body);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  margin-top: 0;
}
.credentials-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.credentials-grid li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-body-s);
  color: var(--text-primary);
}
.credentials-grid li:last-child { border-bottom: none; }

/* ============================================================
   NDIS line items table
   ============================================================ */
.ndis-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body-s);
  margin-top: var(--space-4);
}
.ndis-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-subtle);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-subtle);
}
.ndis-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  color: var(--text-primary);
}
.ndis-table tr:last-child td { border-bottom: none; }
.ndis-table .item-code {
  font-family: monospace;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .ndis-table { font-size: var(--text-caption); }
  .ndis-table th, .ndis-table td { padding: var(--space-3); }
}

/* ============================================================
   Filter chips (resources)
   ============================================================ */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-lg);
  font-size: var(--text-body-s);
  font-weight: 500;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-micro) var(--ease);
  text-decoration: none;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--periwinkle-deep);
  color: var(--cream);
  border-color: var(--periwinkle-deep);
}

/* ============================================================
   Newsletter strip
   ============================================================ */
.newsletter-strip {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-12);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.newsletter-strip h3 {
  font-size: var(--text-h3);
  margin: 0 0 var(--space-2);
}
.newsletter-strip p {
  font-size: var(--text-body-s);
  color: var(--text-muted);
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: var(--space-3);
  flex: 1;
  min-width: 280px;
}
.newsletter-form input {
  flex: 1;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--border-focus);
  border-width: 2px;
}
@media (max-width: 767px) {
  .newsletter-strip { padding: var(--space-6); flex-direction: column; gap: var(--space-4); }
  .newsletter-form { flex-direction: column; }
}

/* ============================================================
   Contact layout
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}
.contact-detail-block {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.contact-detail-block h3 {
  font-size: var(--text-h3);
  margin-top: 0;
  margin-bottom: var(--space-5);
}
.contact-detail-block .detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.contact-detail-block .detail-label {
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-detail-block .detail-value {
  font-size: var(--text-body);
  color: var(--text-primary);
}
.contact-detail-block .detail-value a {
  color: var(--text-link);
  text-decoration: none;
}
.contact-detail-block .detail-value a:hover { text-decoration: underline; }

/* ============================================================
   What happens next strip
   ============================================================ */
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}
@media (max-width: 767px) {
  .next-steps { grid-template-columns: 1fr; gap: var(--space-4); }
}
.next-step {
  text-align: center;
  padding: var(--space-6);
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
}
.next-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--periwinkle);
  color: var(--cream);
  font-family: var(--font-display);
  font-variation-settings: var(--fraunces-heading);
  font-size: var(--text-h3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}
.next-step h4 {
  font-size: var(--text-body);
  font-family: var(--font-display);
  font-variation-settings: var(--fraunces-heading);
  margin-bottom: var(--space-2);
  margin-top: 0;
}
.next-step p {
  font-size: var(--text-body-s);
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   Site footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-16) 0 var(--space-8);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: var(--space-16);
}
.site-footer-inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--page-padding-desktop);
}
@media (max-width: 1024px) {
  .site-footer-inner { padding-inline: var(--page-padding-tablet); }
}
@media (max-width: 767px) {
  .site-footer-inner { padding-inline: var(--page-padding-mobile); }
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
@media (max-width: 767px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}
/* Give the footer logo breathing room above the tagline */
.site-footer .logo {
  margin-bottom: var(--space-4);
}
.site-footer .tagline {
  font-family: var(--font-display);
  font-variation-settings: var(--fraunces-heading);
  font-style: normal;
  font-size: var(--text-body-l);
  color: var(--lilac-soft);
  line-height: 1.5;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 var(--space-4);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: var(--space-2);
  font-size: var(--text-body-s);
  color: var(--lilac-soft);
}
.site-footer a {
  color: var(--lilac-soft);
  text-decoration: none;
  font-size: var(--text-body-s);
  transition: color var(--duration-micro) var(--ease);
}
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer .logo:hover,
.site-footer .logo:hover .logo__credential { text-decoration: none; }
.site-footer .legal {
  border-top: 1px solid #4A4F7A;
  padding-top: var(--space-6);
  font-size: var(--text-caption);
  color: var(--lilac-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.site-footer .legal span {
  font-size: var(--text-caption);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .site-footer .legal {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .site-footer .legal span {
    white-space: normal;
  }
}

/* ============================================================
   Privacy / long-form article styles
   ============================================================ */
.prose h2 {
  font-size: var(--text-h2);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}
.prose h3 {
  font-size: var(--text-h3);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.prose p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.prose ul, .prose ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.prose li {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.prose a { color: var(--text-link); }

/* ============================================================
   Image placeholder
   ============================================================ */
.img-placeholder {
  background: var(--cream-2);
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-body-s);
  text-align: center;
  padding: var(--space-8);
  min-height: 220px;
  width: 100%;
  box-sizing: border-box;
}
.img-placeholder svg {
  opacity: 0.35;
}
.img-placeholder span {
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero photo placeholder gets radius-xl to match hero style */
.hero .img-placeholder {
  border-radius: var(--radius-xl);
  min-height: 340px;
}

/* ============================================================
   Site photos — replaces img-placeholder once real images are added
   ============================================================ */
.photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  width: 100%;
  /* Callers set height or min-height inline */
}
.photo-wrap .site-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
/* Standalone site-photo (not inside photo-wrap) */
.site-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* 2-up photo strip */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.photo-strip .photo-wrap {
  height: 280px;
}
@media (max-width: 767px) {
  .photo-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   Utility
   ============================================================ */
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.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;
}
