/* ============================================
   SOCIAL WORK ASSESSMENT — Design System
   Personal, warm, professional — sole practitioner
   ============================================ */

:root {
  /* Warm, professional palette */
  --primary: #5b4a8a;
  --primary-light: #7b6baa;
  --primary-dark: #3d2e6b;
  --secondary: #2a9d8f;
  --secondary-light: #40b4a6;
  --accent: #e07a5f;
  --accent-light: #f4a98a;

  /* Warm neutrals */
  --dark: #2d2d3a;
  --dark-light: #3e3e50;
  --gray-700: #4a4a5a;
  --gray-500: #6b6b7b;
  --gray-400: #8e8e9e;
  --gray-200: #e0dfe6;
  --light: #f7f6f9;
  --warm-bg: #faf9fb;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container-width: 960px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows — softer */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);

  /* Borders */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--tinted {
  background: var(--warm-bg);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.centered {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.section-header .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--secondary-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--light);
  color: var(--primary);
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #5b4a8a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--gray-500);
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 0.6rem 1.25rem !important;
  font-size: 0.82rem !important;
  color: var(--white) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav.open { right: 0; }

  .nav-links {
    flex-direction: column;
    gap: 1.25rem;
  }

  .nav-links a { font-size: 1.05rem; }
}

/* --- Hero Section --- */
.hero {
  padding: 9rem 0 5rem;
  background: var(--warm-bg);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.hero-content {
  max-width: 640px;
}

.hero-logo-wrapper {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: 520px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .hero-logo { width: 300px; }
  .hero-logo-wrapper { margin-bottom: 1.5rem; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(42, 157, 143, 0.08);
  border: 1px solid rgba(42, 157, 143, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-credentials {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.hero-credential {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--gray-400);
}

.hero-credential .icon {
  color: var(--secondary);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .hero { padding: 7rem 0 3rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-credentials { gap: 1rem; }
}

/* --- Stats Bar --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-number { font-size: 1.75rem; }
}

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Highlight cards --- */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.highlight-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.highlight-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.highlight-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.highlight-card h4 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

@media (max-width: 480px) {
  .highlight-grid { grid-template-columns: 1fr; }
}

/* --- Service Cards --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-sm);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--primary-light);
}

.testimonial-card .attribution {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Media mentions --- */
.media-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}

.media-logo {
  width: 120px;
  height: 30px;
  object-fit: contain;
  opacity: 0.4;
  transition: opacity var(--transition);
}

.media-logo:hover {
  opacity: 1;
}

/* --- Membership logos --- */
.membership-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}

.membership-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.membership-logo:hover {
  opacity: 1;
}

/* --- Family message --- */
.family-message {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.family-message p {
  margin-bottom: 1rem;
}

/* --- Guide index --- */
.guide-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.guide-index-card {
  display: block;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.guide-index-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.guide-index-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: var(--dark);
}

.guide-index-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin: 0;
}

/* --- Guide articles --- */
.guide-article {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.guide-article h2 {
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.guide-article h3 {
  color: var(--dark);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.guide-article p {
  margin-bottom: 1rem;
}

/* --- CTA banner --- */
.cta-banner {
  background: var(--primary);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--on-dark {
  background: var(--white);
  color: var(--primary);
}

.btn--on-dark:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* --- Page header (inner pages) --- */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--warm-bg);
  border-bottom: 1px solid var(--gray-200);
}

.page-header .breadcrumb {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.page-header .breadcrumb a { color: var(--gray-400); }
.page-header .breadcrumb a:hover { color: var(--primary); }
.page-header .breadcrumb .separator { color: var(--gray-400); }
.page-header .breadcrumb .current { color: var(--primary); font-weight: 500; }

.page-header h1 { margin-bottom: 0.75rem; }
.page-header p { color: var(--gray-500); font-size: 1.05rem; max-width: 560px; }

/* --- Career Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.25rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.15rem;
}

.timeline-item h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }

.timeline-org {
  font-size: 0.88rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 0.35rem;
}

.timeline-item p:not(.timeline-org) {
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* --- Competency cards --- */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.competency-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.competency-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.competency-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: rgba(42, 157, 143, 0.08);
  color: var(--secondary);
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.competency-card h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.competency-card p { font-size: 0.85rem; color: var(--gray-500); }

/* --- Qualification items --- */
.qual-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.qual-item {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.qual-item .icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.qual-item h4 { font-size: 0.9rem; margin-bottom: 0.1rem; }
.qual-item p { font-size: 0.82rem; color: var(--gray-500); }

/* --- Services page: detail blocks --- */
.service-detail {
  padding: 2.5rem 0;
}

.service-detail + .service-detail {
  border-top: 1px solid var(--gray-200);
}

.service-detail-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-detail-content p {
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.service-detail-features {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.service-detail-features li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.service-detail-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.service-info-card {
  padding: 1.75rem;
  background: var(--warm-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.service-info-card h4 { margin-bottom: 0.75rem; font-size: 0.95rem; }

.service-info-card ul { list-style: none; padding: 0; }

.service-info-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.88rem;
  color: var(--gray-700);
}

.service-info-card li:last-child { border-bottom: none; }

/* --- Process steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 0.75rem;
}

.process-step h4 { margin-bottom: 0.35rem; font-size: 0.95rem; }
.process-step p { font-size: 0.85rem; color: var(--gray-500); }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* --- Assessment checklist --- */
.assessment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.6rem;
}

.assessment-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
}

.assessment-item .check {
  color: var(--secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* --- Contact page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.contact-info-item .icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.contact-info-item h4 { font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-info-item p,
.contact-info-item a { font-size: 0.9rem; color: var(--gray-500); }
.contact-info-item a:hover { color: var(--primary); }

.contact-form {
  padding: 2rem;
  background: var(--warm-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.contact-form h3 { margin-bottom: 0.35rem; }
.contact-form > p { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(91, 74, 138, 0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.credentials-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--warm-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.credentials-box h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.credentials-box p { font-size: 0.85rem; color: var(--gray-500); }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-logo-link {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  width: 220px;
  height: auto;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.footer-contact-item .icon {
  flex-shrink: 0;
  color: var(--secondary-light);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.footer-contact-item a { color: var(--gray-400); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* --- Footer social --- */
.footer-social {
  display: inline-flex;
  align-items: center;
  color: var(--gray-400);
  margin-top: 0.75rem;
  transition: color var(--transition);
}

.footer-social:hover {
  color: var(--white);
}

/* --- Animations (subtle) --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-light); }

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 0.85rem;
}

.skip-link:focus { top: 1rem; }

/* --- Profile Photo --- */
.profile-photo {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.profile-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.5rem;
}

@media (max-width: 768px) {
  .profile-photo {
    width: 200px;
    height: 200px;
  }

  .profile-photo-wrapper {
    justify-content: center;
    padding-top: 0;
    padding-bottom: 1rem;
  }
}

/* --- Hero with photo layout --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-grid .hero-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    order: -1;
  }
}

/* --- FAQ items --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- Guide category sections (hub page) --- */
.guide-category {
  margin-bottom: 3rem;
}

.guide-category:last-child {
  margin-bottom: 0;
}

.guide-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.guide-category-header .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.guide-category-header h2 {
  font-size: 1.35rem;
  margin: 0;
}

.guide-category-count {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-left: auto;
}

/* Guide hub cards (larger, more detailed) */
.guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.guide-hub-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.guide-hub-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
  transform: translateY(-2px);
  color: inherit;
}

.guide-hub-card .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.guide-hub-card h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.guide-hub-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
  flex-grow: 1;
}

.guide-hub-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

.guide-hub-card:hover .read-more {
  color: var(--primary-light);
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* --- Header scroll state (#6) --- */
.header.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* --- Mobile nav backdrop (#7) --- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

/* --- Testimonial carousel (#4) --- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin: -0.5rem;
  padding: 0.5rem;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .testimonial-slide {
    grid-template-columns: 1fr;
  }
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.testimonial-dot:hover {
  background: var(--gray-400);
}

.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

/* --- Guide search (#11) --- */
.guide-search {
  max-width: 400px;
  margin: 0 auto 2rem;
  position: relative;
}

.guide-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark);
  outline: none;
  transition: var(--transition);
}

.guide-search input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(91, 74, 138, 0.08);
}

.guide-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.guide-no-results {
  text-align: center;
  color: var(--gray-400);
  padding: 2rem;
  display: none;
  font-size: 0.95rem;
}

/* --- SVG icons (#5) --- */
.icon-svg {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-card .icon-svg,
.service-card .icon-svg {
  display: block;
  margin-bottom: 0.75rem;
}

.hero-credential .icon-svg {
  width: 0.9rem;
  height: 0.9rem;
  stroke-width: 3;
}

.footer-contact-item .icon-svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--secondary-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info-item .icon-svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.qual-item .icon-svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  stroke: var(--secondary);
}

/* --- Insight article pages --- */
.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

.insight-meta time {
  color: var(--gray-500);
}

.insight-meta .separator {
  color: var(--gray-200);
}

.insight-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background: rgba(42, 157, 143, 0.08);
  color: var(--secondary);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.insight-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
  transform: translateY(-3px);
  color: inherit;
}

.insight-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.insight-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-card .insight-meta {
  margin-bottom: 0.5rem;
}

.insight-card h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.insight-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
  flex-grow: 1;
}

.insight-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

.insight-card:hover .read-more {
  color: var(--primary-light);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* --- Insight article hero banner --- */
.insight-hero {
  position: relative;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .insight-hero {
    height: 150px;
  }
}

/* --- Insights page --- */
.insights-empty {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.insights-empty .icon-svg {
  width: 3rem;
  height: 3rem;
  stroke: var(--gray-200);
  margin-bottom: 1rem;
}

.insights-empty h3 {
  margin-bottom: 0.5rem;
}

.insights-empty p {
  color: var(--gray-400);
}

/* --- Print stylesheet (#8) --- */
@media print {
  .header,
  .nav-backdrop,
  .back-to-top,
  .cta-banner,
  .hero-buttons,
  .testimonial-dots,
  .guide-search,
  .contact-form,
  .skip-link {
    display: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.5;
    color: #000;
  }

  .hero { padding-top: 2rem; }
  .section { padding: 2rem 0; }
  .container { max-width: 100%; padding: 0; }

  a { color: #000; text-decoration: underline; }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
    font-style: italic;
  }

  a[href^="#"]::after,
  a[href^="tel:"]::after,
  a[href^="mailto:"]::after,
  .logo::after,
  .footer-links a::after {
    content: none;
  }

  .footer {
    background: #fff;
    color: #000;
    border-top: 1pt solid #ccc;
    padding: 1rem 0;
  }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-photo, .profile-photo {
    max-width: 150px;
    max-height: 150px;
  }

  .stats-row { border: 1pt solid #ccc; }
  .stat-number { color: #000; }

  .icon-svg { stroke: #000; }
}


/* ============================================
   v2 design pass, 14 September 2026
   Appended after the original system. Self-hosted type,
   two-colour palette from the logo, no scroll animation,
   photo-led hero, featured testimonials, long-page shape.
   ============================================ */

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/SourceSerif4-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/SourceSans3-400.woff2') format('woff2');
}

:root {
  --primary: #5c4772;
  --primary-light: #7a6690;
  --primary-dark: #3f2f52;
  --secondary: #2f8f5b;
  --secondary-light: #3fa66d;
  --accent: #2f8f5b;
  --accent-light: #3fa66d;
  --font-heading: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --container-width: 1040px;
}

html { font-size: 17px; }
body { color: #33333f; line-height: 1.7; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.2; }
h3 { font-size: 1.3rem; }
.section-header .label,
.hero-badge,
.btn,
.nav-links a,
.stat-label,
.testimonial-card .attribution,
.form-group label,
.contact-info-item h4,
.highlight-card h4,
.service-card h3,
.guide-index-card h3,
.competency-card h4 { font-family: var(--font-body); }
.service-card h3, .highlight-card h4, .guide-index-card h3, .competency-card h4 { font-weight: 600; }
.section-header .label { color: #25734a; }
.btn { font-weight: 600; }
.btn--primary { background: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }

/* No scroll-triggered reveal: everything renders on first paint */
.fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }

/* --- Hero, photo-led --- */
.hero { padding: 7.5rem 0 4rem; background: var(--white); }
.hero::after { display: none; }
.hero-logo-wrapper { display: none; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-content { max-width: none; }
.hero-badge {
  background: rgba(47, 143, 91, 0.08);
  border-color: rgba(47, 143, 91, 0.2);
  color: #25734a;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero-description { font-size: 1.15rem; color: #4a4a5a; line-height: 1.65; margin-bottom: 1.75rem; max-width: 560px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem 1.5rem;
  max-width: 560px;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
@media (max-width: 640px) { .hero-proof { grid-template-columns: 1fr; } }
.hero-proof li { font-size: 0.9rem; color: #6b6b7b; display: flex; flex-direction: column; gap: 0.25rem; line-height: 1.3; padding-left: 0.85rem; border-left: 2px solid var(--gray-200); }
.hero-proof strong { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 600; color: var(--primary); line-height: 1; }
.hero-buttons { margin-bottom: 1.75rem; }
.hero-credentials { gap: 0.75rem 1.25rem; padding-top: 1.25rem; }
.hero-credential { font-size: 0.82rem; color: #6b6b7b; }
.hero-photo {
  width: 100%;
  height: auto;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border: 0;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(60, 40, 90, 0.18);
  justify-self: end;
}
@media (max-width: 900px) {
  .hero { padding: 6.5rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-grid { display: grid; grid-template-columns: 1fr; }
  .hero-content { order: 1; }
  .hero-grid .hero-photo { order: 2; width: 100%; max-width: 320px; height: auto; margin: 0; aspect-ratio: 1 / 1; justify-self: start; }
  .hero-proof strong { font-size: 1.3rem; }
}

/* --- Stats: still, quiet, four --- */
.stats-row { margin-top: 0; border-radius: var(--radius-md); }
.stat-number { font-family: var(--font-heading); font-weight: 600; font-size: 2.4rem; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: #6b6b7b; }

/* --- Services grid: six, three across --- */
.service-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { border-radius: var(--radius-md); }
.service-card .icon-svg { color: var(--secondary); }
.service-card p { font-size: 0.95rem; }

/* --- Testimonials: three, featured --- */
.testimonial-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.testimonial-card { background: var(--white); padding: 2rem; border-radius: var(--radius-md); }
.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--dark);
  border-left: 0;
  padding-left: 0;
}
.testimonial-card--lead blockquote { font-size: 1.45rem; }
.testimonial-card blockquote::before { content: '\201C'; color: var(--secondary); font-size: 2.2rem; line-height: 0; margin-right: 0.15rem; vertical-align: -0.35em; }
.testimonial-card .attribution { color: #25734a; letter-spacing: 0.06em; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* --- Media and membership strips --- */
.media-logo { opacity: 0.55; filter: grayscale(1); }
.media-logo:hover { opacity: 1; filter: none; }
.membership-logo { opacity: 0.85; height: 44px; }

/* --- Long pages: article with a side rail --- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.5rem;
  align-items: start;
}
.article-layout .guide-article { margin: 0; max-width: 680px; }
.article-rail { position: sticky; top: 6rem; }
.fee-box {
  background: var(--warm-bg);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.fee-box .fee-amount { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 600; color: var(--primary); line-height: 1; margin-bottom: 0.25rem; }
.fee-box .fee-note { font-size: 0.9rem; color: #6b6b7b; margin-bottom: 1rem; }
.fee-box ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.fee-box li { font-size: 0.92rem; padding: 0.4rem 0; border-top: 1px solid var(--gray-200); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; }
.fee-box li span:last-child { text-align: right; white-space: nowrap; color: var(--dark); font-weight: 500; }
.fee-box li:first-child { border-top: 0; }
.fee-box .btn { width: 100%; justify-content: center; }
.rail-nav { font-size: 0.9rem; }
.rail-nav h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6b7b; margin-bottom: 0.5rem; }
.rail-nav a { display: block; padding: 0.3rem 0; color: #4a4a5a; border-bottom: 1px solid var(--gray-200); }
.rail-nav a:hover { color: var(--primary); }
.guide-article h3 { scroll-margin-top: 6rem; margin-top: 2.5rem; }
.mid-cta {
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mid-cta p { margin: 0; color: #fff; font-size: 1.05rem; max-width: 520px; }
.mid-cta .btn { background: #fff; color: var(--primary); }
.mid-cta .btn:hover { background: var(--warm-bg); color: var(--primary-dark); }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .article-rail { position: static; }
  .rail-nav a { display: inline-block; margin: 0 0.9rem 0.4rem 0; border-bottom: 0; text-decoration: underline; }
  .rail-nav h4 { margin-bottom: 0.25rem; }
}

/* --- About: photo and figures in one row, story full width --- */
.about-intro { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.about-intro .profile-photo { width: 100%; height: auto; border: 0; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-story { max-width: 720px; }
.about-story h2 { margin-bottom: 1rem; }
@media (max-width: 800px) { .about-intro { grid-template-columns: 1fr; } .about-intro .profile-photo { max-width: 320px; } }

/* --- Contact: shorter form, one route --- */
.contact-form { background: var(--white); }
.contact-form .form-group textarea { min-height: 140px; }
.contact-next { font-size: 0.9rem; color: #6b6b7b; margin-top: 1rem; }

/* --- Footer and nav polish --- */
.nav-links a { font-size: 0.95rem; }
.footer-logo-img { max-width: 200px; }
.cta-banner h2 { font-family: var(--font-heading); }

/* --- Feedback page: all twelve --- */
.testimonial-grid--all { grid-template-columns: repeat(2, 1fr); }
.testimonial-grid--all .testimonial-card--lead { grid-column: 1 / -1; }
.testimonial-grid--all .testimonial-card--lead blockquote { font-size: 1.6rem; }
@media (max-width: 800px) { .testimonial-grid--all { grid-template-columns: 1fr; } }

.media-logo--wide { width: 190px; height: 30px; }

/* --- Focus group, 14 Sep 2026 --- */
.footer-links a, .footer p, .footer-contact-item { color: #b8b8c4; }
.footer-links a:hover { color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; box-shadow: none; }
@media (max-width: 768px) { .nav { height: 100dvh; overflow-y: auto; } }
.hero-family { font-size: 0.95rem; color: #4a4a5a; margin: -0.5rem 0 1.5rem; }
.hero-family a { font-weight: 600; text-decoration: underline; }
.rail-nav p.rail-title { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6b7b; margin-bottom: 0.5rem; }
.family-note { background: var(--warm-bg); border-left: 4px solid #25734a; border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.family-note h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.family-note p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.form-required-note { font-size: 0.85rem; color: #6b6b7b; margin-bottom: 1rem; }
.media-bio { font-size: 1.15rem; line-height: 1.6; max-width: 680px; }
.media-facts { list-style: none; padding: 0; margin: 1.5rem 0; max-width: 680px; }
.media-facts li { padding: 0.5rem 0; border-top: 1px solid var(--gray-200); display: grid; grid-template-columns: 180px 1fr; gap: 1rem; font-size: 0.98rem; }
.media-facts li strong { color: var(--dark); }
.guide-article h2 { font-size: 1.35rem; scroll-margin-top: 6rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }

/* --- Fees section --- */
.fees-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.fees-grid h3 { margin-bottom: 0.75rem; }
.fees-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.fees-list li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid var(--gray-200); font-size: 0.98rem; }
.fees-list li:first-child { border-top: 0; }
.fees-list li span:last-child { text-align: right; color: var(--dark); font-weight: 500; white-space: nowrap; }
.fees-note { font-size: 0.92rem; color: #6b6b7b; }
@media (max-width: 800px) { .fees-grid { grid-template-columns: 1fr; gap: 2rem; } .fees-list li span:last-child { white-space: normal; } }
