* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wrapper-all {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  will-change: clip-path;
}


/* ── NAV ──────────────────────────────────────────────────── */
header {
   
    width: 100%;
    padding: 28px 40px;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Hero-only logo */
.hero-logo {
    position: absolute;
    top: 28px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-family: Roboto, sans-serif;
    color: #F2F2F2;
    z-index: 10;
}

.logo-dots {
    display: grid;
    grid-template-columns: repeat(3, 8px);
    grid-template-rows: repeat(3, 8px);
    gap: 1px;
    z-index: 100;
}
.logo-dots span {
    display: block;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
}
.logo-dots span:nth-child(1) { grid-column: 2; grid-row: 1; }
.logo-dots span:nth-child(2) { grid-column: 1; grid-row: 2; }
.logo-dots span:nth-child(3) { grid-column: 3; grid-row: 2; }
.logo-dots span:nth-child(4) { grid-column: 2; grid-row: 3; }

/* Circular hamburger — right side */
.menu-btn {
    width: 56px;
    height: 56px;
    background: #F2F2F2;
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    flex-shrink: 0;
    position: fixed;
    top: 28px;
    right: 40px;
    z-index: 100;
}
.menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: #2a2a2a;

}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
    height: 100vh;
    width: 100%;
    background: #2a2a2a;
    position: absolute; 
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 50px 220px;
    z-index: 99;
    inset: 0;
    will-change: clip-path;

}

/* ── HERO CONTENT ─────────────────────────────────────────── */
.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
    position: relative;
}

.hero-left {
    flex: 3;
    display: flex;
    align-items: flex-end;
}

.hero-right {
    display: flex;
    flex:1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-right: 5%;
}

.hero-subtitle {
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #F2F2F2;
    line-height: 1.6;
    max-width: 160px;
    text-transform: capitalize;
}



.hero-title {
    font-family: roboto , sans-serif;
    font-size: 38px;
    font-weight: 500;
    color: #F2F2F2;
    letter-spacing: 0.04em;
    line-height: 1.1;
    max-width: 800px;
}

.hero-divider {
    width: 100%;
    border: none;
    border-top: 2px solid #F2F2F2;
    margin: 4px 0;
}



.cta-button {
    padding: 13px 100px;
    background: transparent;
    color: #F2F2F2;
    background: #c60404;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-family: Roboto, sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: opacity 0.2s;
}
.cta-button:hover { background: #F2F2F2; color: #2a2a2a;  transition: 0.4s ease; }

/* ── BOTTOM: big HOLM + mini dots ─────────────────────────── */
.bottom-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 0 50px 12px;
}

.big-holm {
    height: 200px;
    width: auto;
    flex-shrink: 0;
}

.mini-bubbles {
    position: relative;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
    margin-left: 16px;
    animation: bubble-spin 10s linear infinite;
}

.mini-bubble {
    width: 95px;
    height: 95px;
    background: #F2F2F2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #1A1A18;
    letter-spacing: 0.04em;
    text-align: center;
    position: absolute;
    animation: bubble-counter 10s linear infinite;
}

/* Diamond positions */
.mini-bubble.story    { top: 0;                   left: calc(50% - 47.5px); }
.mini-bubble.design   { top: calc(50% - 47.5px);  left: 0;                  }
.mini-bubble.commerce { top: calc(50% - 47.5px);  right: 0;                 }
.mini-bubble.motion   { bottom: 0;                left: calc(50% - 47.5px); }

@keyframes bubble-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes bubble-counter {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* ── SECTION 2 ────────────────────────────────────────────── */
.section-2 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F2F2F2;
    z-index: 98;
    inset: 0;
    overflow: hidden;
    position: absolute;
    will-change: clip-path;
    width: 100%;
}

.services {
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.services-top {
    display: flex;
    flex-direction: column;
}

.services-heading {
    font-family: Roboto, sans-serif;
    font-size: 200px;
    font-weight: 900;
    color: #2a2a2a;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
}

.services-divider {
    border: none;
    border-top: 4px solid #F2F2F2;
    margin: 10px 0 32px;
}

.services-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #2a2a2a;
    border-radius: 12px;
}

.service-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    border-left: 3px solid #F2F2F2;
}
.service-item:first-child {
    border-left: none;
}


.service-number {
    font-family: Roboto, sans-serif;
    font-size: 180px;
    font-weight: 900;
    color: #F2F2F2;
    line-height: 1;
    text-align: center;
}

.service-name {
    font-family: Roboto, sans-serif;
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    color: #F2F2F2;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}



.service-list {
    font-family: Roboto, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #F2F2F2;
    text-align: left;
    margin-bottom: 25px;
}
.section-3 {
    height: 100vh;
    background: #2a2a2a;
    z-index: 97;
    inset: 0;
    overflow: hidden;
    position: absolute;
    will-change: clip-path;
    width: 100%;
}

/* ── SECTION 4 ────────────────────────────────────────────── */
.section-4 {
    height: 100vh;
    background: #F2F2F2;
    z-index: 96;
    inset: 0;
    overflow: hidden;
    position: absolute;
    will-change: clip-path;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 80px 60px 200px;
}

/* Left text + right bubbles row */
.s4-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.s4-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.s4-price {
    font-family: Roboto, sans-serif;
    font-size: clamp(52px, 7vw, 80px);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.02em;
}

.s4-per {
    font-family: Roboto, sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: #1a1a1a;
}

.s4-desc {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 1.7;
    max-width: 450px;
    text-transform: capitalize;
}

.s4-cta {
    padding: 18px 120px;
    background: #c60404;
    color: #fff;
    border: none;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity 0.2s;
    border-radius: 12px;
}
.s4-cta:hover { background: #fff; color: #2a2a2a;  transition: 0.4s ease; }

/* Spinning diamond bubbles — mirrors hero mini-bubbles */
.s4-bubbles-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 8%;
}

.s4-bubbles {
    position: relative;
    width: 400px;
    height: 400px;
    animation: bubble-spin 12s linear infinite;
}

.s4-bubble {
    width: 140px;
    height: 140px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #F2F2F2;
    letter-spacing: 0.04em;
    text-align: center;
    position: absolute;
    animation: bubble-counter 12s linear infinite;
}

.s4-story    { top: 0;                  left: calc(50% - 70px); }
.s4-design   { top: calc(50% - 70px);   left: 0;                }
.s4-commerce { top: calc(50% - 70px);   right: 0;               }
.s4-motion   { bottom: 0;               left: calc(50% - 70px); }

/* Section-4 logo */
.s4-logo {
    position: absolute;
    top: 28px;
    left: 63px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-family: Roboto, sans-serif;
    color: #1a1a1a;
    z-index: 10;
}

.s4-logo-dots {
    display: grid;
    grid-template-columns: repeat(3, 8px);
    grid-template-rows: repeat(3, 8px);
    gap: 1px;
}

.s4-logo-dots span {
    display: block;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
}

.s4-logo-dots span:nth-child(1) { grid-column: 2; grid-row: 1; }
.s4-logo-dots span:nth-child(2) { grid-column: 1; grid-row: 2; }
.s4-logo-dots span:nth-child(3) { grid-column: 3; grid-row: 2; }
.s4-logo-dots span:nth-child(4) { grid-column: 2; grid-row: 3; }

/* Bottom huge PROPOSAL text */
.s4-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 50px 8px;
}

.s4-heading {
    font-family: Roboto, sans-serif;
    font-size: clamp(100px, 16vw, 190px);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* ── SECTION 3 LAYOUT ─────────────────────────────────────── */
.section-3-content {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 28px 40px 32px;
    gap: 40px;
}

/* LEFT COLUMN */
.s3-left {
    display: flex;
    flex-direction: column;
    flex: 0 0 58%;
    gap: 14px;
}

.s3-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: white;
    letter-spacing: 0.04em;
}

.s3-label-sep {
    opacity: 0.4;
}

.s3-video {
    width: 115%;
    flex: 1;
    object-fit: cover;
    background: #F2F2F2;
    display: block;
    border-radius: 12px;
    scale: 0.8;
    transform-origin: left;
}

.s3-title {
    font-family: Roboto, sans-serif;
    font-size: clamp(64px, 9vw, 110px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* RIGHT COLUMN */
.s3-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding-top: 40px;
}

.s3-store-btn {
    width: 190px;
    height: 190px;
    background: #e02020;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 500;
    color: #fff;
    text-align: center;
    cursor: pointer;
    padding: 20px;
    transition: transform 0.3s ease;
    align-self: center;
}

.s3-store-btn:hover {
    transform: scale(1.5);
    background: #F2F2F2;
    color: #2a2a2a;
}

.s3-description {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 490;
    color: white;
    line-height: 1.75;
    max-width: 300px;
    text-transform: capitalize;
    align-self: center;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ── TABLET (768px – 1024px) ─────────────────────────────── */
@media (max-width: 1024px) {

  /* Hero */
  .hero { padding: 70px 36px 180px; }
  .hero-title { font-size: 30px; }
  .hero-logo { left: 36px; }

  /* Services */
  .services { padding: 0 28px; }
  .services-heading { font-size: clamp(80px, 13vw, 140px); }
  .service-number { font-size: clamp(80px, 12vw, 130px); }
  .service-name { font-size: 19px; }
  .service-list { font-size: 15px; }

  /* Case Study */
  .s3-left { flex: 0 0 54%; }
  .s3-title { font-size: clamp(48px, 7vw, 80px); }
  .s3-store-btn { width: 160px; height: 160px; font-size: 18px; }

  /* Proposal */
  .section-4 { padding: 70px 40px 160px; }
  .s4-logo { left: 40px; }
  .s4-bubbles { width: 300px; height: 300px; }
  .s4-bubble { width: 105px; height: 105px; }
  .s4-story    { left: calc(50% - 52.5px); }
  .s4-design   { top: calc(50% - 52.5px); }
  .s4-commerce { top: calc(50% - 52.5px); }
  .s4-motion   { left: calc(50% - 52.5px); }
}

/* ── MOBILE (max 768px) ──────────────────────────────────── */
@media (max-width: 768px) {

  /* Prevent horizontal overflow on all sections */
  body, .wrapper-all {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* ── HERO ──────────────────────────────────────────────── */
  /* Flatten both wrappers so all children become direct hero flex items */
  .hero {
    padding: 44px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
  }

  .hero-logo {
    left: 24px;
    top: 16px;
    font-size: 16px;
  }

  /* display:contents removes the box — children float up to .hero flex layout */
  .hero-content {
    display: contents;
  }

  .bottom-section {
    display: contents;
  }

  /* ── Order: title → bubbles → subtitle/button → SVG ─── */
  .hero-left {
    order: 1;
    flex: none;
    width: 100%;
    align-items: flex-start;
    margin-top: 8px;
    margin-bottom: 16px;
  }

  .hero-divider {
    display: none;
  }

  .bubble-wrapper {
    order: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-right {
    order: 3;
    flex: none;
    width: 100%;
    margin-right: 0;
    gap: 12px;
    margin-bottom: 20px;
  }

  .big-holm {
    order: 4;
    width: 100%;
    height: auto;
    margin-top: 32px;
  }

  /* ── Text scaling ──────────────────────────────────────── */
  .hero-title {
    font-size: clamp(22px, 7vw, 30px);
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 13px;
    max-width: 100%;
  }

  .cta-button {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
  }

  /* ── Spinning diamond bubbles (restored) ───────────────── */
  .mini-bubbles {
    position: relative;
    display: block;
    width: 160px;
    height: 160px;
    margin-left: 0;
    animation: bubble-spin 10s linear infinite;
  }

  .mini-bubble {
    position: absolute;
    width: 56px;
    height: 56px;
    font-size: 9px;
    animation: bubble-counter 10s linear infinite;
  }

  .mini-bubble.story    { top: 0;                  left: calc(50% - 28px); }
  .mini-bubble.design   { top: calc(50% - 28px);   left: 0;                }
  .mini-bubble.commerce { top: calc(50% - 28px);   right: 0;               }
  .mini-bubble.motion   { bottom: 0;               left: calc(50% - 28px); }

  /* ── SERVICES ──────────────────────────────────────────── */
  .services {
    padding: 0 20px;
  }

  .services-heading {
    font-size: clamp(42px, 15vw, 72px);
  }

  .services-divider {
    margin: 6px 0 16px;
    border-top-width: 3px;
  }

  .services-grid {
    flex-direction: column;
    border-radius: 8px;
  }

  .service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: none;
    border-top: 2px solid #F2F2F2;
    padding: 0.9rem 1.2rem;
    width: 100%;
    gap: 4px;
  }

  .service-item:first-child {
    border-top: none;
  }

  .service-number {
    font-size: 48px;
    line-height: 1;
    align-self: auto;
  }

  .service-name {
    font-size: 16px;
    text-align: left;
    justify-self: unset;
    margin-bottom: 0;
  }

  .service-list {
    font-size: 13px;
    margin-bottom: 0;
    text-align: left;
    justify-self: unset;
    line-height: 1.5;
  }

  /* ── CASE STUDY ────────────────────────────────────────── */
  .section-3-content {
    flex-direction: column;
    padding: 56px 24px 20px;
    gap: 16px;
  }

  .s3-left {
    flex: none;
    width: 100%;
    gap: 10px;
  }

  .s3-video {
    width: 100%;
    height: 200px;
    scale: 1;
    transform-origin: unset;
  }

  .s3-title {
    font-size: clamp(36px, 11vw, 56px);
  }

  .s3-right {
    flex: none;
    width: 100%;
    flex-direction: column;
    padding-top: 0;
    gap: 16px;
    align-items: flex-start;
  }

  /* Description above store button on mobile */
  .s3-description {
    order: 1;
    align-self: flex-start;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.65;
  }

  .s3-store-btn {
    order: 2;
    align-self: flex-start;
    width: 120px;
    height: 120px;
    font-size: 15px;
  }

  /* ── PROPOSAL ──────────────────────────────────────────── */
  .section-4 {
    padding: 56px 24px 100px;
    align-items: flex-start;
  }

  .s4-logo {
    left: 24px;
    top: 18px;
    font-size: 16px;
  }

  /* Flatten s4-left so its children and the bubbles wrapper
     all become direct flex items of s4-body */
  .s4-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .s4-left {
    display: contents;
  }

  /* Order: price → per → desc → bubbles → cta */
  .s4-price {
    order: 1;
    font-size: clamp(36px, 12vw, 56px);
    width: 100%;
  }

  .s4-per {
    order: 2;
    font-size: 20px;
  }

  .s4-desc {
    order: 3;
    font-size: 13px;
    max-width: 100%;
  }

  .s4-bubbles-wrapper {
    order: 4;
    display: flex;
    justify-content: flex-start;
    margin-right: 0;
  }

  .s4-bubbles {
    width: 180px;
    height: 180px;
  }

  .s4-bubble {
    width: 62px;
    height: 62px;
    font-size: 10px;
  }

  .s4-story    { top: 0;                  left: calc(50% - 31px); }
  .s4-design   { top: calc(50% - 31px);   left: 0;                }
  .s4-commerce { top: calc(50% - 31px);   right: 0;               }
  .s4-motion   { bottom: 0;               left: calc(50% - 31px); }

  .s4-cta {
    order: 4;
    padding: 14px 0;
    width: 100%;
    text-align: center;
    align-self: stretch;
  }

  .s4-bottom {
    padding: 0 24px 6px;
  }

  .s4-heading {
    font-size: clamp(42px, 18vw, 90px);
  }
}
