/* herronwebdesign.com - overrides on top of UIkit 3.21.6 (CDN). Mobile-first; breakpoints 480 / 768 / 1024. */

:root {
  color-scheme: only light;
  --navy: #12305a;
  --navy-deep: #0d2442;
  --ink: #141414;
  --text: #2a2a2a;
  --muted: #595959;
  --line: #dfe4ea;
  --tint: #f4f6f9;
  --tint-blue: #eaf0f8;
  --green: #198038;
  --green-deep: #12662b;
  --radius: 10px;
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
}

html {
  color-scheme: only light;
  background-color: #ffffff;
  color: #2a2a2a;
  font-family: var(--font);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #ffffff;
  color: #2a2a2a;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

img, video { max-width: 100%; }

/* ---------- Masthead ---------- */

.mast {
  background-color: #12305a;
  color: #ffffff;
  padding: 6px 16px 12px;
}

.mast__name {
  display: inline-block;
  padding: 9px 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
}

.mast__name:hover,
.mast__name:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mast__name:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

.mast__tag {
  display: block;
  margin: -4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #d3deee;
}

.label-strip {
  margin: 0;
  padding: 7px 16px;
  background-color: #eeeeee;
  border-bottom: 1px solid #dcdcdc;
  color: #595959;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Columns & sections ---------- */

.art-col {
  width: 100%;
  max-width: 716px;
  margin: 0 auto;
  padding: 0 16px;
}

.art-col--wide { max-width: 1032px; }

.uk-section.art-sec {
  padding: 36px 0;
  background-color: #ffffff;
  color: #2a2a2a;
}

.uk-section.art-sec--tint {
  background-color: #f4f6f9;
  border-top: 1px solid #e6eaf0;
  border-bottom: 1px solid #e6eaf0;
}

.uk-section.art-sec--quote {
  background-color: #eaf0f8;
  padding: 32px 0;
}

.uk-section.art-sec--close {
  background-color: #12305a;
  color: #ffffff;
  padding: 44px 0 48px;
}

.uk-section.art-sec--flush-top { padding-top: 16px; }

/* ---------- Article head ---------- */

.art-head {
  background-color: #ffffff;
  padding: 22px 0 6px;
}

.byline {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #595959;
}

.art-h1 {
  margin: 0 0 16px;
  font-family: var(--font);
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: #141414;
  text-transform: none;
}

.dek {
  margin: 0 0 22px;
  font-size: clamp(1.0625rem, 0.95rem + 0.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.5;
  color: #262626;
}

/* ---------- Type ---------- */

.art-h2 {
  margin: 0 0 16px;
  font-family: var(--font);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.006em;
  color: #141414;
  text-transform: none;
}

.prose p {
  margin: 0 0 1.05em;
  color: #2a2a2a;
}

.prose p:last-child { margin-bottom: 0; }

.prose strong { color: #141414; }

.art-col.prose--after-grid { margin-top: 26px; }

.prose p.tail { margin-top: 1.05em; }

.masthead {
  background-color: #ffffff;
  color: #2a2a2a;
}

.art-h2--light { color: #ffffff; }

.prose--light p { color: #e6edf8; }

/* ---------- Media ---------- */

.fig { margin: 26px 0; padding: 0; }

.fig:first-child { margin-top: 0; }

.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background-color: #1b2230;
}

.media-frame--wide { aspect-ratio: 1200 / 630; }

.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background-color: #1b2230;
}

.fig__cap {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #595959;
  text-align: center;
}

.pair {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.uk-grid.pair > * { flex: 1 1 0; min-width: 0; margin: 0; padding: 0; }

.pair__label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #12305a;
}

/* ---------- Cards (three-up) ---------- */

.uk-grid.cards-grid,
.uk-grid.duo-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 20px -8px 0;
  padding: 0;
  list-style: none;
}

.uk-grid.cards-grid > *,
.uk-grid.duo-grid > * {
  width: 100%;
  margin: 0;
  padding: 8px;
}

.card3,
.panel {
  height: 100%;
  background-color: #ffffff;
  color: #2a2a2a;
  border: 1px solid #dfe4ea;
  border-radius: 12px;
  padding: 22px 20px 24px;
  box-shadow: 0 1px 2px rgba(18, 48, 90, 0.05), 0 10px 24px -16px rgba(18, 48, 90, 0.28);
}

.card3__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 0 14px;
  border-radius: 50%;
  background-color: #e6edf7;
  color: #12305a;
}

.card3__icon svg { display: block; width: 24px; height: 24px; }

.card3__title,
.panel__title {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #141414;
  text-transform: none;
}

.card3__text {
  margin: 0;
  font-size: 0.9688rem;
  line-height: 1.6;
  color: #333333;
}

/* ---------- Steps & lists ---------- */

.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 0 0 22px 56px;
  counter-increment: step;
  color: #2a2a2a;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #12305a;
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1;
}

.steps li::after {
  content: "";
  position: absolute;
  top: 46px;
  bottom: 8px;
  left: 18px;
  width: 2px;
  background-color: #d2dae6;
}

.steps li:last-child { padding-bottom: 0; }

.steps li:last-child::after { display: none; }

.steps strong {
  display: block;
  margin: 0 0 2px;
  font-size: 1.125rem;
  line-height: 1.35;
  color: #141414;
}

.checks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.checks li {
  position: relative;
  margin: 0;
  padding: 0 0 14px 38px;
  color: #2a2a2a;
}

.checks li:last-child { padding-bottom: 0; }

.checks li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #198038;
}

.checks li::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0.8);
}

.checks strong { color: #141414; }

.plain-list {
  list-style: disc;
  margin: 18px 0 0;
  padding: 0 0 0 1.25rem;
  color: #2a2a2a;
}

.plain-list li {
  margin: 0 0 12px;
  padding-left: 4px;
}

.plain-list li:last-child { margin-bottom: 0; }

.plain-list li::marker { color: #12305a; }

.plain-list strong { color: #141414; }

/* ---------- Pull quote (card shape) ---------- */

.pullquote {
  position: relative;
  margin: 0;
  padding: 36px 22px 24px 24px;
  background-color: #ffffff;
  color: #12305a;
  border: 1px solid #d3dcea;
  border-left: 5px solid #12305a;
  border-radius: 12px;
  font-style: normal;
  box-shadow: 0 10px 26px -18px rgba(18, 48, 90, 0.4);
}

.pullquote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  color: #b9c8de;
}

.pullquote p {
  margin: 0;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
  font-weight: 700;
  line-height: 1.35;
  color: #12305a;
}

.pullquote__src {
  display: block;
  margin: 12px 0 0;
  font-size: 0.875rem;
  font-style: normal;
  color: #595959;
}

/* ---------- Call to action ---------- */

.cta {
  margin: 30px 0 4px;
  padding: 0;
  text-align: center;
}

.cta__lead {
  margin: 0 0 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  color: #141414;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  background-color: #198038;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 3px 0 #0f5a27, 0 12px 22px -12px rgba(25, 128, 56, 0.7);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cta-btn:hover {
  background-color: #12662b;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #0b4a1f, 0 16px 26px -12px rgba(25, 128, 56, 0.75);
}

.cta-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #0f5a27; }

.cta-btn:focus-visible { outline: 3px solid #12305a; outline-offset: 3px; color: #ffffff; }

.exit-note {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #595959;
  text-align: center;
}

.prose p.cta__lead { margin: 0 0 12px; color: #141414; }

.prose p.exit-note { margin: 16px 0 0; color: #595959; }

.art-sec--close .prose p.cta__lead { color: #ffffff; }

.art-sec--close .cta-btn:focus-visible { outline-color: #ffffff; }

.art-sec--close .prose p.exit-note { color: #d3deee; }

/* ---------- "Who it suits" panels ---------- */

.panel { padding: 24px 22px 26px; }

.panel .checks { margin-top: 14px; }

/* ---------- Footer (publisher imprint) ---------- */

.page-end {
  background-color: #ffffff;
  color: #595959;
  font-size: 0.8125rem;
  line-height: 1.6;
  padding: 40px 0 56px;
}

.page-end__company {
  margin: 0 0 18px;
  color: #595959;
}

.page-end__company p { margin: 0; color: #595959; }

.page-end__company .page-end__name { color: #2a2a2a; font-weight: 700; }

.page-end__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 0 0 14px;
  padding: 0;
}

.page-end__policies a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #12305a;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.page-end__policies a:hover { color: #0d2442; text-decoration-thickness: 2px; }

.page-end__policies a:focus-visible { outline: 3px solid #12305a; outline-offset: 2px; border-radius: 2px; }

.footer-note {
  margin: 0;
  max-width: 62ch;
  color: #595959;
}

/* ---------- Legal / about pages ---------- */

.legal { padding: 28px 0 28px; background-color: #ffffff; color: #2a2a2a; }

.legal .art-h1 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem); margin-bottom: 8px; }

.revision {
  margin: 0 0 26px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #595959;
}

.legal .art-h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
}

.legal p { margin: 0 0 1em; color: #2a2a2a; }

.legal ul { margin: 0 0 1em; padding-left: 1.25rem; }

.legal li { margin: 0 0 8px; color: #2a2a2a; }

.legal a {
  color: #12305a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover { color: #0d2442; }

.legal a:focus-visible { outline: 3px solid #12305a; outline-offset: 2px; }

.legal address { margin: 0 0 1em; font-style: normal; color: #2a2a2a; }

/* ---------- 480px ---------- */

@media (min-width: 480px) {
  .mast { padding-left: 24px; padding-right: 24px; }
  .label-strip { padding-left: 24px; padding-right: 24px; }
  .art-col { padding: 0 24px; }
  .card3 { padding: 24px 24px 26px; }
  .cta-btn { font-size: 1.125rem; }
}

/* ---------- 768px ---------- */

@media (min-width: 768px) {
  body { font-size: 1.125rem; }

  .art-col { max-width: 732px; padding: 0 24px; }
  .art-col--wide { max-width: 1048px; }

  .uk-section.art-sec { padding: 52px 0; }
  .uk-section.art-sec--quote { padding: 48px 0; }
  .uk-section.art-sec--close { padding: 64px 0 68px; }
  .uk-section.art-sec--flush-top { padding-top: 24px; }

  .art-head { padding: 28px 0 8px; }
  .art-h1 { margin-bottom: 18px; }
  .dek { margin-bottom: 28px; }

  .fig { margin: 34px 0; }
  .fig__cap { font-size: 0.875rem; }
  .pair { gap: 16px; }

  .uk-grid.cards-grid > * { width: 33.3333%; }
  .uk-grid.duo-grid > * { width: 50%; }

  .uk-grid.cards-grid,
  .uk-grid.duo-grid { margin-top: 26px; }

  .cta { margin: 38px 0 4px; }
  .cta-btn { font-size: 1.1875rem; min-height: 64px; }

  .pullquote { padding: 42px 36px 30px 38px; }
  .pullquote::before { left: 26px; font-size: 4.5rem; }

  .page-end { padding: 56px 0 72px; }
  .legal { padding: 44px 0 36px; }
}

/* ---------- 1024px ---------- */

@media (min-width: 1024px) {
  .uk-section.art-sec { padding: 64px 0; }
  .uk-section.art-sec--quote { padding: 52px 0; }
  .uk-section.art-sec--flush-top { padding-top: 24px; }
  .uk-section.art-sec--close { padding: 80px 0 84px; }
  .mast { padding-left: 32px; padding-right: 32px; }
  .label-strip { padding-left: 32px; padding-right: 32px; }
  .card3 { padding: 28px 26px 30px; }
  .steps li { padding-bottom: 26px; padding-left: 62px; }
  .steps li::before { width: 42px; height: 42px; }
  .steps li::after { left: 20px; top: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-btn { transition: none; }
}
