/* ==========================================================================
   AlphaNovix: inner-page system
   Loaded after alphanovix-overrides.css (tokens live there). Same rules as
   the homepage: navy headings, one blue phrase, AA body text, navy instead of
   black, one card recipe, spacing tokens, one fade-up reveal.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page hero
   -------------------------------------------------------------------------- */
.inner-page-hero {
  min-height: 0;
  padding: clamp(150px, 14vw, 184px) 0 clamp(64px, 7vw, 104px);
  background: linear-gradient(160deg, #F4F6FB 0%, #E9EEF7 55%, #DEE6F4 100%);
}
.inner-page-hero::before {
  border-color: rgba(0, 86, 253, .10);
}
.inner-page-hero::after {
  background: rgba(255, 255, 255, .55);
}
.inner-page-hero-glow {
  opacity: .45;
  background: radial-gradient(circle at center, rgba(0, 86, 253, .22), rgba(0, 86, 253, 0) 68%);
}
.page-breadcrumb {
  margin-bottom: 40px;
}
.page-breadcrumb li {
  color: var(--anx-ink-soft);
}
.page-breadcrumb a {
  color: var(--anx-navy);
}
.page-breadcrumb a:hover {
  color: var(--anx-blue);
}
.inner-page-hero-copy .heading-sub {
  margin-bottom: 24px;
}
.inner-page-hero-copy h1 {
  max-width: 15em;
  margin: 0 auto;
  color: var(--anx-navy);
  font-size: clamp(2.75rem, 1.2rem + 5.2vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.inner-page-hero-copy h1 span,
.inner-page-hero-copy h1 .anx-em {
  color: var(--anx-blue);
  -webkit-text-fill-color: currentColor;
}
.inner-page-hero-copy > p {
  max-width: 40em;
  margin-top: 24px;
  color: var(--anx-ink);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Sections and headings
   -------------------------------------------------------------------------- */
.inner-page-section {
  padding: var(--space-section) 0;
}
.inner-page-section.pt-0 {
  padding-top: 0;
}
.inner-section-heading {
  margin-bottom: var(--space-block);
}
.inner-section-heading h2,
.about-story-card h2,
.contact-page-copy h2,
.anx-h2 {
  margin: 16px 0 0;
  color: var(--anx-navy);
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.inner-section-heading h2 .anx-em,
.anx-h2 .anx-em {
  color: var(--anx-blue);
}
.inner-section-heading > p,
.inner-section-heading-split > p {
  color: var(--anx-ink);
  font-size: 17px;
  line-height: 1.6;
}
.entry-content,
.inner-page-section p {
  color: var(--anx-ink);
}

/* --------------------------------------------------------------------------
   One card recipe
   -------------------------------------------------------------------------- */
.anx-card-recipe,
.service-page-card,
.value-card,
.insight-card,
.contact-method-card,
.contact-form-card,
.about-story-card,
.work-page-card,
.generic-page-content .entry-content {
  border: 0;
  border-radius: var(--anx-r-card);
  background: var(--anx-card-bg);
  box-shadow: var(--anx-card-shadow);
}
@media (hover: hover) {
  .anx-card-hover {
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s cubic-bezier(.2, .7, .2, 1);
  }
  .anx-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--anx-card-shadow-hover);
  }
}
.service-page-card h3,
.value-card h3,
.insight-card h2,
.insight-card h3,
.contact-method-card h2 {
  color: var(--anx-navy);
}
.service-page-card p,
.value-card p,
.insight-card p,
.contact-method-card p {
  color: var(--anx-ink);
}

/* Navy instead of black for dark cards and bands */
.anx-navy-card,
.about-global-card,
.delivery-process-card,
.inner-page-cta-card {
  background: var(--anx-navy-band);
  color: var(--anx-on-navy);
  box-shadow: 0 7.77px 2.21px 0 rgba(0, 0, 0, .06), 0 3px 3px 0 rgba(0, 0, 0, .1), 0 -8px 0 0 #07122C inset, 0 4px 0 0 rgba(255, 255, 255, .18) inset;
}
.anx-navy-card h2,
.anx-navy-card h3,
.inner-page-cta-card h2 {
  color: var(--anx-on-navy);
}
.anx-navy-card .anx-em,
.inner-page-cta-card .anx-em {
  color: var(--anx-blue-on-navy);
}
.anx-navy-card p,
.inner-page-cta-card p {
  color: var(--anx-on-navy-soft);
}
.anx-navy-card .heading-sub,
.inner-page-section .anx-navy-card .heading-sub,
.inner-page-cta .inner-page-cta-card .heading-sub {
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset;
  color: var(--anx-on-navy);
}
.anx-navy-card .heading-sub::before,
.inner-page-section .anx-navy-card .heading-sub::before,
.inner-page-cta .inner-page-cta-card .heading-sub::before {
  background-color: var(--anx-blue-on-navy);
}

/* --------------------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------------------- */
.inner-page-cta {
  padding: 0 0 var(--space-section);
}
.inner-page-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--anx-r-band);
}
.inner-page-cta-card > div:first-child {
  max-width: 40em;
}
.inner-page-cta-card h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.inner-page-cta-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.inner-page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.anx-navy-card .anx-book-call,
.inner-page-cta-card .anx-book-call {
  background: var(--anx-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 86, 253, .35), 0 -3px 0 0 rgba(0, 0, 0, .18) inset, 0 1px 0 0 rgba(255, 255, 255, .25) inset;
}
.inner-page-cta-card .tf-btn-2 {
  color: var(--anx-navy);
}

/* Section label pill outside a homepage .heading-section (inner pages, CTA band) */
.inner-page-section .heading-sub,
.inner-page-cta .heading-sub,
.anx-label {
  position: relative;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 6px 16px 6px 30px;
  border-radius: 8px;
  background: linear-gradient(0deg, #F5F5F5, #F5F5F5);
  box-shadow: 0 -3px 0 0 #E9E9E9 inset, 0 1px 0 0 rgba(255, 255, 255, .7) inset, 0 3px 3px 0 rgba(0, 0, 0, .14);
  color: var(--anx-navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.inner-page-section .heading-sub::before,
.inner-page-cta .heading-sub::before,
.anx-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background-color: var(--anx-blue);
  transform: translateY(-50%);
}
.inner-page-cta-actions {
  flex-direction: row;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Shared bits: chips, filter chips, pagination, prose
   -------------------------------------------------------------------------- */
.anx-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--space-block);
  padding: 0;
  list-style: none;
}
.anx-filter a,
.anx-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--anx-line);
  border-radius: 999px;
  background: #fff;
  color: var(--anx-navy);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.anx-filter [aria-pressed="true"],
.anx-filter [aria-current] {
  border-color: var(--anx-navy);
  background: var(--anx-navy);
  color: #fff;
}
@media (hover: hover) {
  .anx-filter a:hover,
  .anx-filter button:hover {
    border-color: var(--anx-blue);
    color: var(--anx-blue);
  }
  .anx-filter [aria-pressed="true"]:hover,
  .anx-filter [aria-current]:hover {
    color: #fff;
  }
}
.anx-filter .count {
  color: inherit;
  font-weight: 500;
  opacity: .7;
}

.anx-pagination,
.insights-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-block);
}
.anx-pagination .page-numbers,
.insights-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--anx-line);
  border-radius: 999px;
  background: #fff;
  color: var(--anx-navy);
  font-weight: 600;
}
.anx-pagination .current,
.insights-pagination .current {
  border-color: var(--anx-navy);
  background: var(--anx-navy);
  color: #fff;
}

.anx-empty {
  padding: var(--anx-pad-card);
  border-radius: var(--anx-r-card);
  background: var(--anx-card-bg);
  box-shadow: var(--anx-card-shadow);
  text-align: center;
}
.anx-empty h2 {
  color: var(--anx-navy);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.anx-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--anx-blue);
  font-weight: 600;
}
.anx-link-arrow::after {
  content: "→";
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
  .anx-link-arrow:hover::after {
    transform: translateX(3px);
  }
}

/* Generic page (page.php) */
.generic-page-content .entry-content {
  max-width: 70ch;
  margin: 0 auto;
  padding: var(--anx-pad-card);
  font-size: 17px;
  line-height: 1.7;
}

/* Small heading sizes used inside pages */
.anx-h3 {
  margin: 0 0 16px;
  color: var(--anx-navy);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.anx-h4 {
  margin: 0 0 12px;
  color: var(--anx-navy);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Work (/work/)
   -------------------------------------------------------------------------- */
.anx-work-page {
  padding-top: var(--space-block);
}
.anx-work-grid--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.anx-work-grid--page .anx-work-title {
  font-size: clamp(1.375rem, 1.2rem + .5vw, 1.625rem);
}
.anx-work-item[hidden] {
  display: none;
}
.anx-work-item.is-entering {
  animation: anx-fade-up .35s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes anx-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 1199px) {
  .anx-work-grid--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .anx-work-grid--page {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Single project (/work/{slug}/)
   -------------------------------------------------------------------------- */
.anx-project {
  padding-top: var(--space-block);
}
.anx-project-shot {
  overflow: hidden;
  margin: 0 0 32px;
  border-radius: var(--anx-r-card);
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(11, 27, 63, .3), 0 10px 24px -12px rgba(11, 27, 63, .16), 0 0 0 1px rgba(11, 27, 63, .08);
}
.anx-project-shot-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-bottom: 1px solid #E4E7EC;
  background: #F5F6F8;
}
.anx-project-shot-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #D5D9E0;
}
.anx-project-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.anx-project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  margin: 0 0 var(--space-block);
  padding: 20px 0;
  border-top: 1px solid var(--anx-line);
  border-bottom: 1px solid var(--anx-line);
}
.anx-project-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.anx-project-meta dt {
  color: var(--anx-ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.anx-project-meta dd {
  margin: 0;
  color: var(--anx-navy);
  font-size: 17px;
  font-weight: 600;
}
.anx-project-meta dd a {
  color: var(--anx-blue);
}
.anx-project-live {
  margin-left: auto;
}
.anx-project-body {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: var(--space-block);
}
.anx-project-body.has-aside {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: start;
}
.anx-project-block + .anx-project-block {
  margin-top: var(--space-block);
}
.anx-project-block .entry-content {
  max-width: 68ch;
  color: var(--anx-ink);
  font-size: 17px;
  line-height: 1.7;
}
.anx-project-aside {
  position: sticky;
  top: 120px;
  padding: var(--anx-pad-card);
}
.anx-project-aside .anx-h4 + * {
  margin-bottom: 24px;
}
.anx-project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.anx-project-results {
  margin: 0;
  padding-left: 18px;
  color: var(--anx-ink);
  line-height: 1.6;
}
.anx-project-gallery {
  margin-bottom: var(--space-block);
}
.anx-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.anx-gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #E4E6EC;
  cursor: zoom-in;
}
.anx-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
  .anx-gallery-item:hover img {
    transform: scale(1.03);
  }
}
.anx-lightbox {
  max-width: min(94vw, 1400px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
}
.anx-lightbox::backdrop {
  background: rgba(11, 27, 63, .82);
}
.anx-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  height: auto;
  border-radius: 12px;
}
.anx-lightbox-close,
.anx-lightbox-step {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--anx-navy);
  font-size: 24px;
  line-height: 1;
}
.anx-lightbox-close { top: -54px; right: 0; }
.anx-lightbox-step { top: 50%; transform: translateY(-50%); }
[data-anx-lightbox-prev] { left: 12px; }
[data-anx-lightbox-next] { right: 12px; }
.anx-project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.anx-project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--anx-pad-card);
  color: var(--anx-navy);
  text-decoration: none;
}
.anx-project-nav-link--next {
  align-items: flex-end;
  text-align: right;
}
.anx-project-nav-dir {
  color: var(--anx-ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.anx-project-nav-title {
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
@media (max-width: 991px) {
  .anx-project-body.has-aside {
    grid-template-columns: 1fr;
  }
  .anx-project-aside {
    position: static;
  }
}
@media (max-width: 575px) {
  .anx-gallery-grid,
  .anx-project-nav {
    grid-template-columns: 1fr;
  }
  .anx-project-nav-link--next {
    align-items: flex-start;
    text-align: left;
  }
  .anx-project-live {
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.anx-service-list {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
  scroll-margin-top: 120px;
}
.anx-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: 12px clamp(20px, 3vw, 40px) 12px 12px;
  scroll-margin-top: 120px;
}
.anx-service-row:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  padding: 12px 12px 12px clamp(20px, 3vw, 40px);
}
.anx-service-row:nth-child(even) .anx-service-media {
  order: 2;
}
.anx-service-media {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--anx-r-card) - 10px);
  background: #E4E6EC;
}
.anx-service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.anx-service-body {
  padding: clamp(8px, 2vw, 24px) 0;
}
.anx-service-title {
  margin: 0 0 12px;
  color: var(--anx-navy);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.anx-service-text {
  margin: 0 0 20px;
  max-width: 52ch;
  color: var(--anx-ink);
  font-size: 17px;
  line-height: 1.6;
}
.anx-service-sub {
  margin: 0 0 10px;
  color: var(--anx-navy);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.anx-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.anx-check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--anx-ink);
  font-size: 15px;
  line-height: 1.45;
}
.anx-check-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--anx-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.anx-service-price {
  margin: 0 0 20px;
  color: var(--anx-navy);
  font-size: 15px;
  font-weight: 600;
}
.anx-service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.delivery-process-card {
  border-radius: var(--anx-r-band);
}
.delivery-process-card h3 {
  color: var(--anx-on-navy);
}
.delivery-process-list > li > span {
  color: var(--anx-blue-on-navy);
}
.delivery-process-list li + li {
  border-color: rgba(255, 255, 255, .14);
}
.anx-link-arrow--light {
  margin-top: 24px;
  color: var(--anx-blue-on-navy);
}
@media (max-width: 991px) {
  .anx-service-row,
  .anx-service-row:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 12px 12px 20px;
  }
  .anx-service-row:nth-child(even) .anx-service-media {
    order: 0;
  }
  .anx-service-body {
    padding: 4px 8px 0;
  }
}
@media (max-width: 575px) {
  .anx-check-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.anx-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.anx-about-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: var(--anx-pad-card);
  border-radius: var(--anx-r-card);
}
.anx-about-logo {
  width: 220px;
  max-width: 100%;
  margin-top: auto;
}
.anx-about-card-text {
  margin: 0;
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.6;
}
.anx-availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.anx-availability i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6EE7B7;
  box-shadow: 0 0 0 4px rgba(110, 231, 183, .2);
}
.anx-about-story {
  padding: var(--anx-pad-card);
}
.anx-about-story .anx-h2 {
  margin-bottom: 24px;
}
.anx-about-story p {
  max-width: 62ch;
  margin: 0 0 14px;
  color: var(--anx-ink);
  font-size: 17px;
  line-height: 1.65;
}
.anx-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.anx-step {
  padding: var(--anx-pad-card) clamp(20px, 2vw, 28px);
}
.anx-step-num {
  display: block;
  margin-bottom: 20px;
  color: var(--anx-blue);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.anx-step h3,
.anx-beliefs h3 {
  margin: 0 0 8px;
  color: var(--anx-navy);
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.anx-step p,
.anx-beliefs p {
  margin: 0;
  color: var(--anx-ink);
  line-height: 1.6;
}
.anx-steps-more {
  margin: 24px 0 0;
}
.anx-beliefs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.anx-beliefs li {
  padding: 28px 0;
  border-top: 1px solid var(--anx-line);
}
@media (max-width: 1199px) {
  .anx-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .anx-about-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .anx-steps,
  .anx-beliefs {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Insights: listing, cards, archives
   -------------------------------------------------------------------------- */
.anx-insights-page {
  padding-top: var(--space-block);
}
.anx-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.anx-insight {
  display: flex;
}
.anx-insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px;
}
.anx-insight-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--anx-r-card) - 10px);
  background: #E4E6EC;
}
.anx-insight-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* No featured image yet: a short, light band instead of a stock photo */
.anx-insight-media--plain {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 5;
  padding: 16px 20px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(0, 86, 253, .16) 0%, rgba(0, 86, 253, 0) 70%),
    linear-gradient(160deg, #EEF2FA 0%, #E2E9F6 100%);
}
.anx-insight-media-label {
  color: var(--anx-navy);
  font-size: 15px;
  font-weight: 600;
}
.anx-insight-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 12px 12px;
}
.anx-insight-meta,
.anx-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  color: var(--anx-ink-soft);
  font-size: 14px;
  font-weight: 500;
}
.anx-insight-title {
  margin: 0;
  color: var(--anx-navy);
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.4375rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.anx-insight-link {
  color: inherit;
  text-decoration: none;
}
.anx-insight-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--anx-r-card);
}
.anx-insight-link:focus-visible {
  outline: none;
}
.anx-insight-link:focus-visible::after {
  outline: 2px solid var(--anx-blue);
  outline-offset: 3px;
}
.anx-insight-excerpt {
  margin: 0;
  color: var(--anx-ink);
  line-height: 1.6;
}
.anx-insight-body .anx-link-arrow {
  margin-top: auto;
  padding-top: 6px;
}
@media (max-width: 1199px) {
  .anx-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .anx-insights-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */
.anx-post {
  padding-top: var(--space-block);
}
.anx-post-meta {
  justify-content: center;
  margin-bottom: 32px;
}
.anx-post-image {
  overflow: hidden;
  margin: 0 0 var(--space-block);
  border-radius: var(--anx-r-card);
}
.anx-post-image img {
  display: block;
  width: 100%;
  height: auto;
}
.anx-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 70ch);
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
}
.anx-post.has-toc .anx-post-layout {
  grid-template-columns: minmax(220px, 280px) minmax(0, 70ch);
}
.anx-toc {
  position: relative;
}
.anx-toc-box {
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 20px;
  border-radius: 20px;
  background: var(--anx-card-bg);
  box-shadow: var(--anx-card-shadow);
}
.anx-toc summary {
  color: var(--anx-navy);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.anx-toc ol {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.anx-toc li {
  counter-increment: toc;
}
.anx-toc a {
  display: grid;
  grid-template-columns: 26px 1fr;
  padding: 6px 0;
  color: var(--anx-ink);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.anx-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--anx-ink-soft);
  font-variant-numeric: tabular-nums;
}
.anx-toc a:hover,
.anx-toc a.is-current {
  color: var(--anx-blue);
}

/* Article typography */
.anx-prose {
  color: var(--anx-ink);
  font-size: 18px;
  line-height: 1.75;
}
.anx-prose > * + * {
  margin-top: 1.1em;
}
.anx-prose h2 {
  margin: 2em 0 .6em;
  color: var(--anx-navy);
  font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  scroll-margin-top: 110px;
}
.anx-prose h3 {
  margin: 1.6em 0 .5em;
  color: var(--anx-navy);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.anx-prose p,
.anx-prose li {
  color: var(--anx-ink);
}
.anx-prose ul,
.anx-prose ol {
  padding-left: 1.3em;
}
.anx-prose li + li {
  margin-top: .4em;
}
.anx-prose ul li::marker {
  color: var(--anx-blue);
}
.anx-prose a {
  color: var(--anx-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.anx-prose strong {
  color: var(--anx-navy);
}
.anx-prose blockquote {
  margin-left: 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--anx-blue);
  color: var(--anx-navy);
}
.anx-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.anx-post-cta {
  margin-top: var(--space-block);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--anx-r-card);
}
.anx-post-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.anx-post-cta p {
  margin: 0 0 20px;
}
.anx-post-back {
  margin: 24px 0 0;
}
.anx-post-back a {
  color: var(--anx-navy);
  font-weight: 600;
}
.anx-related .anx-h2 {
  margin: 0 0 var(--space-block);
}
@media (max-width: 1199px) {
  .anx-post.has-toc .anx-post-layout {
    grid-template-columns: minmax(0, 70ch);
  }
  .anx-toc-box {
    position: static;
    max-height: none;
  }
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.anx-contact-page {
  padding-top: var(--space-block);
}
.anx-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}
.anx-contact-form,
.anx-contact-cal {
  padding: var(--anx-pad-card);
}
.anx-contact-note {
  margin: -8px 0 24px;
  color: var(--anx-ink);
}
.anx-contact-form .inner-contact-form label > span {
  color: var(--anx-navy);
}
/* One field recipe for every control (a template rule stripped input borders) */
.inner-contact-form input[type="text"],
.inner-contact-form input[type="email"],
.inner-contact-form input[type="tel"],
.inner-contact-form select,
.inner-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #D3D9E4;
  border-radius: 14px;
  background-color: #fff;
  color: var(--anx-navy);
  font-size: 16px;
  line-height: 24px;
}
.inner-contact-form select {
  height: auto;
  padding-right: 40px;
}
.inner-contact-form input:focus,
.inner-contact-form select:focus,
.inner-contact-form textarea:focus {
  border-color: var(--anx-blue);
}
.anx-contact-form .tf-btn {
  width: 100%;
}
.anx-cal-inline {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}
/* Embed stays collapsed until Cal.com reports the calendar is ready */
.anx-cal-frame {
  height: 0;
  overflow: hidden;
}
.anx-cal-inline.is-ready .anx-cal-frame {
  height: auto;
  min-height: 560px;
}
.anx-cal-inline.is-ready .anx-cal-panel {
  display: none;
}
.anx-cal-panel {
  padding: 28px;
}
.anx-cal-steps {
  display: grid;
  gap: 20px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.anx-cal-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.anx-cal-steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 86, 253, 0.08);
  color: var(--anx-blue);
  font-weight: 700;
  font-size: 16px;
}
.anx-cal-steps h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 26px;
  color: var(--anx-ink);
}
.anx-cal-steps p {
  margin: 0;
  color: var(--anx-ink-soft);
  font-size: 16px;
  line-height: 24px;
}
.anx-cal-panel .anx-cal-panel-btn {
  width: 100%;
  justify-content: center;
}
.anx-cal-panel-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: var(--anx-ink-soft);
}
@media (max-width: 575px) {
  .anx-cal-panel {
    padding: 22px 18px;
  }
}
.anx-contact-direct {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: var(--space-block);
  padding-top: 32px;
  border-top: 1px solid var(--anx-line);
}
.anx-contact-direct a {
  color: var(--anx-blue);
  font-weight: 600;
  word-break: break-word;
}
.anx-contact-direct p {
  margin: 0;
  color: var(--anx-ink);
}
.anx-contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.anx-contact-wa {
  margin: 6px 0 0;
}
@media (max-width: 1199px) {
  .anx-contact-direct {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .anx-contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .anx-contact-direct {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   404, search, legal
   -------------------------------------------------------------------------- */
.anx-search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
}
.anx-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #D3D9E4;
  border-radius: 999px;
  background: #fff;
  color: var(--anx-navy);
  font-size: 16px;
}
.anx-search-form input[type="search"]:focus {
  border-color: var(--anx-blue);
}
.anx-404 {
  padding-top: var(--space-block);
}
.anx-404-search {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-block);
}
.anx-404-search .anx-search-form {
  width: 100%;
}
.anx-404-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.anx-404-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: var(--anx-pad-card) clamp(20px, 2vw, 28px);
  text-decoration: none;
}
.anx-404-link-title {
  color: var(--anx-navy);
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem);
  font-weight: 600;
}
.anx-404-link-title::after {
  content: " →";
  color: var(--anx-blue);
}
.anx-404-link-text {
  color: var(--anx-ink);
  line-height: 1.5;
}
.anx-search-page {
  padding-top: var(--space-block);
}
.anx-search-wrap {
  margin-bottom: var(--space-block);
}
.anx-results {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.anx-result {
  position: relative;
  padding: 22px clamp(20px, 3vw, 32px);
}
.anx-result-type {
  margin: 0 0 6px;
  color: var(--anx-ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.anx-result-title {
  margin: 0;
  color: var(--anx-navy);
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}
.anx-result-excerpt {
  margin: 8px 0 0;
  color: var(--anx-ink);
  line-height: 1.6;
}
.anx-legal {
  padding-top: var(--space-block);
}
.anx-legal-body {
  max-width: 70ch;
  margin: 0 auto;
}
.anx-legal-section {
  padding: 24px 0;
  border-top: 1px solid var(--anx-line);
}
.anx-todo-banner,
.anx-todo {
  margin: 0;
  padding: 14px 18px;
  border: 1px dashed #C9A227;
  border-radius: 12px;
  background: #FFF8E1;
  color: #5C4400;
  line-height: 1.55;
}
.anx-todo-banner {
  margin-bottom: 24px;
}
.site-footer .footer-privacy {
  margin-left: 12px;
  color: var(--anx-on-navy-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 991px) {
  .anx-404-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .anx-404-links {
    grid-template-columns: 1fr;
  }
  .anx-search-form {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Floating WhatsApp button (all pages). Sits above the back-to-top button on
   desktop; on phones it takes the bottom-right corner (back-to-top is hidden
   there). whatsapp-button.js adds .is-tucked when it would cover a control.
   -------------------------------------------------------------------------- */
.anx-wa {
  position: fixed;
  right: 33px;
  bottom: 92px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(11, 27, 63, .22);
  transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.anx-wa:hover {
  color: #fff;
  transform: translateY(-2px);
}
.anx-wa:focus-visible {
  outline: 3px solid var(--anx-blue);
  outline-offset: 3px;
}
.anx-wa-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.anx-wa.is-tucked {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}
@media (max-width: 767px) {
  .anx-wa {
    right: 16px;
    bottom: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}
.site-footer .footer-phone {
  margin: 0 0 16px;
}
.site-footer .footer-phone a {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
}
.site-footer .footer-phone a:hover {
  color: var(--anx-blue-on-navy);
}

@media (prefers-reduced-motion: reduce) {
  .anx-work-item.is-entering {
    animation: none;
  }
  .anx-gallery-item img,
  .anx-card-hover,
  .anx-link-arrow::after {
    transition: none;
  }
}
