/* ===========================
   CUSTOM PROPERTIES
   =========================== */
:root {
  --primary: #1E3448;
  --primary-dark: #131F2E;
  --accent: #007749;
  --accent-light: #00AA6B;
  --white: #FFFFFF;
  --surface: #F2F6F8;
  --surface-dark: #D8E6ED;
  --text: #2D2D2D;
  --text-muted: #6B7280;
  --border: #C0D4DC;
  --max-width: 1160px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(20, 40, 60, 0.08);
  --shadow-lg: 0 8px 32px rgba(20, 40, 60, 0.14);
  --utility-bar-height: 42px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; line-height: 1.25; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 400; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.lead { font-size: 1.1rem; color: var(--text-muted); line-height: 1.85; }

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--primary); color: var(--white); }
.section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}
.section__header h2 { margin-bottom: 0.75rem; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  border: 2px solid transparent;
  line-height: 1;
}
.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-light); border-color: var(--accent-light); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline-white:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* ===========================
   SITE HEADER / NAV
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  padding: 1rem 1.5rem;
}
/* Mobile top bar (phone + CTA above logo row) */
.mobile-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mobile-top-bar__phone,
.mobile-top-bar__cta { font-size: 0.75rem; padding: 0.35rem 0.85rem; }
.mobile-top-bar__phone { background: var(--accent-light); border-color: var(--accent-light); color: var(--white); }
.mobile-top-bar__phone:hover { background: var(--accent); border-color: var(--accent); }
@media (min-width: 1024px) {
  .mobile-top-bar { display: none; }
}

/* Header phone link */
.header-phone { display: none; }
@media (min-width: 1024px) {
  .header-phone {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
  }
  .header-phone:hover { color: var(--accent); }
  .header-phone i { font-size: 0.8rem; }
}

/* Utility bar — fixed at top, desktop only */
.header-utility-bar { display: none; }

/* Mobile: nav col is a transparent wrapper; top row hidden */
.header-nav-col { display: contents; }
.header-nav-top { display: none; }
.site-logo { display: flex; align-items: center; }
.site-logo__img { height: 46px; width: auto; display: block; }

/* Footer text logo (dark bg — image not used there) */
.logo-main {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}
.logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}
/* Mobile nav panel — slides in from right */
.site-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 99;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}
.nav-open .site-nav {
  transform: translateX(0);
  visibility: visible;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.25s;
  border-radius: 2px;
}
/* Hamburger → X when open */
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta { display: none; }

/* Mobile nav list */
.nav-open .nav-list { display: flex; flex-direction: column; gap: 0; }
.nav-open .nav-list > li > a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  border-radius: 0;
}
.nav-open .nav-list > li.active > a { color: var(--accent); font-weight: 700; border-left: 3px solid var(--accent); padding-left: 0.75rem; }

/* Mobile dropdowns — hidden until toggled */
.dropdown { display: none; }
.nav-open .has-dropdown.is-open .dropdown {
  display: block;
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0.25rem 0 0.25rem 1rem;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}
.nav-open .dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-open .dropdown li:last-child a { border-bottom: 1px solid var(--border); }
.has-dropdown.is-open > a .nav-caret { transform: rotate(180deg); }

/* Consultation CTA in mobile nav */
.mobile-nav-cta { display: none; }
.nav-open .mobile-nav-cta {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

@media (min-width: 1024px) {
  /* Utility bar — scrolls away, desktop only */
  .header-utility-bar {
    display: flex;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }
  .header-utility-bar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }
  /* Sticky header sticks at top */
  .site-header { top: 0; margin-top: 0; }
  .site-header .container { justify-content: space-between; gap: 1.5rem; align-items: center; }
  /* Single-row: site-nav fills remaining space, right-aligned */
  .site-nav {
    position: static;
    transform: none;
    visibility: visible;
    transition: none;
    overflow: visible;
    padding: 0;
    background: none;
    top: auto; right: auto; bottom: auto; left: auto;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    margin-left: 0;
  }
  .nav-toggle { display: none; }
  .nav-cta { display: inline-block; font-size: 0.65rem; padding: 0.2rem 0.75rem; margin-left: 0; }
  .mobile-nav-cta { display: none !important; }
  .nav-list { display: flex; align-items: center; gap: 0; }
  .nav-list > li > a {
    display: block;
    padding: 0.22rem 0.52rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    border-radius: var(--radius);
    transition: background 0.15s;
  }
  .nav-list > li > a:hover { color: var(--accent); }
  .nav-list > li > a::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    margin-top: 2px;
  }
  .nav-list > li > a:hover::after,
  .nav-list > li.active > a::after { transform: scaleX(1); }
  .nav-list > li.active > a { color: var(--accent); }
  .has-dropdown { position: relative; }
  .nav-caret { font-size: 0.7em; margin-left: 3px; vertical-align: middle; display: inline-block; transition: transform 0.2s ease; }
  .has-dropdown:hover .nav-caret { transform: rotate(180deg); }
  .dropdown {
    display: block;
    list-style: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    width: max-content;
    padding: 0;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--surface);
    transition: background 0.15s, color 0.15s;
  }
  .dropdown li:last-child a { border-bottom: none; }
  .dropdown li a i { font-size: 0.95rem; color: var(--accent); flex-shrink: 0; transition: color 0.15s; }
  .nav-icon-img { width: 0.95rem; height: 0.95rem; flex-shrink: 0; object-fit: contain; }
  .dropdown li a:hover { background: var(--surface); color: var(--primary); }
  .dropdown li a:hover i { color: var(--primary); }
}


/* ===========================
   HERO
   =========================== */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: 16rem 0 14rem;
  position: relative;
  overflow: hidden;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero__byline { color: rgba(255,255,255,0.72); font-size: 1.15rem; line-height: 1.7; margin-top: 0; }
.hero .lead { color: rgba(255,255,255,0.82); margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Home intro strip below hero */
.intro-section { padding: 5rem 0; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* Interior page hero */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0d2240 0%, #1a3a6e 60%, #0d2240 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--white);
  min-height: 450px;
  padding: 6.5rem 0 4rem;
  display: flex;
  align-items: flex-end;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 28, 44, 0.95) 0%, rgba(14, 28, 44, 0.40) 60%, rgba(14, 28, 44, 0.05) 100%);
}
.page-hero .container { width: 100%; }
.page-hero__inner { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 { color: var(--white); margin-bottom: 0.85rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 0; }
.page-hero--minimal { min-height: 0; padding: 3.75rem 0 3.25rem; }

/* Compact page title bar (default template) */
.page-title {
  background: linear-gradient(135deg, #0d2240 0%, #1a3a6e 60%, #0d2240 100%);
  padding: 3rem 0 2.5rem;
}
.page-title h1 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin: 0; }

/* Default page content body */
.content-body { padding: 3.5rem 0 5rem; }

/* Dingo video grid — neutralise injected Foundation classes */
#dingo .row.container {
  max-width: none;
  padding: 0;
  margin: 0 -0.75rem;
  display: flex;
  flex-wrap: wrap;
}
#dingo .columns {
  width: 100%;
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  #dingo .medium-6 { width: 50%; }
}
#dingo .flex-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
#dingo .flex-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
#dingo h5 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

/* Dingo calculators — neutralise injected Foundation classes */
#dingo_calcs .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}
#dingo_calcs .columns {
  width: 100%;
  padding: 0 0.75rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  #dingo_calcs .medium-6 { width: 50%; }
}
#dingo_calcs h3.headline {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
  border-bottom: 2px solid var(--accent);
}
#dingo_calcs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
#dingo_calcs ul li { font-size: 0.72rem; color: var(--text-muted); }
#dingo_calcs ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
  line-height: 1;
}
#dingo_calcs ul li a::after { content: '→'; }
#dingo_calcs ul li a:hover { background: var(--primary); }
#dingo_calcs .article > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 760px;
}

/* ===========================
   SERVICES GRID
   =========================== */
.services-section { padding: 5rem 0; }
.life-events-index { padding: 5rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
  text-decoration: none;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.service-card__icon { margin-bottom: 0; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0; }
.service-card p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.65; }
.service-card__link { font-size: 0.85rem; font-weight: 600; color: var(--accent); letter-spacing: 0.01em; margin-top: auto; }

@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; }
  .service-card { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
}

/* ===========================
   LIFE EVENTS
   =========================== */
.life-events-index { padding: 5rem 0; }
.life-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
/* Horizontal card: icon chip left, content right; max 2 per row */
.life-event-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.life-event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.life-event-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.life-event-card__body { display: flex; flex-direction: column; flex: 1; }
.life-event-card h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.life-event-card p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.65; }
.life-event-card__link { font-size: 0.85rem; font-weight: 600; color: var(--accent); letter-spacing: 0.01em; margin-top: auto; }
@media (min-width: 900px) { .life-events-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===========================
   GEOFF TEASER
   =========================== */
.geoff-teaser { padding: 5rem 0; }
.geoff-teaser__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.geoff-teaser__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 480px;
}
.geoff-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.geoff-teaser__content h2 { margin-bottom: 1.25rem; }
.geoff-teaser__content p { color: var(--text-muted); margin-bottom: 1rem; }
.credentials { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 1.75rem; }
.credential-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .geoff-teaser__inner { grid-template-columns: 0.75fr 1.4fr; }
}

/* ===========================
   NEWS
   =========================== */
.news-latest { padding: 5rem 0; }
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 600px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a6e 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.news-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.news-card__link { font-size: 0.85rem; font-weight: 600; color: var(--accent); letter-spacing: 0.01em; margin-top: auto; }
.news-sidebar__period {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.news-sidebar__older {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.news-sidebar__older-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.news-sidebar__older ul { list-style: none; padding: 0; margin: 0; }
.news-sidebar__older ul li a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.news-sidebar__older ul li a:hover { color: var(--primary); }
.news-article__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a6e 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-share__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-right: 0.35rem;
}
.article-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.article-share__btn:hover { background: var(--primary); color: #fff; }
.news-article__intro,
.articledescription {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.news-latest__footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===========================
   CTA BAND
   =========================== */
.cta-band { position: relative; background-color: var(--primary); background-size: cover; background-position: top center; color: var(--white); padding: 5.5rem 0; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(19,31,46,0.78); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2.25rem; font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===========================
   TRUST SIGNALS
   =========================== */
.trust-signals { padding: 2.5rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.trust-signals__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: center;
  align-items: center;
}
.trust-item { text-align: center; }
.trust-item__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.trust-item__value { font-size: 0.88rem; font-weight: 600; color: var(--primary); }

/* ===========================
   ABOUT PAGE
   =========================== */
.bio-section { padding: 5rem 0; }
.bio-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.bio-section__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 500px;
}
.bio-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.bio-section__content h2 { margin-bottom: 1.25rem; }
.bio-section__content p { color: var(--text-muted); margin-bottom: 1rem; }

.client-story-teaser {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--primary);
  border-radius: var(--radius);
}
.client-story-teaser .eyebrow { color: var(--accent-light); margin-bottom: 0.5rem; }
.client-story-teaser h4 { color: var(--white); font-size: 1.15rem; margin: 0 0 0.65rem; }
.client-story-teaser p,
.service-detail__content .client-story-teaser p { color: rgba(255,255,255,0.92); font-size: 0.93rem; line-height: 1.7; margin-bottom: 1rem; }
.client-story-teaser a { color: var(--accent-light); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.client-story-teaser a:hover { text-decoration: underline; }

/* Process section */
.process-section { padding: 5rem 0; background: var(--primary); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.process-connector { display: none; }
.process-step { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.75rem 1.25rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.process-step__num { font-family: 'Raleway', sans-serif; font-size: 2rem; font-weight: 700; color: var(--accent-light); line-height: 1; margin-bottom: 0.6rem; }
.process-step__icon { font-size: 1.6rem; color: rgba(255,255,255,0.45); margin-bottom: 0.75rem; }
.process-step h3 { font-family: 'Raleway', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; line-height: 1.3; }
.process-step p { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.65; margin: 0; }
@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .process-steps { grid-template-columns: 1fr; }
}
.process-summary { margin-top: 2.5rem; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.process-summary p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.8; }
.process-summary a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.process-summary a:hover { color: var(--white); }

/* Fees section */
.fees-section { padding: 5rem 0; background: var(--surface); }
.fees-section__content { max-width: 780px; margin: 0 auto; }
.fees-section__content p { margin-bottom: 1.25rem; line-height: 1.8; }
.fees-section__content .accent-block { margin-top: 2rem; background: var(--white); }

/* Stat strip */
.stat-strip { background: var(--primary); padding: 3.5rem 0; }
.stat-strip__inner { display: flex; justify-content: center; gap: 6rem; text-align: center; flex-wrap: wrap; }
.stat-strip__number { font-family: 'Raleway', sans-serif; font-size: 2.75rem; font-weight: 600; color: var(--white); line-height: 1; margin-bottom: 0.4rem; }
.stat-strip__label { font-size: 0.88rem; color: rgba(255,255,255,0.65); letter-spacing: 0.06em; text-transform: uppercase; }

/* Team teaser */
.team-teaser { padding: 4.5rem 0; background: var(--surface); }
.team-teaser__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 680px; margin: 2rem auto 0; }
.team-teaser__card { display: flex; align-items: center; gap: 1.25rem; background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; }
.team-teaser__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.team-teaser__photo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.team-teaser__name { font-family: 'Raleway', sans-serif; font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 0.2rem; }
.team-teaser__role { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 600px) { .team-teaser__grid { grid-template-columns: 1fr; } }

.values-section { padding: 5rem 0; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.value-item { display: flex; flex-direction: column; }
.value-item__heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.value-item h3 { font-size: 1.1rem; margin: 0; }
.value-item p { font-size: 0.93rem; color: var(--text-muted); }

@media (min-width: 768px) { .bio-section__inner { grid-template-columns: 1fr 2fr; } }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-section { padding: 5rem 0; }
.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
.contact-info h3 { margin-bottom: 1.25rem; }
.contact-info address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 1.5rem;
}
.contact-info address strong { color: var(--primary); font-weight: 600; font-style: normal; display: block; margin-bottom: 0.25rem; }
.contact-detail { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.contact-detail a { color: var(--primary); font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.contact-detail a:hover { color: var(--accent); }
.contact-map {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 3rem 0;
}
.contact-map iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }

.contact-form h3 { margin-bottom: 1.5rem; }
#error_message_box { padding: 0.9rem 1.1rem; background: #fef4f4; color: #8b1a1a; border: 1px solid #f5c6c6; border-left: 3px solid #c0392b; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: 0.875rem; line-height: 1.8; }
#message_box { padding: 0.9rem 1.1rem; background: #f0faf4; color: #1a5e38; border: 1px solid #b8e6cc; border-left: 3px solid #27ae60; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: 0.875rem; line-height: 1.8; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(28, 53, 87, 0.08); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; }
.visually-trap { position: absolute; left: -9999px; top: -9999px; }

@media (min-width: 768px) {
  .contact-section__inner { grid-template-columns: 1fr 1.4fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   SERVICE DETAIL PAGES
   =========================== */
.service-detail { padding: 5rem 0; }
.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.service-detail__content h1 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 1.25rem 0 1rem; }
.service-detail__content h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin: 2rem 0 0.75rem; }
.service-detail__content h3 { font-size: 1.1rem; margin: 1.75rem 0 0.65rem; }
.service-detail__content p { color: var(--text-muted); margin-bottom: 1rem; }
.service-detail__content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.75rem;
}
.service-detail__content ul li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.service-detail__content ul li:first-child { border-top: 1px solid var(--border); }
.service-detail__content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.article-body ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}
.article-body ul li {
  list-style: disc;
  padding: 0.2rem 0 0.2rem 0.25rem;
  border: none;
  font-size: inherit;
}
.article-body ul li:first-child { border-top: none; }
.article-body ul li::before { content: none; }
.article-body iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: 1.5rem 0;
  border: 0;
  border-radius: var(--radius);
}

.service-sidebar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  align-self: start;
}
.service-sidebar h4 { margin-bottom: 1rem; font-size: 0.9rem; font-family: 'Lato', sans-serif; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.service-sidebar ul { list-style: none; padding: 0; }
.service-sidebar ul li { border-bottom: 1px solid var(--border); }
.service-sidebar ul li:last-child { border-bottom: none; }
.service-sidebar ul + h4 {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.service-sidebar ul li a {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.service-sidebar ul li a:hover { color: var(--primary); }
.service-sidebar ul li a.active { color: var(--primary); font-weight: 700; padding-left: 1.5rem; position: relative; }
.service-sidebar ul li a.active::before { content: '→'; position: absolute; left: 0; color: var(--accent); }
.sidebar-cta {
  margin-top: 2rem;
  background: var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.sidebar-cta p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-bottom: 1rem; }

@media (min-width: 1024px) {
  .service-detail__inner { grid-template-columns: 2fr 1fr; }
  .service-sidebar { position: sticky; top: 88px; }
}

/* ===========================
   FOOTER
   =========================== */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.65); padding: 4.5rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.footer-brand .logo-main { color: var(--white); }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.45); margin-top: 0.6rem; }
.footer-nav h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-nav h4 a { color: var(--white); text-decoration: none; }
.footer-nav h4 a:hover { color: rgba(255,255,255,0.75); }
.footer-nav ul li { margin-bottom: 0.5rem; }
.footer-nav ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-nav ul li a:hover { color: var(--white); }
.footer-logo { max-width: 160px; margin-bottom: 1rem; display: block; }
.footer-contact address { font-style: normal; font-size: 0.875rem; line-height: 1.9; margin-bottom: 0.75rem; }
.footer-contact p { font-size: 0.875rem; margin-bottom: 0.35rem; }
.footer-contact a:not(.btn) { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-contact a:not(.btn):hover { color: var(--white); }
/* Footer legal band — white section below dark footer */
.footer-legal {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 0;
}
.footer-legal__logo { padding-bottom: 1.5rem; }
.footer-legal__logo .site-logo__img { max-width: 160px; }
.footer-legal__grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  text-align: center;
}
.footer-legal__brand p {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  font-weight: 700;
}
.footer-legal__content p {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; list-style: none; padding: 0; margin: 0; justify-content: center; }
.footer-links a { font-size: 0.77rem; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--primary); }
.footer-legal__links { padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.footer-legal__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0;
}
.footer-copy {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin: 0;
}
.footer-legal__copy .site-by {
  font-size: 0.77rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.footer-legal__copy .site-by:hover { color: var(--primary); }

/* ===========================
   MODAL
   =========================== */
.modal-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0,16,40,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  opacity: 0;
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal h2 { font-size: 1.4rem; margin-bottom: 1.25rem; color: var(--primary); }
.modal__body h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.modal__body h4 { margin-bottom: 0.35rem; }
.modal__body p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.modal__body p:last-child { margin-bottom: 0; }
.modal__body ol { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; padding-left: 1.25rem; }
.modal__body ol li { margin-bottom: 0.75rem; }
.modal__body ul { padding-left: 1.25rem; margin: 0.5rem 0 0.75rem; }
.modal__body ul li { margin-bottom: 0.4rem; list-style: disc; }
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}
.modal__close:hover { color: var(--primary); }

/* ===========================
   CONTENT PAGES (legal, charter etc)
   =========================== */
.content-page { padding: 4rem 0 5rem; }
.content-page__body { max-width: 760px; }
.content-page__body p { margin-bottom: 1.25rem; color: var(--text); line-height: 1.8; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }

/* ===========================
   PHOSPHOR ICONS
   =========================== */
.service-card__icon i,
.life-event-card__icon i,
.value-item__icon i {
  color: var(--accent);
  display: block;
}
.service-card__icon { font-size: 2rem; }
.life-event-card__icon { font-size: 2rem; }
.value-item__icon { font-size: 1.75rem; }

/* ===========================
   RESOURCE CARDS
   =========================== */
.resource-cards-section { padding: 5rem 0; }
.resource-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.resource-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
@media (min-width: 640px) {
  .resource-card { flex-direction: row; align-items: flex-start; gap: 2rem; }
}
.resource-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.resource-card__icon {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
}
.resource-card__icon img { width: 2.25rem; height: 2.25rem; }
.resource-card__body { flex: 1; }
.resource-card__body h3 { margin-bottom: 0.5rem; }
.resource-card__body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.resource-card__link { font-size: 0.85rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; }

/* ===========================
   BACK TO TOP
   =========================== */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s;
  box-shadow: var(--shadow-lg);
}
#back-to-top.is-visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--accent-light); }

/* ===========================
   UTILITIES
   =========================== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }

/* ===========================
   DINGO VIDEO
   Neutralise injected Foundation classes and make iframes responsive
   =========================== */
#dingo .row.container {
  max-width: none;
  padding: 0;
  margin: 0 -0.75rem;
  display: flex;
  flex-wrap: wrap;
}
#dingo .columns {
  width: 100%;
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  #dingo .medium-6 { width: 50%; }
}
#dingo .flex-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
#dingo .flex-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
#dingo h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

/* ===========================
   DINGO TAX DIARY
   =========================== */
#dingocontent_tax h1 {
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 2px solid var(--accent) !important;
  padding: 2.5rem 0 0.6rem !important;
  margin: 0 0 0.5rem !important;
  letter-spacing: -0.01em;
}
#dingocontent_tax h1:first-child { padding-top: 0 !important; }
#dingocontent_tax h2 {
  font-size: clamp(1rem, 1.8vw, 1.25rem) !important;
  font-weight: 400;
  color: var(--primary);
  margin: 1.75rem 0 0.6rem !important;
}
#dingocontent_tax p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.85em;
}
#dingocontent_tax blockquote {
  border-left: 3px solid var(--border);
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}
#dingocontent_tax blockquote p { font-size: 0.9rem; }
#dingocontent_tax hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}
#dingocontent_tax li { margin-bottom: 0.5em !important; }
/* Some month headers are hardcoded as <p><strong style="..."> — override inline styles */
#dingocontent_tax p:has(> strong[style]) {
  border-bottom: 2px solid var(--accent);
  padding: 2.5rem 0 0.6rem;
  margin-bottom: 0.5rem !important;
}
#dingocontent_tax p:has(> strong[style]):first-child { padding-top: 0; }
#dingocontent_tax p > strong[style] {
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
}

/* ===========================
   DINGO CALCULATORS
   Neutralise injected Foundation classes and apply site styling
   =========================== */
#dingo_calcs .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}
#dingo_calcs .columns {
  width: 100%;
  padding: 0 0.75rem;
  margin-bottom: 2.5rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  #dingo_calcs .medium-6 { width: 50%; }
}
#dingo_calcs h3.headline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  padding-bottom: 0.6rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}
#dingo_calcs ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.35rem;
}
#dingo_calcs ul li { font-size: 0.68rem; color: var(--text-muted); }
#dingo_calcs ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem !important;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  line-height: 1;
}
#dingo_calcs ul li a::after { content: ' →'; font-size: 0.75em; opacity: 0.6; }
#dingo_calcs ul li a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
#dingo_calcs .article > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 760px;
}

/* ===========================
   INTRO SECTION (HOME)
   =========================== */
.intro-section { padding: 5rem 0; }
.intro-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .intro-section__inner { grid-template-columns: 1.2fr 1fr; }
}
.intro-section__text h2 { margin-bottom: 1.25rem; }
.intro-section__text p { color: var(--text-muted); margin-bottom: 1rem; }
.intro-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.intro-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.intro-checklist li i {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===========================
   OUTCOMES SECTION (HOME)
   =========================== */
.outcomes-section { padding: 5rem 0; background: var(--white); }
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 600px) { .outcomes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .outcomes-grid { grid-template-columns: repeat(5, 1fr); } }
.outcome-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.outcome-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.outcome-card__icon {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.outcome-card h3 { color: var(--primary); font-size: 1rem; margin-bottom: 0.75rem; min-height: 3rem; display: flex; align-items: center; justify-content: center; }
.outcome-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin: 0; }

/* ===========================
   CASE STUDY PREVIEW / SLIDER (HOME)
   =========================== */
.case-studies-preview { padding: 5rem 0; background: var(--primary); }
.case-studies-preview .section__header h2 { color: var(--white); }
.case-studies-preview .section__header .eyebrow { color: var(--accent-light); }
.case-studies-preview .section__header .lead { color: rgba(255,255,255,0.7); }
.case-studies-preview .btn--outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.case-studies-preview .btn--outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

.cs-slider { margin-top: 2.5rem; }
.cs-slider__viewport { overflow: hidden; }
.cs-slider__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.cs-slider__track .case-preview-card {
  flex: 0 0 100%;
}
@media (min-width: 768px) {
  .cs-slider__track .case-preview-card {
    flex: 0 0 calc((100% - 3rem) / 3);
  }
}

.cs-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.cs-slider__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  /* matches .case-studies-preview .btn--outline treatment */
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.cs-slider__btn:hover:not(:disabled) {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.cs-slider__dots { display: flex; gap: 0.5rem; align-items: center; }
.cs-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.cs-slider__dot.is-active { background: var(--accent-light); transform: scale(1.4); }
.case-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.case-preview-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-preview-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.case-preview-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.case-preview-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }

/* ===========================
   ABOUT INTRO SECTION
   =========================== */
.about-intro { padding: 5rem 0; }
.about-intro__inner { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: center; }
.about-intro__text h2 { margin-bottom: 1.25rem; }
.about-intro__text p { color: var(--text-muted); margin-bottom: 1rem; }
.about-intro__image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-intro__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .about-intro__inner { grid-template-columns: 1fr; }
  .about-intro__image { aspect-ratio: 16/9; }
}

/* ===========================
   TEAM SECTION
   =========================== */
.team-section { padding: 5rem 0; }
.team-member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.team-member-card__inner { max-width: 760px; }
.team-member-card h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin-bottom: 1.25rem; }
.team-member-card p { color: var(--text-muted); margin-bottom: 1rem; }

/* ===========================
   CASE STUDIES PAGE
   =========================== */
.case-studies-section { padding: 5rem 0; }
.case-study-card { scroll-margin-top: 90px; }

.case-studies-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .case-studies-layout { grid-template-columns: 220px 1fr; }
}

/* Sidebar */
.case-studies-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (min-width: 1024px) {
  .case-studies-sidebar {
    position: sticky;
    top: 88px;
  }
}
.case-studies-sidebar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.case-studies-sidebar ul { list-style: none; padding: 0; margin: 0; }
.case-studies-sidebar ul li { border-bottom: 1px solid var(--border); }
.case-studies-sidebar ul li:last-child { border-bottom: none; }

.cs-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, padding-left 0.2s;
}
.cs-nav-link:hover { background: var(--surface-dark); padding-left: 0.75rem; }
.cs-nav-link.is-active { background: var(--white); padding-left: 0.75rem; border-left: 3px solid var(--accent); }
.cs-nav-link__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.15s;
}
.cs-nav-link.is-active .cs-nav-link__name { color: var(--accent); }
.cs-nav-link__tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.case-study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-study-card__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: var(--primary);
  color: var(--white);
}
.case-study-card__header .eyebrow { color: var(--accent-light); margin-bottom: 0.35rem; }
.case-study-card__header h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.case-study-card__avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-light);
  flex-shrink: 0;
}
.case-study-card__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 700px) {
  .case-study-card__body { grid-template-columns: 1fr 1fr; }
}
.case-study-col {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.case-study-col:first-child { border-right: 1px solid var(--border); }
@media (max-width: 699px) {
  .case-study-col:first-child { border-right: none; }
}
.case-study-col h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.case-study-col h4 i { color: var(--accent); font-size: 1rem; }
.case-study-col p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.75; margin: 0; }
.case-study-card__strategy {
  padding: 1.75rem 2.5rem;
  background: var(--surface);
}
.case-study-card__strategy h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.case-study-card__strategy h4 i { font-size: 1rem; }
.case-study-card__strategy p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* ===========================
   ACCENT BLOCK (about/service)
   =========================== */
.accent-block {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.accent-block p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.mt-lg { margin-top: 3rem; }
