/* Aeonik and Geist Mono Webfont Definitions */
@font-face {
  font-family: 'primaryFont';
  src: url('./fonts/Aeonik-Regular.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'headingFont';
  src: url('./fonts/Aeonik-Medium.woff2') format('woff2');
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'GeistMono';
  src: url('./fonts/GeistMono.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

/* Design Tokens & CSS Variables */
:root {
  --font-primary: 'primaryFont', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'headingFont', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-pixel: 'GeistMono', monospace;
  
  --bg-dark: #000000;
  --bg-light: #f4f4f4;
  --text-dark: #9a9a9a;
  --text-light: #696969;
  --accent: #ff4d2e;
  --accent-bright: #ff2d00;
  --white: #ffffff;
  --black: #000000;
}

/* Document Resets & Baselines */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-dark);
  font-size: 16px;
  position: relative;
  overflow-x: clip;
  scroll-behavior: auto; /* Handled by Lenis */
}

body {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-dark);
  transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1), color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-x: clip;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body.light-theme {
  background-color: var(--bg-light);
  color: var(--text-light);
}

img, picture, video, canvas, svg {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  background: transparent;
  border: none;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 8-Column Grid Layout System */
.Grid-module-scss-module__OPYCKW__grid {
  width: 100%;
  position: relative;
}

.Grid-module-scss-module__OPYCKW__bars {
  grid-template-columns: repeat(var(--cols, 8), 1fr);
  pointer-events: none;
  z-index: 0;
  display: grid;
  position: absolute;
  inset: 0;
}

/* Robust grid lines fallback styling */
.Grid-module-scss-module__OPYCKW__bars div {
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  height: 100%;
}
.Grid-module-scss-module__OPYCKW__bars div:last-child {
  border-right: none;
}
body.light-theme .Grid-module-scss-module__OPYCKW__bars div {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.Grid-module-scss-module__OPYCKW__content {
  grid-template-columns: repeat(var(--cols, 8), 1fr);
  z-index: 1;
  display: grid;
  position: relative;
  gap: 0.75rem;
}

.Grid-module-scss-module__OPYCKW__item {
  min-width: 0;
}

/* Preloader Components */
.Preloader-module-scss-module__EOTTSG__backdrop {
  z-index: 9998;
  pointer-events: none;
  background: var(--bg-dark);
  position: fixed;
  inset: 0;
  transition: opacity 0.8s ease, filter 0.8s ease;
}

.Preloader-module-scss-module__EOTTSG__root {
  z-index: 9999;
  pointer-events: none;
  background: transparent;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
  transition: opacity 0.8s ease, filter 0.8s ease;
}

.Preloader-module-scss-module__EOTTSG__logoWrapper {
  flex-shrink: 0;
  position: relative;
  width: 52px;
  height: 44px;
}

.Preloader-module-scss-module__EOTTSG__darkLogo,
.Preloader-module-scss-module__EOTTSG__whiteLogo {
  position: absolute;
  inset: 0;
  -webkit-mask-image: url('./icn.svg');
  mask-image: url('./icn.svg');
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.Preloader-module-scss-module__EOTTSG__darkLogo {
  background: #222;
}

.Preloader-module-scss-module__EOTTSG__whiteLogo {
  background: var(--white);
  clip-path: inset(100% 0 0 0); /* Animates to inset(0% 0 0 0) */
  transition: clip-path 0.1s linear;
}

/* Navigation Styles */
.Nav-module-scss-module__Ui4UsW__root {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 1000;
  transition: background-color 0.3s;
}

.Nav-module-scss-module__Ui4UsW__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.Nav-module-scss-module__Ui4UsW__logo {
  height: 24px;
  width: auto;
  filter: invert(0);
  transition: filter 0.8s;
}

body.light-theme .Nav-module-scss-module__Ui4UsW__logo {
  filter: invert(1);
}

.vanta-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.8s;
  text-decoration: none;
  display: inline-block;
}

body.light-theme .vanta-logo {
  color: var(--black);
}

.MenuToggleButton-module-scss-module__qv1k1W__plain {
  cursor: pointer;
  color: var(--white);
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  display: flex;
  transition: color 0.8s;
}

body.light-theme .MenuToggleButton-module-scss-module__qv1k1W__plain {
  color: var(--black);
}

.MenuToggleButton-module-scss-module__qv1k1W__plainLabelWrap {
  position: relative;
  overflow: hidden;
  height: 20px;
  width: 45px;
}

.MenuToggleButton-module-scss-module__qv1k1W__plainLabelVisible,
.MenuToggleButton-module-scss-module__qv1k1W__plainLabelHidden {
  position: absolute;
  left: 0;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  font-family: var(--font-heading);
}

.MenuToggleButton-module-scss-module__qv1k1W__plainLabelVisible {
  top: 0;
}

.MenuToggleButton-module-scss-module__qv1k1W__plainLabelHidden {
  top: 100%;
}

.MenuToggleButton-module-scss-module__qv1k1W__plainArrowWrap {
  overflow: hidden;
}

.MenuToggleButton-module-scss-module__qv1k1W__plainArrowClip {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.MenuToggleButton-module-scss-module__qv1k1W__plainIcon {
  width: 10px;
  height: 10px;
}

/* Mobile Drawer Overlay Menu */
.Nav-module-scss-module__Ui4UsW__drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.Nav-module-scss-module__Ui4UsW__drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.Nav-module-scss-module__Ui4UsW__drawerBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.Nav-module-scss-module__Ui4UsW__drawerPanel {
  position: absolute;
  top: 80px;
  left: 1.5rem;
  right: 1.5rem;
  background-color: #111;
  border-radius: 16px;
  flex-direction: column;
  padding: 1.5rem;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-20px);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.Nav-module-scss-module__Ui4UsW__drawer.open .Nav-module-scss-module__Ui4UsW__drawerPanel {
  transform: translateY(0);
}

.Nav-module-scss-module__Ui4UsW__drawerRow {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  padding: 1rem 0;
}

.Nav-module-scss-module__Ui4UsW__drawerRow:last-child {
  border-bottom: none;
}

.Nav-module-scss-module__Ui4UsW__drawerLink {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.5rem;
  transition: opacity 0.25s;
}

.Nav-module-scss-module__Ui4UsW__drawerLink:hover {
  opacity: 0.6;
}

/* Button Animations System (Sleek Micro-transitions) */
.Button-module-scss-module__OoW-YW__button {
  background: transparent;
  border: none;
  align-items: center;
  padding: 0;
  display: inline-flex;
  cursor: pointer;
}

.Button-module-scss-module__OoW-YW__inner {
  border-radius: 9999px;
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.Button-module-scss-module__OoW-YW__inner[data-variant=light] {
  color: var(--black);
  background-color: var(--white);
}

.Button-module-scss-module__OoW-YW__inner[data-variant=secondary] {
  color: var(--black);
  background-color: #e0e0e0;
}

.Button-module-scss-module__OoW-YW__inner[data-variant=dark] {
  color: var(--white);
  background-color: var(--black);
}

.Button-module-scss-module__OoW-YW__arrow[data-variant=light] .Button-module-scss-module__OoW-YW__arrowClip {
  background-color: var(--white);
}

.Button-module-scss-module__OoW-YW__arrow[data-variant=secondary] .Button-module-scss-module__OoW-YW__arrowClip {
  background-color: var(--black);
}

.Button-module-scss-module__OoW-YW__arrow[data-variant=dark] .Button-module-scss-module__OoW-YW__arrowClip {
  background-color: var(--black);
}

.Button-module-scss-module__OoW-YW__textWrap {
  position: relative;
  overflow: hidden;
  height: 22px;
  display: block;
}

.Button-module-scss-module__OoW-YW__textVisible,
.Button-module-scss-module__OoW-YW__textHidden {
  display: block;
  font-family: var(--font-heading);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.Button-module-scss-module__OoW-YW__textHidden {
  position: absolute;
  top: 100%;
  left: 0;
}

.Button-module-scss-module__OoW-YW__arrow {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.Button-module-scss-module__OoW-YW__arrowClip {
  border-radius: 0;
  width: 32px;
  height: 32px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.Button-module-scss-module__OoW-YW__arrowClip span {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.Button-module-scss-module__OoW-YW__icon {
  width: 13px;
  height: 13px;
}

/* Button Hover State */
.Button-module-scss-module__OoW-YW__button:hover .Button-module-scss-module__OoW-YW__textVisible {
  transform: translateY(-100%);
}

.Button-module-scss-module__OoW-YW__button:hover .Button-module-scss-module__OoW-YW__textHidden {
  transform: translateY(-100%);
}

.Button-module-scss-module__OoW-YW__button:hover .Button-module-scss-module__OoW-YW__arrowClip span {
  transform: translateX(100%) translateY(-100%);
  opacity: 0;
}

/* Text Reveal Style (Slide-up, unblur, fade) */
.TextReveal-module-scss-module__WSa0mG__line {
  display: block;
  overflow: hidden;
  text-wrap: pretty;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.TextReveal-module-scss-module__WSa0mG__inner {
  display: block;
  will-change: transform, filter, opacity;
}

/* Main Content Page Wrapper */
.PageTransition-module-scss-module__0kuihG__wrapper {
  min-height: 100%;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.PageTransition-module-scss-module__0kuihG__pageWrap {
  width: 100%;
  min-height: 100%;
  position: relative;
  pointer-events: none;
}

.HomePage-module-scss-module__vQrwUa__page {
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.HomePage-module-scss-module__vQrwUa__page > * {
  pointer-events: auto;
}
.HomePage-module-scss-module__vQrwUa__page > #footer-plax {
  pointer-events: none;
}

/* --- Section 1: Hero --- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-dark);
  overflow: hidden;
  z-index: 2;
}

#hero .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0; /* Fade in on WebGL load */
  pointer-events: none;
}

#hero .content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12rem 2rem 0;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hero .heading {
  font-family: var(--font-primary);
  font-size: 5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 2rem;
}

#hero .subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 3rem;
  max-width: 650px;
}

#hero .button-wrap {
  margin-top: 1rem;
}

#hero .footer-wrap {
  position: relative;
  width: 100%;
  z-index: 1;
  padding-bottom: 2rem;
}

#hero .footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

#hero .footer .tagline p {
  font-family: var(--font-pixel);
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#hero .footer .location {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#hero .footer .location .label {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--text-dark);
  text-transform: uppercase;
}

#hero .footer .location span:not(.label) {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
}

#hero .footer .services {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#hero .footer .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1rem;
}

/* --- Section 2: Approach --- */
#approach {
  z-index: 3;
  background-color: var(--white);
  width: 100%;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow-x: hidden;
}

#approach .content {
  max-width: 1440px;
  margin: 0 auto;
}

#approach .content .items {
  flex-direction: column;
  gap: 1.5rem;
  display: flex;
  list-style: none;
}

#approach .content .items .item {
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1;
}

#approach .content .heading {
  color: var(--black);
  font-family: var(--font-primary);
  font-size: 3.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#approach .cards {
  max-width: 1440px;
  margin: 6rem 0 0 0;
  display: flex;
  gap: 1.5rem;
  width: fit-content;
  justify-content: flex-start;
  will-change: transform;
}

#approach .cards .card {
  color: var(--black);
  background-color: var(--bg-light);
  border-radius: 12px;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
  width: clamp(280px, 20vw, 340px);
  min-height: 380px;
  padding: 2.5rem;
  display: flex;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#approach .cards .card .card-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#approach .cards .card .card-number {
  font-family: var(--font-pixel);
  color: var(--text-light);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

#approach .cards .card .heading {
  color: var(--black);
  font-family: var(--font-primary);
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

#approach .cards .card .description {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.5;
}

#approach .footer {
  justify-content: center;
  width: 100%;
  margin-top: 6rem;
  display: flex;
}

/* --- Section 3: Dedicated Team --- */
#dedicated {
  z-index: 3;
  background-color: var(--white);
  width: 100%;
  padding: 8rem 0 4rem;
  overflow-x: hidden;
  position: relative;
}

#dedicated .container.dedicated-oval {
  place-items: center;
  width: 100%;
  max-width: 1100px;
  min-height: 520px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  position: relative;
}

#dedicated .container.dedicated-oval .heading {
  color: var(--black);
  text-align: center;
  text-wrap: balance;
  letter-spacing: -0.02em;
  z-index: 2;
  grid-area: 1 / 1;
  font-size: 4.5rem;
  line-height: 1.15;
  font-family: var(--font-primary);
}

#dedicated .container.dedicated-oval .pills {
  aspect-ratio: 1.85;
  pointer-events: none;
  z-index: 1;
  grid-area: 1 / 1;
  width: 100%;
  position: relative;
}

#dedicated .container.dedicated-oval .pills .pill {
  will-change: transform;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  font-size: 1.125rem;
  line-height: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Oval pills colors */
#dedicated .pills .pill:nth-child(1) { background-color: #3B82F6; }
#dedicated .pills .pill:nth-child(2) { background-color: #FF4D6D; }
#dedicated .pills .pill:nth-child(3) { background-color: #FFB703; }
#dedicated .pills .pill:nth-child(4) { background-color: #06D6A0; }
#dedicated .pills .pill:nth-child(5) { background-color: #8338EC; }
#dedicated .pills .pill:nth-child(6) { background-color: #FF7B00; }
#dedicated .pills .pill:nth-child(7) { background-color: #EF233C; }
#dedicated .pills .pill:nth-child(8) { background-color: #FB6F92; }


#dedicated .footer {
  max-width: 1440px;
  margin: 8rem auto 0;
  padding: 0 2rem;
}

#dedicated .footer span,
#dedicated .footer .dedicated-cta-link {
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

#dedicated .footer .dedicated-cta-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.25s;
}

#dedicated .footer .dedicated-cta-link:hover {
  color: var(--accent);
}

/* Infinite Brand Marquee */
.draggable-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 6rem;
  cursor: grab;
}

.draggable-marquee:active {
  cursor: grabbing;
}

.draggable-marquee__collection {
  width: 100%;
  display: flex;
}

.draggable-marquee__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  will-change: transform;
}

.draggable-marquee__item {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 1rem;
}

.draggable-marquee__item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.3s ease;
}

.draggable-marquee__item:hover img {
  transform: scale(1.03);
}

/* Marquee scroll is driven by GSAP ticker in script.js */

@keyframes mobile-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-33.33%, 0, 0);
  }
}

/* Mobile responsive layout details */
.dedicated-mobile {
  display: none;
}

/* --- Section 4: Why Us --- */
#whyus {
  z-index: 3;
  background-color: var(--bg-dark);
  width: 100%;
  padding: 8rem 0;
  position: relative;
}

#whyus .inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

#whyus .left {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 2rem;
  position: sticky;
  top: 8rem;
}

#whyus .left .quote {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

#whyus .left .founder {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

#whyus .right {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

#whyus .right .intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#whyus .right .intro p {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.6;
}

#whyus .right .benefits {
  display: flex;
  flex-direction: column;
  list-style: none;
}

#whyus .right .benefits .benefit {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#whyus .right .benefits .benefit:last-child {
  border-bottom: none;
}

#whyus .right .benefits .benefit .benefit-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
}

#whyus .right .benefits .benefit .benefit-body {
  color: var(--text-dark);
  font-family: var(--font-primary);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* --- Section 5: Work --- */
#work {
  z-index: 3;
  background-color: #000;
  width: 100%;
  padding: 8rem 0 4rem;
  position: relative;
  scroll-margin-top: 110px;
}

#work .work-header {
  max-width: none;
  margin: 0 auto 4rem;
  padding: 1rem 0.75rem 2rem;
}

#work .work-header .heading {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

#work .work-header .note {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 0.5rem;
}

#work .work-header .note p {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: right;
  max-width: 350px;
  line-height: 1.5;
}

#work .work-header .note p a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#work .work-cards {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0.75rem;
}

#work .work-cards .Grid-module-scss-module__OPYCKW__content {
  gap: 0 !important;
  align-items: flex-start;
}

#work .work-card {
  margin-bottom: 0;
  position: relative;
}

#work .work-card-link {
  display: block;
  text-decoration: none;
}

#work .work-card-image {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background-color: #111;
}

#work .work-card-image-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#work .work-card-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s ease;
  display: block;
}

.work-card-blur-overlay {
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  background: rgba(0, 0, 0, 0.22);
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateZ(0);
}

.work-card-hover-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.work-card-hover-image img {
  width: auto;
  max-width: 68%;
  height: auto;
  max-height: 68%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
  transform: translateZ(0);
}

/* Work Card Hover Animation */
#work .work-card-link:hover .work-card-image-inner img {
  transform: scale(1.03);
}

#work .work-card-link:hover .work-card-blur-overlay {
  opacity: 1;
}

#work .work-card-link:hover .work-card-hover-image img {
  opacity: 1 !important;
  transform: scale(1.05);
}

.work-card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  padding: 1.5rem 0.75rem 2.5rem;
}

.work-card-label-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.work-card-label-text span:first-child {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.work-card-label-text span:last-child {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.work-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background-color: #ff4d2e;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.work-card-arrow svg path {
  fill: var(--white) !important;
}

#work .work-card-link:hover .work-card-arrow {
  opacity: 1;
  transform: scale(1);
}

.work-footer {
  max-width: none;
  margin: 8rem auto 0;
  padding: 0 0.75rem;
  display: flex;
  justify-content: flex-end;
}

.view-all {
  font-family: var(--font-primary);
  font-size: 4.5rem;
  color: var(--white);
  position: relative;
  padding-bottom: 0.5rem;
  text-decoration: none;
  letter-spacing: -0.03em;
  line-height: 1;
}

.view-all::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.view-all::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.view-all:hover::before {
  transform: scaleX(0);
}

.view-all:hover::after {
  transform: scaleX(1);
}


/* --- Section 6: Stats --- */
#stats {
  z-index: 3;
  background-color: var(--white);
  width: 100%;
  padding: 8rem 0;
  position: relative;
}

#stats .cards {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  display: grid;
}

#stats .cards .card {
  background-color: var(--bg-light);
  border-radius: 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
  width: 100%;
  padding: 3.5rem;
  display: flex;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#stats .cards .card .heading {
  color: var(--black);
  font-family: var(--font-primary);
  font-size: 7rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

#stats .cards .card .description {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.4;
}

#stats .cards .card.highlighted {
  background-color: var(--accent-bright);
}

#stats .cards .card.highlighted .heading {
  color: var(--white);
}

#stats .cards .card.highlighted .description {
  color: #f4f4f4;
}

/* --- Section 7: Pricing --- */
#pricing {
  z-index: 3;
  background-color: var(--white);
  width: 100%;
  padding: 8rem 0;
  position: relative;
}

#pricing .content {
  max-width: 1440px;
  margin: 0 auto;
}

#pricing .left {
  position: sticky;
  top: 8rem;
}

#pricing .heading {
  color: var(--black);
  font-family: var(--font-primary);
  font-size: 4rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

#pricing .description {
  color: var(--text-light);
  max-width: 450px;
  font-family: var(--font-heading);
  margin-top: 2rem;
  margin-bottom: 3rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

#pricing .cards {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  display: grid;
}

#pricing .cards .card {
  background-color: var(--bg-light);
  border-radius: 12px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
}

#pricing .cards .card.recommended {
  box-shadow: inset 0 0 100px rgba(255, 45, 0, 0.2);
}

#pricing .cards .card .plan-label {
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
}

#pricing .cards .card .price {
  color: var(--black);
  font-family: var(--font-primary);
  font-size: 5rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

#pricing .cards .card .items {
  flex-direction: column;
  margin: 2.5rem 0;
  list-style: none;
  display: flex;
  gap: 0.5rem;
}

#pricing .cards .card .items .item {
  color: var(--black);
  font-family: var(--font-heading);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  font-size: 1.125rem;
}

#pricing .cards .card .items .item:last-child {
  border-bottom: none;
}

/* Embedded Card Specifics */
#pricing .cards .card:nth-child(2) {
  background-color: var(--bg-dark);
}

#pricing .cards .card:nth-child(2) .plan-label {
  color: var(--text-dark);
}

#pricing .cards .card:nth-child(2) .price {
  color: var(--white);
}

#pricing .cards .card:nth-child(2) .items .item {
  color: #e0e0e0;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

#pricing .cards .card--one-off {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 250px;
  grid-column: 2;
}

#pricing .cards .card--one-off .price {
  margin-bottom: 2rem;
}

/* OutCastLabs Service Catalog Tiers */
.pricing-tier {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pricing-tier:last-of-type {
  margin-bottom: 0;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  width: 100%;
  gap: 1rem;
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--black);
}

.tier-price {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

.tier-details {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.4;
}

.pricing-divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.08);
  margin: 1.5rem 0;
  width: 100%;
}

/* Alternating Contrast Retainers */
#pricing .cards .card:nth-child(2),
#pricing .cards .card:nth-child(4) {
  background-color: var(--bg-dark);
}

#pricing .cards .card:nth-child(2) .plan-label,
#pricing .cards .card:nth-child(4) .plan-label {
  color: var(--text-dark);
}

#pricing .cards .card:nth-child(2) .tier-name,
#pricing .cards .card:nth-child(4) .tier-name {
  color: var(--white);
}

#pricing .cards .card:nth-child(2) .tier-price,
#pricing .cards .card:nth-child(4) .tier-price {
  color: var(--accent);
}

#pricing .cards .card:nth-child(2) .tier-details,
#pricing .cards .card:nth-child(4) .tier-details {
  color: var(--text-dark);
}

#pricing .cards .card:nth-child(2) .pricing-divider,
#pricing .cards .card:nth-child(4) .pricing-divider {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Grid Symmetry Spanning for 5th Card */
@media (min-width: 1025px) {
  #pricing .cards .card:nth-child(5) {
    grid-column: span 2;
  }
}

/* FAQ Accordion Styling */
#pricing .faq {
  margin-top: 8rem;
}

#pricing .faq .faq-item {
  cursor: pointer;
  user-select: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s;
}

#pricing .faq .faq-item:last-of-type {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#pricing .faq .faq-item .faq-question {
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  display: flex;
}

#pricing .faq .faq-item .faq-question span {
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
}

#pricing .faq .faq-item .faq-question .faq-icon {
  color: var(--black);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

#pricing .faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

#pricing .faq .faq-answer p {
  color: var(--text-light);
  font-family: var(--font-heading);
  max-width: 680px;
  padding-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

#pricing .faq .faq-note {
  color: var(--text-light);
  font-family: var(--font-heading);
  margin-top: 3rem;
  font-size: 1.125rem;
}

#pricing .faq .faq-note a {
  color: var(--black);
  text-underline-offset: 4px;
  text-decoration: underline;
  font-weight: 500;
}

/* --- Section 8: CTA --- */
#cta {
  z-index: 3;
  background-color: var(--white);
  width: 100%;
  padding: 12rem 0 6rem;
  position: relative;
}

#cta .spots {
  color: var(--text-light);
  font-family: var(--font-heading);
  margin-top: 2rem;
  font-size: 1.125rem;
}

#cta .heading {
  color: var(--black);
  font-family: var(--font-primary);
  font-size: 4rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* --- Sticky Footer Reveal Spacer --- */
#footer-plax {
  height: 100vh;
  pointer-events: none;
}

/* --- Section 9: Sticky Fixed Footer --- */
#Footer-module-scss-module__JLT4gq__footer {
  z-index: 0;
  background-color: var(--accent-bright);
  width: 100%;
  height: 100vh;
  padding: 34vh .75rem 1.5rem;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.Footer-module-scss-module__JLT4gq__overlay {
  z-index: 2;
  pointer-events: none;
  background-color: var(--bg-dark);
  position: absolute;
  inset: 0;
  opacity: 1; /* Animated to 0 by ScrollTrigger scroll position */
}

.Footer-module-scss-module__JLT4gq__scene {
  z-index: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.Footer-module-scss-module__JLT4gq__inner {
  z-index: 3;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  position: relative;
}

.Footer-module-scss-module__JLT4gq__top {
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  display: grid;
  width: 100%;
}

.Footer-module-scss-module__JLT4gq__nav {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.HoverTextLink-module-scss-module__6DeKsq__link {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-block;
  cursor: pointer;
}

.HoverTextLink-module-scss-module__6DeKsq__textWrap {
  position: relative;
  overflow: hidden;
  height: 25px;
  display: block;
}

.HoverTextLink-module-scss-module__6DeKsq__textVisible,
.HoverTextLink-module-scss-module__6DeKsq__textHidden {
  display: block;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.HoverTextLink-module-scss-module__6DeKsq__textHidden {
  position: absolute;
  top: 100%;
  left: 0;
}

.HoverTextLink-module-scss-module__6DeKsq__link:hover .HoverTextLink-module-scss-module__6DeKsq__textVisible {
  transform: translateY(-100%);
}

.HoverTextLink-module-scss-module__6DeKsq__link:hover .HoverTextLink-module-scss-module__6DeKsq__textHidden {
  transform: translateY(-100%);
}

.Footer-module-scss-module__JLT4gq__centerIcon {
  justify-content: center;
  align-items: center;
  display: flex;
}

.Footer-module-scss-module__JLT4gq__icon {
  opacity: 0.9;
  width: 44px;
  height: auto;
  display: block;
}

.Footer-module-scss-module__JLT4gq__rightCol {
  flex-direction: column;
  justify-self: end;
  align-items: flex-end;
  gap: 2rem;
  display: flex;
}

.Footer-module-scss-module__JLT4gq__legal {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  text-align: right;
  font-size: 1rem;
  line-height: 1.4;
}

.Footer-module-scss-module__JLT4gq__cta {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  display: flex;
}

.Footer-module-scss-module__JLT4gq__emailLink {
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.15s;
  border-bottom: 1.5px solid transparent;
}

.Footer-module-scss-module__JLT4gq__emailLink:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.Footer-module-scss-module__JLT4gq__bottom {
  overflow: hidden;
  width: 100%;
}

.Footer-module-scss-module__JLT4gq__logotype-wrap {
  width: 100%;
  overflow: hidden;
  will-change: transform;
}

.Footer-module-scss-module__JLT4gq__logotype {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.08; /* Blends dark logo with orange-red background */
}

.footer-vanta-watermark {
  font-family: var(--font-heading);
  font-size: 11.5vw;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.8;
  color: var(--black);
  opacity: 0.08;
  display: block;
  width: 100%;
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

/* Footer Button Arrow Custom Color overrides */
#Footer-module-scss-module__JLT4gq__footer .Button-module-scss-module__OoW-YW__button.Button-module-scss-module__OoW-YW__light .Button-module-scss-module__OoW-YW__arrowClip {
  background-color: #ff4d2e !important;
}

#Footer-module-scss-module__JLT4gq__footer .Button-module-scss-module__OoW-YW__button.Button-module-scss-module__OoW-YW__light .Button-module-scss-module__OoW-YW__icon path {
  fill: #fff !important;
}

/* --- Responsive Media Queries (Exact Mobile/Tablet Matching) --- */
@media (min-width: 768px) {
  /* 8 Column Responsive Setup */
  #hero .content {
    grid-column: 1 / span 8;
  }
  

  
  #pricing .content {
    align-items: start;
  }
  
  #pricing .left {
    grid-column: 1 / span 4;
    grid-row: 1 / -1;
    align-self: start;
    position: sticky;
    top: 4rem;
  }
  
  #pricing .Grid-module-scss-module__OPYCKW__item:last-child {
    grid-column: 5 / span 4;
  }
}

@media (max-width: 1024px) {
  #hero .heading {
    font-size: 3.5rem;
  }
  
  #approach .content .heading {
    font-size: 2.25rem;
  }
  
  #approach .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #stats .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #pricing .heading {
    font-size: 3rem;
  }
  
  #dedicated .container.dedicated-oval .heading {
    font-size: 3rem;
  }

  /* Responsive Work Grid Adjustments for Tablet/Mobile */
  #work .work-card-image {
    border-radius: 12px;
  }
  #work .work-card-image-inner img {
    border-radius: 12px;
  }
  #work .work-card-arrow {
    opacity: 1 !important;
    transform: scale(1) !important;
    border-radius: 50%;
    width: 32px;
    height: 32px;
  }
  #work .work-card-label {
    padding: 1rem 0.5rem;
  }
  #work .work-card-label-text span:first-child {
    font-size: 1.5rem !important;
  }
  #work .work-footer {
    justify-content: flex-start;
    margin-top: 4rem;
    padding: 0 1.5rem;
  }
  #work .view-all {
    font-size: 2.25rem;
  }
  #work .view-all::before,
  #work .view-all::after {
    height: 1.5px;
  }
}

@media (max-width: 767px) {
  #hero .heading {
    font-size: 2.25rem;
  }
  
  #hero .subtitle {
    font-size: 1.125rem;
  }
  
  #hero .footer .Grid-module-scss-module__OPYCKW__content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  #hero .footer .tagline,
  #hero .footer .location,
  #hero .footer .services {
    grid-column: 1 / -1 !important;
  }
  
  #approach {
    padding: 4rem 1.5rem;
  }
  
  #approach .content .Grid-module-scss-module__OPYCKW__content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  #approach .content .items .item {
    font-size: 1.5rem;
  }
  
  #approach .content .heading {
    font-size: 1.75rem;
  }
  
  #approach .cards {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 4rem;
    width: 100%;
  }
  
  #approach .cards .card {
    min-height: 280px;
    padding: 1.5rem;
    width: 100%;
  }
  
  #approach .cards .card .heading {
    font-size: 1.5rem;
  }
  
  /* Dedicated Team Mobile Switch */
  #dedicated .container.dedicated-oval {
    display: none;
  }
  
  .dedicated-mobile {
    display: block;
  }
  
  .dedicated-mobile .heading {
    color: var(--black);
    font-family: var(--font-primary);
    text-align: left;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
    font-size: 1.875rem;
    line-height: 1.15;
  }
  
  .dedicated-marquee-wrap {
    width: 100%;
    overflow: hidden;
  }
  
  /* Render dynamic sliding pills marquee on mobile */
  .dedicated-marquee-wrap .pill {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    white-space: nowrap;
    border-radius: 9999px;
    align-items: center;
    margin-right: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1;
    display: inline-flex;
    color: #000;
  }
  
  #dedicated .footer .Grid-module-scss-module__OPYCKW__content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  #dedicated .footer .Grid-module-scss-module__OPYCKW__item {
    grid-column: 1 / -1 !important;
    text-align: left !important;
  }
  
  #whyus {
    padding: 4rem 1.5rem;
  }
  
  #whyus .Grid-module-scss-module__OPYCKW__content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  #whyus .left,
  #whyus .right {
    grid-column: 1 / -1 !important;
  }
  
  #whyus .left {
    position: static;
    top: auto;
  }
  
  #whyus .left .quote {
    font-size: 2rem;
  }
  
  #whyus .right {
    gap: 2rem;
    margin-top: 3rem;
  }
  
  #whyus .right .intro p {
    font-size: 1.125rem;
  }
  
  #whyus .right .benefits .benefit {
    padding: 1.5rem 0;
  }
  
  #whyus .right .benefits .benefit .benefit-title {
    font-size: 1.25rem;
  }
  
  #whyus .right .benefits .benefit .benefit-body {
    font-size: 1rem;
  }
  
  #work .work-header {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
  }
  
  #work .work-header .heading {
    font-size: 2.25rem;
  }
  
  #work .work-header .note p {
    text-align: left;
    font-size: 1rem;
  }
  
  #work .work-cards {
    padding: 0 1.5rem;
  }
  
  #work .work-cards .Grid-module-scss-module__OPYCKW__content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  #work .work-card {
    grid-column: 1 / -1 !important;
    margin-bottom: 2rem;
  }
  
  #work .work-card-image {
    aspect-ratio: 4/3;
  }
  
  .work-card-label-text span:first-child {
    font-size: 1.125rem !important;
  }
  
  .work-card-label-text span:last-child {
    font-size: 0.875rem !important;
  }
  
  .work-card-arrow {
    width: 32px;
    height: 32px;
  }
  
  .work-card-arrow svg {
    width: 10px;
    height: 10px;
  }
  
  .work-footer .view-all {
    font-size: 2.25rem;
  }
  
  #stats {
    padding: 4rem 1.5rem;
  }
  
  #stats .cards {
    grid-template-columns: 1fr;
    padding: 0;
  }
  
  #stats .cards .card {
    min-height: 240px;
    padding: 1.5rem;
    border-radius: 12px !important;
  }
  
  #stats .cards .card .heading {
    font-size: 3rem;
  }
  
  #stats .cards .card .description {
    font-size: 1rem;
  }
  
  #pricing {
    padding: 4rem 1.5rem;
  }
  
  #pricing .content .Grid-module-scss-module__OPYCKW__content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  #pricing .left {
    position: static;
    top: auto;
    grid-column: 1 / -1 !important;
  }
  
  #pricing .heading {
    font-size: 2.25rem;
  }
  
  #pricing .description {
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 1rem;
  }
  
  #pricing .cards {
    grid-template-columns: 1fr;
  }
  
  #pricing .cards .card {
    padding: 1.5rem;
  }
  
  #pricing .cards .card .price {
    font-size: 3.5rem;
  }
  
  #pricing .cards .card .items {
    margin: 1.5rem 0;
  }
  
  #pricing .cards .card .items .item {
    font-size: 1rem;
    padding: 0.75rem 0;
  }
  
  #pricing .cards .card--one-off {
    grid-column: 1 !important;
  }
  
  #pricing .cards .card .tier-name,
  #pricing .cards .card .tier-price {
    font-size: 1.125rem;
  }
  
  #pricing .cards .card .tier-details {
    font-size: 0.9rem;
  }
  
  #pricing .faq {
    margin-top: 4rem;
  }
  
  #pricing .faq .faq-item .faq-question span {
    font-size: 1.125rem;
  }
  
  #pricing .faq .faq-answer p {
    font-size: 1rem;
  }
  
  #cta {
    padding: 4rem 1.5rem;
  }
  
  #cta .Grid-module-scss-module__OPYCKW__content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  #cta .heading {
    font-size: 1.75rem;
  }
  
  /* Mobile Footer Parallax Adjustments */
  #Footer-module-scss-module__JLT4gq__footer {
    padding-top: 10vh;
  }
  
  .Footer-module-scss-module__JLT4gq__top {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .Footer-module-scss-module__JLT4gq__nav {
    flex-flow: row wrap;
    gap: 1rem 1.5rem;
  }
  
  .Footer-module-scss-module__JLT4gq__centerIcon {
    display: none;
  }
  
  .Footer-module-scss-module__JLT4gq__rightCol {
    align-items: flex-start;
  }
  
  .Footer-module-scss-module__JLT4gq__legal {
    text-align: left;
  }
  
  .Footer-module-scss-module__JLT4gq__cta {
    align-items: flex-start;
  }
}

/* === Work Card Page Transition Overlay === */
#page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #ff4d2e;
  z-index: 9998;
  transform: translateY(100%);
  will-change: transform;
  pointer-events: none;
}
#page-transition-overlay.active {
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateY(0);
  pointer-events: all;
}
