/* ================================================
   RAWNAQ — RESPONSIVE CSS
   Mobile-first adjustments and breakpoints
   ================================================ */

/* ================================================
   LARGE DESKTOP (1920px+)
   ================================================ */
@media (min-width: 1920px) {
  :root {
    --fs-jumbo: 120px;
    --fs-hero:  96px;
  }

  .hero__bg-word {
    font-size: 16vw;
  }
}

/* ================================================
   STANDARD DESKTOP (1200px–1440px)
   Default — base styles apply
   ================================================ */

/* ================================================
   MEDIUM (768px–1200px)
   ================================================ */
@media (max-width: 1200px) {
  .process__header-panel {
    width: 45vw;
  }

  .process__panel {
    width: 55vw;
  }

  .difference__item-title {
    font-size: clamp(20px, 2.2vw, 36px);
  }
}

/* ================================================
   TABLET / SMALL DESKTOP (768px–1024px)
   ================================================ */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero__title {
    font-size: clamp(38px, 6.5vw, 68px);
    max-width: 100%;
  }

  .hero__col-right {
    display: none;
  }

  .services__sticky {
    grid-template-columns: 1fr 1fr;
  }

  .project--02,
  .project--04 {
    margin-left: 0;
  }

  /* Services Hero Tablet */
  .services-hero__container {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height) + 32px);
  }

  .services-hero__col-right {
    display: none;
  }

  .services-hero__col-left {
    max-width: 100%;
  }

  .services-hero__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Chapter 03 — Process Tablet (769px–1024px) */
  .process-rail__intro-panel {
    width: clamp(280px, 30vw, 360px);
    margin-right: 36px;
    height: clamp(420px, 60vh, 520px);
  }

  .process-card {
    width: clamp(460px, 58vw, 600px);
    height: clamp(420px, 60vh, 520px);
  }

  .process-card__body {
    padding: 20px 24px;
    gap: 20px;
  }

  .process-card__stage-big-num {
    font-size: clamp(54px, 5vw, 76px);
  }

  .process-card__title {
    font-size: clamp(20px, 2.2vw, 28px);
  }

  .process-card__desc {
    font-size: clamp(13.5px, 1.2vw, 15.5px);
  }

  /* Chapter 04 — Selected Work Tablet (769px–1024px) */
  .work-stack__container {
    grid-template-columns: minmax(280px, 32vw) 1fr;
    padding: 0 clamp(24px, 3.5vw, 44px);
    gap: clamp(20px, 3vw, 40px);
  }

  .work-stack__col-right {
    padding-right: clamp(32px, 4vw, 54px);
  }

  .work-cards-deck {
    max-width: clamp(420px, 56vw, 580px);
    height: clamp(380px, 54vh, 480px);
  }

  .work-card__inner {
    padding: 14px 18px;
  }

  .work-card__name {
    font-size: clamp(16px, 1.8vw, 19px);
  }
}

/* ================================================
   MOBILE (max-width: 768px)
   Primary mobile adjustments
   ================================================ */
@media (max-width: 768px) {

  /* Nav Mobile: RAWNAQ Logo + Menu Button only */
  #nav {
    height: var(--mobile-header-height, 64px);
    padding: 0 clamp(16px, 4.5vw, 24px);
  }

  .nav__center {
    display: none !important;
  }

  .nav__menu-label {
    display: none;
  }

  #scroll-progress {
    display: none;
  }

  /* Hero */
  #hero {
    height: 100vh;
    height: 100dvh;
    min-height: 640px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
  }

  .hero__gradient-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 7, 6, 0.65) 0%,
        rgba(2, 7, 6, 0.35) 38%,
        rgba(2, 7, 6, 0.05) 68%,
        rgba(2, 7, 6, 0.35) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 7, 6, 0.48) 0%,
        rgba(2, 7, 6, 0.18) 55%,
        transparent 100%
      );
  }

  .hero__bottom-gradient {
    display: none;
  }

  .hero__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    margin: 0;
    padding: 0 24px;
    padding-top: calc(var(--nav-height) + 16px);
    padding-bottom: clamp(100px, 15vh, 130px);
    gap: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
  }

  .hero__col-left {
    width: 100%;
    max-width: calc(100% - 24px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin: 0;
    padding: 0;
  }

  .hero__col-right {
    display: none;
  }

  .hero__eyebrow {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    margin: 0 0 clamp(14px, 2vh, 18px) 0;
    padding: 0;
  }

  .hero__eyebrow span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: rgba(243, 245, 242, 0.7);
    text-align: left;
  }

  .hero__title {
    font-family: var(--f-body);
    font-size: clamp(44px, 12vw, 56px);
    font-weight: 300;
    line-height: 0.96;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin: 0 0 clamp(16px, 2.2vh, 22px) 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .hero__title-accent {
    color: var(--c-emerald);
    font-style: normal;
    font-weight: 300;
    text-shadow: 0 0 24px rgba(0, 184, 107, 0.45);
  }

  .hero__sub {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(243, 245, 242, 0.72);
    max-width: 305px;
    margin: 0 0 clamp(22px, 3vh, 28px) 0;
    padding: 0;
    text-align: left;
  }

  /* Vertical button stack left-anchored at exact same line */
  .hero__cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    gap: 12px;
    width: 100%;
  }

  .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 195px;
    max-width: 100%;
    margin: 0;
    padding: 9px 12px 9px 18px;
    border-radius: 9999px;
    border: 1.2px solid var(--c-emerald);
    background: rgba(2, 10, 8, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #FFFFFF;
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(0, 184, 107, 0.2);
  }

  .hero-btn span {
    color: #FFFFFF;
  }

  .hero-btn .hero-btn__arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0, 184, 107, 0.45);
    background: rgba(0, 184, 107, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-btn .hero-btn__arrow svg {
    stroke: var(--c-emerald);
    width: 12px;
    height: 12px;
  }

  /* Secondary LET'S TALK button aligned at exact same left edge */
  .hero-btn.lets-talk {
    width: 165px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(2, 10, 8, 0.5);
    box-shadow: none;
  }

  .hero-btn.lets-talk .hero-btn__arrow {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
  }

  .hero-btn.lets-talk .hero-btn__arrow svg {
    stroke: #FFFFFF;
  }

  /* Bottom Bar with Stats and Centered Scroll Indicator */
  .hero__bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px clamp(18px, 3vh, 26px) 24px;
    gap: clamp(14px, 2vh, 20px);
    z-index: 4;
    pointer-events: auto;
  }

  .hero__bottom-stats {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hero-stats__indicator {
    display: none;
  }

  .hero-stats__list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
  }

  .hero-stat-item:nth-child(1) {
    text-align: left;
  }

  .hero-stat-item:nth-child(3) {
    text-align: center;
  }

  .hero-stat-item:nth-child(5) {
    text-align: right;
  }

  .hero-stat-divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 10px;
  }

  .hero-stat-item__num {
    font-family: var(--f-body);
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.1;
  }

  .hero-stat-item__lbl {
    font-family: var(--f-mono);
    font-size: 8.5px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 245, 242, 0.45);
  }

  /* Centered vertical scroll indicator */
  .hero__scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .hero-scroll__line {
    width: 1.5px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: visible;
  }

  .hero-scroll__line::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-emerald);
    box-shadow: 0 0 8px var(--c-emerald);
  }

  .hero-scroll__line::after {
    display: none;
  }

  .hero-scroll__text {
    font-family: var(--f-mono);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(243, 245, 242, 0.4);
  }

  /* Chapter 02 — Our Services Mobile */
  .services-hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 70px;
    position: relative;
    overflow: hidden;
  }

  .services-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 8, 7, 0.92) 0%,
        rgba(2, 8, 7, 0.78) 40%,
        rgba(2, 8, 7, 0.88) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 8, 7, 0.85) 0%,
        rgba(2, 8, 7, 0.45) 100%
      );
  }

  .services-hero__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    margin: 0;
    padding: 0 24px;
    padding-top: 0;
    padding-bottom: 30px;
    width: 100%;
    max-width: 100%;
  }

  .services-hero__col-left {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .services-hero__col-right {
    display: none;
  }

  .services-hero__eyebrow {
    margin-bottom: 16px;
  }

  .services-hero__title {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    text-align: left;
  }

  .services-hero__desc {
    font-size: 14.5px;
    line-height: 1.55;
    max-width: 100%;
    margin-bottom: 28px;
    text-align: left;
  }

  .services-hero__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
    width: 100%;
  }

  .service-card {
    gap: 6px;
    text-align: left;
    align-items: flex-start;
  }

  .service-card__icon {
    width: 32px;
    height: 32px;
  }

  .service-card__icon svg {
    width: 16px;
    height: 16px;
  }

  .service-card__title {
    font-size: 15px;
  }

  .service-card__desc {
    font-size: 13px;
    line-height: 1.45;
  }

  .services-hero__btn {
    padding: 9px 15px 9px 20px;
    font-size: 10.5px;
  }

  .services-hero__bottom-bar {
    position: relative;
    padding: 20px 24px 0;
    justify-content: space-between;
    width: 100%;
  }

  /* ================================================
     CHAPTER 03 — THE PROCESS (Mobile Purpose-Built Rail)
     ================================================ */
  .process-rail-section {
    position: relative;
    overflow: visible;
    scroll-margin-top: var(--mobile-header-offset, 64px);
  }

  .process-rail__sticky-viewport {
    position: sticky;
    top: var(--mobile-header-offset, 64px);
    width: 100%;
    height: calc(100dvh - var(--mobile-header-offset, 64px));
    height: calc(100svh - var(--mobile-header-offset, 64px));
    min-height: calc(100dvh - var(--mobile-header-offset, 64px));
    max-height: calc(100dvh - var(--mobile-header-offset, 64px));
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
  }

  .process-rail__track {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    padding-left: 16px;
    padding-right: 28px;
    padding-top: 10px;
    padding-bottom: 40px;
    width: max-content;
    will-change: transform;
    gap: 0;
    box-sizing: border-box;
  }

  /* Intro Panel on Mobile: Purpose-built & immediately leading into the cards */
  .process-rail__intro-panel {
    width: clamp(290px, 88vw, 380px);
    flex-shrink: 0;
    margin-right: 18px;
    height: clamp(400px, 66vh, 530px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 4px;
  }

  .process-rail__eyebrow {
    margin-bottom: 12px;
    gap: 10px;
  }

  .process-rail__eyebrow-line {
    width: 20px;
    height: 1.5px;
  }

  .process-rail__eyebrow-text {
    font-size: 10.5px;
    letter-spacing: 0.2em;
  }

  .process-rail__headline {
    font-size: clamp(32px, 8.8vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
  }

  .process-rail__desc {
    font-size: clamp(14px, 3.8vw, 15.5px);
    line-height: 1.58;
    max-width: 100%;
    color: rgba(243, 245, 242, 0.78);
  }

  .process-rail__scroll-hint {
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-top: auto;
    padding-top: 12px;
  }

  /* Cards Wrap on Mobile */
  .process-rail__cards-wrap {
    gap: 16px;
  }

  /* Mobile Process Card: 88–92vw width, 60–72vh height */
  .process-card {
    width: clamp(290px, 88vw, 380px);
    height: clamp(400px, 66vh, 530px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #030A07;
    opacity: 0.42;
    transform: scale(0.96);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  }

  .process-card.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(0, 184, 107, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 184, 107, 0.1);
  }

  /* Header hidden on mobile — replaced with integrated mobile meta */
  .process-card__header {
    display: none;
  }

  /* Cinematic supportive image taking 42-46% of card */
  .process-card__visual {
    flex: 0 0 44%;
    height: 44%;
    min-height: unset;
  }

  .process-card__img {
    filter: brightness(0.6) contrast(0.9) saturate(0.8);
  }

  .process-card.is-active .process-card__img {
    filter: brightness(0.72) contrast(0.95) saturate(0.88);
  }

  /* Content area taking 56% of card: NO internal scroll, perfect hierarchy */
  .process-card__body {
    flex: 1 1 56%;
    padding: 16px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }

  /* Mobile Meta Badge */
  .process-card__meta-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .process-card__num-mobile {
    font-family: var(--f-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-emerald);
    letter-spacing: 0.08em;
  }

  .process-card__tag-mobile {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(243, 245, 242, 0.65);
  }

  /* Hide desktop large stage lead on mobile */
  .process-card__stage-lead {
    display: none;
  }

  .process-card__info {
    width: 100%;
  }

  .process-card__title {
    font-size: clamp(20px, 5.4vw, 26px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: rgba(243, 245, 242, 0.65);
  }

  .process-card.is-active .process-card__title {
    color: #FFFFFF;
  }

  .process-card__desc {
    font-size: clamp(13.5px, 3.6vw, 15px);
    line-height: 1.5;
    color: rgba(243, 245, 242, 0.5);
  }

  .process-card.is-active .process-card__desc {
    color: rgba(243, 245, 242, 0.82);
  }

  /* Compact Mobile Progress Bar */
  .process-rail__progress-bar {
    left: 16px;
    right: 16px;
    bottom: 12px;
    gap: 8px;
  }

  .process-rail__progress-track {
    height: 1.5px;
  }

  .process-rail__progress-steps {
    display: none;
  }

  .process-rail__mobile-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .process-rail__mobile-step-active {
    color: var(--c-emerald);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 184, 107, 0.4);
  }

  .process-rail__mobile-counter {
    color: rgba(243, 245, 242, 0.5);
  }

  /* ================================================
     CHAPTER 04 — SELECTED WORK (Mobile Full-Screen Layout)
     ================================================ */
  .work-stack-section {
    position: relative;
    overflow: visible;
    width: 100%;
  }

  #work-sticky-viewport,
  .work-sticky-viewport {
    position: sticky;
    top: var(--mobile-header-offset, 64px);
    width: 100%;
    height: calc(100dvh - var(--mobile-header-offset, 64px));
    height: calc(100svh - var(--mobile-header-offset, 64px));
    min-height: calc(100dvh - var(--mobile-header-offset, 64px));
    max-height: calc(100dvh - var(--mobile-header-offset, 64px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: clamp(14px, 2.2vh, 22px) clamp(16px, 5vw, 24px) clamp(14px, 2vh, 20px) clamp(16px, 5vw, 24px);
    box-sizing: border-box;
    background: #040806;
  }

  .work-stack__container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    gap: 0;
    box-sizing: border-box;
  }

  /* Intro Section */
  .work-stack__col-left {
    width: 100%;
    max-width: 100%;
    padding: 0;
    flex-shrink: 0;
    margin: 0 0 clamp(10px, 1.5vh, 16px) 0;
    text-align: left;
  }

  .work-stack__intro-content {
    width: 100%;
    max-width: 100%;
  }

  .work-stack__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(4px, 0.7vh, 6px);
  }

  .work-stack__eyebrow-line {
    width: 20px;
    height: 1.5px;
    background: var(--c-emerald);
    box-shadow: none;
  }

  .work-stack__eyebrow-text {
    font-family: var(--f-mono);
    font-size: clamp(9px, 2.5vw, 10px);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 245, 242, 0.7);
  }

  .work-stack__title {
    font-family: var(--f-body);
    font-size: clamp(26px, 7vw, 34px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin-bottom: clamp(5px, 0.8vh, 8px);
  }

  .work-stack__accent {
    color: var(--c-emerald);
    font-style: normal;
    text-shadow: none;
  }

  .work-stack__desc {
    font-family: var(--f-body);
    font-size: clamp(12px, 3.2vw, 13.5px);
    font-weight: 300;
    line-height: 1.45;
    color: rgba(243, 245, 242, 0.68);
    max-width: 100%;
    margin-bottom: 0;
  }

  .work-stack__scroll-prompt {
    display: none;
  }

  /* Right column / Stack & Progress container */
  .work-stack__col-right {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 0;
    margin: 0;
  }

  .work-cards-deck {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: clamp(340px, 50vh, 430px);
    margin: 0 auto;
  }

  .work-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: #060D0A !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
    overflow: hidden !important;
    transform-origin: center top;
    box-sizing: border-box;
  }

  .work-card.is-active {
    border-color: rgba(0, 184, 107, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 184, 107, 0.06);
  }

  .work-card__inner {
    width: 100%;
    height: 100%;
    padding: clamp(12px, 1.8vh, 16px) clamp(14px, 3.8vw, 18px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #060D0A !important;
    background-color: #060D0A !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .work-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: clamp(6px, 1vh, 8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
  }

  .work-card__meta-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .work-card__num {
    font-family: var(--f-mono);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--c-emerald);
    letter-spacing: 0.12em;
  }

  .work-card__name {
    font-family: var(--f-body);
    font-size: clamp(15px, 4.2vw, 18px);
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: -0.015em;
  }

  .work-card__category {
    font-family: var(--f-mono);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(243, 245, 242, 0.5);
  }

  .work-card__visual {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    margin: clamp(6px, 1vh, 10px) 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #020605;
  }

  .work-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .work-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: clamp(6px, 1vh, 8px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
  }

  .work-card__tag {
    font-family: var(--f-body);
    font-size: clamp(10.5px, 2.8vw, 12px);
    color: rgba(243, 245, 242, 0.65);
    max-width: 55%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .work-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(0, 184, 107, 0.08);
    border: 1px solid rgba(0, 184, 107, 0.22);
    font-family: var(--f-mono);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--c-emerald);
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .work-vertical-indicator {
    display: none;
  }

  /* Mobile Progress Bar directly below active card */
  .work-mobile-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin-top: clamp(10px, 1.4vh, 14px);
    flex-shrink: 0;
  }

  .work-mobile-progress__track {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    margin-right: 12px;
    position: relative;
    overflow: hidden;
  }

  .work-mobile-progress__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    background: var(--c-emerald);
    border-radius: 9999px;
    box-shadow: none;
    transition: width 0.25s ease;
  }

  .work-mobile-progress__counter {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(243, 245, 242, 0.5);
  }

  .work-mobile-current {
    color: var(--c-emerald);
    font-weight: 500;
    text-shadow: none;
  }

  /* Shorter screens adaptation (e.g. iPhone SE) */
  @media (max-height: 720px) {
    #work-sticky-viewport,
    .work-sticky-viewport {
      padding: 10px clamp(14px, 4vw, 20px) 10px clamp(14px, 4vw, 20px);
    }
    .work-stack__col-left {
      margin-bottom: 8px;
    }
    .work-stack__title {
      font-size: clamp(22px, 6vw, 26px);
      margin-bottom: 4px;
    }
    .work-stack__desc {
      font-size: 11.5px;
      line-height: 1.35;
    }
    .work-cards-deck {
      height: clamp(270px, 45vh, 320px);
    }
    .work-card__inner {
      padding: 10px 12px;
    }
    .work-mobile-progress {
      margin-top: 8px;
    }
  }

  /* ================================================
     CHAPTER 05 — THE SYSTEM (Mobile Connected Composition)
     ================================================ */
  .system-scroll-section {
    position: relative;
    overflow: visible;
    width: 100%;
  }

  .system-sticky-viewport {
    position: sticky;
    top: var(--mobile-header-offset, 64px);
    width: 100%;
    height: calc(100dvh - var(--mobile-header-offset, 64px));
    height: calc(100svh - var(--mobile-header-offset, 64px));
    min-height: calc(100dvh - var(--mobile-header-offset, 64px));
    max-height: calc(100dvh - var(--mobile-header-offset, 64px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: clamp(14px, 2.2vh, 22px) clamp(16px, 5vw, 24px) clamp(14px, 2vh, 20px);
    box-sizing: border-box;
    background: #050907;
  }

  .system__container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    gap: 0;
    box-sizing: border-box;
  }

  .system__col-left {
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin: 0;
    padding: 0;
  }

  .system__intro-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  /* 1. Section Label */
  .system__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(10px, 1.4vh, 14px);
  }

  .system__eyebrow-line {
    width: 20px;
    height: 1.5px;
    background: var(--c-emerald);
  }

  .system__eyebrow-text {
    font-family: var(--f-mono);
    font-size: clamp(9.5px, 2.5vw, 10.5px);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 245, 242, 0.7);
  }

  /* 2. Headline with comfortable breathing gap */
  .system__title {
    font-family: var(--f-body);
    font-size: clamp(24px, 6.4vw, 32px);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0 0 clamp(12px, 1.8vh, 18px) 0;
    text-align: left;
  }

  .system__desc {
    display: none;
  }

  .system__scroll-prompt {
    display: none;
  }

  /* 3. Active Information Card */
  .system__active-card {
    width: 100%;
    max-width: 100%;
    background: rgba(8, 18, 14, 0.85);
    border: 1px solid rgba(0, 184, 107, 0.22);
    border-radius: 8px;
    padding: clamp(10px, 1.4vh, 14px) clamp(14px, 3.8vw, 18px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: clamp(14px, 2.2vh, 22px);
    box-sizing: border-box;
  }

  .system__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(243, 245, 242, 0.08);
    margin-bottom: 7px;
  }

  .system__card-num {
    font-size: 11.5px;
  }

  .system__card-name {
    font-size: 10.5px;
  }

  .system__card-badge {
    font-size: 7.5px;
    padding: 2px 6px;
  }

  .system__card-body {
    gap: 10px;
  }

  .system__card-desc {
    font-size: clamp(11.5px, 3vw, 12.8px);
    line-height: 1.44;
    min-height: 48px;
    color: rgba(243, 245, 242, 0.88);
  }

  /* 4. System Wheel directly following the Card with a moderate gap */
  .system__col-right {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    margin: 0 auto;
  }

  .system-wheel-wrapper {
    position: relative;
    width: clamp(250px, 66vw, 300px);
    height: clamp(250px, 66vw, 300px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .system-wheel__node {
    transform: rotate(var(--node-angle)) translate(clamp(90px, 24vw, 112px)) rotate(calc(-1 * var(--node-angle) - var(--rotor-rot, 0deg)));
  }

  .system-wheel__node-inner {
    padding: 2px 4px;
    gap: 4px;
  }

  .system-wheel__node-spoke {
    width: 10px;
  }

  .system-wheel__node-label {
    font-size: clamp(8.5px, 2.4vw, 9.5px);
    letter-spacing: 0.1em;
  }

  .system-wheel__node-num {
    font-size: 8px;
  }

  .system-wheel__focus-pointer {
    left: calc(50% - clamp(90px, 24vw, 112px) - 14px);
  }

  .system-wheel__focus-line {
    width: 10px;
    height: 1.5px;
  }

  .system-wheel__center-core {
    width: clamp(68px, 18vw, 78px);
    height: clamp(68px, 18vw, 78px);
  }

  .system-wheel__core-brand {
    width: clamp(42px, 11vw, 50px);
  }

  .system-wheel__core-tag {
    font-size: 5.5px;
  }

  .system-vertical-indicator {
    display: none;
  }

  /* Shorter screens adaptation for Section 5 (e.g. iPhone SE / height < 720px) */
  @media (max-height: 720px) {
    .system-sticky-viewport {
      padding: 8px 16px 10px 16px;
    }
    .system__eyebrow {
      margin-bottom: 6px;
    }
    .system__title {
      font-size: clamp(20px, 5.2vw, 24px);
      margin-bottom: 8px;
    }
    .system__active-card {
      padding: 8px 12px;
      margin-bottom: 10px;
    }
    .system__card-desc {
      font-size: 11px;
      min-height: 38px;
      line-height: 1.35;
    }
    .system-wheel-wrapper {
      width: clamp(210px, 56vw, 240px);
      height: clamp(210px, 56vw, 240px);
    }
    .system-wheel__node {
      transform: rotate(var(--node-angle)) translate(clamp(78px, 20vw, 92px)) rotate(calc(-1 * var(--node-angle) - var(--rotor-rot, 0deg)));
    }
    .system-wheel__focus-pointer {
      left: calc(50% - clamp(78px, 20vw, 92px) - 12px);
    }
    .system-wheel__center-core {
      width: 58px;
      height: 58px;
    }
    .system-wheel__core-brand {
      width: 36px;
    }
  }

  /* ================================================
     CHAPTER 06 — CLIENTS (Mobile)
     ================================================ */
  #chapter-difference,
  .clients-section {
    min-height: calc(100dvh - var(--mobile-header-offset, 64px));
    min-height: calc(100svh - var(--mobile-header-offset, 64px));
    height: auto;
    padding: calc(var(--mobile-header-offset, 64px) + clamp(14px, 2.2vh, 22px)) clamp(16px, 5vw, 24px) clamp(18px, 2.8vh, 28px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    background: #030705;
  }

  .clients__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    gap: clamp(12px, 1.8vh, 20px);
    padding: 0;
    box-sizing: border-box;
    flex: 1 1 auto;
  }

  .clients__col-left {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-shrink: 0;
  }

  .clients__intro-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .clients__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(4px, 0.7vh, 6px);
  }

  .clients__eyebrow-line {
    width: 20px;
    height: 1.5px;
  }

  .clients__eyebrow-text {
    font-size: clamp(9px, 2.5vw, 10px);
    letter-spacing: 0.18em;
  }

  .clients__title {
    font-family: var(--f-body);
    font-size: clamp(24px, 6.2vw, 32px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0 0 clamp(6px, 1vh, 8px) 0;
    text-align: left;
  }

  .clients__desc {
    font-family: var(--f-body);
    font-size: clamp(12px, 3.2vw, 13.5px);
    font-weight: 300;
    line-height: 1.48;
    color: rgba(243, 245, 242, 0.65);
    max-width: 100%;
    margin: 0;
  }

  .clients__col-right {
    min-height: auto;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
  }

  .clients-stage-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Decorative static ambient floating logo bubbles */
  .floating-logo-bubble.float-bubble--far-left,
  .floating-logo-bubble.float-bubble--far-right,
  .floating-logo-bubble.float-bubble--mr {
    display: none;
  }

  .float-bubble--tl {
    width: 52px;
    height: 52px;
    top: -12px;
    left: 8px;
    opacity: 0.35;
  }

  .float-bubble--tr {
    width: 46px;
    height: 46px;
    top: 8px;
    right: 8px;
    opacity: 0.35;
  }

  .float-bubble--bl {
    width: 50px;
    height: 50px;
    bottom: 8px;
    left: 10px;
    opacity: 0.35;
  }

  .float-bubble--br {
    width: 48px;
    height: 48px;
    bottom: 8px;
    right: 12px;
    opacity: 0.35;
  }

  .clients-center-stage {
    width: 100%;
    max-width: 100%;
    padding: 4px clamp(36px, 10vw, 48px);
    gap: clamp(6px, 1.2vh, 10px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 5;
  }

  .clients-hero-logo-wrap {
    margin-bottom: 2px;
  }

  .clients-hero-logo-disk {
    width: clamp(62px, 16vw, 74px);
    height: clamp(62px, 16vw, 74px);
    padding: 8px;
    border: 1px solid rgba(0, 184, 107, 0.3);
  }

  .clients-hero-logo-text {
    font-size: clamp(9px, 2.4vw, 10.5px);
  }

  .clients-quote-mark {
    margin: 0;
  }

  .clients-quote-mark svg {
    width: 20px;
    height: 16px;
  }

  .clients-card__quote-wrapper {
    min-height: clamp(70px, 12vh, 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .clients-card__quote-text {
    font-size: clamp(12.5px, 3.4vw, 14.5px);
    line-height: 1.5;
    max-width: 100%;
    color: rgba(243, 245, 242, 0.95);
  }

  .clients-card__divider {
    width: 22px;
    height: 1.5px;
    margin: 2px auto;
  }

  .clients-card__meta {
    gap: 2px;
  }

  .clients-card__company {
    font-size: clamp(14px, 3.8vw, 16px);
  }

  .clients-card__category {
    font-size: clamp(8px, 2.2vw, 9px);
  }

  .clients-orbit-arrow {
    width: 32px;
    height: 32px;
  }

  .clients-arrow--prev {
    left: 2px;
  }

  .clients-arrow--next {
    right: 2px;
  }

  .clients-pill-pagination {
    margin-top: clamp(6px, 1vh, 10px);
  }

  .clients-bg-curves {
    opacity: 0.5;
    transform: scale(1.2);
  }

  /* Shorter screens adaptation for Section 6 */
  @media (max-height: 720px) {
    #chapter-difference,
    .clients-section {
      padding: calc(var(--mobile-header-offset, 64px) + 8px) 16px 14px 16px;
    }
    .clients__container {
      gap: 8px;
    }
    .clients__title {
      font-size: clamp(20px, 5.5vw, 24px);
    }
    .clients__desc {
      font-size: 11.5px;
      line-height: 1.35;
    }
    .clients-hero-logo-disk {
      width: 52px;
      height: 52px;
    }
    .clients-card__quote-wrapper {
      min-height: 58px;
    }
    .clients-card__quote-text {
      font-size: 12px;
      line-height: 1.4;
    }
  }

  /* ================================================
     CHAPTER 07 — FINAL CTA (Mobile Full Viewport)
     ================================================ */
  #chapter-cta,
  .cta-talk-section {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: calc(var(--mobile-header-offset, 64px) + clamp(16px, 3vh, 28px));
    padding-bottom: clamp(16px, 2.6vh, 24px);
    padding-left: clamp(16px, 5vw, 24px);
    padding-right: clamp(16px, 5vw, 24px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: #C9D0C7;
    color: #0A110D;
  }

  .cta-talk__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }

  .cta-talk__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(12px, 2vh, 18px);
  }

  .cta-talk__eyebrow-line {
    width: 20px;
    height: 1.5px;
  }

  .cta-talk__eyebrow-text {
    font-size: clamp(9.5px, 2.5vw, 10.5px);
    letter-spacing: 0.2em;
    color: #344039;
  }

  .cta-talk__headline {
    font-family: var(--f-body);
    font-size: clamp(36px, 9.5vw, 52px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #0A110D;
    margin: 0 0 clamp(12px, 2vh, 18px) 0;
    max-width: 12ch;
  }

  .cta-talk__sub {
    font-family: var(--f-body);
    font-size: clamp(13.5px, 3.6vw, 15.5px);
    font-weight: 300;
    line-height: 1.5;
    color: #4E5852;
    margin: 0 0 clamp(24px, 3.5vh, 36px) 0;
    max-width: 310px;
  }

  .cta-talk__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .cta-talk__btn {
    padding: clamp(13px, 1.8vh, 16px) clamp(30px, 7vw, 40px);
    border-radius: 9999px;
    background: #07100C;
    color: #F2F4EF;
  }

  .cta-talk__btn-text {
    font-size: clamp(10.5px, 2.8vw, 11.5px);
    letter-spacing: 0.16em;
  }

  .cta-talk__bottom-row {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: clamp(10px, 1.6vh, 14px);
    border-top: 1px solid rgba(10, 17, 13, 0.08);
    font-size: clamp(8.5px, 2.2vw, 9.5px);
    letter-spacing: 0.18em;
    color: #344039;
    left: auto;
    right: auto;
    bottom: auto;
    flex-shrink: 0;
  }

  .cta-talk__sig-tagline {
    display: none;
  }

  /* Shorter screens adaptation for Section 7 */
  @media (max-height: 720px) {
    #chapter-cta,
    .cta-talk-section {
      padding-top: calc(var(--mobile-header-offset, 64px) + 10px);
      padding-bottom: 12px;
    }
    .cta-talk__eyebrow {
      margin-bottom: 8px;
    }
    .cta-talk__headline {
      font-size: clamp(30px, 8vw, 38px);
      margin-bottom: 8px;
    }
    .cta-talk__sub {
      font-size: 13px;
      margin-bottom: 18px;
    }
    .cta-talk__btn {
      padding: 11px 26px;
    }
    .cta-talk__bottom-row {
      padding-top: 8px;
    }
  }

  /* Menu */
  .menu__item-link {
    font-size: clamp(36px, 10vw, 72px);
  }

  /* Footer & Form constraints */
  #footer {
    padding: calc(var(--nav-height, 68px) + 36px) 24px clamp(32px, 5vh, 48px) 24px;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
  }

  .footer__watermark {
    right: -10%;
    bottom: -4%;
    width: clamp(220px, 50vw, 360px);
    opacity: 0.025;
    filter: grayscale(100%) brightness(0.6);
  }

  .footer__main {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer__left {
    width: 100%;
    max-width: 100%;
  }

  .footer__brand-logos {
    gap: 14px;
  }

  .footer__logo-mark {
    height: 34px;
  }

  .footer__logo-type {
    height: 22px;
  }

  .footer__right {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
  }

  .spotlight-form-container {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .spotlight-keys-hint {
    display: none; /* Hide keyboard shortcut hint on touch mobile devices */
  }

  .spotlight-controls {
    gap: 12px;
  }

  .spotlight-nav-btn {
    padding: 10px 20px;
  }

  .spotlight-stage {
    min-height: 155px;
  }

  .footer__statement {
    font-size: clamp(24px, 6vw, 40px);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  /* Chapter labels */
  .chapter__label {
    margin-bottom: var(--space-lg);
  }
}

/* ================================================
   SMALL MOBILE (max-width: 430px)
   Fine-tuning for smallest phones
   ================================================ */
@media (max-width: 430px) {

  .hero__title {
    font-size: 11vw;
  }

  .shift__line-text {
    font-size: 9vw;
  }

  .cta__headline {
    font-size: 10vw;
  }

  .menu__item-link {
    font-size: 10vw;
  }

  .form__input,
  .form__textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* ================================================
   LANDSCAPE MOBILE
   ================================================ */
@media (max-width: 900px) and (orientation: landscape) {
  .hero__title {
    font-size: clamp(32px, 6vh, 64px);
  }

  .transform__canvas-area {
    min-height: 80vh;
  }
}

/* ================================================
   HIGH DPI DISPLAY
   ================================================ */
@media (min-resolution: 2dppx) {
  /* Ensure sharp SVG rendering */
  .nav__logo img,
  .footer__logo {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ================================================
   PRINT
   ================================================ */
@media print {
  #loader,
  #cursor,
  #cursor-follower,
  #webgl-canvas,
  #scroll-progress,
  .noise-overlay {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  #nav {
    position: relative;
  }
}
