@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden !important;
  }

  nav.header {
    height: auto !important;
    min-height: 98px;
    padding: 7px 14px 9px !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center;
    row-gap: 6px;
    background: rgba(0, 0, 0, 0.56) !important;
    border-bottom: 1px solid rgba(215, 33, 37, 0.12);
    backdrop-filter: blur(12px);
  }

  nav.header .logo img,
  .logo img {
    height: 62px !important;
    max-width: 190px;
    object-fit: contain;
  }

  nav.header .nav-links {
    width: 100%;
    display: flex;
    justify-content: center !important;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 1px 0 3px !important;
    -webkit-overflow-scrolling: touch;
  }

  nav.header .nav-links::-webkit-scrollbar {
    display: none;
  }

  nav.header .nav-links a {
    flex: 0 0 auto;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.6px !important;
    font-weight: 800 !important;
  }

  .hero,
  .hero-section {
    height: auto !important;
    min-height: 100svh !important;
    padding: 132px 16px 34px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .hero h1,
  .hero .content h1,
  .hero-content h1 {
    font-size: clamp(31px, 10vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .hero p,
  .hero .hero-desc,
  .hero-content p {
    font-size: 15px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    margin-top: 18px !important;
    letter-spacing: 0.2px !important;
  }

  .tag,
  .tagline,
  .badge,
  .hero .hero-tags,
  .hero-subtitle {
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: 1.4px !important;
    overflow-wrap: anywhere;
  }

  .title,
  .work .title,
  .branding-title,
  .section-title,
  .ga-title,
  .visualization-title,
  .creative-stack h2 {
    font-size: clamp(28px, 8.4vw, 38px) !important;
    line-height: 1.12 !important;
    letter-spacing: 1.5px !important;
  }

  .filter-tabs {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 0 12px !important;
  }

  .filter-btn {
    padding: 10px 18px !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
  }

  .premium-card,
  .item,
  .branding-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .image-container {
    height: auto !important;
    aspect-ratio: 1917 / 1002 !important;
    background: #080808 !important;
  }

  .image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .premium-card:hover img {
    transform: none !important;
  }

  .item,
  .branding-card {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #080808 !important;
  }

  .branding-card {
    aspect-ratio: 16 / 9 !important;
  }

  .main-logo {
    width: min(74vw, 280px) !important;
  }

  .initialize-btn {
    min-width: 0 !important;
    width: min(72vw, 240px);
    padding: 10px 14px !important;
    font-size: 10px !important;
  }

  .hidden-content {
    top: 45% !important;
    width: min(94vw, 520px) !important;
  }

  .hidden-content .nav-links {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 10px !important;
    gap: 8px !important;
  }

  .hidden-content .nav-links a {
    min-height: 54px !important;
    padding: 10px 12px !important;
    font-size: clamp(12px, 3.8vw, 16px) !important;
    line-height: 1.25 !important;
    letter-spacing: 1px !important;
  }
}

@media (max-width: 420px) {
  nav.header {
    min-height: 94px;
  }

  nav.header .logo img,
  .logo img {
    height: 56px !important;
    max-width: 174px;
  }

  nav.header .nav-links {
    gap: 14px;
  }

  nav.header .nav-links a {
    font-size: 10px !important;
    letter-spacing: 1.2px !important;
  }

  .hero,
  .hero-section {
    padding-top: 126px !important;
  }

  .hero h1,
  .hero .content h1,
  .hero-content h1 {
    font-size: clamp(29px, 9.4vw, 38px) !important;
  }

  .hidden-content {
    top: 45% !important;
  }
}
