/* =========================================================
   Maestro Painting - Design System
   Light theme, conversion-focused, Sydney painting company
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette: charcoal accent + warm cream, matching the Maestro logo.
     The --accent-* scale maps to the logo's charcoal so buttons, links and
     CTAs stay bold and readable; cream (#eeece5) is used as a warm background. */
  --navy-900: #10233f;
  --navy-800: #16304f;
  --navy-700: #1e3a5f;
  --navy-600: #2b4d78;
  --navy-500: #3a6394;

  /* Charcoal accent (from the logo linework) */
  --accent-600: #2b2b2b;
  --accent-500: #3d3d3d;
  --accent-400: #6b6b6b;
  --accent-100: #eae7de;

  /* Brand cream (logo background) and warm tints */
  --cream: #eeece5;
  --cream-100: #f5f3ec;
  --cream-200: #e7e3d8;

  --gold-500: #b98b3a;

  --ink-900: #11161d;
  --ink-700: #333c47;
  --ink-500: #5b6673;
  --ink-400: #7a8492;

  --paper: #ffffff;
  --paper-50: #faf9f5;
  --paper-100: #f5f3ec;
  --paper-200: #e7e3d8;
  --line: #ddd8cc;

  --success: #2e7d51;

  /* Typography */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Spacing / layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 63, 0.06), 0 2px 8px rgba(16, 35, 63, 0.05);
  --shadow: 0 6px 20px rgba(16, 35, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 35, 63, 0.14);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1.1rem; }

a {
  color: var(--accent-600);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-500); }

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

ul, ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; }

/* Accessible focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--navy-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--paper-100); }
.section-navy {
  background: var(--navy-900);
  color: #d9e2ee;
}
.section-navy h1,
.section-navy h2,
.section-navy h3 { color: #fff; }

.section-head {
  max-width: 680px;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.section-head p { color: var(--ink-500); font-size: 1.08rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 0.9rem;
}
.section-navy .eyebrow { color: var(--accent-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(43, 43, 43, 0.26);
}
.btn-primary:hover { background: var(--accent-500); color: #fff; }
.btn-dark {
  background: var(--navy-900);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy-500); color: var(--navy-900); }
.btn-light {
  background: #fff;
  color: var(--navy-900);
}
.btn-light:hover { background: var(--paper-100); color: var(--navy-900); }
.btn-lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 236, 229, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--cream-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--navy-900); }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cream);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* On the cream navbar the mark blends in with no box; the footer keeps a rounded cream badge on navy */
.site-header .brand-mark { border-radius: 6px; }
.site-footer .brand-mark { box-shadow: none; }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--ink-700);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--navy-900);
  background: var(--cream-200);
}
.nav-menu a[aria-current="page"] { color: var(--accent-600); }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--accent-600); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--navy-900);
}

@media (max-width: 1150px) {
  .nav-phone { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-200);
    padding: 0.75rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform var(--transition);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--paper-200); font-size: 1.05rem; }
  .nav-phone { display: none; }
}

@media (max-width: 460px) {
  .nav-cta .btn-primary { display: none; }
  .brand small { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  color: #e6edf6;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(238, 236, 229, 0.14), transparent 60%),
    radial-gradient(700px 400px at 5% 90%, rgba(58, 99, 148, 0.35), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-lede { font-size: 1.18rem; color: #c4d2e4; max-width: 40ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.75rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  color: #b9c8dc;
  font-size: 0.94rem;
}
.hero-trust .stars { color: var(--gold-500); letter-spacing: 2px; }
.hero-trust strong { color: #fff; }

.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 24px;
  background: #fff;
  color: var(--navy-900);
  border-radius: var(--radius);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 250px;
}
.hero-badge .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent-600);
  line-height: 1;
}
.hero-badge span { font-size: 0.82rem; color: var(--ink-500); line-height: 1.3; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-figure { aspect-ratio: 16 / 11; max-height: 380px; }
  .hero-lede { max-width: none; }
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--paper-50);
  border-bottom: 1px solid var(--line);
}
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  padding: 1.1rem 0;
  text-align: center;
}
.trustbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-800);
}
.trustbar-item svg { color: var(--accent-600); flex-shrink: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card-link { display: block; color: inherit; height: 100%; }
.card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cdd6e0;
  color: inherit;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-500); margin-bottom: 0.9rem; }

.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--accent-100);
  color: var(--accent-600);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.service-card .more {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--accent-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card-link:hover .more { gap: 0.6rem; }

/* ---------- How it works ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--ink-500); margin-bottom: 0; }

/* ---------- Why choose us ---------- */
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paper-100);
  color: var(--accent-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.section-navy .feature .icon { background: rgba(255,255,255,0.08); color: var(--accent-400); }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.feature p { color: var(--ink-500); margin-bottom: 0; font-size: 0.98rem; }
.section-navy .feature p { color: #a9bace; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 780px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  background: var(--paper-200);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(16,35,63,0.85));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 8 / 3; }
@media (max-width: 780px) { .gallery-item.wide { grid-column: span 2; } }
@media (max-width: 480px) { .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; } }

/* ---------- Quote form ---------- */
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) { .quote-wrap { grid-template-columns: 1fr; gap: 2rem; } }
/* Honeypot anti-spam field: kept out of view and off the tab order.
   Positioned off-screen (not display:none) so bots still see and fill it. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
}
.field label .req { color: var(--accent-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--paper-50);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-500);
  background: #fff;
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--ink-400); margin-top: 0.4rem; margin-bottom: 0; }
.form-success {
  background: #eaf6ef;
  border: 1px solid #b8e0c8;
  color: var(--success);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.form-list { list-style: none; padding: 0; }
.form-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.form-list .tick {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Map / service area ---------- */
.map-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 860px) { .map-wrap { grid-template-columns: 1fr; } }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; }
.area-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.area-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-800);
}
.area-chip:hover { border-color: var(--accent-500); color: var(--accent-600); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-600);
  font-weight: 400;
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-500); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(125deg, #2b2b2b 0%, #232a38 55%, var(--navy-800) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--cream);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 55ch; margin-inline: auto; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #a9bace;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #a9bace; font-size: 0.96rem; }
.footer-links a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: #93a6bd; font-size: 0.96rem; max-width: 34ch; }
.footer-nap { font-style: normal; color: #a9bace; font-size: 0.96rem; line-height: 1.9; }
.footer-nap a { color: #a9bace; }
.footer-nap a:hover { color: #fff; }
.footer-nap strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #7e93ab;
}
.footer-bottom a { color: #7e93ab; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #d9e2ee;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 90% 0%, rgba(238,236,229,0.12), transparent 60%);
}
.page-hero-inner { position: relative; padding: clamp(2.75rem, 6vw, 4.5rem) 0; max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: #c4d2e4; font-size: 1.12rem; margin-bottom: 0; }
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: #9db2cb;
}
.breadcrumb li::after { content: "/"; margin-left: 0.5rem; color: #5f7794; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: #c4d2e4; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: var(--accent-400); }

/* ---------- Prose (blog / long content) ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose blockquote {
  border-left: 4px solid var(--accent-500);
  padding: 0.5rem 0 0.5rem 1.4rem;
  margin: 1.5rem 0;
  color: var(--ink-700);
  font-style: italic;
  background: var(--paper-50);
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.testimonial .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 0.75rem; }
.testimonial p { color: var(--ink-700); font-size: 1.02rem; }
.testimonial .who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-family: var(--font-head);
}
.testimonial .who .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-600);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.testimonial .who strong { color: var(--navy-900); display: block; font-size: 0.98rem; }
.testimonial .who span { color: var(--ink-400); font-size: 0.86rem; }

/* ---------- Split content (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media { order: 0; }
}
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  color: var(--ink-700);
}
.check-list .tick { color: var(--success); flex-shrink: 0; margin-top: 3px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent-500);
  line-height: 1;
}
.section-navy .stat .num { color: var(--accent-400); }
.stat .label { font-size: 0.95rem; color: var(--ink-500); margin-top: 0.35rem; }
.section-navy .stat .label { color: #a9bace; }

/* ---------- Blog cards ---------- */
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--paper-200); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card .tag {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 0.5rem;
}
.post-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.post-card p { color: var(--ink-500); font-size: 0.96rem; }
.post-card .meta { margin-top: auto; font-size: 0.85rem; color: var(--ink-400); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.15rem; color: var(--ink-500); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   Scroll reveal + micro-interactions
   Pure CSS, driven by a single IntersectionObserver that adds
   `.is-visible`. Only opacity/transform animate (GPU-friendly),
   so there is no layout thrash and no impact on load speed.
   ========================================================= */

/* Base hidden state — applied via JS (`.reveal`) so no-JS users
   always see content. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Once revealed, drop the compositor hint so it doesn't linger. */
.reveal.is-settled { will-change: auto; }

/* Directional variants */
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-zoom  { transform: scale(0.94); }
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible { transform: none; }

/* Stagger: children of a revealed group cascade in.
   Delays are tiny so the whole group still lands quickly. */
.reveal-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.reveal-group.is-visible > * { opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: 0.42s; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: 0.49s; }
.reveal-group.is-visible > *:nth-child(9) { transition-delay: 0.56s; }

/* ---------- Design polish / micro-interactions ---------- */

/* Hero art: gentle entrance + subtle float on the badge. */
.hero-figure { overflow: hidden; }
.hero-figure img { transition: transform 0.9s cubic-bezier(0.16, 0.84, 0.44, 1); }
.hero:hover .hero-figure img { transform: scale(1.03); }

/* Image containers zoom their photo slightly on hover for life. */
.split-media,
.page-hero-inner .split-media { overflow: hidden; border-radius: var(--radius); }
.split-media img { transition: transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1); }
.split-media:hover img { transform: scale(1.04); }

/* Eyebrow gets a small leading accent rule. */
.eyebrow { position: relative; }

/* Cards lift a touch more crisply and warm their border. */
.card { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.service-card .icon { transition: transform var(--transition), background var(--transition), color var(--transition); }
.card-link:hover .icon { transform: translateY(-3px) rotate(-4deg); }

/* Step numbers pulse in when their group reveals. */
.reveal-group.is-visible .step .step-num { animation: pop 0.5s cubic-bezier(0.16, 0.84, 0.44, 1) both; }

/* Buttons: shine on hover for the primary CTA. */
.btn-primary, .btn-dark {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-dark::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after, .btn-dark:hover::after { left: 140%; }

@keyframes pop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* Header compresses subtly once scrolled (class toggled in JS). */
.site-header { transition: box-shadow var(--transition), background var(--transition); }
.site-header.is-scrolled { background: rgba(238, 236, 229, 0.98); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .btn:hover, .card-link:hover, .post-card:hover { transform: none; }
  /* Reveal system: show everything instantly, no motion. */
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; }
  .btn-primary::after, .btn-dark::after { display: none; }
}
