/* ==========================================================================
   Choosy Agency — shared site chrome (navbar, flyout menu, theme system)
   Extracted from index.html so every page can share one copy.
   ========================================================================== */

:root {
  --altrum-nav-ink: #212121;
  --altrum-nav-accent: #f26f5b;
  --altrum-nav-height: 76px;
  --altrum-nav-padding: clamp(20px, 4vw, 64px);
  --altrum-nav-timing: 340ms;
  --altrum-nav-glass: rgba(245, 245, 245, .08);
}

html {
  scroll-behavior: smooth;
}

html.bw-mode {
  filter: grayscale(1);
}

/* Dark theme: redefine the site's core color tokens so the whole page
   (built almost entirely on these three variables) repaints in dark. */
html.theme-dark {
  --white-smoke: #151515;
  --secondary-clr: #f5f5f5;
  --dark-70: #f5f5f5b3;
  --dark-12: #f5f5f51f;
  --black: #f5f5f5;
  --gray-light: #3a3a3a;
  --altrum-nav-ink: #f5f5f5;
  --altrum-nav-glass: rgba(21, 21, 21, .55);
  color-scheme: dark;
}

html.theme-dark .altrum-navigation-top::after {
  background: linear-gradient(to bottom, rgba(21, 21, 21, .3), transparent);
}

html.theme-dark .altrum-navbar {
  background: rgba(21, 21, 21, 0);
}

html.theme-dark .altrum-link-line {
  background: rgba(245, 245, 245, 0.18);
}

html.theme-dark .altrum-theme-toggle {
  border-color: rgba(245, 245, 245, 0.22);
}

html.theme-dark .altrum-theme-toggle:hover {
  border-color: rgba(245, 245, 245, 0.45);
}

/* Card-like surfaces that were hard-coded to var(--white) rather than
   var(--white-smoke) need an explicit dark surface so they stay one
   step lighter than the page background instead of turning white. */
html.theme-dark .about-card,
html.theme-dark .articles-card,
html.theme-dark .project-slide-bottom,
html.theme-dark .sub-title-wrap,
html.theme-dark .services-cl-wrap.bg-white,
html.theme-dark .box-wrapper,
html.theme-dark .portfolio-card,
html.theme-dark .pricing-card,
html.theme-dark .value-card,
html.theme-dark .info-card,
html.theme-dark .legal-callout,
html.theme-dark .form-field input,
html.theme-dark .form-field textarea,
html.theme-dark .form-field select {
  background-color: #1e1e1e;
}

/* Webflow's scroll interaction animates this card's background-color
   as an inline style (white <-> accent), which only !important can beat. */
html.theme-dark .testimonials-card {
  background-color: #1e1e1e !important;
}

/* Small dark-stroke icon assets need inverting so they stay visible
   once their circular badges flip from white-smoke to dark. */
html.theme-dark .faq-icon,
html.theme-dark .services-arrow-img,
html.theme-dark .project-slider-arrow-icon {
  filter: invert(1);
}

/* These elements carry their light-mode color as an inline style
   (Webflow-baked interaction state), which normal-specificity rules
   cannot beat — only !important author rules outrank inline styles. */
html.theme-dark .faq-quotation,
html.theme-dark .testimonials-author-name,
html.theme-dark .testimonials-card-details {
  color: #f5f5f5 !important;
}

html.theme-dark .testimonials-author-bio {
  color: #f5f5f5b3 !important;
}

html.theme-dark .faq-icon-wrap {
  background-color: #262626 !important;
}

html.theme-dark .faq-tabs-v2 {
  border-color: rgba(245, 245, 245, 0.18) !important;
}

html.theme-dark .altrum-footer-host,
html.theme-dark #altrum-footer-frame {
  background: #151515 !important;
}

html,
body {
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior-y: auto;
  touch-action: pan-y pinch-zoom;
}

section[id] {
  scroll-margin-top: 96px;
}

.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;
}

body.altrum-menu-open {
  overflow: hidden;
}

/* Sub-title tag: plain interactive text button (design from Uiverse.io by
   WhiteNervosa), replacing the old pill + coral-dot badge. Overrides
   main.css's pill treatment but keeps the .sub-title-wrap class name so the
   existing .w-variant-* / .mb-24 / .blog-sub-title margin-bottom rules in
   main.css keep working unchanged. Scoped to this class rather than a bare
   `button` selector so it doesn't affect the theme toggle, menu toggle, or
   any real form buttons. No `margin` is set here so those spacing rules
   are free to apply on top without being fought over cascade order. */
.sub-title-wrap {
  display: inline-block;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark-70);
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: color .4s cubic-bezier(.25, .8, .25, 1);
}

.sub-title-wrap:hover,
.sub-title-wrap:focus-visible {
  color: var(--secondary-clr);
}

.sub-title-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: var(--secondary-clr);
  transition: width .4s cubic-bezier(.25, .8, .25, 1), left .4s cubic-bezier(.25, .8, .25, 1);
}

.sub-title-wrap:hover::after,
.sub-title-wrap:focus-visible::after {
  width: 100%;
  left: 0%;
}

.altrum-navigation-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  color: var(--altrum-nav-ink);
  font-family: Inter, Poppins, sans-serif;
  transition: filter var(--altrum-nav-timing) ease;
}

.altrum-navigation-top::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 30px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(245, 245, 245, .045), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--altrum-nav-timing) ease;
}

.altrum-navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: 100%;
  min-height: var(--altrum-nav-height);
  margin: 0;
  padding: 0 var(--altrum-nav-padding);
  background: rgba(245, 245, 245, 0);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  transition: color var(--altrum-nav-timing) ease, background var(--altrum-nav-timing) ease,
    backdrop-filter var(--altrum-nav-timing) ease, -webkit-backdrop-filter var(--altrum-nav-timing) ease,
    box-shadow var(--altrum-nav-timing) ease;
}

.altrum-navigation-top.is-scrolled .altrum-navbar {
  background: var(--altrum-nav-glass);
  box-shadow: 0 8px 28px rgba(20, 20, 20, .025);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.altrum-navigation-top.is-scrolled::after {
  opacity: 1;
}

.altrum-navigation-top.is-menu-open .altrum-navbar {
  color: #f5f5f5;
  background: rgba(20, 20, 20, .08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.altrum-logo-first {
  display: flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.altrum-logo-first span:last-child {
  opacity: 0.5;
}

.altrum-nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 38px);
}

.altrum-button-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.03em;
}

.altrum-text-overflow {
  height: 21px;
  overflow: hidden;
}

.altrum-navigation-text-main {
  display: block;
  transition: transform 0.45s cubic-bezier(.16, 1, .3, 1);
}

.altrum-button-link:hover .altrum-navigation-text-main,
.altrum-button-link:focus-visible .altrum-navigation-text-main {
  transform: translateY(-100%);
}

.altrum-link-line {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  overflow: hidden;
  background: rgba(33, 33, 33, 0.16);
}

.altrum-link-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--altrum-nav-accent);
  transform: translateX(-105%);
  transition: transform 0.45s cubic-bezier(.16, 1, .3, 1);
}

.altrum-button-link:hover .altrum-link-line::after,
.altrum-button-link:focus-visible .altrum-link-line::after {
  transform: translateX(0);
}

/* Active page: hold the accent underline in its hovered position. */
.altrum-button-link[aria-current="page"] .altrum-link-line::after {
  transform: translateX(0);
}

.altrum-menu-link[aria-current="page"] .altrum-menu-arrow {
  transform: rotate(0deg);
}

.altrum-number-text {
  font-size: 10px;
  opacity: 0.55;
}

.altrum-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.altrum-theme-toggle {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(33, 33, 33, 0.18);
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.altrum-theme-toggle:hover {
  border-color: rgba(33, 33, 33, 0.4);
}

.altrum-theme-toggle:active {
  transform: scale(.94);
}

.altrum-navigation-top.is-menu-open .altrum-theme-toggle {
  border-color: rgba(245, 245, 245, 0.35);
}

.altrum-theme-icon {
  display: flex;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.altrum-theme-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.altrum-theme-dropdown {
  position: relative;
  display: flex;
  flex: none;
}

.altrum-theme-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10002;
  min-width: 190px;
  padding: 6px;
  border: 1px solid rgba(33, 33, 33, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 33, 33, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.altrum-theme-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.altrum-theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--altrum-nav-ink);
  font-family: Inter, Poppins, sans-serif;
  font-size: 14px;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease;
}

.altrum-theme-option:hover,
.altrum-theme-option:focus-visible {
  background: rgba(33, 33, 33, 0.07);
}

.altrum-theme-option[aria-checked="true"] {
  color: var(--altrum-nav-accent);
}

html.theme-dark .altrum-theme-menu {
  border-color: rgba(245, 245, 245, 0.16);
  background: #1d1d1d;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

html.theme-dark .altrum-theme-option:hover,
html.theme-dark .altrum-theme-option:focus-visible {
  background: rgba(245, 245, 245, 0.09);
}

.altrum-menu-toggle {
  position: relative;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 18px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.altrum-mobile-back {
  display: none;
}

.altrum-menu-words {
  display: none;
}

.altrum-menu-word {
  display: block;
  line-height: 20px;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.altrum-menu-toggle[aria-expanded="true"] .altrum-menu-word {
  transform: translateY(-100%);
}

.altrum-hamburger-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 48px;
  height: 14px;
}

.altrum-hamburger-line {
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
  transform-origin: center;
}

.altrum-menu-toggle[aria-expanded="true"] .altrum-hamburger-line:first-child {
  transform: translateY(6px) rotate(45deg);
}

.altrum-menu-toggle[aria-expanded="true"] .altrum-hamburger-line:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.altrum-fixed-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 10000;
  display: flex;
  width: 40vw;
  min-width: 520px;
  height: 100dvh;
  padding: 15vh 5.2vw 40px;
  color: #f5f5f5;
  background: #151515;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .75s cubic-bezier(.76, 0, .24, 1), visibility 0s linear .75s;
}

.altrum-fixed-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.altrum-menu-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.altrum-menu-list {
  display: flex;
  flex-direction: column;
}

.altrum-menu-link {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: inherit;
  text-decoration: none;
  font-size: clamp(30px, 2.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.055em;
  overflow: hidden;
}

.altrum-side-text-overflow {
  display: block;
  height: 1em;
  overflow: hidden;
}

.altrum-side-text {
  display: block;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.altrum-menu-link:hover .altrum-side-text,
.altrum-menu-link:focus-visible .altrum-side-text {
  transform: translateY(-100%);
}

.altrum-menu-arrow {
  width: 18px;
  filter: invert(1);
  transform: rotate(-45deg);
  transition: transform .35s ease;
}

.altrum-menu-link:hover .altrum-menu-arrow {
  transform: rotate(0deg);
}

.altrum-menu-index {
  align-self: end;
  padding-bottom: 4px;
  font-size: 12px;
  opacity: .55;
}

.altrum-menu-bottom {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
}

.altrum-menu-bottom a {
  color: inherit;
  text-decoration: none;
  opacity: .7;
}

.altrum-menu-bottom a:hover {
  opacity: 1;
}

.altrum-menu-socials,
.altrum-menu-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.altrum-menu-socials .altrum-social-link {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 10px;
  background: #303030;
  opacity: 1;
  transition: background .25s ease, transform .25s ease;
}

.altrum-menu-socials .altrum-social-link:hover {
  background: #444;
  transform: translateY(-2px);
}

.altrum-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.altrum-menu-actions {
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.altrum-menu-actions .altrum-menu-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
}

.altrum-menu-action img {
  width: 12px;
  filter: invert(1);
}

.altrum-menu-copyright {
  color: rgba(255, 255, 255, .42);
  font-size: 14px;
}

.altrum-menu-link,
.altrum-menu-bottom {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
}

.altrum-fixed-menu.is-open .altrum-menu-link,
.altrum-fixed-menu.is-open .altrum-menu-bottom {
  opacity: 1;
  transform: translateY(0);
}

.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(1) { transition-delay: .2s; }
.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(2) { transition-delay: .23s; }
.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(3) { transition-delay: .26s; }
.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(4) { transition-delay: .29s; }
.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(5) { transition-delay: .32s; }
.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(6) { transition-delay: .35s; }
.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(7) { transition-delay: .38s; }
.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(8) { transition-delay: .41s; }
.altrum-fixed-menu.is-open .altrum-menu-link:nth-child(9) { transition-delay: .44s; }
.altrum-fixed-menu.is-open .altrum-menu-bottom { transition-delay: .5s; }

.altrum-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 9998;
  border: 0;
  background: rgba(20, 10, 7, .34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility 0s linear .45s;
}

.altrum-menu-scrim.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

@media (max-width: 991px) {
  .altrum-navbar {
    grid-template-columns: 1fr auto;
    width: 100%;
    min-height: 68px;
    margin: 0;
  }

  .altrum-nav-menu {
    display: none;
  }

  .altrum-fixed-menu {
    width: min(560px, 76vw);
    min-width: 440px;
  }
}

@media (max-width: 600px) {
  #altrum-footer-frame {
    touch-action: pan-y pinch-zoom;
  }

  .altrum-navbar {
    width: 100%;
    padding: 0 18px;
  }

  .altrum-navigation-top.is-menu-open .altrum-navbar {
    min-height: 72px;
    background: rgba(20, 20, 20, .56);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
  }

  .altrum-navigation-top.is-menu-open .altrum-logo-first {
    opacity: 0;
    pointer-events: none;
  }

  .altrum-menu-word {
    display: none;
  }

  .altrum-menu-words {
    display: none;
  }

  .altrum-menu-toggle {
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 14px;
    touch-action: manipulation;
  }

  .altrum-menu-toggle[aria-expanded="true"] {
    position: fixed;
    top: 12px;
    left: 14px;
    justify-content: flex-start;
    width: auto;
    padding: 0 14px;
    color: #fff;
    background: rgba(255, 255, 255, .09);
    transition: background .22s ease, transform .22s ease;
  }

  .altrum-menu-toggle[aria-expanded="true"]:active {
    background: rgba(255, 255, 255, .16);
    transform: scale(.97);
  }

  .altrum-menu-toggle[aria-expanded="true"] .altrum-mobile-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.02em;
  }

  .altrum-mobile-back-arrow {
    font-size: 21px;
    line-height: 1;
  }

  .altrum-hamburger-wrapper {
    width: 40px;
  }

  .altrum-menu-toggle[aria-expanded="true"] .altrum-hamburger-wrapper {
    display: none;
  }

  .altrum-fixed-menu {
    width: 100%;
    min-width: 0;
    padding: 104px 24px 28px;
    opacity: 0;
    transform: translateX(8%);
    transition: transform 270ms cubic-bezier(.22, 1, .36, 1), opacity 230ms ease,
      visibility 0s linear 270ms;
    will-change: transform, opacity;
    touch-action: pan-y;
  }

  .altrum-fixed-menu.is-open {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .altrum-fixed-menu.is-open .altrum-menu-link:nth-child(n),
  .altrum-fixed-menu.is-open .altrum-menu-bottom {
    transition-delay: 70ms;
  }

  .altrum-menu-link {
    font-size: 34px;
  }

  .altrum-menu-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .altrum-menu-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   Interior pages — shared layout for non-homepage marketing/legal pages
   ========================================================================== */

/* Page typography is built from the same tokens main.css uses on the homepage,
   so subpages inherit the identical type scale rather than a parallel one:
     .page-hero-title  mirrors  .hero-title     (heading-xxl / ls-xl / uppercase)
     .section-heading  mirrors  .section-title  (heading-lg  / ls-md / uppercase)
     .*-lede           mirrors  .regular-text   (text-sm / 150% / ls-tighter) */

.page-hero {
  padding: calc(var(--altrum-nav-height) + 64px) 0
           var(--_spacing---space-4xl);
}

.page-hero-title {
  margin-top: var(--_spacing---space-md);
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xxl);
  line-height: var(--_font-typography---line-height--line-height-tight-md);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-xl);
  text-transform: uppercase;
  max-width: 24ch;
}

.page-hero-lede {
  margin-top: var(--_spacing---space-md-lg);
  max-width: 62ch;
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.page-section {
  padding: var(--_spacing---padding--pd-section-lg) 0;
}

.page-section-tight {
  padding: 0 0 var(--_spacing---padding--pd-section-lg);
}

.section-heading {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-lg);
  line-height: var(--_font-typography---line-height--line-height-heading);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-md);
  text-transform: uppercase;
}

.section-lede {
  margin-top: var(--_spacing---space-md);
  max-width: 62ch;
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

/* ---- Cards (portfolio / pricing / values / info) ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* Mirrors .articles-card on the homepage: radius-md, white fill, no outline. */
.portfolio-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--_radius---radius-md);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-card-media {
  aspect-ratio: 4 / 3;
  background: var(--white-smoke);
  position: relative;
  overflow: hidden;
}

.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card-body {
  padding: var(--_spacing---space-md-lg) var(--_spacing---space-md-lg)
           var(--_spacing---space-lg-alt);
  display: flex;
  flex-direction: column;
  gap: var(--_spacing---space-xxs);
}

/* Same pill the homepage uses for service tags (.services-categories). */
.portfolio-card-tag {
  align-self: flex-start;
  background-color: var(--white-smoke);
  border-radius: 40px;
  padding: 3px 12px;
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---body--text-xs);
  line-height: var(--_font-typography---line-height--line-height-comfortable);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tightest);
  text-transform: capitalize;
}

.portfolio-card-title {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xxs);
  line-height: var(--_font-typography---line-height--line-height-relaxed);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-md-tight);
}

.portfolio-card-desc {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

/* main.css also defines a .pricing-card (Webflow template) that carries a
   1px outline; clear it explicitly so these match the borderless card
   treatment used everywhere else rather than inheriting that stray rule. */
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: var(--_spacing---space-md-lg);
  padding: 38px var(--_spacing---space-lg-alt) 34px;
  border: 0;
  border-radius: var(--_radius---radius-md);
  background: var(--white);
}

.pricing-card.is-featured {
  background: var(--primary-clr);
}

.pricing-card-name {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xxs);
  line-height: var(--_font-typography---line-height--line-height-relaxed);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-md-tight);
}

.pricing-card.is-featured .pricing-card-name,
.pricing-card.is-featured .pricing-card-desc,
.pricing-card.is-featured .pricing-card-price,
.pricing-card.is-featured .pricing-card-price span,
.pricing-card.is-featured .pricing-feature {
  color: var(--white);
}

.pricing-card-desc {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.pricing-card-price {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-md);
  line-height: var(--_font-typography---line-height--line-height-sm);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-wider);
}

.pricing-card-price span {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tightest);
}

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  line-height: 1.5;
}

.pricing-feature::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--primary-clr);
}

.pricing-card.is-featured .pricing-feature::before {
  background: var(--white);
}

/* Surfaces follow .about-card on the homepage: the white fill separates the
   card from the whitesmoke page, so there is no outline to make it read as a
   generic bordered SaaS card. Titles follow .blog-card-title. */
.value-card,
.info-card {
  padding: 38px var(--_spacing---space-lg-alt) 34px;
  border-radius: var(--_radius---radius-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--_spacing---space-xxs);
}

.value-card-title,
.info-card-title {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xxs);
  line-height: var(--_font-typography---line-height--line-height-relaxed);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-md-tight);
}

.value-card-desc,
.info-card-desc {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

/* ---- Prose (legal pages) ---- */

.legal-meta {
  margin-bottom: var(--_spacing---space-xxs);
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  letter-spacing: var(--_letter-spacing---ls-tightest);
}

.legal-content {
  max-width: 72ch;
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-loose);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.legal-content h2 {
  margin-top: var(--_spacing---space-xl);
  margin-bottom: var(--_spacing---padding--pd-tiny);
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xxs);
  line-height: var(--_font-typography---line-height--line-height-relaxed);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-md-tight);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content a {
  color: var(--secondary-clr);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content strong {
  color: var(--secondary-clr);
}

.legal-callout {
  margin-bottom: 32px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--dark-12);
  background: var(--white);
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  line-height: 1.6;
}

/* ---- FAQ accordion (vanilla-JS driven) ---- */

.faq-page-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}

/* The homepage's .faq-question-ans is styled white for use on a coral
   "active" background (.w--current). This accordion never applies that
   coral state, so the answer text needs a readable color of its own. */
.faq-page-list .faq-question-ans {
  color: var(--dark-70);
  padding-top: 4px;
  padding-bottom: 18px;
}

.faq-question-ans-wrap {
  display: block;
  height: 0;
  overflow: hidden;
  transition: height .3s ease;
}

.faq-tabs-v2 {
  cursor: pointer;
}

.faq-icon._02 {
  opacity: 0;
}

.faq-tabs-v2.is-open .faq-icon._01 {
  opacity: 0;
}

.faq-tabs-v2.is-open .faq-icon._02 {
  opacity: 1;
}

/* ---- Contact form ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

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

.form-field label {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--dark-12);
  background: var(--white);
  color: var(--secondary-clr);
  font: inherit;
  font-size: var(--_font-sizing---body--text-sm);
  width: 100%;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary-clr);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-note {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
}

.form-error {
  display: none;
  color: #c0392b;
  font-size: var(--_font-sizing---body--text-xs);
}

html.theme-dark .form-error {
  color: #ff8a75;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-info-label {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-info-value {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---body--text-lg);
  font-weight: 500;
  text-decoration: none;
}

.contact-info-value:hover {
  color: var(--primary-clr);
}

/* ---- Empty states (careers) ---- */

.empty-state {
  padding: 48px;
  border-radius: var(--_radius---radius-md, 16px);
  background: var(--white);
  border: 1px solid var(--dark-12);
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-state-title {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xxs);
  font-weight: 600;
}

.empty-state-desc {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: 1.65;
}

/* ---- Lightweight footer for interior pages ---- */

.site-footer {
  border-top: 1px solid var(--dark-12);
  background: var(--white-smoke);
  padding: var(--_spacing---padding--pd-xxl) 0 var(--_spacing---space-lg-alt);
}

.site-footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--_spacing---padding--pd-md);
  flex-wrap: wrap;
  padding-bottom: var(--_spacing---padding--pd-md);
}

.site-footer-brand {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer-logo {
  font-size: var(--_font-sizing---body--text-xl);
  font-weight: 600;
  color: var(--secondary-clr);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.site-footer-logo span:last-child {
  opacity: .5;
}

.site-footer-tagline {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  line-height: 1.6;
}

.site-footer-socials {
  display: flex;
  gap: 8px;
}

.site-footer-social-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--dark-12);
  transition: transform .2s ease, border-color .2s ease;
}

.site-footer-social-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary-clr);
}

.site-footer-social-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.site-footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.site-footer-col-title {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.site-footer-col {
  display: flex;
  flex-direction: column;
}

.site-footer-col a {
  display: block;
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  text-decoration: none;
  padding: 6px 0;
  transition: color .2s ease;
}

.site-footer-col a:hover {
  color: var(--secondary-clr);
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--dark-12);
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer-legal a {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  text-decoration: none;
}

.site-footer-legal a:hover {
  color: var(--secondary-clr);
}

.site-footer-copyright {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
}

@media (max-width: 640px) {
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   EDITORIAL PAGE SYSTEM  (.ed-*)
   Secondary-page compositions built only from main.css design tokens and the
   homepage's own component DNA:
     - panels        -> .box-wrapper      (white, radius-xs, 100/60 padding)
     - dark panel    -> .gray-big-div     (#181818, radius 10, 60 padding)
     - pill labels   -> .sub-title-wrap   (dark-12 hairline + coral dot)
     - editorial row -> .services-item    (1px dark-12 bottom rule)
     - big nav rows  -> .button-big-menu  (index number + hairline)
     - easing        -> cubic-bezier(.16,1,.3,1)  (homepage hover/nav curve)
   No new fonts, colours, gradients or radii are introduced.
   ========================================================================== */

:root {
  --ed-ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---- Hero: asymmetric, headline left / supporting copy right ---- */

.ed-hero {
  padding: calc(var(--altrum-nav-height) + var(--_spacing---padding--pd-xxl)) 0
           var(--_spacing---padding--pd-lg);
}

.ed-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--_spacing---space-4xl);
  align-items: end;
}

.ed-hero-aside {
  border-top: 1px solid var(--dark-12);
  padding-top: var(--_spacing---space-md-lg);
}

/* ---- Editorial statement: the homepage's .about-title scale ---- */

.ed-statement {
  max-width: 34ch;
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-sm);
  line-height: var(--_font-typography---line-height--line-height-body);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-wide);
}

.ed-statement.is-wide {
  max-width: 46ch;
}

/* ---- Numbered editorial rows: the homepage row list, not card grids ---- */

.ed-rows {
  border-top: 1px solid var(--dark-12);
}

.ed-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 22ch) minmax(0, 1fr);
  gap: var(--_spacing---space-xl);
  align-items: start;
  padding: var(--_spacing---space-lg-alt) 0;
  border-bottom: 1px solid var(--dark-12);
}

.ed-row-num {
  padding-top: 6px;
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tightest);
}

.ed-row-title {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xs);
  line-height: var(--_font-typography---line-height--line-height-md-relaxed);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-md-wide);
}

.ed-row-body {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

/* ---- Capability lists: hairline rows, no bullets or icon grids ---- */

.ed-caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--_spacing---space-4xl);
}

.ed-cap {
  padding: var(--_spacing---space-sm) 0;
  border-bottom: 1px solid var(--dark-12);
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.ed-cap span {
  color: var(--secondary-clr);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
}

/* ---- Split composition: media + copy, alternating sides ---- */

.ed-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--_spacing---space-4xl);
  align-items: center;
}

.ed-split.is-wide-media {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.ed-split.is-reversed > :first-child {
  order: 2;
}

/* ---- Project media: neutral, explicitly labelled placeholder ---- */

.ed-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--_radius---radius-md);
  background-color: var(--white);
  border: 1px solid var(--dark-12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ed-media.is-tall { aspect-ratio: 3 / 4; }
.ed-media.is-wide { aspect-ratio: 16 / 9; }

.ed-media-note {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tightest);
  text-transform: uppercase;
}

/* ---- Label / value meta rows (discipline, year, scope) ---- */

.ed-meta {
  margin-top: var(--_spacing---space-md-lg);
  border-top: 1px solid var(--dark-12);
}

.ed-meta-row {
  display: flex;
  justify-content: space-between;
  gap: var(--_spacing---space-md);
  padding: var(--_spacing---space-xxs) 0;
  border-bottom: 1px solid var(--dark-12);
  font-size: var(--_font-sizing---body--text-xs);
  letter-spacing: var(--_letter-spacing---ls-tightest);
}

.ed-meta-row dt {
  color: var(--dark-70);
}

.ed-meta-row dd {
  margin: 0;
  color: var(--secondary-clr);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  text-align: right;
}

/* ---- Process steps: coral tick above each, reflows to a stack ---- */

.ed-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--_spacing---space-lg-alt);
  border-top: 1px solid var(--dark-12);
}

.ed-steps.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ed-step {
  position: relative;
  padding-top: var(--_spacing---space-md-lg);
}

.ed-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary-clr);
}

.ed-step-num {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tightest);
}

.ed-step-title {
  margin-top: var(--_spacing---space-xxs);
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xxs);
  line-height: var(--_font-typography---line-height--line-height-relaxed);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-md-tight);
}

.ed-step-body {
  margin-top: var(--_spacing---space-xxs);
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

/* ---- Section header utilities, matching the homepage rhythm ---- */

.ed-head {
  margin-bottom: var(--_spacing---space-4xl);
}

.ed-head-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--_spacing---space-4xl);
  margin-bottom: var(--_spacing---space-4xl);
}

.ed-head-aside {
  width: 100%;
  max-width: 380px;
  padding-top: var(--_spacing---space-md-lg);
  border-top: 1px solid var(--dark-12);
}

/* ---- Contact: form beside details, form given the wider column ---- */

.ed-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--_spacing---space-4xl);
  align-items: start;
}

.ed-aside-block {
  padding-top: var(--_spacing---space-md-lg);
  border-top: 1px solid var(--dark-12);
}

.ed-aside-block + .ed-aside-block {
  margin-top: var(--_spacing---space-lg-alt);
}

.ed-aside-label {
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tightest);
  text-transform: uppercase;
}

.ed-aside-value {
  margin-top: var(--_spacing---space-xxs);
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---body--text-lg);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tighter);
  text-decoration: none;
  display: block;
}

a.ed-aside-value:hover {
  color: var(--primary-clr);
}

/* ---- Footer: mirrors altrum-footer.html's dark panel ---- */

.ed-footer {
  padding: 0 0 var(--_spacing---space-xl);
}

.ed-footer-panel {
  background-color: #181818;
  border-radius: 10px;
  padding: var(--_spacing---padding--pd-lg);
  color: #f5f5f5;
}

.ed-footer-display {
  margin: var(--_spacing---space-lg-alt) 0 0;
  color: #f5f5f5;
  font-size: var(--_font-sizing---heading--heading-xxl);
  line-height: var(--_font-typography---line-height--line-height-tight-md);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-xl);
  text-transform: uppercase;
}

.ed-footer-lede {
  margin-top: var(--_spacing---space-md-lg);
  max-width: 52ch;
  color: #f5f5f5b3;
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.ed-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #f5f5f51f;
  border-radius: 48px;
  color: #f5f5f5;
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tightest);
  text-transform: uppercase;
}

.ed-footer-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-clr);
}

.ed-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--_spacing---space-lg-alt) var(--_spacing---space-4xl);
  margin-top: var(--_spacing---space-4xl);
  padding-top: var(--_spacing---space-md-lg);
  border-top: 1px solid #f5f5f51f;
}

.ed-footer-contact a,
.ed-footer-contact span {
  color: #f5f5f5;
  font-size: var(--_font-sizing---body--text-lg);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tighter);
  text-decoration: none;
}

.ed-footer-contact a:hover {
  color: var(--primary-clr);
}

/* Big numbered nav rows, echoing .button-big-menu in the altrum footer */
.ed-footer-nav {
  margin-top: var(--_spacing---space-4xl);
}

.ed-footer-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--_spacing---space-md);
  padding: var(--_spacing---space-sm) 0;
  border-bottom: 1px solid #313131;
  color: #f5f5f5;
  font-size: var(--_font-sizing---heading--heading-xxs);
  line-height: var(--_font-typography---line-height--line-height-relaxed);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-md-tight);
  text-decoration: none;
  transition: color .45s var(--ed-ease), padding-left .45s var(--ed-ease);
}

.ed-footer-link:hover {
  color: var(--primary-clr);
  padding-left: var(--_spacing---space-xxs);
}

.ed-footer-link span {
  color: #f5f5f554;
  font-size: var(--_font-sizing---body--text-xs);
  letter-spacing: var(--_letter-spacing---ls-tightest);
}

.ed-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--_spacing---space-sm) var(--_spacing---space-md-lg);
  margin-top: var(--_spacing---space-4xl);
  padding-top: var(--_spacing---space-md-lg);
  border-top: 1px solid #f5f5f51f;
}

.ed-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--_spacing---space-md-lg);
}

.ed-footer-bottom,
.ed-footer-legal a {
  color: #f5f5f5b3;
  font-size: var(--_font-sizing---body--text-xs);
  letter-spacing: var(--_letter-spacing---ls-tightest);
  text-decoration: none;
}

.ed-footer-legal a:hover {
  color: #f5f5f5;
}

/* Inline links in editorial copy: the site's own treatment (see .legal-content a),
   never the browser default blue/violet. */
.ed-row-body a,
.ed-step-body a,
.ed-cap a,
.ed-statement a {
  color: var(--secondary-clr);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color .45s var(--ed-ease);
}

.ed-row-body a:hover,
.ed-step-body a:hover,
.ed-cap a:hover,
.ed-statement a:hover {
  color: var(--primary-clr);
}

/* ---- Subtle reveal, using the homepage's easing ---- */

html.ed-js .ed-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ed-ease), transform .7s var(--ed-ease);
}

html.ed-js .ed-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.ed-js .ed-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Responsive reflow: intentional regrouping, not just narrower ---- */

@media (max-width: 991px) {
  .ed-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--_spacing---space-lg-alt);
    align-items: start;
  }

  .ed-hero-aside { max-width: 62ch; }

  .ed-split,
  .ed-split.is-wide-media,
  .ed-contact {
    grid-template-columns: 1fr;
    gap: var(--_spacing---space-lg-alt);
  }

  .ed-split.is-reversed > :first-child { order: 0; }

  .ed-steps,
  .ed-steps.is-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ed-head-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--_spacing---space-md-lg);
  }

  .ed-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: var(--_spacing---space-xxs) var(--_spacing---space-md);
  }

  .ed-row-body { grid-column: 2; }

  .ed-footer-panel { padding: var(--_spacing---space-lg-alt); }
}

@media (max-width: 640px) {
  .ed-caps { grid-template-columns: 1fr; gap: 0; }

  .ed-steps,
  .ed-steps.is-three { grid-template-columns: 1fr; gap: 0; }

  .ed-step { padding-bottom: var(--_spacing---space-md-lg); }
  .ed-statement { max-width: none; }
  .ed-media.is-tall { aspect-ratio: 4 / 3; }
}

/* ---- Dark theme: new surfaces follow the existing card treatment ---- */

html.theme-dark .ed-media {
  background-color: #1e1e1e;
}

/* ==========================================================================
   PRICING TIERS  (.tier-*)
   Editorial numbered rows, built from the same .ed-row / .ed-caps DNA used
   elsewhere on the site — deliberately not the rounded, shadowed SaaS
   three-card grid. Only existing tokens (color, spacing, radius, easing)
   are used; no new palette, gradient or radius is introduced.
   ========================================================================== */

.tier-list {
  border-top: 1px solid var(--dark-12);
}

.tier-row {
  padding: var(--_spacing---space-4xl) 0;
  border-bottom: 1px solid var(--dark-12);
}

.tier-row-head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 250px);
  gap: var(--_spacing---space-xl);
  align-items: start;
}

.tier-num {
  padding-top: 10px;
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-xs);
  font-weight: var(--_font-typography---font-weight--font-weight-medium);
  letter-spacing: var(--_letter-spacing---ls-tightest);
}

.tier-name {
  margin: 0;
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-md);
  line-height: var(--_font-typography---line-height--line-height-heading);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-md);
  text-transform: uppercase;
}

.tier-desc {
  margin-top: var(--_spacing---space-sm);
  max-width: 50ch;
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.tier-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--_spacing---space-md-lg);
}

.tier-price {
  color: var(--secondary-clr);
  font-size: var(--_font-sizing---heading--heading-xs);
  font-weight: var(--_font-typography---font-weight--font-weight-semi-bold);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.tier-features {
  margin-top: var(--_spacing---space-lg-alt);
  padding-top: var(--_spacing---space-md-lg);
  border-top: 1px solid var(--dark-12);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--_spacing---space-4xl);
}

.tier-feature {
  position: relative;
  padding: var(--_spacing---space-sm) 0 var(--_spacing---space-sm) 20px;
  border-bottom: 1px solid var(--dark-12);
  color: var(--dark-70);
  font-size: var(--_font-sizing---body--text-sm);
  line-height: var(--_font-typography---line-height--line-height-normal);
  letter-spacing: var(--_letter-spacing---ls-tighter);
}

.tier-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 1px;
  background: var(--primary-clr);
}

/* Build gets quiet emphasis — a filled, bordered slab sitting among plain
   hairline rows. No ribbon, no "Most Popular" badge. */
.tier-row.is-emphasis {
  margin: var(--_spacing---space-md-lg) 0;
  padding: var(--_spacing---space-4xl) var(--_spacing---space-lg-alt);
  border: 1px solid var(--dark-12);
  border-radius: var(--_radius---radius-md);
  background: var(--white);
}

.tier-row.is-emphasis .tier-num {
  color: var(--primary-clr);
}

@media (max-width: 991px) {
  .tier-row-head {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .tier-price-wrap {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--_spacing---space-md-lg);
    padding-top: var(--_spacing---space-md-lg);
    border-top: 1px solid var(--dark-12);
  }

  .tier-row.is-emphasis {
    padding: var(--_spacing---space-lg-alt) var(--_spacing---space-md-lg);
  }
}

@media (max-width: 640px) {
  .tier-features {
    grid-template-columns: 1fr;
  }

  .tier-price-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--_spacing---space-sm);
  }
}

html.theme-dark .tier-row.is-emphasis {
  background-color: #1e1e1e;
}
