:root {
  --mainfont: "Futura 100", "Futura", "Arial", sans-serif;
  --script: "Covered By Your Grace", cursive;
}

body,
p,
h1,
h2,
h3,
button,
a {
  font-family: var(--mainfont) !important;
}

#human-centred {
  font-family: var(--script) !important;
}

/* ============================================
   RESPONSIVE.CSS
   Add AFTER style.css
============================================ */

/* ---------- MEDIUM SCREENS ≤ 1350px ---------- */
@media (max-width: 1350px) {
  .logo svg {
    left: 40px;
    width: clamp(280px, 35vw, 380px);
  }

  .deco-bag-bl {
    width: clamp(90px, 13vw, 226px);
    height: auto;
    bottom: clamp(8px, 3vw, 40px);
    left: clamp(24px, 1vw, 180px);
    z-index: 8;
  }

  .part2,
  .part4 {
    gap: 24px;
    padding: 5rem 4vw;
  }

  .part2 #nameZen,
  .part4 #human-error-card {
    max-width: 520px;
    padding: 40px 42px;
  }

  .part2 #nameZen p,
  .part4 #human-error-card p {
    width: 100%;
  }

  .part2 .mac-wrapper,
  .part4 .human-error-preview {
    width: clamp(420px, 44vw, 560px);
    height: auto;
  }

  .part2 .mac-frame {
    width: 100%;
    height: 100%;
  }

  #showreelVideo {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* ---------- TABLET ≤ 1100px ---------- */

@media (max-width: 1100px) {
  .deco-bag-bl {
    width: clamp(80px, 12vw, 150px);
    height: auto;
    bottom: clamp(12px, 6vw, 35px);
    left: clamp(20px, 7vw, 80px);
    z-index: 8;
  }

  .part1,
  .part3 {
    width: 100%;
    min-height: 100vh;
    padding: 4rem 6vw;
    gap: 32px;
    overflow: hidden;
  }

  .part2,
  .part4 {
    width: 100%;
    min-height: 100vh;
    padding: 2rem 6vw;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;
    overflow: hidden;
  }

  .part2 .mac-wrapper {
    order: 1;
    width: min(75vw, 500px);
    height: auto;
    margin: 0;
    margin-bottom: -40px;
  }

  .part4 .human-error-preview {
    order: 1;
    width: min(75vw, 500px);
    height: auto;
    margin: 0;
  }

  .part2 .mac-wrapper {
    aspect-ratio: 767 / 703;
  }

  .part2 #nameZen-container,
  .part4 #human-error-container {
    order: 2;
    width: min(90vw, 700px);
    margin: 0;
    padding-bottom: 10px;
  }

  .part2 #nameZen,
  .part4 #human-error-card {
    width: 100%;
    max-width: none;
  }

  .part2 #title,
  .part4 #title {
    margin-bottom: -10px;
  }

  .part2 h2,
  .part4 h2 {
    margin-top: -10px !important;
  }

  .part2 p,
  .part4 p {
    margin-top: -10px !important;
  }

  .part2 h3,
  .part4 h3 {
    margin-bottom: 10px !important;
  }

  #splitz,
  #omi-container #nameZen {
    width: 100%;
    max-width: 600px;
    padding: 36px 40px;
  }

  #splitz p,
  #nameZen p,
  #omi p,
  #human-error-card p {
    width: 100%;
  }

  .iphone,
  .iphone2 {
    width: min(45vw, 340px);
  }

  .deco-omi-1 {
    bottom: 6%;
    left: 2%;
    z-index: 12;
    width: 150px;
  }

  .deco-omi-2 {
    top: 17%;
    right: 5%;
    z-index: 12;
    width: 150px;
  }

  #showreelVideo {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* ---------- MOBILE ≤ 768px ---------- */
@media (max-width: 768px) {
  h2 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1;
  }

  h3 {
    font-size: clamp(16px, 4.5vw, 20px);
    line-height: 1.3;
  }

  p {
    font-size: 14px;
    line-height: 1.7;
  }

  .logo {
    min-height: 100vh;
    padding: 6vh 4vw;
  }

  .logo-inner {
    width: 94vw;
  }

  .logo svg {
    top: clamp(30px, 8vw, 70px);
    left: 0;
    width: clamp(190px, 52vw, 330px);
  }

  .name-block {
    margin-top: clamp(10px, 2vw, 20px);
  }

  #name-1,
  #name-2 {
    width: 100%;
    font-size: clamp(52px, 14vw, 96px);
    line-height: 0.78;
  }

  #multimedia {
    font-size: clamp(16px, 4.4vw, 28px);
  }

  .scrollText {
    margin-top: clamp(80px, 18vw, 130px);
  }

  .intro-text {
    font-size: clamp(18px, 5.5vw, 26px);
    padding: 0 24px;
    line-height: 1.3;
  }

  .horizontalscrolling {
    width: 400vw;
    height: 100vh;
    display: flex;
    overflow: hidden;
  }

  .part1,
  .part2,
  .part3,
  .part4 {
    position: relative;
    top: auto;
    margin-top: 0;

    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;

    display: grid;
    grid-template-rows: 52% 48%;
    align-items: center;

    padding: 28px 22px 36px;
    background: #ffffff;
    overflow: hidden;
  }

  .iphone,
  .iphone2,
  .mac-wrapper {
    grid-row: 1;
    justify-self: center;
    align-self: end;
    z-index: 3;
    margin-bottom: -50px;
    filter: drop-shadow(0 16px 32px rgba(28, 32, 43, 0.2));
  }

  .iphone,
  .iphone2 {
    width: clamp(200px, 60vw, 240px);
  }

  .mac-wrapper,
  .human-error-preview {
    width: clamp(280px, 82vw, 390px);
    height: auto;
  }

  .human-error-preview {
    grid-row: 1;
    justify-self: center;
    align-self: end;
    z-index: 3;
    transform: translateY(-100px);
    filter: drop-shadow(0 16px 32px rgba(28, 32, 43, 0.2));
  }

  .deco-omi-1 {
    bottom: 6%;
    left: 2%;
    z-index: 12;
    width: 100px;
  }

  .deco-omi-2 {
    top: 17%;
    right: 5%;
    z-index: 12;
    width: 125px;
  }

  .mac-wrapper {
    aspect-ratio: 767 / 703;
  }

  .mac-frame {
    width: 100%;
    height: 100%;
    display: block;
  }

  .macImg {
    position: absolute;
    top: 34.5%;
    left: 49.9%;
    transform: translate(-50%, -50%);
    width: 96.5%;
    height: 65%;
    object-fit: cover;
    border-radius: 4px;
  }

  #splitz-container,
  #nameZen-container,
  #omi-container,
  #human-error-container {
    grid-row: 2;
    width: min(88vw, 430px);
    justify-self: center;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    z-index: 4;
  }

  .part1 #title,
  .part2 #title,
  .part3 #title,
  .part4 #title {
    margin: 0 0 8px;
    padding: 0;

    color: var(--pink);
    font-size: clamp(16px, 5vw, 22px);
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: left;
  }

  #splitz,
  #nameZen,
  #omi-container #nameZen,
  #human-error-card {
    width: 100%;
    max-width: 430px;
    padding: 28px 26px 24px;

    background: #f0f1f3;
    color: var(--blue);
    border-radius: 28px;
    text-align: left;
  }

  #splitz h2,
  #nameZen h2,
  #omi-container #nameZen h2,
  #human-error-card h2 {
    margin: 0 0 4px !important;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 0.95;
  }

  #splitz h3,
  #nameZen h3,
  #omi-container #nameZen h3,
  #human-error-card h3 {
    margin: 0 0 18px !important;
    font-size: clamp(14px, 4vw, 25px);
    line-height: 1.1;
  }

  #splitz p,
  #nameZen p,
  #omi-container #nameZen p,
  #human-error-card p {
    width: 100%;
    margin: 0 0 22px;
    font-size: clamp(13px, 3.8vw, 16px);
    line-height: 1.25;
  }

  #splitz button,
  #nameZen button,
  #omi-container #nameZen button,
  #human-error-card button {
    display: block;
    margin: 0 auto;
    padding: 10px 28px;
    border-radius: 999px;
    font-size: 12px;
  }

  a {
    text-decoration: none;
  }

  .deco-money-br,
  .deco-money-tl,
  .deco-money-ll-2,
  .deco-money-lr-2,
  .deco-money-br-2,
  .deco-money-tl-2 {
    display: none;
  }

  .deco-bag-bl {
    width: clamp(60px, 18vw, 95px) !important;
    height: auto !important;
    bottom: clamp(20px, 3vh, 60px);
    left: clamp(12px, 5vw, 40px);
    margin-left: 0 !important;
  }

  .star {
    font-size: clamp(55px, 18vw, 100px);
  }

  #star-1 {
    top: 8%;
    left: 78%;
  }

  #star-2 {
    bottom: 5%;
    right: 78%;
    transform: scale(0.5);
  }

  /* ----------------------------------------
   MOBILE RIPPLE FIX
---------------------------------------- */

  .part2 {
    position: relative;
    overflow: hidden;
  }

  .part2 #nameZen-container {
    position: relative;
    overflow: visible;
  }

  .ripple-wrap,
  .ripple-wrap-2,
  .ripple-wrap-3,
  .ripple-wrap-4 {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
  }

  .ripple,
  .ripple2,
  .ripple3,
  .ripple4 {
    position: absolute;
    width: clamp(180px, 55vw, 300px);
    opacity: 0.22 !important;
    visibility: visible !important;
    display: block !important;
    transform: translate(-50%, -50%);
  }

  /* place them inside the phone screen area */
  .ripple-wrap .ripple-1 {
    top: 10%;
    left: 85%;
  }

  .ripple-wrap .ripple-2 {
    top: 18%;
    left: 70%;
  }

  .ripple-wrap .ripple-3 {
    top: 26%;
    left: 92%;
  }

  .ripple-wrap-2 .ripple-1 {
    top: 42%;
    left: 8%;
  }

  .ripple-wrap-2 .ripple-2 {
    top: 50%;
    left: 22%;
  }

  .ripple-wrap-2 .ripple-3 {
    top: 60%;
    left: 5%;
  }

  .ripple-wrap-3 .ripple-x {
    top: 75%;
    left: 85%;
  }

  .ripple-wrap-3 .ripple-y {
    top: 85%;
    left: 68%;
  }

  .ripple-wrap-3 .ripple-z {
    top: 95%;
    left: 92%;
  }

  .ripple-wrap-4 .ripple-x {
    top: 5%;
    left: 20%;
  }

  .ripple-wrap-4 .ripple-y {
    top: 14%;
    left: 35%;
  }

  .ripple-wrap-4 .ripple-z {
    top: 22%;
    left: 15%;
  }

  /* keep card and mac above ripples */
  .part2 #title,
  .part2 #nameZen,
  .part2 .mac-wrapper {
    position: relative;
    z-index: 5;
  }

  #nameZen-container,
  .mac-wrapper {
    position: relative;
    z-index: 5;
  }

  .motion-title-section {
    margin-top: 0;
    min-height: 45vh;
    height: auto;
    padding: 64px 24px;
  }

  .motion-title-section h2 {
    font-size: clamp(30px, 9vw, 42px);
    text-align: center;
  }

  #showreelVideo {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .about-section {
    flex-direction: column;
    align-items: center;
    padding: 64px 24px;
    gap: 28px;
    text-align: center;
  }

  .about-image-block,
  .about-text-block {
    width: 100%;
    max-width: 500px;
  }

  .about-img {
    width: 100%;
    border-radius: 18px;
  }

  .about-text-block p {
    font-size: 14px;
    line-height: 1.8;
  }

  .copyright {
    text-align: center;
    padding: 20px;
    font-size: 11px;
  }

  /* ----------------------------------------
   MOBILE RIPPLE FIX
---------------------------------------- */

  .part2 {
    position: relative;
    overflow: hidden;
  }

  .part2 #nameZen-container {
    position: relative;
    overflow: visible;
  }

  .ripple-wrap,
  .ripple-wrap-2,
  .ripple-wrap-3,
  .ripple-wrap-4 {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
  }

  .ripple,
  .ripple2,
  .ripple3,
  .ripple4 {
    position: absolute;
    width: clamp(180px, 55vw, 300px);
    opacity: 0 !important;
    visibility: visible !important;
    display: block !important;
    transform: translate(-50%, -50%);
  }

  /* place them inside the phone screen area */
  .ripple-wrap .ripple-1 {
    top: 10%;
    left: 85%;
  }

  .ripple-wrap .ripple-2 {
    top: 18%;
    left: 70%;
  }

  .ripple-wrap .ripple-3 {
    top: 26%;
    left: 92%;
  }

  .ripple-wrap-2 .ripple-1 {
    top: 42%;
    left: 8%;
  }

  .ripple-wrap-2 .ripple-2 {
    top: 50%;
    left: 22%;
  }

  .ripple-wrap-2 .ripple-3 {
    top: 60%;
    left: 5%;
  }

  .ripple-wrap-3 .ripple-x {
    top: 75%;
    left: 85%;
  }

  .ripple-wrap-3 .ripple-y {
    top: 85%;
    left: 68%;
  }

  .ripple-wrap-3 .ripple-z {
    top: 95%;
    left: 92%;
  }

  .ripple-wrap-4 .ripple-x {
    top: 5%;
    left: 20%;
  }

  .ripple-wrap-4 .ripple-y {
    top: 14%;
    left: 35%;
  }

  .ripple-wrap-4 .ripple-z {
    top: 22%;
    left: 15%;
  }

  /* keep card and mac above ripples */
  .part2 #title,
  .part2 #nameZen,
  .part2 .mac-wrapper {
    position: relative;
    z-index: 5;
  }
}

/* ---------- SMALL MOBILE ≤ 500px ---------- */
