:root {
  --astra-bg: #101010;
  --astra-text: #f0f0e8;
  --astra-muted: rgba(240, 240, 232, 0.68);
  --astra-accent: #f85030;
  --astra-card: #1a1a1a;
  --astra-line: rgba(240, 240, 232, 0.16);
}

html[data-theme="light"] {
  --astra-bg: #ffffff;
  --astra-text: #101010;
  --astra-muted: rgba(16, 16, 16, 0.66);
  --astra-accent: #c03818;
  --astra-card: #ffffff;
  --astra-line: rgba(16, 16, 16, 0.12);
}

html[data-theme="dark"],
html[data-theme="light"] {
  background: var(--astra-bg);
}

html[data-theme="dark"] body,
html[data-theme="dark"] section,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .loading-screen,
html[data-theme="dark"] .initial-loading-screen,
html[data-theme="dark"] .website-loading-screen,
html[data-theme="dark"] .border-padding,
html[data-theme="dark"] .normal-padding,
html[data-theme="dark"] .projects-carousel-item,
html[data-theme="dark"] .showreel-content-videobox-background,
html[data-theme="dark"] .works-carousel-wrapper-overlay,
html[data-theme="dark"] .about-sticky-item,
html[data-theme="dark"] .case-study-page,
html[data-theme="light"] body,
html[data-theme="light"] section,
html[data-theme="light"] .footer,
html[data-theme="light"] .loading-screen,
html[data-theme="light"] .initial-loading-screen,
html[data-theme="light"] .website-loading-screen,
html[data-theme="light"] .border-padding,
html[data-theme="light"] .normal-padding,
html[data-theme="light"] .projects-carousel-item,
html[data-theme="light"] .showreel-content-videobox-background,
html[data-theme="light"] .about-sticky-item,
html[data-theme="light"] .case-study-page {
  background-color: var(--astra-bg) !important;
  background-image: none !important;
  color: var(--astra-text);
}

html[data-theme="dark"] .services-content-container-top,
html[data-theme="dark"] .services-content-container-bottom,
html[data-theme="dark"] .services-content-container-left,
html[data-theme="dark"] .services-content-container-right,
html[data-theme="dark"] .projects-gradient-top,
html[data-theme="dark"] .projects-gradient-bottom,
html[data-theme="dark"] .casestudy-top-gradient,
html[data-theme="light"] .services-content-container-top,
html[data-theme="light"] .services-content-container-bottom,
html[data-theme="light"] .services-content-container-left,
html[data-theme="light"] .services-content-container-right,
html[data-theme="light"] .projects-gradient-top,
html[data-theme="light"] .projects-gradient-bottom,
html[data-theme="light"] .casestudy-top-gradient,
html[data-theme="dark"] .titlebox-gradient,
html[data-theme="dark"] .titlebox-big-gradient,
html[data-theme="dark"] .titlebox-medium-gradient,
html[data-theme="dark"] .subpage-titlebox-gradient,
html[data-theme="dark"] .hero-titlebox-gradient,
html[data-theme="dark"] .kpi-item-textbox-number-gradient,
html[data-theme="dark"] .background-gradient-circle,
html[data-theme="dark"] .background-gradient-circle-2,
html[data-theme="dark"] .background-gradient-circle-3,
html[data-theme="dark"] .hero-background-element-small,
html[data-theme="light"] .titlebox-gradient,
html[data-theme="light"] .titlebox-big-gradient,
html[data-theme="light"] .titlebox-medium-gradient,
html[data-theme="light"] .subpage-titlebox-gradient,
html[data-theme="light"] .hero-titlebox-gradient,
html[data-theme="light"] .kpi-item-textbox-number-gradient,
html[data-theme="light"] .background-gradient-circle,
html[data-theme="light"] .background-gradient-circle-2,
html[data-theme="light"] .background-gradient-circle-3,
html[data-theme="light"] .hero-background-element-small,
html[data-theme="light"] .background-gradient-down,
html[data-theme="light"] .background-gradient-up,
html[data-theme="light"] .background-gradient-side {
  background: transparent !important;
  background-image: none !important;
  opacity: 0 !important;
  filter: none !important;
}

html[data-theme="dark"] .white,
html[data-theme="light"] .white,
html[data-theme="dark"] .headline,
html[data-theme="light"] .headline,
html[data-theme="dark"] .subheadline,
html[data-theme="light"] .subheadline,
html[data-theme="dark"] .small-subheadline,
html[data-theme="light"] .small-subheadline,
html[data-theme="dark"] .description,
html[data-theme="light"] .description,
html[data-theme="dark"] .big-description,
html[data-theme="light"] .big-description,
html[data-theme="dark"] .small-description,
html[data-theme="light"] .small-description {
  color: var(--astra-text) !important;
}

html[data-theme="dark"] .grey,
html[data-theme="light"] .grey {
  color: var(--astra-muted) !important;
}

html[data-theme="dark"] .button,
html[data-theme="light"] .button {
  color: var(--astra-text) !important;
  border-color: var(--astra-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .button-circle,
html[data-theme="light"] .button-circle-white {
  background: #101010 !important;
  color: #f8f8f0 !important;
}

html[data-theme="dark"] .button-circle,
html[data-theme="dark"] .button-circle-white {
  background: #f0f0e8 !important;
  color: #101010 !important;
}

html[data-theme="dark"] .contact-button-white .description,
html[data-theme="dark"] .contact-button-white .black {
  color: #101010 !important;
}

html[data-theme="light"] .contact-button-white {
  border-color: rgba(16, 16, 16, 0.22) !important;
  background: #ffffff !important;
}

html[data-theme="light"] .navigation-inside {
  background-color: rgba(248, 248, 240, 0.92);
  border-color: rgba(16, 16, 16, 0.1);
}

html[data-theme="dark"] .navigation-inside {
  background-color: rgba(16, 16, 16, 0.88);
  border-color: rgba(240, 240, 232, 0.14);
}

html[data-theme="light"] .navigation-inside-right-mobile-line {
  background-color: #101010 !important;
}

html[data-theme="light"] .navigation-wrapper.is-open .navigation-mobile-menu,
html[data-theme="light"] body.menu-open .navigation-mobile-menu {
  background: #f8f8f0 !important;
  border: 1px solid rgba(16, 16, 16, 0.12) !important;
}

html[data-theme="light"] .navigation-mobile-menu a {
  color: #101010 !important;
}

html[data-theme="light"] .hero-content-bottom-item,
html[data-theme="light"] .showreel-content-row-item,
html[data-theme="light"] .testimonials-item,
html[data-theme="light"] .testimonials-item-last,
html[data-theme="light"] .kpi-content-item,
html[data-theme="light"] .techstack-item-big,
html[data-theme="light"] .techstack-item-small,
html[data-theme="light"] .techstack-item-content-column-slider,
html[data-theme="light"] .techstack-item-content-column-slider-item-child,
html[data-theme="light"] .casestudies-item,
html[data-theme="light"] .about-team-item,
html[data-theme="light"] .contact-content-top-item,
html[data-theme="light"] .contact-content-item,
html[data-theme="light"] .contact-content-small-item,
html[data-theme="light"] .works-project-item-content-row-box,
html[data-theme="light"] .works-item-content-textbox-button,
html[data-theme="light"] .plan-card,
html[data-theme="light"] .audit-step,
html[data-theme="light"] .chart-wrap,
html[data-theme="light"] .form-input,
html[data-theme="light"] .form-textarea,
html[data-theme="light"] .modal-content,
html[data-theme="light"] .project-modal-content {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(16, 16, 16, 0.1) !important;
  box-shadow: none !important;
  color: #101010 !important;
}

html[data-theme="light"] .kpi-item-textbox-number-text {
  background: none !important;
  -webkit-text-fill-color: #c03818 !important;
  color: #c03818 !important;
}

html[data-theme="light"] .case-study-title {
  background: none !important;
  -webkit-text-fill-color: #101010 !important;
  color: #101010 !important;
}

html[data-theme="light"] .footer-divider,
html[data-theme="light"] .section-border,
html[data-theme="light"] .about-divider,
html[data-theme="light"] .works-divider,
html[data-theme="light"] .works-content-top-divider,
html[data-theme="light"] .works-industries-divider,
html[data-theme="light"] .contact-divider {
  background-color: rgba(16, 16, 16, 0.12) !important;
}

html[data-theme="light"] .chart th,
html[data-theme="light"] .chart td,
html[data-theme="light"] .plan-list li,
html[data-theme="light"] .audit-step strong,
html[data-theme="light"] .audit-step p {
  color: #101010 !important;
  border-color: rgba(16, 16, 16, 0.1) !important;
}

html[data-theme="light"] .plan-list li:before {
  background: #c03818 !important;
}

html[data-theme="light"] img[src*="/logos/"]:not(.navigation-inside-left-image):not(.footer-logo):not([src*="astraea-logo"]) {
  filter: invert(1);
}

html[data-theme="dark"] .hero-content-bottom-item,
html[data-theme="dark"] .showreel-content-row-item,
html[data-theme="dark"] .testimonials-item,
html[data-theme="dark"] .kpi-content-item,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .audit-step {
  background-color: #1a1a1a !important;
  border-color: rgba(240, 240, 232, 0.12) !important;
}

.navigation-inside-left {
  width: auto !important;
  flex: 0 0 auto;
}

.navigation-inside-left-image,
.footer-logo,
.astraea-logo {
  width: 168px !important;
  height: auto !important;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
  animation: astraea-in 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.footer-logo {
  width: 210px !important;
  max-height: 48px;
  animation-delay: 0.15s;
}

.navigation-inside-left a:hover .navigation-inside-left-image,
.footer-content-left:hover .footer-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 14px rgba(240, 80, 36, 0.45));
}

.footer-logo + h1,
.footer-logo + .subheadline {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@keyframes astraea-in {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateY(8px);
  }
  55% {
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navigation-inside-left-image,
  .footer-logo,
  .astraea-logo {
    animation: none;
  }
}

html.astra-motion .navigation-inside-left-image,
html.astra-motion .footer-logo,
html.astra-motion .astraea-logo {
  animation: none;
}


.hero-titlebox {
  overflow: visible !important;
  width: 100% !important;
  max-width: 100%;
}

.hero-titlebox-gradient {
  display: none !important;
}

.hero-headline {
  position: relative;
  z-index: 2;
  word-break: normal;
  overflow-wrap: normal;
}

.plan-card.featured,
.astra-fab-accent {
  border-color: var(--astra-accent) !important;
}

body.static-page section.page-block {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.plan-name {
  margin: 0;
  color: var(--astra-text);
  font-size: clamp(1.35rem, 1.6vw, 1.7rem);
  line-height: 1.2;
  font-weight: 700;
}

.plan-price,
.plan-price-row {
  display: none !important;
}

.plan-note {
  margin: 0;
  color: var(--astra-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.plan-card-wide {
  width: min(1120px, 100%);
  margin: 1.5rem auto 0;
  box-sizing: border-box;
}

.plan-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin-top: 0.4rem;
}

.plan-scope-title {
  margin: 0 0 0.55rem;
  color: var(--astra-text);
  font-size: 1rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .plan-scope {
    grid-template-columns: 1fr;
  }
}

html:has(body.static-page),
body.static-page {
  height: auto !important;
  min-height: 100%;
  overflow: visible !important;
}

.plan-kicker,
.plan-list li,
.chart th,
.chart td {
  color: var(--astra-text) !important;
}

.chart th {
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: #f85030;
  z-index: 10001;
  pointer-events: none;
}

.astra-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10002;
  background: #f85030;
  color: #161616;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.astra-skip:focus {
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid #f85030;
  outline-offset: 3px;
}

.astra-dock {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.astra-fab {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: 1px solid var(--astra-line);
  background: var(--astra-card);
  color: var(--astra-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.astra-fab svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astra-fab-accent {
  background: #f85030;
  color: #161616;
  border-color: #f85030;
}

.astra-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.7rem);
  width: min(20.5rem, calc(100vw - 1.4rem));
  max-height: calc(100vh - 9.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--astra-accent) transparent;
  background: var(--astra-card);
  color: var(--astra-text);
  border: 1px solid var(--astra-line);
  border-radius: 22px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.astra-panel::-webkit-scrollbar {
  width: 10px;
}

.astra-panel::-webkit-scrollbar-thumb {
  background: var(--astra-accent);
  border-radius: 99px;
}

.astra-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.astra-kicker {
  margin: 0 0 0.2rem;
  color: #f85030;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.astra-panel h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--astra-text);
}

.astra-close,
.astra-reset,
.astra-group button,
.astra-options button {
  font: inherit;
  cursor: pointer;
}

.astra-close {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--astra-line);
  background: transparent;
  color: var(--astra-text);
  font-size: 1.3rem;
  line-height: 1;
}

.astra-note {
  margin: 0.8rem 0;
  color: var(--astra-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.astra-group,
.astra-options {
  display: grid;
  gap: 0.45rem;
}

.astra-group {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0.7rem;
}

.astra-options {
  grid-template-columns: 1fr;
}

.astra-group button,
.astra-options button,
.astra-reset {
  border: 1px solid var(--astra-line);
  background: transparent;
  color: var(--astra-text);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font-size: 0.92rem;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
}

.astra-group button.is-on,
.astra-options button.is-on {
  background: #f85030;
  border-color: #f85030;
  color: #161616;
}

.astra-reset {
  width: 100%;
  margin-top: 0.7rem;
}

html.astra-font-1 { zoom: 1.08; }
html.astra-font-2 { zoom: 1.16; }
html.astra-font-3 { zoom: 1.24; }

html.astra-readable body,
html.astra-readable button,
html.astra-readable p,
html.astra-readable h1,
html.astra-readable h2,
html.astra-readable a {
  font-family: Verdana, Tahoma, sans-serif !important;
}

html.astra-links a {
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
  outline: 2px solid #f85030;
  outline-offset: 2px;
}

html.astra-headings h1,
html.astra-headings h2,
html.astra-headings .subheadline,
html.astra-headings .headline {
  background: #f85030;
  color: #161616 !important;
  display: inline;
  box-decoration-break: clone;
  padding: 0 0.15em;
}

html.astra-contrast[data-theme="dark"] body,
html.astra-contrast[data-theme="dark"] section {
  background: #000 !important;
}
html.astra-contrast[data-theme="dark"] .white,
html.astra-contrast[data-theme="dark"] .grey,
html.astra-contrast[data-theme="dark"] .headline,
html.astra-contrast[data-theme="dark"] .subheadline {
  color: #fff !important;
}
html.astra-contrast[data-theme="light"] body,
html.astra-contrast[data-theme="light"] section {
  background: #fff !important;
}
html.astra-contrast[data-theme="light"] .white,
html.astra-contrast[data-theme="light"] .grey,
html.astra-contrast[data-theme="light"] .headline,
html.astra-contrast[data-theme="light"] .subheadline {
  color: #000 !important;
}

html.astra-spacing p,
html.astra-spacing h1,
html.astra-spacing h2,
html.astra-spacing a,
html.astra-spacing button,
html.astra-spacing li {
  letter-spacing: 0.08em !important;
  word-spacing: 0.16em !important;
}

html.astra-leading p,
html.astra-leading li,
html.astra-leading .description,
html.astra-leading .big-description {
  line-height: 1.8 !important;
}

html.astra-motion *,
html.astra-motion *::before,
html.astra-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.astra-cursor,
html.astra-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M6 4l16 12-7 1 4 8-4 2-4-8-5 5z' fill='%23dc4830' stroke='%23111' stroke-width='1'/%3E%3C/svg%3E") 4 2, auto !important;
}

.astra-guide-line {
  position: fixed;
  left: 0;
  right: 0;
  height: 8px;
  margin-top: -4px;
  background: rgba(220, 72, 48, 0.35);
  border-top: 2px solid #f85030;
  border-bottom: 2px solid #f85030;
  pointer-events: none;
  z-index: 9998;
}

@media (max-width: 768px) {
  .astra-dock { right: 0.7rem; bottom: 0.7rem; }
  .astra-options { grid-template-columns: 1fr; }
}

/* Nav labels.
   `.navigation-inside-big a { color: inherit }` beats `.white { color: #fff }`.
   Nothing above those links sets a color, so they inherit black and disappear
   on the dark bar. The homepage also loses data-theme after hydration, so the
   readable color cannot depend on that attribute alone.
   Opacity is left to GSAP: inline styles still fade the bar in. Only the
   `.opacity` class (opacity: 0) is overridden, and without !important, so the
   intro can still animate. */
.navigation-inside-big a,
.navigation-inside-big a.small-description,
.navigation-inside-big a.white,
.navigation-inside-big a.hover-text-white,
.navigation-mobile-menu a,
.navigation-inside-right a.button,
.navigation-inside-right .button .small-description,
.navigation-inside-right .button-content span {
  color: #f0f0e8 !important;
  -webkit-text-fill-color: #f0f0e8 !important;
}

html[data-theme="dark"] .navigation-inside-big a,
html[data-theme="dark"] .navigation-inside-big a.small-description,
html[data-theme="dark"] .navigation-inside-big a.white,
html[data-theme="dark"] .navigation-inside-big a.hover-text-white,
html[data-theme="dark"] .navigation-mobile-menu a,
html[data-theme="dark"] .navigation-inside-right a.button,
html[data-theme="dark"] .navigation-inside-right .button .small-description,
html[data-theme="dark"] .navigation-inside-right .button-content span {
  color: #f0f0e8 !important;
  -webkit-text-fill-color: #f0f0e8 !important;
}

html[data-theme="light"] .navigation-inside-big a,
html[data-theme="light"] .navigation-inside-big a.small-description,
html[data-theme="light"] .navigation-inside-big a.white,
html[data-theme="light"] .navigation-inside-big a.hover-text-white,
html[data-theme="light"] .navigation-mobile-menu a,
html[data-theme="light"] .navigation-inside-right a.button,
html[data-theme="light"] .navigation-inside-right .button .small-description,
html[data-theme="light"] .navigation-inside-right .button-content span {
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
}

.navigation-inside-big a.opacity,
.navigation-mobile-menu a.opacity {
  opacity: 1;
}

.navigation-inside-big .hover-text-white:after {
  background-color: #f0f0e8;
}

html[data-theme="dark"] .navigation-inside-big .hover-text-white:after {
  background-color: #f0f0e8;
}

html[data-theme="light"] .navigation-inside-big .hover-text-white:after {
  background-color: #101010;
}
body.static-page section.contact {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Compiled CSS starts the bar at opacity 0 and translateY(-12.5vh).
   GSAP is supposed to fade it in. If that animation never runs (About's
   client bundle throws before the tweens finish), the static nav stays
   invisible. These rules hold the finished, on-screen state. The bar is
   position:fixed and about one viewport-header tall, so it does not cover
   the page. Desktop link row is display:flex so an interrupted GSAP
   fromTo(display:none) cannot leave the labels hidden. */
.navigation-wrapper,
.navigation-inside,
.navigation-inside-left,
.navigation-inside-big,
.navigation-inside-right {
  opacity: 1 !important;
  visibility: visible !important;
}

.navigation-inside {
  transform: none !important;
  width: 100% !important;
}

@media (min-width: 769px) {
  .navigation-inside-big,
  .navigation-inside-right {
    display: flex !important;
  }
}

/* Light mode: the works carousel overlay is a full-bleed #010101 veil
   with backdrop-filter blur, built to melt into the dark page. Painting
   that veil with the cream background washes the project photos. Hide it.
   Dark mode keeps the original overlay. */
html[data-theme="light"] .works-carousel-wrapper-overlay {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  opacity: 0 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

html[data-theme="light"] .works-item-content-image,
html[data-theme="light"] .projects-carousel-item-image,
html[data-theme="light"] .casestudies-item img,
html[data-theme="light"] .about-content-imagebox img {
  filter: none !important;
}

html[data-theme="light"] .works-item-border {
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.16) !important;
}

html[data-theme="light"] .white,
html[data-theme="light"] .headline,
html[data-theme="light"] .subheadline,
html[data-theme="light"] .small-subheadline,
html[data-theme="light"] .description,
html[data-theme="light"] .big-description,
html[data-theme="light"] .small-description,
html[data-theme="light"] .grey {
  -webkit-text-fill-color: currentColor;
}

html[data-theme="light"] .carousel-button {
  color: #101010 !important;
  background-color: rgba(16, 16, 16, 0.06) !important;
  border: 1px solid rgba(16, 16, 16, 0.16) !important;
}

html[data-theme="light"] .carousel-button svg,
html[data-theme="light"] .carousel-button path {
  color: #101010 !important;
  fill: currentColor !important;
}

html[data-theme="light"] .footer-socials-icon,
html[data-theme="light"] .subheadline-box-icon,
html[data-theme="light"] .footer-socials-icon svg,
html[data-theme="light"] .subheadline-box-icon svg {
  color: #101010 !important;
}

html[data-theme="light"] .hover-text-white:after,
html[data-theme="light"] .hover-text-grey:after {
  background-color: #101010;
}

html[data-theme="light"] .project-modal-close,
html[data-theme="light"] .modal-close {
  background: rgba(16, 16, 16, 0.06) !important;
  border-color: rgba(16, 16, 16, 0.22) !important;
  color: #101010 !important;
}

html[data-theme="light"] .project-modal-close svg,
html[data-theme="light"] .modal-close svg,
html[data-theme="light"] .project-modal-close path,
html[data-theme="light"] .modal-close path {
  color: #101010 !important;
  stroke: #101010 !important;
}

html[data-theme="light"] .button-circle,
html[data-theme="light"] .button-circle-white,
html[data-theme="light"] .button-circle svg,
html[data-theme="light"] .button-circle-white svg,
html[data-theme="light"] .button-circle path,
html[data-theme="light"] .button-circle-white path {
  color: #f8f8f0 !important;
  stroke: #f8f8f0;
  fill: currentColor;
}

html[data-theme="light"] .button-circle,
html[data-theme="light"] .button-circle-white {
  background: #101010 !important;
}

html[data-theme="light"] .hero-content,
html[data-theme="light"] .team-member-title,
html[data-theme="light"] .skills-title,
html[data-theme="light"] .phone-link,
html[data-theme="light"] .modal-title,
html[data-theme="light"] .form-label,
html[data-theme="light"] .input-icon,
html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .project-modal-title,
html[data-theme="light"] .project-modal-subtitle,
html[data-theme="light"] .project-modal-link,
html[data-theme="light"] .project-modal-section-title,
html[data-theme="light"] .project-modal-section-content,
html[data-theme="light"] .project-modal-feature,
html[data-theme="light"] .project-modal-stat-label,
html[data-theme="light"] .project-modal-stat-number,
html[data-theme="light"] .project-modal-close-icon,
html[data-theme="light"] .casestudy-navigation-button-icon,
html[data-theme="light"] .casestudies-item-content-imagebox-button-icon,
html[data-theme="light"] .contact-content-small-item-icon,
html[data-theme="light"] .content-section h2,
html[data-theme="light"] .content-section h3,
html[data-theme="light"] .content-section p,
html[data-theme="light"] .content-section li,
html[data-theme="light"] .insights-list li,
html[data-theme="light"] .results-list li,
html[data-theme="light"] .case-study-subtitle,
html[data-theme="light"] .case-study-meta,
html[data-theme="light"] .about-sticky-item,
html[data-theme="light"] .about-sticky-item p,
html[data-theme="light"] .about-sticky-item h1,
html[data-theme="light"] .about-sticky-item h2,
html[data-theme="light"] .about-sticky-item li {
  color: #101010 !important;
  -webkit-text-fill-color: currentColor;
}

html[data-theme="light"] .form-input::placeholder,
html[data-theme="light"] .form-textarea::placeholder {
  color: rgba(16, 16, 16, 0.45) !important;
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .project-modal-link {
  background: rgba(16, 16, 16, 0.05) !important;
  border-color: rgba(16, 16, 16, 0.18) !important;
}

html[data-theme="light"] .project-modal-cta {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="light"] .techstack-item-content-column-bottom-button,
html[data-theme="light"] .kpi-item-button {
  color: #101010 !important;
  border-color: rgba(16, 16, 16, 0.16) !important;
  background-color: rgba(16, 16, 16, 0.05) !important;
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.12) !important;
}

html[data-theme="light"] .kpi-item-button-icon,
html[data-theme="light"] .kpi-item-button svg,
html[data-theme="light"] .kpi-item-button path {
  color: #101010 !important;
  fill: currentColor;
  stroke: currentColor;
}

/* Home keeps .initial-loading-screen up until THREE progress is exactly 100.
   Client-side returns remount it without .fade-out, and light mode paints
   that fixed layer with the page background, so the hero looks stuck behind
   a blank screen. Dismiss it even when the progress flag never arrives.
   .fade-out stays more specific and can still hide the intro earlier. */
.initial-loading-screen,
.loading-screen,
.website-loading-screen {
  animation: astra-loader-dismiss 0.2s ease 1.6s forwards;
}

@keyframes astra-loader-dismiss {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

html[data-astra-loader="done"] .initial-loading-screen,
html[data-astra-loader="done"] .loading-screen,
html[data-astra-loader="done"] .website-loading-screen {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}

a.contact-content-item {
  text-decoration: none;
  color: inherit;
}

.contact-content-row:has(.meeting-form) {
  gap: clamp(1.5rem, 2.25vw, 2rem);
}

.contact-content-right:has(.meeting-form) {
  height: auto !important;
  min-height: 0;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
  align-items: flex-start;
  justify-content: flex-start;
}

.contact-content-right:has(.meeting-form) .floating-orb {
  display: none !important;
}

.meeting-form {
  width: min(100%, 36rem);
  margin: 0;
  padding: 1.35rem 1.35rem 1.1rem;
  border-radius: 10px;
  scroll-margin-top: 6.5rem;
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(240, 240, 232, 0.04);
  box-shadow: inset 0 0 0 1px rgba(240, 240, 232, 0.12);
}

.meeting-kicker,
.meeting-title,
.meeting-lead {
  margin: 0;
}

.meeting-kicker {
  color: var(--astra-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meeting-title {
  margin-top: 0.35rem;
  color: var(--astra-text);
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
}

.meeting-lead {
  margin: 0.55rem 0 1rem;
  color: var(--astra-muted);
  line-height: 1.45;
}

.meeting-form .form-row {
  display: flex;
  gap: 1rem;
}

.meeting-form .form-group {
  margin-bottom: 0.9rem;
}

.meeting-form .form-label {
  color: var(--astra-text);
}

.meeting-form .form-input,
.meeting-form .form-textarea {
  color: var(--astra-text);
  background: rgba(240, 240, 232, 0.06);
  border: 1px solid rgba(240, 240, 232, 0.18);
  color-scheme: dark;
}

.meeting-form .form-input::placeholder,
.meeting-form .form-textarea::placeholder {
  color: var(--astra-muted);
}

.meeting-error {
  margin: 0.35rem 0 0;
  color: #ff8f8f;
  font-size: 0.85rem;
}

.meeting-form .form-actions {
  margin-top: 0.4rem;
  padding-top: 0.8rem;
}

.meeting-form .btn-primary {
  min-height: 44px;
}

html[data-theme="light"] .meeting-form {
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.12) !important;
}

html[data-theme="light"] .meeting-form .form-input,
html[data-theme="light"] .meeting-form .form-textarea {
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
  background: #ffffff !important;
  border-color: rgba(16, 16, 16, 0.18) !important;
  color-scheme: light;
}

html[data-theme="light"] .meeting-error {
  color: #9d1c1c;
}

@media (max-width: 900px) {
  .contact-content-row:has(.meeting-form) {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-content-row:has(.meeting-form) .contact-content-left,
  .contact-content-row:has(.meeting-form) .contact-content-right {
    width: 100%;
    height: auto;
  }

  .meeting-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Phones and small tablets. The compiled CSS sizes most blocks in vw for a
   desktop grid and has no small-screen rules for testimonials, KPI cards,
   contact cards or the footer. Everything here stays inside this query so
   the desktop layout is untouched. */
@media (max-width: 768px) {
  :root {
    --astra-gutter: 5vw;
    --astra-header: calc(20vw + 0.75rem);
  }

  section,
  [id] {
    scroll-margin-top: var(--astra-header);
  }

  /* Header: logo left, menu button right. GSAP writes display:flex inline on
     the desktop link row, and the opacity rules above keep it visible. */
  .navigation-inside-big,
  .navigation-inside-right {
    display: none !important;
  }

  .navigation-inside,
  html[data-theme="dark"] .navigation-inside {
    padding: 0 3.5rem 0 1.1rem;
    background-color: rgba(16, 16, 16, 0.96);
    border-color: rgba(240, 240, 232, 0.12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  html[data-theme="light"] .navigation-inside {
    background-color: rgba(248, 248, 240, 0.96);
    border-color: rgba(16, 16, 16, 0.1);
  }

  .navigation-inside-left-image {
    width: clamp(128px, 40vw, 160px) !important;
    max-width: 100%;
    max-height: 34px;
  }

  button.navigation-inside-right-mobile {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
  }

  .navigation-inside-right-mobile::before {
    content: "";
    position: absolute;
    inset: -2px -10px;
  }

  .navigation-wrapper.is-open .navigation-mobile-menu,
  body.menu-open .navigation-mobile-menu {
    gap: 0;
    padding: 0.5rem 1.25rem;
  }

  .navigation-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(240, 240, 232, 0.08);
  }

  .navigation-mobile-menu a:last-child {
    border-bottom: 0;
  }

  html[data-theme="light"] .navigation-mobile-menu a {
    border-bottom-color: rgba(16, 16, 16, 0.08);
  }

  /* Type floor: the compiled 3.25vw drops body copy below 12px on phones. */
  .description {
    font-size: clamp(0.875rem, 3.6vw, 1rem);
    line-height: 1.5;
  }

  .small-description {
    font-size: clamp(0.8125rem, 3.4vw, 0.9375rem);
  }

  .big-description {
    font-size: clamp(0.95rem, 4vw, 1.125rem);
  }

  .testimonials-content-textbox .subheadline {
    text-wrap: balance;
  }

  /* Section pills */
  .subheadline-box {
    max-width: 100%;
    padding: 0.4rem 0.8rem;
    gap: 0.4rem;
  }

  .subheadline-box-icon {
    flex: 0 0 auto;
    width: 0.8rem;
    height: 0.8rem;
  }

  .subheadline-box .small-description {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  /* Showreel: the video is a 1920x868 screen recording. A 150vw-tall box
     with object-fit:cover cropped most of it away. */
  .showreel-content-container {
    height: auto;
    aspect-ratio: 1920 / 868;
    border-radius: 14px;
  }

  .showreel-content-video {
    object-fit: contain;
    padding: 0;
  }

  .showreel-video-playbutton {
    width: 44px;
    height: 44px;
  }

  .showreel-video-playbutton-icon {
    width: 14px;
    height: 14px;
  }

  .showreel-content {
    gap: 1rem;
  }

  .showreel-content-row-item,
  .showreel-content-row-item-grid {
    width: auto;
    flex: 1 1 0;
    height: auto;
    aspect-ratio: 1;
  }

  /* Testimonials (Embla carousel, still swipeable) */
  .testimonials-content-textbox,
  .testimonials-content-bottom {
    padding: 0 var(--astra-gutter);
  }

  .testimonials-carousel-row {
    gap: 0.75rem;
  }

  .testimonials-item-padding {
    flex: 0 0 calc(var(--astra-gutter) - 0.75rem);
  }

  .testimonials-item {
    flex: 0 0 min(82vw, 380px);
    height: auto;
    min-height: 15rem;
    padding: 1.25rem;
    border-radius: 18px;
  }

  .testimonials-item-grid {
    width: 100%;
    height: 100%;
  }

  .testimonials-item-content {
    gap: 1rem;
    justify-content: flex-start;
  }

  .testimonials-item-content-last {
    justify-content: center;
  }

  .testimonials-item-center {
    gap: 0.2rem;
  }

  .testimonials-item .big-description {
    font-size: 1.1rem;
    line-height: 1.25;
  }

  .testimonials-item .description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .testimonials-content-bottom {
    align-items: center;
    gap: 1rem;
  }

  .testimonials-content-bottom-buttons {
    gap: 0.5rem;
  }

  .button,
  .contact-button-white {
    min-height: 44px;
  }

  .carousel-button {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }

  .carousel-button-icon {
    width: 14px;
    height: 14px;
  }

  .testimonials-content-bottom .embla__progress {
    height: 2px;
  }

  /* KPI cards */
  .kpi-content-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.75rem;
  }

  .kpi-content-item {
    width: auto;
    height: auto;
    padding: 2rem 1.25rem 1.5rem;
    border-radius: 18px;
  }

  .kpi-item-grid {
    width: 100%;
    height: 100%;
  }

  .kpi-item-textbox {
    gap: 0.6rem;
  }

  .kpi-item-textbox-top {
    align-items: center;
    gap: 0.35rem;
  }

  .kpi-item-textbox-number {
    margin-bottom: 0;
    overflow: visible;
  }

  .kpi-item-textbox-number-text {
    font-size: clamp(2.75rem, 13vw, 3.5rem);
    line-height: 1.05;
    white-space: nowrap;
  }

  .kpi-item-textbox-top-text {
    font-size: 1rem;
  }

  .kpi-item-textbox .description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .kpi-item-button {
    top: 0.9rem;
    bottom: auto;
    left: 0.9rem;
    width: 2rem;
    height: 2rem;
  }

  .kpi-item-button-icon {
    width: 0.9rem;
    height: 0.9rem;
  }

  html[data-theme="light"] .kpi-item-button svg,
  html[data-theme="light"] .kpi-item-button path {
    fill: none;
  }

  /* Contact cards */
  .contact-content-column,
  .contact-content-column-row {
    gap: 0.6rem;
  }

  .contact-content-top-item,
  .contact-content-item {
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }

  .contact-content-top-item {
    gap: 0.75rem;
  }

  .contact-content-top-item-profile {
    width: 2.5rem;
    height: 2.5rem;
  }

  .contact-content-item {
    min-height: 3.5rem;
    gap: 0.25rem;
  }

  .contact-content-small-item {
    min-height: 4rem;
    padding: 0.75rem 0.5rem;
    gap: 0.35rem;
    border-radius: 14px;
  }

  .contact-content-small-item-icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  .contact-phone-numbers .phone-link {
    display: block;
    padding: 0.3rem 0;
    font-size: clamp(0.875rem, 3.6vw, 1rem);
  }

  /* Footer: one column, link columns side by side */
  .footer {
    padding: 0 var(--astra-gutter) calc(5rem + env(safe-area-inset-bottom));
    gap: 1.75rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-content-left,
  .footer-content-right {
    width: 100%;
    padding: 0;
  }

  .footer-content-left {
    gap: 0.75rem;
  }

  .footer-logo {
    width: clamp(150px, 46vw, 190px) !important;
  }

  .footer-content-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-content-right-column {
    gap: 0.5rem;
  }

  .footer-column-contents {
    gap: 0;
  }

  .footer-column-contents-item > a,
  .footer-column-contents-item > p {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin: 0;
  }

  .footer-content-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-socials {
    gap: 1rem;
  }

  .footer-socials-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  /* Floating theme / accessibility buttons: one compact row in the corner */
  .astra-dock {
    right: calc(0.75rem + env(safe-area-inset-right));
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .astra-fab {
    width: 44px;
    height: 44px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  }

  .astra-fab svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .astra-panel {
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
  }

  /* Services video: compiled CSS sets width:150% / margin-left:-25%, which
     crops the screen recording on both sides of a phone. */
  .services-content-container {
    justify-content: center;
    max-width: 100%;
    border-radius: 14px;
  }

  .services-content-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    margin-left: 0;
    object-fit: contain;
  }
}

/* About page "What we do" cards (Audits / Web Development / AI/ML).
   Compiled CSS keeps the desktop layout on phones: a row with two 50%
   columns, gap:10vw, height:85vh and a 35vh image box, which squeezes the
   text into a narrow column and crops the 3:2 mockups into tall strips. */
@media (max-width: 768px) {
  section.about .about-sticky-container {
    width: 100%;
  }

  section.about .about-sticky-item {
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    top: 5.5rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 18px;
    box-sizing: border-box;
  }

  section.about .about-sticky-item-left,
  section.about .about-sticky-item-right {
    width: 100%;
    height: auto;
  }

  section.about .about-sticky-item-left {
    gap: 0.75rem;
  }

  section.about .about-sticky-item-left-textbox {
    gap: 0.75rem;
  }

  section.about .about-sticky-item .headline {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.1;
  }

  section.about .about-sticky-item-left-textbox-description {
    text-indent: 0;
  }

  section.about .about-sticky-item-right-imagebox {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  section.about .about-sticky-item-right-image {
    display: block;
    height: 100%;
  }
}

/* ===== Cookie consent (banner, settings dialog, footer link) =====
   Built by the cookie block at the end of astra.js. While the banner is up,
   html gets .astra-cookie-open and --astra-cookie-h (banner height) so the
   floating theme / accessibility dock sits above it instead of under it. */
:root {
  --astra-cookie-border: rgba(240, 240, 232, 0.55);
  --astra-cookie-hover: rgba(240, 240, 232, 0.08);
}

html[data-theme="light"] {
  --astra-cookie-border: rgba(16, 16, 16, 0.55);
  --astra-cookie-hover: rgba(16, 16, 16, 0.06);
}

.astra-cookie[hidden],
.astra-cookie-modal[hidden] {
  display: none !important;
}

.astra-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  box-sizing: border-box;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.1rem 1.4rem;
  background: var(--astra-card);
  color: var(--astra-text);
  border: 1px solid var(--astra-line);
  border-radius: 22px;
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3);
  text-align: left;
  animation: astra-cookie-in 0.3s ease-out;
}

@keyframes astra-cookie-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.astra-cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.astra-cookie-text {
  flex: 1 1 26rem;
  min-width: 0;
}

.astra-cookie-title {
  margin: 0 0 0.3rem;
  color: var(--astra-text);
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
}

.astra-cookie-msg,
.astra-cookie-note,
.astra-cookie-cat-desc {
  margin: 0;
  color: var(--astra-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.astra-cookie-msg a {
  color: var(--astra-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.astra-cookie-actions,
.astra-cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.astra-cookie-actions {
  flex: 0 1 auto;
}

.astra-cookie-btn {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border: 1.5px solid var(--astra-cookie-border);
  border-radius: 999px;
  background: transparent;
  color: var(--astra-text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.astra-cookie-btn:hover {
  background: var(--astra-cookie-hover);
}

.astra-cookie-btn.astra-cookie-primary {
  background: #f85030;
  border-color: #f85030;
  color: #161616;
}

.astra-cookie-btn.astra-cookie-primary:hover {
  background: #ff6a4d;
  border-color: #ff6a4d;
}

.astra-cookie :focus-visible,
.astra-cookie-modal :focus-visible {
  outline: 2px solid #f85030;
  outline-offset: 3px;
}

html.astra-cookie-open .astra-dock {
  bottom: calc(var(--astra-cookie-h, 0px) + 1.75rem);
}

html.astra-cookie-open .astra-panel {
  max-height: max(12rem, calc(100vh - var(--astra-cookie-h, 0px) - 10.5rem));
}

.astra-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: grid;
  place-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.astra-cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.astra-cookie-dialog {
  position: relative;
  box-sizing: border-box;
  width: min(36rem, 100%);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--astra-card);
  color: var(--astra-text);
  border: 1px solid var(--astra-line);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.astra-cookie-dialog:focus {
  outline: none;
}

.astra-cookie-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.astra-cookie-dialog h2 {
  margin: 0;
  color: var(--astra-text);
  font-size: 1.3rem;
  line-height: 1.15;
}

.astra-cookie-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--astra-cookie-border);
  border-radius: 999px;
  background: transparent;
  color: var(--astra-text);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.astra-cookie-note {
  margin: 0.8rem 0 0.4rem;
  font-size: 0.88rem;
}

.astra-cookie-cats {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.astra-cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--astra-line);
}

.astra-cookie-cat-text {
  min-width: 0;
}

.astra-cookie-cat-name {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--astra-text);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
}

.astra-cookie-cat-desc {
  font-size: 0.85rem;
}

.astra-switch {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.astra-switch input {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 1.7rem;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.astra-switch input:disabled {
  cursor: not-allowed;
}

.astra-switch-track {
  position: relative;
  display: block;
  width: 3rem;
  height: 1.7rem;
  box-sizing: border-box;
  border: 1.5px solid var(--astra-cookie-border);
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.astra-switch-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--astra-text);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.astra-switch input:checked + .astra-switch-track {
  background: #f85030;
  border-color: #f85030;
}

.astra-switch input:checked + .astra-switch-track::after {
  background: #161616;
  transform: translate(1.25rem, -50%);
}

.astra-switch input:disabled + .astra-switch-track {
  opacity: 0.6;
}

.astra-switch input:focus-visible + .astra-switch-track {
  outline: 2px solid #f85030;
  outline-offset: 3px;
}

.astra-switch-note {
  color: var(--astra-muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.astra-cookie-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.astra-cookie-footer-link {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

[data-astra-focus-target]:focus {
  outline: none;
}

html.astra-contrast .astra-cookie-msg,
html.astra-contrast .astra-cookie-note,
html.astra-contrast .astra-cookie-cat-desc,
html.astra-contrast .astra-switch-note {
  color: var(--astra-text);
}

@media (prefers-reduced-motion: reduce) {
  .astra-cookie,
  .astra-switch-track,
  .astra-switch-track::after {
    animation: none;
    transition: none;
  }
}

@media (forced-colors: active) {
  .astra-switch-track {
    border-color: ButtonText;
  }

  .astra-switch-track::after {
    background: ButtonText;
  }

  .astra-switch input:checked + .astra-switch-track {
    background: Highlight;
    border-color: Highlight;
  }
}

@media (max-width: 768px) {
  .astra-cookie {
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 70vh;
    max-height: 70dvh;
    padding: 1rem calc(1rem + env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom))
      calc(1rem + env(safe-area-inset-left));
    border-width: 1px 0 0;
    border-radius: 20px 20px 0 0;
  }

  .astra-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .astra-cookie-text {
    flex: none;
  }

  .astra-cookie-msg {
    font-size: 0.9rem;
  }

  .astra-cookie-actions,
  .astra-cookie-dialog-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .astra-cookie-btn {
    width: 100%;
    white-space: normal;
  }

  html.astra-cookie-open .astra-dock {
    bottom: calc(var(--astra-cookie-h, 0px) + 0.75rem);
  }

  html.astra-cookie-open .astra-panel {
    max-height: max(10rem, calc(100dvh - var(--astra-cookie-h, 0px) - 6.5rem));
  }

  .astra-cookie-modal {
    padding: calc(0.75rem + env(safe-area-inset-top)) 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
  }

  .astra-cookie-dialog {
    padding: 1rem 1rem 1.1rem;
    border-radius: 18px;
  }
}

/* === Content removals + techstack contrast (section cleanup task) === */
/* Home: showreel video + awards strip */
section.showreel,
section.showreel + .border-padding,
/* Home: 3Musafir client image in Featured Works carousel */
.projects-carousel-item:has(img[src*="3musafir"]),
/* Home: flower image-sequence section */
section.flower,
section.flower + .normal-padding,
/* About: "The Experts" heading + team members */
.about .about-content-top,
.about .about-team,
.about .about-team + .about-divider {
  display: none !important;
}

/* Home: "Maximizing Results" techstack card stays dark in both themes */
.techstack-item-big.techstack-item-no-padding,
html[data-theme="light"] .techstack-item-big.techstack-item-no-padding {
  background: #0d0d0d !important;
}
.techstack-item-big .techstack-item-content-video {
  filter: brightness(1.9) contrast(1.15);
}
.techstack-item-big .techstack-item-content-center .small-subheadline,
html[data-theme="light"] .techstack-item-big .techstack-item-content-center .small-subheadline {
  color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.techstack-item-big .techstack-item-content-center .button,
html[data-theme="light"] .techstack-item-big .techstack-item-content-center .button {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
}
.techstack-item-big .techstack-item-content-center .button .small-description,
html[data-theme="light"] .techstack-item-big .techstack-item-content-center .button .small-description {
  color: #ffffff !important;
}
/* === End content removals block === */

/* HIDDEN: Featured Works section — delete this rule to show it again */
section.projects.projects-desktop,
section.projects.projects-mobile,
section.projects.projects-mobile + .normal-padding {
  display: none !important;
}

/* === AstraeLink brand refresh: nav font, white light mode, software bar, a11y icon, process steps === */
@font-face {
  font-family: "Comfortaa";
  src: url("/fonts/Comfortaa.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Nav: larger links in the logo's rounded geometric lettering */
.navigation-inside-big a,
.navigation-inside-big a.small-description,
.navigation-inside-right .button .small-description,
.navigation-inside-right .button-content span,
.navigation-mobile-menu a {
  font-family: "Comfortaa", "SF PRO DISPLAY 600", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

@media (min-width: 769px) {
  .navigation-inside-big {
    gap: 1.9rem !important;
  }

  .navigation-inside-big a,
  .navigation-inside-big a.small-description {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  .navigation-inside-right .button .small-description,
  .navigation-inside-right .button-content span {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
}

/* Light mode: pure white page, cards separated by soft gray borders */
html[data-theme="light"] .navigation-inside {
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(16, 16, 16, 0.1) !important;
  box-shadow: 0 6px 24px rgba(16, 16, 16, 0.06);
}

html[data-theme="light"] .navigation-wrapper.is-open .navigation-mobile-menu,
html[data-theme="light"] body.menu-open .navigation-mobile-menu {
  background: #ffffff !important;
}

html[data-theme="light"] .showreel-content-row-item,
html[data-theme="light"] .testimonials-item,
html[data-theme="light"] .testimonials-item-last,
html[data-theme="light"] .kpi-content-item,
html[data-theme="light"] .techstack-item-small,
html[data-theme="light"] .casestudies-item,
html[data-theme="light"] .contact-content-top-item,
html[data-theme="light"] .contact-content-item,
html[data-theme="light"] .contact-content-small-item,
html[data-theme="light"] .plan-card,
html[data-theme="light"] .audit-step,
html[data-theme="light"] .chart-wrap {
  border: 1px solid #e4e4e7 !important;
  box-shadow: 0 1px 2px rgba(16, 16, 16, 0.04), 0 8px 24px rgba(16, 16, 16, 0.05) !important;
}

/* Hide Works in nav, footer, and the homepage projects block */
a[href="/works/"],
a[href^="/works/"],
.footer-column-contents-item:has(a[href="/works/"]),
.projects,
.projects-desktop,
.projects-mobile {
  display: none !important;
}

/* Clip sideways overflow without turning the page into a stuck scroll box */
html {
  overflow-x: clip;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.chart-wrap::-webkit-scrollbar,
.hero-content-bottom::-webkit-scrollbar,
.hero-content-bottom-row::-webkit-scrollbar,
.rfm-marquee-container::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

.hero-content-bottom,
.hero-content-bottom-row,
.rfm-marquee-container,
.testimonials,
.testimonials + .normal-padding {
  display: none !important;
}

.chart-wrap {
  scrollbar-width: none;
}

/* Software bar (hero marquee) */
.hero-content-bottom-row .rfm-overlay {
  --gradient-color: var(--astra-bg, #101010) !important;
}

html[data-theme="light"] .hero-content-bottom-row .rfm-overlay {
  --gradient-color: #ffffff !important;
}

.hero-content-bottom-item {
  opacity: 0.9 !important;
}

html[data-theme="dark"] .hero-content-bottom-item {
  background-color: #1a1a1a !important;
  box-shadow: inset 0 0 0 1px rgba(240, 240, 232, 0.18) !important;
}

html[data-theme="light"] .hero-content-bottom-item {
  opacity: 1 !important;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px #d4d4d8, 0 1px 3px rgba(16, 16, 16, 0.06) !important;
}

html[data-theme="light"] .hero-content-bottom-image {
  filter: invert(1) brightness(0.12) !important;
}

/* Accessibility button: universal access figure */
.astra-fab-accent svg.astra-a11y-figure {
  width: 2.15rem !important;
  height: 2.15rem !important;
  stroke-width: 2.3;
}

@media (max-width: 768px) {
  .astra-fab-accent svg.astra-a11y-figure {
    width: 1.8rem !important;
    height: 1.8rem !important;
  }
}

.astra-fab-accent svg.astra-a11y-figure circle {
  fill: currentColor;
  stroke: none;
}

/* Process steps (replaces the services video) */
.services-content-container:has(.astra-steps) .services-content-video {
  display: none !important;
}

.services-content-container:has(.astra-steps) {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.astra-steps {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  --step-ink: #f0f0e8;
  --step-line: rgba(240, 240, 232, 0.62);
  --step-card: #1a1a1a;
  --step-border: rgba(240, 240, 232, 0.32);
}

html[data-theme="light"] .astra-steps {
  background: transparent;
  border: 0;
  --step-ink: #101010;
  --step-line: rgba(16, 16, 16, 0.55);
  --step-card: #ffffff;
  --step-border: #d4d4d8;
}

.astra-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 2rem);
}

.astra-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.4rem 0.75rem 1.1rem;
  border-radius: 18px;
  background: var(--step-card);
  border: 1px solid var(--step-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.astra-step-icon {
  width: clamp(3rem, 4.6vw, 4.25rem);
  height: clamp(3rem, 4.6vw, 4.25rem);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(248, 80, 48, 0.12);
  color: var(--step-ink);
}

.astra-step-icon svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astra-step-icon .astra-step-accent {
  stroke: #f85030;
}

html[data-theme="light"] .astra-step-icon .astra-step-accent {
  stroke: #c03818;
}

.astra-step-label {
  color: var(--step-ink);
  font-family: "SF PRO DISPLAY 600", sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  line-height: 1.25;
}

.astra-steps-lines {
  display: block;
  width: 75%;
  height: clamp(3rem, 6vw, 5rem);
  overflow: visible;
}

.astra-steps-lines path {
  fill: none;
  stroke: var(--step-line);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.astra-steps-site {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.4rem 0.75rem 0.8rem;
  border-radius: 999px;
  background: var(--step-card);
  border: 1px solid var(--step-border);
  color: var(--step-ink);
  font-family: "SF PRO DISPLAY 600", sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
}

.astra-steps-plus {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #8b8cf8;
  color: #101010;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 768px) {
  .astra-steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .astra-steps-lines {
    width: 2px;
    height: 2rem;
  }

  .astra-steps-lines path {
    display: none;
  }

  .astra-steps-lines {
    background: var(--step-line);
    margin-top: 1rem;
  }
}
/* === End AstraeLink brand refresh block === */
