/* ============================================================
   KiNDly Connect — styles.css
   ============================================================
   QUICK CUSTOMISATION: everything visual stems from the :root
   block below. Change a value there and it updates site-wide.
   ============================================================ */

/* ---- Fonts (Google Fonts) -------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ---- Variables ------------------------------------------ */
:root {
  /* Brand colours */
  --navy:      #1D3454;
  --gold:      #C8922A;
  --white:     #FFFFFF;
  --gray:      #F2F5F9;   /* light section backgrounds */
  --border:    rgba(29, 52, 84, 0.12);

  /* Text */
  --text:      #1A1A2E;
  --text-mid:  #4B5268;
  --text-sub:  #7E8496;

  /* Fonts */
  --f-head: 'Jost', sans-serif;
  --f-body: 'DM Sans', sans-serif;

  /* Spacing (8px base) */
  --s1:  0.5rem;
  --s2:  1rem;
  --s3:  1.5rem;
  --s4:  2rem;
  --s6:  3rem;
  --s8:  4rem;
  --s12: 6rem;

  /* Layout */
  --max-w:       1180px;
  --pad:         clamp(1.25rem, 5vw, 2.5rem);
  --nav-h:       68px;
  --radius:      12px;  /* card radius */
  --radius-pill: 100px; /* button radius */
}

/* ---- Reset ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ---- Base ---------------------------------------------- */
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ----------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

.display {
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.0625rem, 2vw, 1.25rem); }
h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p { max-width: 65ch; }
p + p { margin-top: var(--s2); }

/* Gold underline accent — applied to key section headings */
.section > .container > h2,
.service-category > h2,
.about-text h2,
.page-hero h1 {
  display: inline-block;
}
.section > .container > h2::after,
.service-category > h2::after,
.about-text h2::after,
.page-hero h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* ---- Layout -------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section    { padding: var(--s12) 0; }
.section-sm { padding: var(--s8) 0; }

/* ---- Buttons ------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.875em 1.875em;
  font-family: var(--f-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: #b07a22; }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--gray); }

/* ---- Navigation ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(29, 52, 84, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo { display: flex; align-items: center; }
.logo img { height: 38px; width: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.site-nav a {
  font-family: var(--f-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.active {
  color: var(--navy);
  font-weight: 600;
}

.site-nav .btn-nav {
  background: var(--navy);
  color: var(--white);
  padding: 0.55em 1.375em;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.site-nav .btn-nav:hover { background: #152845; color: var(--white); transform: none; }
.site-nav .btn-nav.active { color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — navy background, image right column, full-bleed
   ============================================================ */
.hero {
  background: var(--navy);
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  height: calc(88vh - var(--nav-h));
  max-height: 900px;
  min-height: 480px;
}

/* Full-width container inside hero so image bleeds to viewport edge */
.hero > .container {
  max-width: 100%;
  padding: 0;
  height: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  height: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  /* Left padding aligns text with the rest of the page */
  padding: var(--s8) var(--s8) var(--s8) max(var(--pad), calc((100vw - var(--max-w)) / 2 + var(--pad)));
}

.hero-text .display {
  color: var(--white);
  margin-bottom: var(--s4);
}

.hero-text > p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--s6);
  max-width: 46ch;
  font-size: 1.0625rem;
}

.hero-image {
  overflow: hidden;
  align-self: stretch;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ============================================================
   HOMEPAGE — Who we support
   ============================================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  margin-top: var(--s8);
}

.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: var(--s3);
  transition: box-shadow 0.2s, transform 0.2s;
}
.support-card:hover {
  box-shadow: 0 8px 24px rgba(29, 52, 84, 0.1);
  transform: translateY(-2px);
}
.support-card h3 {
  margin-bottom: var(--s2);
  font-size: 1.125rem;
}
.support-card > p {
  color: var(--text-mid);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 100%;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375em;
  margin-top: var(--s3);
  font-family: var(--f-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.625em; }

/* ============================================================
   HOMEPAGE — What we do
   ============================================================ */
.section-intro {
  color: var(--text-mid);
  margin-top: var(--s2);
  max-width: 55ch;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s6);
}

.activity-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--s3);
  border-left: 4px solid var(--gold);
}

.activity-item strong {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: var(--s1);
}

.activity-item p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  max-width: 100%;
  margin: 0;
}

/* ============================================================
   HOMEPAGE — About CIC (navy strip)
   ============================================================ */
.about-strip {
  background: var(--navy);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--s8);
}

.about-image {
  overflow: hidden;
  border-radius: var(--radius);
}
.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-text h2 {
  color: var(--white);
  margin-bottom: var(--s4);
}
.about-text p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 48ch;
}
.about-text p + p { margin-top: var(--s3); }
.about-text .btn-light { margin-top: var(--s6); }

/* ============================================================
   HOMEPAGE — Testimonial
   ============================================================ */
.testimonial {
  background: var(--gray);
  text-align: center;
}

.testimonial blockquote {
  max-width: 640px;
  margin: 0 auto;
}
.testimonial blockquote p {
  font-family: var(--f-head);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  max-width: 100%;
  margin: 0;
}
.testimonial blockquote p::before { content: '\201C'; color: var(--gold); }
.testimonial blockquote p::after  { content: '\201D'; color: var(--gold); }

.testimonial cite {
  display: block;
  margin-top: var(--s3);
  font-size: 0.875rem;
  font-style: normal;
  font-family: var(--f-head);
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

.testimonial-cta {
  margin-top: var(--s6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white);
  color: var(--text-mid);
  padding: var(--s8) 0 var(--s4);
  border-top: 4px solid var(--gold);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s8);
  padding-bottom: var(--s6);
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: var(--s2);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 28ch;
  color: var(--text-sub);
}

.footer-col h4 {
  color: var(--navy);
  margin-bottom: var(--s3);
}

.footer-col ul li + li { margin-top: var(--s2); }
.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-mid);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: var(--s3);
  font-size: 0.8125rem;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  flex-wrap: wrap;
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: var(--s12) 0 var(--s8);
  border-radius: 0 0 32px 32px;
  margin-bottom: 2px;
}
.page-hero h1 { color: var(--white); }
.page-hero h1::after { background: var(--gold); }
.page-hero .subhead {
  color: rgba(255, 255, 255, 0.68);
  margin-top: var(--s3);
  font-size: 1.0625rem;
  max-width: 56ch;
}
.page-hero .subhead a { color: var(--gold); }

/* ============================================================
   FOUNDER PAGE
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--s8);
  align-items: start;
}

.founder-photo {
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
}
.founder-photo img {
  width: 100%;
  border-radius: var(--radius);
}

.founder-bio h2 { margin-bottom: var(--s4); }
.founder-bio p { color: var(--text-mid); }
.founder-bio p + p { margin-top: var(--s3); }

.credentials {
  margin-top: var(--s6);
  padding: var(--s4);
  background: var(--gray);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.credentials h4 {
  margin-bottom: var(--s3);
  color: var(--navy);
}
.credentials li {
  font-size: 0.9375rem;
  color: var(--text-mid);
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  line-height: 1.55;
}
.credentials li:last-child { border-bottom: none; }

.founder-cta {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-top: var(--s6);
}

.workshop-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.workshop-pair img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-body { padding: var(--s12) 0; }

.service-category {
  padding: var(--s8) 0;
  border-top: 1px solid var(--border);
}
.service-category:first-child { border-top: none; padding-top: 0; }

.service-category h2 { margin-bottom: var(--s6); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s4);
}

.service-card {
  background: var(--white);
  padding: var(--s4);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(29, 52, 84, 0.1);
  transform: translateY(-2px);
}

.service-card-top { margin-bottom: var(--s3); }
.service-card h3 { font-size: 1.0625rem; }

.service-card > p {
  color: var(--text-mid);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 100%;
  flex: 1;
}
.service-card > p + p { margin-top: var(--s2); }

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  margin: var(--s3) 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}
.service-meta span {
  font-family: var(--f-head);
  font-size: 0.8125rem;
  color: var(--text-sub);
}

.service-card .btn {
  align-self: flex-start;
  font-size: 0.875rem;
  padding: 0.65em 1.4em;
}

.service-card:has(.service-card-img) { padding-top: 0; }
.service-card-img {
  margin: 0 calc(-1 * var(--s4)) var(--s4);
  height: 160px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--s8);
  align-items: start;
}

.contact-info h3 { margin-bottom: var(--s3); }
.contact-info > p { color: var(--text-mid); font-size: 0.9375rem; }

.contact-details {
  margin-top: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.contact-detail dt {
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.contact-detail dd { font-size: 0.9375rem; color: var(--text-mid); }
.contact-detail dd a { color: var(--gold); }
.contact-detail dd a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--gray);
  padding: var(--s6);
  border-radius: var(--radius);
}

.form-row { margin-bottom: var(--s3); }
.form-row label {
  display: block;
  font-family: var(--f-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75em 1em;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row textarea { resize: vertical; min-height: 150px; }

.form-row-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-mid);
  pointer-events: none;
}

/* ============================================================
   REVIEWS PAGE
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}

.review-card {
  background: var(--white);
  padding: var(--s4);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
}

.review-card blockquote p {
  font-family: var(--f-head);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.6;
  max-width: 100%;
}
.review-card blockquote p::before { content: '\201C'; color: var(--gold); }
.review-card blockquote p::after  { content: '\201D'; color: var(--gold); }

.review-card cite {
  display: block;
  margin-top: var(--s3);
  font-size: 0.875rem;
  font-style: normal;
  font-family: var(--f-head);
  color: var(--text-sub);
}

.reviews-cta {
  margin-top: var(--s8);
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
}
.reviews-cta p { color: var(--text-mid); margin: 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays for grid children — CSS only, no extra JS needed */
.support-grid    [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.support-grid    [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.support-grid    [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.activities-grid [data-reveal]:nth-child(2) { transition-delay: 0.07s; }
.activities-grid [data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.activities-grid [data-reveal]:nth-child(4) { transition-delay: 0.21s; }
.activities-grid [data-reveal]:nth-child(5) { transition-delay: 0.28s; }
.activities-grid [data-reveal]:nth-child(6) { transition-delay: 0.35s; }
.service-cards   [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.service-cards   [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.reviews-grid    [data-reveal]:nth-child(2) { transition-delay: 0.09s; }
.reviews-grid    [data-reveal]:nth-child(3) { transition-delay: 0.18s; }
.reviews-grid    [data-reveal]:nth-child(4) { transition-delay: 0.27s; }

/* ---- Cursor glow ---------------------------------------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 146, 42, 0.30) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

/* ---- Parallax images — fixed px offsets (% margin-top is width-relative) ---- */
.photo-strip [data-parallax],
.hero-image [data-parallax],
.about-image [data-parallax],
.page-hero-split .page-hero-image [data-parallax] {
  height: calc(100% + 100px) !important;
  margin-top: -50px;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; will-change: auto !important; }
}

/* ============================================================
   SERVICES SPLIT HERO
   ============================================================ */
.page-hero-split {
  padding: 0;
  overflow: hidden;
  min-height: 380px;
}
.page-hero-split .page-hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 380px;
}
.page-hero-split .page-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s8) var(--s6) var(--s8)
    max(var(--pad), calc((100vw - var(--max-w)) / 2 + var(--pad)));
}
.page-hero-split .page-hero-image { overflow: hidden; }
.page-hero-split .page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.area-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  max-width: 560px;
}
.area-panel { padding: var(--s4); border-radius: var(--radius); }
.area-panel--active { background: var(--navy); }
.area-panel--active h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}
.area-panel--active p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.area-panel--soon {
  background: var(--white);
  border: 2px dashed var(--border);
}
.area-panel--soon h3 {
  color: var(--text-sub);
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}
.area-panel--soon p {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin: 0;
}
.coming-soon-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--f-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--s2);
}
.team-photo {
  margin-top: var(--s6);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-photo img { width: 100%; height: auto; display: block; }

/* ---- Full-width photo strip ---- */
.photo-strip {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ---- Commissioners statement ---- */
.commissioners-statement {
  max-width: 72ch;
  padding: var(--s6);
  background: var(--navy);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.commissioners-statement p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--s4);
  max-width: none;
}

/* ============================================================
   OUR MISSION
   ============================================================ */
.mission-steps {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-top: var(--s6);
  max-width: 760px;
}
.mission-step {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.mission-step-num {
  font-family: var(--f-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 2rem;
  line-height: 1;
}
.mission-step p {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  margin: 0;
  max-width: none;
  line-height: 1.5;
}

/* ============================================================
   THE KINDLY WAY
   ============================================================ */
.kindly-way-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s2);
  margin-top: var(--s8);
}
.kindly-way-card {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kindly-way-header {
  background: var(--gold);
  padding: var(--s3) var(--s2);
  text-align: center;
}
.kindly-way-header .stage-name {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  letter-spacing: 0.07em;
}
.kindly-way-header .stage-type {
  font-family: var(--f-head);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.78);
  display: block;
  margin-top: 0.35rem;
  line-height: 1.3;
}
.kindly-way-body {
  background: var(--navy);
  padding: var(--s3) var(--s2);
  flex: 1;
}
.kindly-way-body strong {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--s2);
  line-height: 1.4;
}
.kindly-way-body p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .support-grid     { grid-template-columns: repeat(2, 1fr); }
  .activities-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .footer-brand     { grid-column: 1 / -1; }
  .kindly-way-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* --- Nav --- */
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: var(--s3) var(--pad) var(--s4);
    box-shadow: 0 6px 20px rgba(29, 52, 84, 0.12);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul      { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav li      { width: 100%; }
  .site-nav a {
    display: block;
    padding: var(--s2) 0;
    border-bottom: 1px solid rgba(29, 52, 84, 0.06);
    font-size: 1.0625rem;
    color: var(--text);
  }
  .site-nav a.active {
    color: var(--navy);
    padding-left: var(--s2);
    border-left: 3px solid var(--gold);
  }
  .site-nav .btn-nav {
    margin-top: var(--s2);
    display: inline-block;
    border-bottom: none;
    border-left: none !important;
    padding-left: 1.375em;
  }

  /* --- Hero — mobile --- */
  .hero {
    height: auto;
    min-height: auto;
    max-height: none;
    border-radius: 0 0 20px 20px;
  }
  .hero > .container { height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image {
    order: 1;
    height: 240px;
  }
  .hero-image img { height: 240px; object-position: center 25%; }
  .hero-text {
    order: 2;
    padding: var(--s6) var(--pad) var(--s8);
  }

  /* --- Support cards --- */
  .support-grid { grid-template-columns: 1fr; gap: var(--s2); }

  /* --- About strip --- */
  .about-inner { grid-template-columns: 1fr; }
  .about-image img { height: 280px; }

  /* --- Activities --- */
  .activities-grid { grid-template-columns: 1fr; }

  /* --- Testimonial --- */
  /* (single column, centred, looks fine) */

  /* --- Footer --- */
  .footer-inner  { grid-template-columns: 1fr; gap: var(--s6); }
  .footer-bottom { flex-direction: column; gap: var(--s1); }

  /* --- Services split hero --- */
  .page-hero-split { min-height: auto; padding: 0; }
  .page-hero-split .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-split .page-hero-text { padding: var(--s6) var(--pad); }
  .page-hero-split .page-hero-image { height: 60vh; border-radius: 0; }

  /* --- Team page --- */
  .area-panels { grid-template-columns: 1fr; }

  /* --- Contact --- */
  .contact-grid      { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--s4); }
  .form-row-pair     { grid-template-columns: 1fr; }

  /* --- Services --- */
  .service-cards { grid-template-columns: 1fr; }

  /* --- Reviews --- */
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-cta  { flex-direction: column; align-items: flex-start; }

  /* --- Mission + KiNDly Way --- */
  .mission-step { padding: var(--s3); }
  .kindly-way-grid { grid-template-columns: 1fr; }

  /* --- Sections --- */
  .section    { padding: var(--s8) 0; }
  .section-sm { padding: var(--s6) 0; }
  .page-hero  { padding: var(--s8) 0 var(--s6); border-radius: 0 0 20px 20px; }
  .page-hero-split { padding: 0; }

  /* --- Blog --- */
  .blog-grid { grid-template-columns: 1fr; }
  .article-cover { height: 240px; margin-top: var(--s6); }
  .article-body { padding: var(--s6) var(--pad); }

  /* --- Feedback --- */
  .rating-rows { grid-template-columns: 1fr; }
  .form-row.email-field { max-width: none; }

  /* --- Article pages --- */
  .article-hero { padding: var(--s6) 0 var(--s4); border-radius: 0 0 20px 20px; }
  .article-hero h1 { max-width: none; }
}

/* ============================================================
   BLOG — card grid (listing + homepage preview)
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-top: var(--s6);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(29,52,84,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(29,52,84,0.13);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body {
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-sub);
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.blog-card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--s2);
  line-height: 1.3;
  color: var(--navy);
}
.blog-card p {
  color: var(--text-mid);
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: var(--s3);
}
.card-link {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-top: auto;
}

.blog-cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--s6);
}

/* ============================================================
   BLOG ARTICLE PAGE
   ============================================================ */
.article-hero {
  background: var(--navy);
  padding: var(--s12) 0 var(--s8);
  border-radius: 0 0 32px 32px;
}
.article-hero h1 { color: var(--white); max-width: 760px; }
.article-hero h1::after { background: var(--gold); }
.article-date {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}
.article-cover {
  max-width: 860px;
  margin: var(--s8) auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--s8) var(--pad);
}
.article-body h2 { margin-top: var(--s6); margin-bottom: var(--s3); }
.article-body p  { margin-bottom: var(--s4); color: var(--text-mid); }
.article-body ul,
.article-body ol { list-style: disc; padding-left: var(--s4); margin-bottom: var(--s4); color: var(--text-mid); }
.article-body li { margin-bottom: var(--s1); }
.article-back {
  border-top: 1px solid var(--border);
  padding-top: var(--s6);
  margin-top: var(--s6);
}

/* ============================================================
   FEEDBACK PAGE — star ratings
   ============================================================ */
.feedback-intro { max-width: 620px; }
.email-field { max-width: 420px; }

.rating-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4) var(--s8);
  margin-bottom: var(--s6);
}
.rating-group > label {
  display: block;
  font-weight: 600;
  font-family: var(--f-head);
  color: var(--navy);
  margin-bottom: var(--s2);
  font-size: 0.9375rem;
}
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
  width: fit-content;
}
.star-rating input[type="radio"] { display: none; }
.star-rating label {
  cursor: pointer;
  font-size: 2rem;
  color: #d4d9e1;
  transition: color 0.1s;
  line-height: 1;
}
.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--gold); }

/* ============================================================
   MOBILE OVERRIDES — blog / article / feedback
   (These must come after the base styles above)
   ============================================================ */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-body { padding: var(--s3); }

  .article-hero { padding: var(--s6) 0 var(--s4); border-radius: 0 0 20px 20px; }
  .article-hero h1 { max-width: none; }
  .article-cover { height: 220px; margin-top: var(--s4); }
  .article-body { padding: var(--s6) var(--pad); }

  .rating-rows { grid-template-columns: 1fr; }
  .form-row.email-field { max-width: none; }
}
