/* ============================================================
   UI.CSS
   Reusable components: nav, footer, buttons, forms, section
   system, cards, testimonials, pricing, proof bar, pagination,
   page banner, category filter.
   Requires global.css and palette.css to be loaded first.
   ============================================================ */

/* ============================================================
   NAV
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base);
}

.site-nav--solid {
  background: var(--slate-800);
  box-shadow: 0 1px 0 oklch(from var(--teal-secondary) l c h / 0.3);
}

/* Always solid on interior pages (no hero behind nav) */
.site-nav--page {
  background: var(--slate-800);
  box-shadow: 0 1px 0 oklch(from var(--teal-secondary) l c h / 0.3);
}

.site-nav__inner {
  width: min(1440px, 90%);
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
}

.site-nav__logo-mark {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-nav__logo-wordmark {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}

.site-nav__links {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--slate-900);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--gap);
  z-index: 99;
}

.site-nav__links--open {
  display: flex;
}

.site-nav__link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 200px;
  padding: 0 25px;
}

@media (min-width: 768px) {
  .site-nav__link {
    align-self: stretch;
    min-height: unset;
    min-width: unset;
    justify-content: flex-start;
  }
}

.site-nav__link:not(.site-nav__link--active):hover {
  color: var(--gold-400);
}

.site-nav__link--active {
  color: var(--white);
  background: var(--teal-700);
  border-radius: 0;
  margin: 0 -10px;
}

.site-nav__cta {
  font-size: var(--text-sm);
  padding: 0 20px;
}

.site-nav__close {
  position: absolute;
  top: 20px;
  right: var(--gap);
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.site-nav__close:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .site-nav__close {
    display: none;
  }
}

.site-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.site-nav__hamburger span {
  display: block;
  width: 22px;
  height: var(--cards-gap);
  background: var(--white);
  border-radius: 1px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

@media (min-width: 768px) {
  .site-nav__links {
    display: flex;
    position: static;
    background: transparent;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: var(--gap);
    z-index: auto;
  }

  .site-nav__hamburger {
    display: none;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--slate-900);
}

.site-footer__inner {
  width: min(1440px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  padding: calc(var(--gap) * 2) 0;
}

.site-footer__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--slate-400);
  margin: 0;
}

.site-footer__col-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 0 0 16px;
}

.site-footer__address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--slate-400);
  margin-bottom: var(--gap);
}

.site-footer__address:last-child {
  margin-bottom: 0;
}

.site-footer__address-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
  font-style: normal;
  display: inline-block;
}

.site-footer__address-link:hover {
  color: var(--white);
}

.site-footer__address-label {
  font-weight: 600;
  color: var(--slate-300);
  margin: 0 0 2px;
}

.site-footer__links,
.site-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__links a,
.site-footer__contact a,
.site-footer__contact li {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--slate-200);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: var(--white);
}

.site-footer__link--active {
  color: var(--teal-secondary) !important;
}

.site-footer__bar {
  border-top: 1px solid oklch(from var(--white) l c h / 0.08);
  width: min(1440px, 90%);
  margin: 0 auto;
  padding: var(--gap) 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--slate-500);
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: calc(var(--gap) * 2);
    padding: calc(var(--gap) * 3) 0 calc(var(--gap) * 2);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 0;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    opacity var(--transition-fast);
}

.btn--primary {
  background: var(--teal-primary);
  color: var(--white);
  border-color: var(--teal-primary);
}

.btn--primary:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
}

.section--dark .btn--primary,
.section--teal .btn--primary,
.hero-bg .btn--primary {
  background: var(--teal-secondary);
  border-color: var(--teal-secondary);
}

.section--dark .btn--primary:hover,
.section--teal .btn--primary:hover,
.hero-bg .btn--primary:hover {
  background: var(--teal-400);
  border-color: var(--teal-400);
}

.btn--primary-inv {
  background: var(--teal-secondary);
  color: var(--white);
  border-color: var(--teal-secondary);
}

.btn--primary-inv:hover {
  background: var(--teal-400);
  border-color: var(--teal-400);
}

.btn--tertiary {
  background: var(--slate-900);
  color: var(--white);
  border-color: var(--slate-900);
}

.btn--tertiary:hover {
  background: var(--slate-800);
  border-color: var(--slate-800);
}

.btn--ghost {
  background: transparent;
  color: var(--slate-dark);
  border-color: var(--slate-300);
}

.btn--ghost:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
}

.btn--ghost-inv {
  background: transparent;
  color: var(--white);
  border-color: oklch(from var(--white) l c h / 0.35);
}

.btn--ghost-inv:hover {
  background: oklch(from var(--white) l c h / 0.08);
  border-color: oklch(from var(--white) l c h / 0.55);
}

/* ============================================================
   FORMS
   ============================================================ */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section--light .form-label {
  color: var(--slate-600);
}

.section--dark .form-label,
.section--teal .form-label {
  color: oklch(from var(--white) l c h / 0.7);
}

.form-input {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--slate-900);
  background: var(--bg-100);
  border: 1px solid var(--slate-200);
  padding: 12px 14px;
  width: 100%;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--slate-400);
}

.form-input:focus {
  border-color: var(--teal-secondary);
  box-shadow: 0 0 0 2px oklch(from var(--teal-secondary) l c h / 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-label--optional {
  font-weight: 400;
  opacity: 0.6;
  text-transform: none;
  letter-spacing: 0;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235F6F73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--white);
  padding-right: 36px;
  cursor: pointer;
}

/* ============================================================
   SECTION SYSTEM
   ============================================================ */

.section--light {
  background: var(--bg-100);
}
.section--dark {
  background: var(--slate-800);
}
.section--teal {
  background: var(--teal-primary);
}

.section__inner {
  width: min(1440px, 90%);
  margin: 0 auto;
  padding: calc(var(--gap) * 2) 0;
}

@media (min-width: 768px) {
  .section__inner {
    padding: calc(var(--gap) * 4) 0;
  }
}

.section__inner--flush-top {
  padding-top: 0;
}

/* Split layout */
.section__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--gap) * 2);
  align-items: center;
}

@media (min-width: 768px) {
  .section__split {
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--gap) * 4);
  }
}

.section__split--reverse > :first-child {
  order: 1;
}

.section__split-aside {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: calc(var(--gap) * 2);
  border-left: 1px solid oklch(from var(--white) l c h / 0.1);
}

@media (min-width: 768px) {
  .section__split-aside {
    display: flex;
  }
}

.section--light .section__split-aside {
  border-left-color: var(--border);
}

/* Section header */
.section__header {
  max-width: 640px;
  margin-bottom: calc(var(--gap) * 2);
}

@media (min-width: 768px) {
  .section__header {
    margin-bottom: calc(var(--gap) * 3);
  }
}

.section__header--split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--gap);
  max-width: none;
  margin-bottom: calc(var(--gap) * 2);
}

@media (min-width: 768px) {
  .section__header--split {
    grid-template-columns: 3fr 2fr;
    gap: calc(var(--gap) * 2);
    margin-bottom: calc(var(--gap) * 3);
  }
}

.section__center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
}

.section__foot {
  margin-top: calc(var(--gap) * 2);
  text-align: center;
}

@media (min-width: 768px) {
  .section__foot {
    margin-top: calc(var(--gap) * 3);
  }
}

/* Eyebrow */
.section__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--teal-secondary);
}

.section--dark .section__eyebrow,
.section--teal .section__eyebrow {
  color: var(--gold-base);
}

/* Headline */
.section__headline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-fluid-heading);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--slate-dark);
}

.section--dark .section__headline,
.section--teal .section__headline {
  color: var(--white);
}

/* Body copy */
.section__body {
  font-family: var(--font-body);
  font-size: var(--text-fluid-body);
  line-height: 1.65;
  margin: 0 0 16px;
  color: var(--slate-500);
}

.section__body:last-child {
  margin-bottom: 0;
}

.section--dark .section__body,
.section--teal .section__body {
  color: var(--slate-400);
}

/* Display stat */
.section__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-fluid-display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--teal-primary);
}

.section--dark .section__stat-value {
  color: var(--teal-200);
}

.section__stat-label {
  font-family: var(--font-body);
  font-size: var(--text-fluid-body);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.section--dark .section__stat-label {
  color: var(--slate-400);
}

/* Pull quote */
.section__pull-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-fluid-heading);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  text-align: center;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
  color: var(--teal-primary);
}

/* CTA band sub copy */
.section__sub {
  font-family: var(--font-body);
  font-size: var(--text-fluid-body);
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

.section--light .section__sub {
  color: var(--slate-500);
}

.section--dark .section__sub,
.section--teal .section__sub {
  color: oklch(from var(--white) l c h / 0.8);
}

/* Legacy alias */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-secondary);
  margin: 0 0 16px;
}

.section-label--gold,
.section-label--light {
  color: var(--gold-base);
}

/* ============================================================
   IMAGE COLUMN
   ============================================================ */

.section__image {
  overflow: hidden;
}

.section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   IMAGE TINT SYSTEM
   Three utility wrappers — apply to the element that contains
   the <img>. Each uses ::after so the img itself is untouched.
   ============================================================ */

/* Shared base for all tint variants */
.img-tint--background,
.img-tint--darken,
.img-tint--teal {
  position: relative;
  overflow: hidden;
}

.img-tint--background::after,
.img-tint--darken::after,
.img-tint--teal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* --hero: teal cast + heavy darken — for text-overlay hero sections */
.img-tint--background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: oklch(from var(--teal-primary) l c h / 0.45);
  pointer-events: none;
  z-index: 1;
}

.img-tint--background::after {
  background: oklch(from var(--slate-dark) l c h / 0.55);
  z-index: 2;
}

/* --card: darken only — for blog thumbnails */
.img-tint--darken::after {
  background: oklch(from var(--slate-dark) l c h / 0.3);
}

/* --subtle: light teal wash — for decorative images */
.img-tint--teal::after {
  background: oklch(from var(--teal-primary) l c h / 0.25);
}

/* ============================================================
   CARDS
   ============================================================ */

.cards {
  display: grid;
  gap: 8px;
}

.cards--third {
  grid-template-columns: 1fr;
}
.cards--quarter {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards {
    gap: var(--cards-gap);
  }

  .cards--third {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards--quarter {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  border-top-width: 0;
  border-top-style: solid;
}

@media (min-width: 640px) {
  .card {
    border-top-width: var(--border-width);
  }
}

.section--light .card {
  background: var(--white);
  border-color: var(--teal-primary);
}

.section--dark .card,
.section--teal .card {
  background: oklch(from var(--slate-800) calc(l + 0.04) c h);
  border-color: var(--teal-secondary);
}

.card__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  color: var(--teal-secondary);
}

.section--dark .card__eyebrow,
.section--teal .card__eyebrow {
  color: var(--gold-base);
}

.card__label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-fluid-sub);
  margin: 0;
  color: var(--slate-dark);
}

.section--dark .card__label,
.section--teal .card__label {
  color: var(--white);
}

.card__copy {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  color: var(--slate-500);
}

.section--dark .card__copy,
.section--teal .card__copy {
  color: var(--slate-400);
}

/* Article card variant */
.card--article {
  padding: 0;
  gap: 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.card--article:hover {
  opacity: 0.8;
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--slate-700);
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 0;
}

.card--article:hover .card__image img {
  transform: scale(1.03);
}

.section--light .card__image {
  background: var(--slate-100);
}

.card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 32px 32px;
  flex: 1;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card__date {
  font-size: var(--text-xs);
  color: var(--slate-400);
}

.section--dark .card__date,
.section--teal .card__date {
  color: var(--slate-500);
}

.card__link {
  margin-top: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--teal-secondary);
  text-decoration: underline;
  text-decoration-color: oklch(from var(--teal-secondary) l c h / 0.35);
  text-underline-offset: 2px;
}

.section--dark .card__link,
.section--teal .card__link {
  color: var(--gold-300);
  text-decoration-color: oklch(from var(--gold-300) l c h / 0.4);
}

/* ============================================================
   PROOF BAR
   ============================================================ */

.proof-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  background: var(--slate-dark);
  margin: 0 auto;
  padding: 35px 0 55px;
  border-top: 3px solid var(--teal-primary);
}

@media (min-width: 768px) {
  .proof-bar {
    transform: translateY(calc(-50% - var(--border-width)));
    width: min(1600px, 90%);
    padding-top: var(--border-width);
    padding-bottom: 0;
  }
}

.proof-bar__inner {
  margin: 0 auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--gap) * 2) 40px;
  gap: var(--gap);
}

@media (min-width: 768px) {
  .proof-bar__inner {
    display: flex;
  }
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.proof-stat__value {
  font-family: var(--font-heading);
  font-size: var(--text-fluid-heading);
  font-weight: 400;
  color: var(--gold-base);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.proof-stat__stars {
  font-size: 0.55em;
  color: var(--gold-base);
  letter-spacing: 0.05em;
}

.proof-stat__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--teal-700);
  flex-shrink: 0;
}

/* Proof slot (mobile carousel) */
.proof-slot {
  display: block;
  overflow: hidden;
  height: 110px;
}

@media (min-width: 768px) {
  .proof-slot {
    display: none;
  }
}

.proof-slot__track {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

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

.proof-slot__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 110px;
  gap: 4px;
  flex-shrink: 0;
}

.proof-slot__item .proof-stat__value {
  font-family: var(--font-heading);
  font-size: var(--text-fluid-hero);
  font-weight: 400;
  color: var(--gold-base);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.proof-slot__item .proof-stat__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  text-align: center;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--cards-gap);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  margin: 0;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.section--light .testimonial {
  background: var(--white);
  border-top: var(--border-width) solid var(--teal-primary);
}

.section--dark .testimonial {
  background: oklch(from var(--slate-800) calc(l + 0.04) c h);
  border-top: var(--border-width) solid var(--teal-secondary);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-fluid-body);
  line-height: 1.6;
  margin: 0;
}

.section--light .testimonial__quote {
  color: var(--slate-500);
}
.section--dark .testimonial__quote {
  color: var(--slate-300);
}

.testimonial__quote::before {
  content: "\201C";
  color: var(--gold-base);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.25em;
  margin-right: 6px;
}

.testimonial__quote::after {
  content: "\201D";
  color: var(--gold-base);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.25em;
}

.testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: var(--gap);
}

.section--light .testimonial__footer {
  border-top: 1px solid var(--slate-200);
}
.section--dark .testimonial__footer {
  border-top: 1px solid oklch(from var(--white) l c h / 0.08);
}

.testimonial__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section--light .testimonial__name {
  color: var(--slate-dark);
}
.section--dark .testimonial__name {
  color: var(--white);
}

.testimonial__duration {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-base);
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0;
}

.pricing__from {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--slate-500);
}

.pricing__amount {
  font-family: var(--font-heading);
  font-size: var(--text-fluid-hero);
  font-weight: 400;
  line-height: 1;
  color: var(--teal-primary);
}

.pricing__currency {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--slate-500);
}

.pricing__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing__list li {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--slate-500);
  padding-left: 16px;
  position: relative;
}

.pricing__list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--teal-secondary);
}

.pricing__card--featured .pricing__amount {
  color: var(--gold-base);
}

.pricing__note {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--slate-400);
  margin: calc(var(--gap) * 2) 0 0;
  max-width: 560px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .process .card,
  .pricing .card,
  .testimonial {
    aspect-ratio: 1;
  }
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--gap) * 2);
  align-items: start;
}

@media (min-width: 768px) {
  .cta-band__layout {
    grid-template-columns: 2fr 3fr;
    gap: calc(var(--gap) * 4);
  }
}

.cta-band__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-band__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-band__form .form-field {
  width: 100%;
}

.cta-band__form input.form-input {
  max-width: 420px;
}

.cta-band__form .btn {
  width: fit-content;
}

/* ============================================================
   PAGE BANNER  (interior page header - replaces hero)
   ============================================================ */

.page-banner {
  background: var(--slate-800);
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: var(--border-width) solid var(--teal-primary);
}

@media (min-width: 768px) {
  .page-banner {
    padding-top: calc(var(--gap) * 2);
    padding-bottom: calc(var(--gap) * 2);
  }
}

.page-banner__inner {
  width: min(1440px, 90%);
  margin: 0 auto;
  padding: 0 0 0 28px;
  border-left: var(--border-width) solid var(--teal-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .page-banner__inner {
    padding-left: 32px;
  }
}

.page-banner__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-base);
  margin: 0 0 12px;
  flex-basis: 100%;
}

.page-banner__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-fluid-sub);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--white);
  margin: 0;
}

.page-banner__query {
  color: var(--gold-base);
}

.page-banner__desc {
  font-family: var(--font-body);
  font-size: var(--text-fluid-body);
  line-height: 1.6;
  color: var(--slate-400);
  max-width: 560px;
  margin: 0;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumbs {
  flex-shrink: 0;
  margin-left: auto;
}

.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__item {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__item::before {
  content: "/";
  color: var(--teal-400);
}

.breadcrumbs__link {
  color: var(--slate-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
  color: var(--white);
}

.breadcrumbs__item--current {
  color: var(--gold-base);
}

/* ============================================================
   CATEGORY FILTER
   ============================================================ */

.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: calc(var(--gap) * 2);
}

.cat-filter__btn {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--slate-500);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.cat-filter__btn:hover {
  background: var(--teal-50);
  border-color: var(--teal-300);
  color: var(--teal-primary);
}

.cat-filter__btn--active {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
  color: var(--white);
}

.cat-filter__btn--active:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: var(--white);
}

/* ============================================================
   BLOG POST GRID
   ============================================================ */

/* Featured post: full-width card with image left, text right */
.post-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  text-decoration: none;
  background: var(--white);
  border-top: var(--border-width) solid var(--teal-primary);
  margin-bottom: 8px;
  transition: opacity var(--transition-base);
}

.post-featured:hover {
  opacity: 0.9;
}

.post-featured:hover .post-featured__image img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .post-featured {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
}

.post-featured__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate-100);
}

@media (min-width: 768px) {
  .post-featured__image {
    aspect-ratio: auto;
    min-height: 360px;
  }
}

.post-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 0;
}

.post-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 40px 36px 44px;
}

.post-featured__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-primary);
  width: fit-content;
}

.post-featured__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-featured__cat {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-secondary);
}

.post-featured__date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--slate-400);
}

.post-featured__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-fluid-sub);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--slate-dark);
  margin: 0;
}

.post-featured__excerpt {
  font-family: var(--font-body);
  font-size: var(--text-fluid-body);
  line-height: 1.65;
  color: var(--slate-500);
  margin: 0;
  max-width: 520px;
}

.post-featured__cta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-secondary);
  text-decoration: underline;
  text-decoration-color: oklch(from var(--teal-secondary) l c h / 0.3);
  text-underline-offset: 3px;
  margin-top: 4px;
}

/* ============================================================
   BLOG INDEX LAYOUT
   ============================================================ */

.search-results__count {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--slate-500);
  margin-bottom: 20px;
}

.search-results__count strong {
  font-weight: 600;
  color: var(--teal-secondary);
}

/* Mobile search: visible only below sidebar breakpoint */
.blog-index__search-mobile {
  display: block;
  margin-bottom: var(--gap);
}

@media (min-width: 1024px) {
  .blog-index__search-mobile {
    display: none;
  }
}

/* Desktop sidebar search: hidden on mobile */
.blog-sidebar__search-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .blog-sidebar__search-desktop {
    display: flex;
  }

  .blog-sidebar__search-sticky {
    flex-shrink: 0;
  }

  .blog-sidebar__scroll {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 3px;
  }
}

.blog-index__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: start;
}

@media (min-width: 1024px) {
  .blog-index__body {
    grid-template-columns: 1fr 300px;
    gap: calc(var(--gap) * 2);
  }
}

.cards--half {
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .cards--half {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

@media (min-width: 1024px) {
  .blog-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + var(--gap));
    max-height: calc(100vh - var(--nav-height) - var(--gap));
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

.sidebar-widget {
  background: var(--white);
  border-top: var(--border-width) solid var(--teal-primary);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget--teal {
  background: var(--teal-primary);
  border-top-color: var(--teal-800);
}

.sidebar-widget__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-secondary);
  margin: 0;
}

/* Search */
.sidebar-search__field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--slate-200);
}

.sidebar-search__input {
  border: none;
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: var(--text-base);
  background: var(--bg-100);
  color: var(--slate-900);
  outline: none;
}

.sidebar-search__input:focus {
  box-shadow: none;
  background: var(--white);
}

.sidebar-search__btn {
  background: var(--teal-primary);
  border: none;
  color: var(--white);
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.sidebar-search__btn:hover {
  background: var(--teal-800);
}

/* Categories list */
.sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-cats__item + .sidebar-cats__item {
  border-top: 1px solid var(--border);
}

.sidebar-cats__link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--slate-600);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  transition: color var(--transition-fast);
}

.sidebar-cats__link:hover {
  color: var(--teal-primary);
}

.sidebar-cats__count {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--slate-400);
  background: var(--bg-200);
  padding: 2px 8px;
}

/* Latest posts list */
.sidebar-posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-posts__item + .sidebar-posts__item {
  border-top: 1px solid var(--border);
}

.sidebar-posts__link {
  display: block;
  padding: 14px 0;
  text-decoration: none;
}

.sidebar-posts__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.45;
  color: var(--slate-700);
  transition: color var(--transition-fast);
}

.sidebar-posts__link:hover .sidebar-posts__title {
  color: var(--teal-primary);
}

/* Promo widget */
.sidebar-promo__body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: oklch(from var(--white) l c h / 0.85);
  margin: 0;
}

.sidebar-promo__tel {
  color: var(--gold-base);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-promo__tel:hover {
  color: var(--gold-300);
}

.sidebar-promo__link {
  color: var(--gold-base);
  text-decoration: underline;
  text-decoration-color: oklch(from var(--gold-base) l c h / 0.4);
  text-underline-offset: 2px;
}

.sidebar-promo__link:hover {
  color: var(--gold-300);
}

/* Screen-reader only utility */
.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;
}

/* ============================================================
   VIEW TOGGLE
   ============================================================ */

.view-toggle {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.view-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--slate-400);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.view-toggle__btn:hover {
  background: var(--teal-50);
  border-color: var(--teal-300);
  color: var(--teal-primary);
}

.view-toggle__btn--active {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
  color: var(--white);
}

.view-toggle__btn--active:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: var(--white);
}

/* List view: single column, each card mirrors post-featured layout */
.cards--list {
  grid-template-columns: 1fr;
  gap: 16px;
}

.cards--list .card--article {
  display: grid;
  grid-template-columns: 1fr;
  border-top: var(--border-width) solid var(--teal-primary);
}

@media (min-width: 640px) {
  .cards--list .card--article {
    grid-template-columns: 1fr 2fr;
    gap: 16px;
  }
}

.cards--list .card__image {
  aspect-ratio: 16 / 9;
}

@media (min-width: 640px) {
  .cards--list .card__image {
    aspect-ratio: auto;
    min-height: 0;
    align-self: stretch;
    position: relative;
    overflow: hidden;
  }

  .cards--list .card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.cards--list .card__content {
  justify-content: center;
  padding: 28px 32px;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: calc(var(--gap) * 2);
  padding-top: var(--gap);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .pagination {
    margin-top: calc(var(--gap) * 3);
    padding-top: calc(var(--gap) * 2);
  }
}

.pagination__btn {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--slate-500);
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.pagination__btn:hover {
  background: var(--teal-50);
  border-color: var(--teal-200);
  color: var(--teal-primary);
}

.pagination__btn--active {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
  color: var(--white);
}

.pagination__btn--active:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
}

.pagination__ellipsis {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--slate-400);
  padding: 0 6px;
  user-select: none;
}

/* ============================================================
   BADGES
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid transparent;
}

/* On light */
.badge--teal {
  background: var(--teal-50);
  color: var(--teal-700);
  border-color: var(--teal-200);
}

.badge--gold {
  background: var(--gold-100);
  color: var(--gold-700);
  border-color: var(--gold-200);
}

.badge--slate {
  background: var(--slate-100);
  color: var(--slate-600);
  border-color: var(--slate-300);
}

.badge--outline {
  background: transparent;
  color: var(--slate-600);
  border-color: var(--slate-300);
}

/* On dark */
.badge--teal-inv {
  background: oklch(from var(--teal-secondary) l c h / 0.2);
  color: var(--teal-100);
  border-color: oklch(from var(--teal-300) l c h / 0.3);
}

.badge--gold-inv {
  background: oklch(from var(--gold-500) l c h / 0.15);
  color: var(--gold-300);
  border-color: oklch(from var(--gold-400) l c h / 0.3);
}

.badge--slate-inv {
  background: oklch(from var(--slate-600) l c h / 0.3);
  color: var(--slate-300);
  border-color: oklch(from var(--slate-400) l c h / 0.3);
}

.badge--outline-inv {
  background: transparent;
  color: oklch(from var(--white) l c h / 0.55);
  border-color: oklch(from var(--white) l c h / 0.2);
}

/* On teal */
.badge--teal-teal {
  background: var(--teal-800);
  color: var(--teal-200);
  border-color: var(--teal-600);
}

.badge--gold-teal {
  background: oklch(from var(--gold-500) l c h / 0.2);
  color: var(--gold-300);
  border-color: oklch(from var(--gold-400) l c h / 0.35);
}

.badge--slate-teal {
  background: oklch(from var(--slate-800) l c h / 0.5);
  color: var(--slate-300);
  border-color: oklch(from var(--slate-500) l c h / 0.3);
}

.badge--outline-teal {
  background: transparent;
  color: oklch(from var(--white) l c h / 0.55);
  border-color: oklch(from var(--white) l c h / 0.2);
}

/* Status - on light */
.badge--success {
  background: oklch(from var(--success-500) calc(l + 0.28) calc(c * 0.25) h);
  color: oklch(from var(--success-500) calc(l - 0.3) c h);
  border-color: oklch(from var(--success-500) calc(l + 0.15) calc(c * 0.5) h);
}

.badge--warning {
  background: oklch(from var(--warning-500) calc(l + 0.18) calc(c * 0.25) h);
  color: oklch(from var(--warning-500) calc(l - 0.4) c h);
  border-color: oklch(from var(--warning-500) calc(l + 0.05) calc(c * 0.5) h);
}

.badge--error {
  background: oklch(from var(--error-500) calc(l + 0.28) calc(c * 0.2) h);
  color: oklch(from var(--error-500) calc(l - 0.25) c h);
  border-color: oklch(from var(--error-500) calc(l + 0.12) calc(c * 0.45) h);
}

/* Status - on dark */
.badge--success-inv {
  background: oklch(from var(--success-500) l c h / 0.2);
  color: oklch(from var(--success-500) calc(l + 0.2) c h);
  border-color: oklch(from var(--success-500) l c h / 0.35);
}

.badge--warning-inv {
  background: oklch(from var(--warning-500) l c h / 0.15);
  color: oklch(from var(--warning-500) calc(l + 0.1) c h);
  border-color: oklch(from var(--warning-500) l c h / 0.3);
}

.badge--error-inv {
  background: oklch(from var(--error-500) l c h / 0.2);
  color: oklch(from var(--error-500) calc(l + 0.2) c h);
  border-color: oklch(from var(--error-500) l c h / 0.35);
}

/* Status - on teal */
.badge--success-teal {
  background: oklch(from var(--success-500) calc(l - 0.1) c h / 0.25);
  color: oklch(from var(--success-500) calc(l + 0.2) c h);
  border-color: oklch(from var(--success-500) l c h / 0.4);
}

.badge--warning-teal {
  background: oklch(from var(--warning-500) calc(l - 0.1) c h / 0.2);
  color: oklch(from var(--warning-500) calc(l + 0.1) c h);
  border-color: oklch(from var(--warning-500) l c h / 0.35);
}

.badge--error-teal {
  background: oklch(from var(--error-500) calc(l - 0.1) c h / 0.25);
  color: oklch(from var(--error-500) calc(l + 0.2) c h);
  border-color: oklch(from var(--error-500) l c h / 0.4);
}

/* ============================================================
   RICH TEXT CONTENT
   Shared prose typography for post-article__content and any
   other template that renders WordPress page/post body content.
   ============================================================ */

.post-article__content:not(h2) {
  font-family: var(--font-body);
  font-size: var(--text-fluid-body);
  line-height: 1.75;
  color: var(--slate-600);
}
.post-article__content h2,
.post-article__content h3,
.post-article__content h4 {
  font-family: var(--font-heading);
}
.post-article__content p {
  margin: 0 0 var(--gap);
}

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

.post-article__content h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-fluid-subheading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--slate-dark);
  margin: calc(var(--gap) * 2) 0 calc(var(--gap) / 1.5);
  position: relative;
}

.post-article__content h2::before {
  content: "";
  position: absolute;
  left: calc((var(--gap) - var(--border-width)) * -1);
  top: 50%;
  transform: translateY(-45%);
  width: 3px;
  height: 0.8em;
  background: var(--teal-secondary);
}

.post-article__content h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-fluid-sub);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--slate-dark);
  margin: calc(var(--gap) * 1.5) 0 calc(var(--gap) / 2);
}

.post-article__content h2:first-child,
.post-article__content h3:first-child {
  margin-top: 0;
}

.post-article__content strong {
  font-weight: 600;
  color: var(--slate-700);
}

.post-article__content ul,
.post-article__content ol {
  margin: 0 0 var(--gap);
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(var(--gap) / 3);
}

.post-article__content ul li,
.post-article__content ol li {
  padding-left: var(--gap);
  position: relative;
}

.post-article__content ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--teal-secondary);
  font-weight: 600;
}

.post-article__content ul {
  padding-left: var(--gap);
}

.post-article__content ol {
  counter-reset: post-ol;
  padding-left: var(--gap);
}

.post-article__content ol li {
  counter-increment: post-ol;
  padding-left: calc(var(--gap) + calc(var(--gap) / 6));
}

.post-article__content a {
  color: var(--teal-secondary);
  text-decoration: underline;
  text-decoration-color: oklch(from var(--teal-secondary) l c h / 0.35);
  text-underline-offset: 4px;
  transition:
    color 0.15s,
    text-decoration-color 0.15s;
}

.post-article__content a:hover {
  color: var(--teal-primary);
  text-decoration-color: oklch(from var(--teal-primary) l c h / 0.6);
}

.post-article__content ol li::before {
  content: counter(post-ol) ".";
  position: absolute;
  left: 0;
  color: var(--teal-secondary);
  font-weight: 600;
}

/* ============================================================
   TEXT STATUS COLOURS
   ============================================================ */

.text-success {
  color: oklch(from var(--success-500) calc(l - 0.15) c h);
}
.text-warning {
  color: oklch(from var(--warning-500) calc(l - 0.25) c h);
}
.text-error {
  color: oklch(from var(--error-500) calc(l - 0.15) c h);
}

/* On dark backgrounds */
.text-success-inv {
  color: oklch(from var(--success-500) calc(l + 0.2) c h);
}
.text-warning-inv {
  color: oklch(from var(--warning-500) calc(l + 0.1) c h);
}
.text-error-inv {
  color: oklch(from var(--error-500) calc(l + 0.2) c h);
}
