/* ==========================================================================
   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 .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%;
}

/* Hero label follows the hero title's colour (set by homepage.js), so it
   stays readable while the hero photo is behind it. */
.hero-v2 .sub-title-wrap {
  color: var(--hero-ink, var(--dark-70));
}

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

/* Dark mode: Webflow's hero text fade ends on a soft grey instead of
   near-black (computed in homepage.js), so it still animates but stays
   readable on the dark background. */
html.theme-dark .hero-v2-title,
html.theme-dark .hero-v2 .scroll-more-btn,
html.theme-dark .hero-v2-bottom-text {
  color: var(--hero-dm, #f5f5f5) !important;
}
/* Homepage FAQ: let the two columns shrink and the questions wrap, so the
   right column isn't clipped between ~992px and ~1200px. */
.faq-v2-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-v2-grid .faq-quotation {
  white-space: normal;
}

.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] .altrum-link-line::after {
  transform: translateX(0);
}

.altrum-menu-link[aria-current] .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);
}

/* Animated sun/moon icon in the theme toggle (based on uiverse.io/ArturCodeCraft/tricky-squid-61, MIT).
   Sun in light mode, moon in dark mode; hovering previews the other one.
   The crescent is cut with a mask, so the button stays transparent over any background. */
@property --sm-bite-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 250%;
}

@property --sm-bite-y {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

.altrum-theme-toggle:has(.altrum-sunmoon),
html.theme-dark .altrum-theme-toggle:has(.altrum-sunmoon) {
  border-color: transparent;
  background: transparent;
  --sm-sun: rgb(255, 204, 0);
  --sm-moon: #212121;
}

html.theme-dark .altrum-theme-toggle:has(.altrum-sunmoon) {
  --sm-moon: rgb(245, 245, 247);
}

.altrum-sunmoon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  transform: scale(.72);
  pointer-events: none;
}

.altrum-sunmoon > span {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 24px;
}

/* Disc: the sun's core, or the moon with a bite masked out of it. */
.altrum-sunmoon > :nth-child(1) {
  z-index: 10;
  width: 14px;
  height: 14px;
  background-color: var(--sm-sun);
  transform: translate(-50%, -50%);
  --sm-bite-x: 250%;
  --sm-bite-y: 50%;
  -webkit-mask: radial-gradient(circle 10px at var(--sm-bite-x) var(--sm-bite-y), transparent 9.5px, #000 10px);
  mask: radial-gradient(circle 10px at var(--sm-bite-x) var(--sm-bite-y), transparent 9.5px, #000 10px);
  transition: width .4s, height .4s, background-color .4s, --sm-bite-x .4s .2s, --sm-bite-y .4s .2s;
}

/* Rays, with a hole in the middle so they stand clear of the disc. */
.altrum-sunmoon > :nth-child(2) {
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  -webkit-mask: radial-gradient(circle, transparent 8.5px, #000 9px);
  mask: radial-gradient(circle, transparent 8.5px, #000 9px);
  transition: transform .4s, opacity .3s;
}

.altrum-sunmoon > :nth-child(2) > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 24px;
  border-radius: 2px;
  background-color: var(--sm-sun);
}

.altrum-sunmoon > :nth-child(2) > :nth-child(1) { transform: translate(-50%, -50%); }
.altrum-sunmoon > :nth-child(2) > :nth-child(2) { transform: translate(-50%, -50%) rotate(90deg); }
.altrum-sunmoon > :nth-child(2) > :nth-child(3) { transform: translate(-50%, -50%) rotate(45deg); }
.altrum-sunmoon > :nth-child(2) > :nth-child(4) { transform: translate(-50%, -50%) rotate(-45deg); }

.altrum-sunmoon > :nth-child(3) {
  display: none;
}

/* Moon state: light mode on hover, dark mode at rest. */
html:not(.theme-dark) .altrum-theme-toggle:hover .altrum-sunmoon > :nth-child(1),
html.theme-dark .altrum-theme-toggle:not(:hover) .altrum-sunmoon > :nth-child(1) {
  width: 24px;
  height: 24px;
  background-color: var(--sm-moon);
  --sm-bite-x: 78%;
  --sm-bite-y: 30%;
}

html:not(.theme-dark) .altrum-theme-toggle:hover .altrum-sunmoon > :nth-child(2),
html.theme-dark .altrum-theme-toggle:not(:hover) .altrum-sunmoon > :nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-45deg) scale(.8);
}

@media (prefers-reduced-motion: reduce) {
  .altrum-sunmoon > span {
    transition: none;
  }
}

.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;
  /* 1.2em, not 1em, so descenders (the "g" in Pricing, Blog) aren't clipped. */
  height: 1.2em;
  overflow: hidden;
}

.altrum-side-text {
  display: block;
  line-height: 1.2;
  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;
  /* The arrow PNG is already white and the menu is dark in both themes, so no
     invert (it used to turn the arrows black on the dark panel). */
  filter: none;
  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;
}

/* The social icon images are black; the menu tiles are dark grey in both
   themes, so show them white there. */
.altrum-menu-socials .altrum-social-icon {
  filter: invert(1);
}

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

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

/* ==========================================================================
   SECONDARY-PAGE PRODUCTION POLISH
   Explicitly scoped by theme.js so none of these visual rules can affect
   index.html or the embedded homepage sections.
   ========================================================================== */

html.interior-page {
  --ed-footer-surface: #fff;
  --ed-footer-text: #212121;
  --ed-footer-muted: #212121b3;
  --ed-footer-rule: #2121211f;
}

html.interior-page.theme-dark {
  --ed-footer-surface: #1e1e1e;
  --ed-footer-text: #f5f5f5;
  --ed-footer-muted: #f5f5f5b3;
  --ed-footer-rule: #f5f5f51f;
}

/* The footer follows the selected page theme instead of forcing a black slab
   onto every light page. Its dimensions, content and layout stay unchanged. */
html.interior-page .ed-footer-panel {
  background-color: var(--ed-footer-surface);
  color: var(--ed-footer-text);
}

html.interior-page .ed-footer-display,
html.interior-page .ed-footer-pill,
html.interior-page .ed-footer-contact a,
html.interior-page .ed-footer-contact span,
html.interior-page .ed-footer-link {
  color: var(--ed-footer-text);
}

html.interior-page .ed-footer-lede,
html.interior-page .ed-footer-bottom,
html.interior-page .ed-footer-legal a,
html.interior-page .ed-footer-link span {
  color: var(--ed-footer-muted);
}

html.interior-page .ed-footer-pill,
html.interior-page .ed-footer-contact,
html.interior-page .ed-footer-bottom {
  border-color: var(--ed-footer-rule);
}

html.interior-page .ed-footer-link {
  border-bottom-color: var(--ed-footer-rule);
}

html.interior-page .ed-footer-contact a:hover,
html.interior-page .ed-footer-contact a:focus-visible,
html.interior-page .ed-footer-link:hover,
html.interior-page .ed-footer-link:focus-visible,
html.interior-page .ed-footer-legal a:hover,
html.interior-page .ed-footer-legal a:focus-visible {
  color: var(--primary-clr);
}

html.interior-page .ed-footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-underline-offset: 3px;
}

html.interior-page .ed-footer-legal a[aria-current="page"] {
  color: var(--ed-footer-text);
  text-decoration: underline;
}

/* Coral is part of the identity; dark ink gives its button labels AA contrast
   without changing the accent colour itself. */
html.interior-page .primary-button {
  color: #212121;
}

/* Consistent, authored keyboard focus across secondary-page controls. */
html.interior-page :is(a[href], button, input, select, textarea, [role="button"]):focus-visible {
  outline: 2px solid var(--primary-clr);
  outline-offset: 3px;
}

html.interior-page .form-field :is(input, textarea, select):focus-visible {
  border-color: var(--primary-clr);
  box-shadow: 0 0 0 3px #f26f5b33;
}

html.interior-page .form-field [aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px #c0392b24;
}

html.interior-page.theme-dark .form-field [aria-invalid="true"] {
  border-color: #ff8a75;
  box-shadow: 0 0 0 3px #ff8a752b;
}

/* Eyebrows are static labels. The old button hover treatment implied an action
   that did not exist; navbar.js changes the actual element to a span. */
html.interior-page .sub-title-wrap {
  cursor: default;
}

html.interior-page .sub-title-wrap::after {
  display: none;
}

html.interior-page .sub-title-wrap:hover {
  color: var(--dark-70);
}

/* Inert article previews should not lift like links. */
html.interior-page .portfolio-card:not(a) {
  cursor: default;
  transform: none;
}

html.interior-page .portfolio-card:not(a):hover {
  transform: none;
}

/* Careers used a white hard-coded surface against near-white dark-theme text. */
html.interior-page.theme-dark .empty-state {
  background-color: #1e1e1e;
}

/* Long-form legal pages get an intentional reading shell instead of floating
   at the far left of a 1326px marketing container. */
html.legal-page .page-hero > .container,
html.legal-page .page-section-tight > .container {
  max-width: 900px;
  padding-right: clamp(20px, 4vw, 32px);
  padding-left: clamp(20px, 4vw, 32px);
}

html.legal-page .legal-meta,
html.legal-page .legal-content {
  max-width: 68ch;
  margin-right: auto;
  margin-left: auto;
}

html.legal-page .legal-content :is(a, strong),
html.legal-page .legal-callout {
  overflow-wrap: anywhere;
}

/* Skip link is inserted only on secondary pages by navbar.js. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 11000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--primary-clr);
  color: #212121;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(calc(-100% - 20px));
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Placeholder social destinations stay visually stable but no longer behave
   like links or jump the page to the top. */
html.interior-page .altrum-social-link[aria-disabled="true"] {
  cursor: default;
}

/* The expanded menu is a modal interaction. Inert handles the accessibility
   tree; this keeps browsers without inert support from allowing pointer events. */
.altrum-fixed-menu[inert] {
  pointer-events: none;
}

/* Standalone FAQ focus matches the rest of the authored controls. */
html.interior-page .faq-page-list .faq-question-wrap:focus-visible {
  border-radius: 10px;
  outline: 2px solid var(--primary-clr);
  outline-offset: 5px;
}

@media (max-width: 991px) {
  html.interior-page {
    --altrum-nav-height: 68px;
  }
}

@media (max-width: 640px) {
  html.interior-page .empty-state {
    padding: 28px;
  }

  html.legal-page .legal-content h2 {
    font-size: max(20px, var(--_font-sizing---heading--heading-xxs));
  }

  html.interior-page .ed-footer-legal {
    column-gap: var(--_spacing---space-md);
    row-gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .altrum-fixed-menu,
  .altrum-menu-scrim,
  .altrum-menu-link,
  .altrum-menu-bottom,
  .altrum-navigation-text-main,
  .altrum-link-line::after,
  .altrum-theme-menu,
  .skip-link {
    transition: none !important;
  }
}

html.legal-page .legal-content [id] {
  scroll-margin-top: 96px;
}

/* ==========================================================================
   HOMEPAGE ACCESSIBILITY POLISH
   Keeps the existing compositions and motion system; only false affordances,
   focus treatment and text contrast are adjusted.
   ========================================================================== */

html.home-page .primary-button {
  color: #212121;
}

html.home-page .sub-title-wrap {
  cursor: default;
}

html.home-page .sub-title-wrap::after {
  display: none;
}

html.home-page .sub-title-wrap:hover {
  color: var(--dark-70);
}

html.home-page .hero-v2-title.title-span {
  margin: 0;
}

html.home-page :is(a[href], button, [role="button"]):focus-visible {
  outline: 2px solid var(--primary-clr);
  outline-offset: 3px;
}

html.home-page .section.faq .faq-question-wrap:focus-visible {
  border-radius: 10px;
  outline-offset: 5px;
}

html.home-page .section.faq .faq-question-ans a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html.home-page .altrum-social-link[aria-disabled="true"] {
  cursor: default;
}

/* ==========================================================================
   CANONICAL INTERIOR FOOTER THEME
   This intentionally does not depend on JavaScript adding `.interior-page`.
   Every `.ed-footer` is light in light/B&W mode and dark in dark mode.
   ========================================================================== */

.ed-footer {
  --footer-surface: #fff;
  --footer-text: #212121;
  --footer-muted: #212121b3;
  --footer-rule: #2121211f;
}

html.theme-dark .ed-footer {
  --footer-surface: #1e1e1e;
  --footer-text: #f5f5f5;
  --footer-muted: #f5f5f5b3;
  --footer-rule: #f5f5f51f;
}

.ed-footer-panel {
  background-color: var(--footer-surface);
  color: var(--footer-text);
}

.ed-footer-display,
.ed-footer-pill,
.ed-footer-contact a,
.ed-footer-contact span,
.ed-footer-link {
  color: var(--footer-text);
}

.ed-footer-lede,
.ed-footer-bottom,
.ed-footer-legal a,
.ed-footer-link span {
  color: var(--footer-muted);
}

.ed-footer-pill,
.ed-footer-contact,
.ed-footer-bottom {
  border-color: var(--footer-rule);
}

.ed-footer-link {
  border-bottom-color: var(--footer-rule);
}

.ed-footer-contact a:hover,
.ed-footer-contact a:focus-visible,
.ed-footer-link:hover,
.ed-footer-link:focus-visible,
.ed-footer-legal a:hover,
.ed-footer-legal a:focus-visible {
  color: var(--primary-clr);
}

.ed-footer :is(a[href], [role="button"]):focus-visible {
  outline: 2px solid var(--primary-clr);
  outline-offset: 4px;
}

/* The menu button only shows when the header links are not visible.
   From 992px the links show and the button hides, unless navbar.js finds the
   links do not fit on one row (zoom, large text, long labels) and adds
   .nav-collapsed: then the links hide and the button comes back. Blog, FAQ
   and Careers are linked from the footer. */
@media (min-width: 992px) {
  .altrum-navigation-top:not(.nav-collapsed) .altrum-menu-toggle,
  .altrum-navigation-top:not(.nav-collapsed) .altrum-fixed-menu {
    display: none;
  }
}

.altrum-navigation-top.nav-collapsed .altrum-navbar {
  grid-template-columns: 1fr auto;
}

.altrum-navigation-top.nav-collapsed .altrum-nav-menu {
  display: none;
}

/* Slide-out menu follows the theme. Dark mode keeps the dark panel defined
   above; light mode gets a light panel with dark text, arrows and icons. */
html:not(.theme-dark) .altrum-fixed-menu {
  color: #212121;
  background: #f5f5f5;
}

html:not(.theme-dark) .altrum-menu-link {
  border-bottom-color: rgba(33, 33, 33, .14);
}

html:not(.theme-dark) .altrum-menu-arrow,
html:not(.theme-dark) .altrum-menu-action img {
  filter: invert(1);
}

html:not(.theme-dark) .altrum-menu-socials .altrum-social-link {
  background: #e6e6e6;
}

html:not(.theme-dark) .altrum-menu-socials .altrum-social-link:hover {
  background: #d8d8d8;
}

html:not(.theme-dark) .altrum-menu-socials .altrum-social-icon {
  filter: none;
}

html:not(.theme-dark) .altrum-menu-actions {
  border-top-color: rgba(33, 33, 33, .16);
}

html:not(.theme-dark) .altrum-menu-actions .altrum-menu-action {
  color: #212121;
}

html:not(.theme-dark) .altrum-menu-copyright {
  color: rgba(33, 33, 33, .5);
}

/* Header bar above the open menu: dark text on a light bar in light mode. */
html:not(.theme-dark) .altrum-navigation-top.is-menu-open .altrum-navbar {
  color: #212121;
  background: rgba(245, 245, 245, .08);
}

/* Phones (menu is full width): the bar sits on the panel, so give it the
   panel colour; the Back button is dark-on-light in light mode. On tablets the
   bar stays nearly clear (as in dark mode) so it does not draw a strip across
   the dimmed page. */
@media (max-width: 600px) {
  html:not(.theme-dark) .altrum-navigation-top.is-menu-open .altrum-navbar {
    background: rgba(245, 245, 245, .85);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .04);
  }

  html:not(.theme-dark) .altrum-menu-toggle[aria-expanded="true"] {
    color: #212121;
    background: rgba(33, 33, 33, .06);
  }

  html:not(.theme-dark) .altrum-menu-toggle[aria-expanded="true"]:active {
    background: rgba(33, 33, 33, .12);
  }
}

/* Menu list scrolls when it is taller than the screen, but without a visible
   scrollbar (it covered the 01-09 numbers), and with room above the socials. */
.altrum-menu-content {
  gap: 40px;
  scrollbar-width: none;
}

.altrum-menu-content::-webkit-scrollbar {
  display: none;
}

/* The 01-09 numbers inherited the big labels' tight letter-spacing, which
   squeezed the digits together. */
.altrum-menu-index {
  letter-spacing: 0;
}

/* Phones: a slightly more compact list so the socials and links fit on
   more screens without scrolling. */
@media (max-width: 600px) {
  .altrum-menu-link {
    padding: 7px 0;
    font-size: 30px;
  }

  .altrum-fixed-menu {
    padding-top: 92px;
  }
}

/* Keep the header bar (with the close button) above the open menu panel.
   When the menu opens the bar gets a backdrop-filter, which makes it its own
   layer below the panel, so the close button was hidden and unclickable. */
.altrum-navigation-top.is-menu-open .altrum-navbar {
  position: relative;
  z-index: 10001;
}

/* Above phone width the open menu is a side panel over a blurred, dimmed
   page. The header bar's own blur and tint drew a second strip over that, so
   keep the bar clear there. */
@media (min-width: 601px) {
  .altrum-navigation-top.is-menu-open .altrum-navbar,
  html:not(.theme-dark) .altrum-navigation-top.is-menu-open .altrum-navbar {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Homepage About: "Find / Build / Grow" steps under the About line. */
.about-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.about-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--dark-12);
}

.about-step-num {
  color: #f26f5b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.about-step-title {
  color: var(--secondary-clr);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.about-step-text {
  color: var(--dark-70);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .about-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Homepage services: keep each tag pill on one line and let the row wrap. */
.services-categories-wrap {
  flex-wrap: wrap;
}

.services-categories {
  white-space: nowrap;
}

/* Slide-out menu without arrows: just the page names and 01-09 numbers.
   The current page gets a small coral dot before its number. The two links at
   the bottom (All Projects, Let's Talk) are plain text too. */
.altrum-menu-link {
  grid-template-columns: 1fr auto;
}

.altrum-menu-arrow,
.altrum-menu-action img {
  display: none;
}

.altrum-menu-actions {
  column-gap: 24px;
}

.altrum-menu-link[aria-current] .altrum-menu-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
}

.altrum-menu-link[aria-current] .altrum-menu-index::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f26f5b;
}

/* Contact form: hidden spam trap (bots fill it, people never see it). */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button[disabled] {
  opacity: .6;
  cursor: progress;
}
