/* ============================================
   Every Second Care
   Brand: navy-teal #1B4258 / blue #2F85B5 / olive #7C7F2C / mustard #A1A42F
   Bold editorial system — flat colour blocks, sharp square edges,
   big index-number typography in place of icon roundels, a full-bleed
   duotone poster hero, no pills / no soft shadows / no rounded cards.
   ============================================ */

:root {
  --navy: #12232E;
  --navy-mid: #1B4258;
  --navy-light: #2F85B5;
  --olive: #7C7F2C;
  --olive-light: #A1A42F;
  --cream: #F7F5EF;
  --cream-dark: #EFEBDF;
  --white: #FFFFFF;
  --text: #16232B;
  --text-soft: #4B5A62;
  --border: #D8DDD6;
  --radius: 0px;
  --radius-sm: 0px;
  --shadow: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Mulish', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lexend', 'Mulish', sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.55em 0;
  letter-spacing: -0.8px;
}

.script {
  font-family: 'Lexend', 'Mulish', sans-serif;
  font-weight: 700;
  font-style: normal;
}

p { margin: 0 0 1.1em 0; color: var(--text-soft); }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-light); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--olive-light);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--olive-light);
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 0;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

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

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-lockup svg { flex-shrink: 0; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.main-nav a {
  font-size: 12.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  position: relative;
  padding: 6px 0;
}

nav.main-nav a.active { color: var(--olive-light); }

nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--olive-light);
  transition: width 0.2s ease;
}
nav.main-nav a:hover::after { width: 100%; }

.nav-cta {
  margin-left: 4px;
}
nav.main-nav a.nav-cta,
nav.main-nav a.nav-cta:hover {
  color: var(--navy);
  background: var(--olive-light);
  padding: 12px 26px;
  font-size: 12.5px;
  letter-spacing: 0.8px;
  border-radius: 0;
}
nav.main-nav a.nav-cta:hover { background: var(--navy); color: var(--white); }
nav.main-nav a.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero: full-bleed duotone poster ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Let the hero's own container run edge-to-edge so the photo layer
   can be a true full-bleed background; the text column re-creates
   the normal container gutter itself, below. */
.hero .container {
  padding: 0;
  max-width: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-inner > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-left: max(28px, calc((100vw - 1180px) / 2 + 28px));
  padding: 150px 40px 96px 0;
}

.hero h1 {
  color: var(--white);
  font-size: 54px;
  margin-bottom: 22px;
}

.hero p.lead {
  color: rgba(255,255,255,0.86);
  font-size: 17.5px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(18,35,46,0.97) 0%, rgba(18,35,46,0.88) 32%, rgba(18,35,46,0.55) 62%, rgba(18,35,46,0.35) 100%);
}

.hero-logo-card {
  background: var(--cream);
  border-radius: 0;
  padding: 40px 34px;
  box-shadow: none;
  border: 2px solid var(--navy);
  max-width: 340px;
  margin: 0 auto;
}
.hero-logo-card img { width: 100%; height: auto; display: block; }

.hero-photo-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}
.hero-photo-card img,
.hero-photo-card video {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
  filter: grayscale(45%) contrast(1.12) brightness(0.85);
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-card video { display: none; }
  .hero-photo-card { background: center/cover no-repeat url("../img/photos/hero-video-poster.jpg"); }
}

.info-panel-logo {
  margin-top: 8px;
  padding-top: 26px;
  border-top: 2px solid var(--navy);
  display: flex;
  justify-content: center;
}
.info-panel-logo img { width: 100%; max-width: 190px; height: auto; display: block; }

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 68px 0 56px 0;
  text-align: left;
  position: relative;
  border-bottom: 6px solid var(--olive-light);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; font-size: 40px; position: relative; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin: 0; position: relative; }
.page-hero .eyebrow { color: var(--olive-light); position: relative; }
.page-hero .eyebrow::before { background: var(--olive-light); }
.page-hero .container { position: relative; }
.page-hero-icon {
  position: absolute;
  right: max(-10px, calc((100vw - 1180px) / -2 - 10px));
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  opacity: 0.08;
  pointer-events: none;
}
.page-hero-icon svg { width: 100%; height: 100%; stroke: var(--white); fill: none; }
@media (max-width: 900px) { .page-hero-icon { display: none; } }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.on-cream { background: var(--cream); }
section.on-white { background: var(--white); }

/* Repurposed as a bold dark block for graphic contrast (photo mosaic,
   feature bands) rather than a second light tone. */
section.on-cream-dark {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
}
section.on-cream-dark h2,
section.on-cream-dark h3,
section.on-cream-dark h4 { color: var(--white); }
section.on-cream-dark p { color: rgba(255,255,255,0.7); }
section.on-cream-dark .eyebrow { color: var(--olive-light); }
section.on-cream-dark .photo-placeholder.has-photo img {
  filter: grayscale(30%) contrast(1.1) saturate(1.05);
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Trust strip — dark ticker bar, hairline dividers */
.trust-strip {
  background: var(--navy);
  border-top: none;
  border-bottom: none;
  padding: 24px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: none;
  border-radius: 0;
  border-left: 2px solid var(--olive-light);
  padding: 2px 0 2px 14px;
}
.trust-item svg { width: 19px; height: 19px; stroke: var(--olive-light); flex-shrink: 0; }

/* Cards — flat, hairline border, big index numeral instead of an icon roundel */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: card-idx;
  border-top: 2px solid var(--navy);
  border-left: 1px solid var(--border);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  counter-increment: card-idx;
  background: var(--white);
  border: none;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 40px 30px 34px 30px;
  transition: background 0.15s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: counter(card-idx, decimal-leading-zero);
  display: block;
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: var(--olive-light);
  margin-bottom: 18px;
  letter-spacing: 0;
}
.card:hover { background: var(--cream); }

.card .icon-wrap { display: none; }

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 14.5px; }
.card ul { margin: 12px 0 0 0; padding-left: 18px; color: var(--text-soft); font-size: 14px; }
.card ul li { margin-bottom: 6px; }

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse .split-art { order: 2; }
.split-art {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 0;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-art svg { width: 100%; max-width: 260px; height: auto; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0 0; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}
.check-list li:last-child { border-bottom: none; }
.check-list svg { width: 18px; height: 18px; stroke: var(--olive-light); flex-shrink: 0; margin-top: 2px; }

/* Quote / values */
.value-band {
  background: var(--cream);
  color: var(--navy);
  padding: 76px 0;
  text-align: left;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}
.value-band .container { max-width: 900px; }
.value-band .script {
  font-size: 34px;
  color: var(--navy);
  max-width: 780px;
  margin: 0;
  display: block;
  letter-spacing: -0.6px;
}
.value-band p.attribution { color: var(--olive); margin-top: 20px; font-size: 12.5px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700; }

/* CTA band */
.cta-band {
  background: var(--olive-light);
  color: var(--navy);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy); }
.cta-band p { color: rgba(18,35,46,0.75); max-width: 520px; margin: 0 auto 26px auto; }
.cta-band .btn-primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--white); border-color: var(--navy); color: var(--navy); }

/* Forms */
.form-wrap {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 0;
  padding: 42px;
  box-shadow: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.field .req { color: var(--olive-light); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--text-soft);
  border-radius: 0;
  font-family: 'Mulish', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  background: var(--white);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--cream);
}
.field textarea { resize: vertical; min-height: 120px; }
.field small { display: block; margin-top: 6px; color: var(--text-soft); font-size: 12.5px; }
.field-file {
  border: 1.5px dashed var(--text-soft);
  border-radius: 0;
  padding: 22px;
  text-align: center;
  background: var(--cream);
}
.field-file svg { width: 26px; height: 26px; stroke: var(--navy); margin-bottom: 8px; }
.field-file input[type=file] { margin-top: 10px; font-size: 13px; }

.form-status {
  display: none;
  padding: 20px 22px;
  border-radius: 0;
  font-size: 14.5px;
}
.form-status.success { background: var(--cream); border-left: 3px solid var(--olive); color: var(--navy); }
.form-status.error { background: #FBEAEA; border-left: 3px solid #B5453D; color: #7a2b26; }

.form-note {
  background: var(--cream);
  border-left: 3px solid var(--navy);
  padding: 14px 18px;
  border-radius: 0;
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 26px;
}

/* Info panel next to forms */
.info-panel { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .icon-wrap {
  width: 34px; height: 34px; border-radius: 0;
  background: none; border: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-top: 2px;
}
.info-item .icon-wrap svg { width: 22px; height: 22px; stroke: var(--olive-light); }
.info-item h4 { font-size: 15px; margin-bottom: 4px; }
.info-item p { font-size: 14px; margin-bottom: 0; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 26px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-grid a:hover { color: var(--white); }
.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  background: none;
  border-radius: 0;
  padding: 0;
}
.footer-logo-img { height: 52px; width: auto; display: block; }
.header-logo-img { height: 40px; width: auto; display: block; }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.55); max-width: 260px; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 30px;
}
.compliance-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 0;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-right: -1px;
}
.compliance-badge svg { width: 17px; height: 17px; stroke: #A1A42F; flex-shrink: 0; }

.accreditations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.accred-label {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-right: 4px;
}
.accred-badge {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  transition: transform 0.2s cubic-bezier(0.16,1,0.3,1), box-shadow 0.2s ease;
}
.accred-badge:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--olive-light); }
.accred-badge img { height: 24px; width: auto; display: block; }
.accred-badge.cqc img { height: 30px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-note {
  display: inline-block;
  background: var(--cream);
  color: var(--text-soft);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 0;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner > div:first-child { max-width: none; margin-left: 0; padding: 90px 24px 56px 24px; }
  .hero-photo-card, .hero-photo-card img, .hero-photo-card video { min-height: 420px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-art { order: 0; }
  .grid-3 { grid-template-columns: 1fr; border-left: none; }
  .card { border-left: 1px solid var(--border); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-inner > div:first-child { padding: 68px 22px 44px 22px; }
  .hero-photo-card, .hero-photo-card img, .hero-photo-card video { min-height: 360px; }
  .hero h1 { font-size: 28px; margin-bottom: 14px; }
  .hero p.lead { font-size: 15px; }
  .hero-actions { margin-top: 20px; }
  .page-hero h1 { font-size: 30px; }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 26px; }
}

@media (max-width: 420px) {
  .hero-inner > div:first-child { padding: 56px 20px 36px 20px; }
  .hero-photo-card, .hero-photo-card img, .hero-photo-card video { min-height: 320px; }
  .hero h1 { font-size: 24px; }
  .hero p.lead { font-size: 14px; }
}

nav.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  padding: 20px 28px 26px 28px;
  gap: 18px;
  align-items: flex-start;
}

/* ============================================
   Photo placeholders — square, flat, hairline
   border, no tilt / tape / pin / torn-edge motifs.
   ============================================ */
.photo-placeholder {
  position: relative;
  width: 100%;
  border-radius: 0;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6C7C77;
  padding: 28px;
  overflow: hidden;
  box-shadow: none;
}
.photo-placeholder svg { width: 34px; height: 34px; stroke: #8CA39C; margin-bottom: 12px; }

/* All frame-* modifiers render identically: one clean flat square.
   (Kept as selectors so no HTML markup needed to change.) */
.photo-placeholder.tilt-left,
.photo-placeholder.tilt-right,
.photo-placeholder.no-tilt,
.photo-placeholder.frame-tape,
.photo-placeholder.frame-pin,
.photo-placeholder.frame-hung,
.photo-placeholder.frame-wood,
.photo-placeholder.frame-torn {
  transform: none;
  border-radius: 0;
  clip-path: none;
  border: 1px solid var(--border);
  margin-top: 0;
  padding: 28px;
  background: var(--cream-dark);
  box-shadow: none;
}
.photo-placeholder.frame-tape::before,
.photo-placeholder.frame-pin::before,
.photo-placeholder.frame-hung::before,
.photo-placeholder.frame-hung::after,
.photo-placeholder.frame-hung .nail { display: none; }
.photo-placeholder.frame-wood { padding: 0; background: var(--white); border: 2px solid var(--navy); }
.photo-placeholder.frame-wood .frame-mat {
  width: 100%; height: 100%;
  background: var(--cream-dark);
  border: none;
  border-radius: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 22px; min-height: inherit;
}
.photo-placeholder.frame-wood .frame-mat svg { width: 30px; height: 30px; stroke: #8CA39C; margin-bottom: 10px; }

/* ---- Real photo mode: fills any frame style above with an actual image ---- */
.photo-placeholder.has-photo {
  padding: 0;
  background: none;
  display: block;
  border: 1px solid var(--border);
}
.photo-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.photo-placeholder.frame-wood.has-photo {
  padding: 0;
  border: 2px solid var(--navy);
}
.photo-placeholder.frame-wood.has-photo .frame-mat {
  padding: 0;
  border: none;
  background: #fff;
  display: block;
  border-radius: 0;
}
.photo-placeholder.frame-wood.has-photo .frame-mat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.team-photo.has-photo img { border-radius: 0; }

/* ============================================
   Gallery mosaic — tidy asymmetric CSS Grid,
   set on a dark navy band with a light duotone
   treatment for a graphic, documentary feel.
   ============================================ */
.gallery-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 110px;
  grid-auto-flow: dense;
  gap: 4px;
  width: 100%;
}
.gallery-wall .photo-placeholder {
  position: static;
  padding: 0;
  margin: 0;
  border: none;
}
.gallery-wall .leaf-accent { display: none; }

.gf-1 { grid-column: span 2; grid-row: span 2; }
.gf-2 { grid-column: span 1; grid-row: span 1; }
.gf-3 { grid-column: span 1; grid-row: span 2; }
.gf-4 { grid-column: span 1; grid-row: span 1; }
.gf-5 { grid-column: span 2; grid-row: span 1; }
.gf-6 { grid-column: span 1; grid-row: span 1; }
.gf-7 { grid-column: span 1; grid-row: span 2; }
.gf-8 { grid-column: span 2; grid-row: span 2; }
.gf-9 { grid-column: span 1; grid-row: span 1; }
.gf-10 { grid-column: span 1; grid-row: span 1; }

@media (max-width: 1024px) {
  .gallery-wall { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 100px; }
}

@media (max-width: 760px) {
  .gallery-wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 3px; }
  .gf-1, .gf-8 { grid-column: span 2; grid-row: span 1; }
}
.photo-placeholder .ph-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: #5C6E68;
  margin-bottom: 6px;
}
.photo-placeholder .ph-desc {
  font-size: 12.5px;
  color: #6C7C77;
  max-width: 260px;
  line-height: 1.5;
}
.photo-placeholder.ratio-16-9 { aspect-ratio: 16/9; }
.photo-placeholder.ratio-4-3 { aspect-ratio: 4/3; }
.photo-placeholder.ratio-1-1 { aspect-ratio: 1/1; }
.photo-placeholder.ratio-3-4 { aspect-ratio: 3/4; }
.photo-placeholder.ratio-21-9 { aspect-ratio: 21/9; }

/* Full-width photo band */
.photo-band { padding: 0; }
.photo-band .photo-placeholder {
  border-radius: 0;
  border-left: none;
  border-right: none;
  min-height: 420px;
  transform: none;
  box-shadow: none;
}
.photo-band .photo-placeholder::before { display: none; }

/* ============================================
   Stats band
   ============================================ */
.stats-band {
  background: var(--navy);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}
.stat-num {
  font-family: 'Lexend', sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-num .script-plus { font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 30px; color: #A1A42F; }
.stat-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
  font-weight: 700;
}

/* ============================================
   Process steps — bold numeral blocks, no
   circles, no connecting line.
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  border-top: 2px solid var(--navy);
  border-left: 1px solid var(--border);
}
.process-step {
  text-align: left;
  position: relative;
  padding: 30px 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-num {
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  color: var(--olive-light);
  font-family: 'Lexend', sans-serif;
  font-size: 46px;
  font-weight: 800;
  display: block;
  margin: 0 0 16px 0;
  line-height: 1;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; margin-bottom: 0; }
.process-grid::before { display: none; }

/* ============================================
   Testimonials
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--navy);
  border-left: 1px solid var(--border);
}
.testimonial-card {
  background: var(--white);
  border: none;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 34px 28px;
  position: relative;
}
.testimonial-quote-mark {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--olive-light);
  line-height: 0.5;
  display: block;
  margin-bottom: 14px;
}
.testimonial-card p.quote {
  font-size: 15px;
  color: var(--text);
  font-style: normal;
  margin-bottom: 20px;
}
.testimonial-attr { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 38px; height: 38px;
  border-radius: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-avatar svg { width: 18px; height: 18px; stroke: var(--navy-light); }
.testimonial-name { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 12px; color: var(--text-soft); }

/* ============================================
   Team
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.team-card { text-align: left; }
.team-photo {
  border-radius: 0 !important;
  width: 100%;
  max-width: 180px;
  margin: 0 0 18px 0;
  aspect-ratio: 1/1;
  transform: none !important;
  box-shadow: none !important;
  border: 1px solid var(--border);
}
.team-photo::before { display: none; }
.team-name { font-size: 16px; color: var(--navy); margin-bottom: 3px; font-weight: 700; }
.team-role { font-size: 12.5px; color: var(--olive); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.team-bio { font-size: 13.5px; color: var(--text-soft); margin-bottom: 0; }

/* ============================================
   FAQ accordion (native <details>)
   ============================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
}
.faq-item:first-child { border-top: 2px solid var(--navy); }
.faq-item summary {
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: var(--olive-light);
  transition: transform 0.2s ease;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 4px 24px 4px;
  font-size: 14.5px;
  color: var(--text-soft);
}
.faq-item .faq-answer p { margin: 0; color: var(--text-soft); }

/* ============================================
   Careers / join-us band
   ============================================ */
.careers-band {
  background: var(--cream);
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}
.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* ============================================
   Referral page — reassurance components
   ============================================ */
.who-refer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: refer-idx;
  border-top: 2px solid var(--navy);
  border-left: 1px solid var(--border);
}
.who-refer-card {
  counter-increment: refer-idx;
  text-align: left;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.who-refer-card .icon-wrap { display: none; }
.who-refer-card::before {
  content: counter(refer-idx, decimal-leading-zero);
  display: block;
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--olive-light);
  margin-bottom: 14px;
}
.who-refer-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.who-refer-card p { font-size: 13px; margin-bottom: 0; }

.promise-panel {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 0;
  padding: 40px 44px;
  box-shadow: none;
}
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
}
.promise-list .leaf-icon { flex-shrink: 0; margin-top: 2px; }
.promise-list .leaf-icon svg { width: 20px; height: 20px; stroke: var(--olive-light); }

.safeguard-panel {
  background: var(--cream);
  border-left: 4px solid var(--navy);
  border-radius: 0;
  padding: 34px 38px;
}
.safeguard-panel h3 { margin-bottom: 12px; }
.safeguard-panel p:last-child { margin-bottom: 0; }

.featured-quote {
  text-align: left;
  max-width: 720px;
  margin: 0;
}
.featured-quote .quote-mark {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 54px;
  color: var(--olive-light);
  display: block;
  line-height: 0.4;
  margin-bottom: 20px;
}
.featured-quote p.quote {
  font-family: 'Lexend', sans-serif;
  font-style: normal;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 20px;
}
.featured-quote .attribution { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-soft); font-weight: 700; }

.reassure-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-start;
}
.reassure-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 11px 22px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--navy);
  font-weight: 700;
  margin-right: -1px;
}
.reassure-pill svg { width: 16px; height: 16px; stroke: var(--olive-light); }

/* Responsive additions */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); border-left: none; }
  .process-step { border-left: 1px solid var(--border); }
  .testimonial-grid { grid-template-columns: 1fr; border-left: none; }
  .testimonial-card { border-left: 1px solid var(--border); }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .careers-inner { grid-template-columns: 1fr; gap: 30px; }
  .who-refer-grid { grid-template-columns: 1fr 1fr; border-left: none; }
  .who-refer-card { border-left: 1px solid var(--border); }
  .promise-list { grid-template-columns: 1fr; }
  .promise-panel { padding: 32px 26px; }
  .safeguard-panel { padding: 28px 26px; }
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Polish layer — scroll reveal, hover lift,
   header/scroll chrome, texture. Hard-edge
   offsets throughout to stay on-brand (no blur,
   no soft shadow, no rounded corners).
   ============================================ */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sticky header chrome on scroll */
header.site-header {
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
header.site-header.is-scrolled {
  box-shadow: 0 3px 0 var(--navy);
}
header.site-header.is-scrolled .header-inner { padding: 11px 28px; }
.header-logo-img { transition: height 0.25s ease; }

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--olive-light);
  z-index: 300;
  transition: width 0.08s linear;
}

/* Back-to-top */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.15s ease;
  z-index: 90;
  padding: 0;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--olive-light); }
.back-to-top svg { width: 20px; height: 20px; stroke: var(--white); transition: stroke 0.15s ease; }
.back-to-top:hover svg { stroke: var(--navy); }

/* Button arrow flourish — no HTML changes required */
.btn-primary:not(.nav-cta)::after,
.btn-outline::after,
.btn-outline-light::after {
  content: '\2192';
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.btn-primary:not(.nav-cta):hover::after,
.btn-outline:hover::after,
.btn-outline-light:hover::after {
  transform: translateX(5px);
}

/* Card / tile hover lift — hard offset shadow, no blur */
.card,
.process-step,
.testimonial-card,
.who-refer-card {
  transition: background 0.15s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.card:hover,
.process-step:hover,
.testimonial-card:hover,
.who-refer-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 6px 6px 0 var(--navy);
  z-index: 3;
  background: var(--cream);
}
.card::before,
.process-num {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), color 0.2s ease;
}
.card:hover::before,
.process-step:hover .process-num {
  transform: translateY(-3px);
  color: var(--navy);
}
.testimonial-card:hover .testimonial-quote-mark { color: var(--navy); }

/* Team cards get a lighter lift (no border grid to break) */
.team-card { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.team-card:hover { transform: translateY(-6px); }
.team-card:hover .team-photo { border-color: var(--navy); }
.team-photo { transition: border-color 0.2s ease; }

/* Photo hover zoom, kept inside the existing overflow:hidden frame */
.photo-placeholder.has-photo img {
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}
.photo-placeholder.has-photo:hover img { transform: scale(1.055); }
.gallery-wall .photo-placeholder.has-photo:hover img { transform: scale(1.08); }

/* FAQ chevron + row micro-interaction */
.faq-item summary { transition: color 0.15s ease; }
.faq-item summary:hover { color: var(--olive); }

/* Nav underline + CTA micro-interactions already present; add logo nudge */
.logo-lockup { transition: opacity 0.15s ease; }
.logo-lockup:hover { opacity: 0.82; }

/* Subtle dot-grid texture for depth on dark bands (CSS only, no asset) */
.trust-strip,
footer.site-footer,
.value-band,
.hero {
  position: relative;
}
.trust-strip::before,
footer.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
footer.site-footer::before { opacity: 0.6; }
.trust-strip .container,
footer.site-footer .container { position: relative; z-index: 1; }

/* Hero scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: max(28px, calc((100vw - 1180px) / 2 + 28px));
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-scroll-cue svg {
  width: 16px; height: 16px;
  stroke: var(--olive-light);
  animation: hero-cue-bounce 1.8s ease-in-out infinite;
}
@keyframes hero-cue-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (max-width: 760px) { .hero-scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue svg { animation: none; } }

/* Stat counter underline flourish */
.stat-item { position: relative; padding-left: 18px; border-left: 2px solid var(--olive-light); }

/* Value band large quote mark */
.value-band { position: relative; overflow: hidden; }
.value-band::after {
  content: '\201C';
  position: absolute;
  top: -40px;
  right: 40px;
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 220px;
  line-height: 1;
  color: rgba(18,35,46,0.05);
  pointer-events: none;
}

/* Selection colour, on-brand */
::selection { background: var(--olive-light); color: var(--navy); }

/* Focus visibility, accessible and on-brand (square, high-contrast) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--olive-light);
  outline-offset: 2px;
}
